Update Kestrel startup sample code with file descriptor for 3.0

Issue description
The sample code provided in AspNetCore.Docs/aspnetcore/fundamentals/servers/kestrel/samples/2.x/KestrelSample/Program.cs fails to start up when FileDescriptor defined on Dotnet Core 3.0 preview.
The command line outputs:
crit: Microsoft.AspNetCore.Server.Kestrel[0]
      Unable to start Kestrel.
System.NotImplementedException: This property is not implemented by this class.
   at System.Net.EndPoint.get_AddressFamily()
   at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind()
   at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportFactory.BindAsync(EndPoint endpoint, CancellationToken cancellationToken)
   at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer.<>c__DisplayClass21_0`1.<<StartAsync>g__OnBind|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context)
   at Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions.BindAsync(AddressBindContext context)
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.EndpointsStrategy.BindAsync(AddressBindContext context)
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindAsync(IServerAddressesFeature addresses, KestrelServerOptions serverOptions, ILogger logger, Func`2 createBinding)
   at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer.StartAsync[TContext](IHttpApplication`1 application, CancellationToken cancellationToken)
Unhandled exception. System.NotImplementedException: This property is not implemented by this class.
   at System.Net.EndPoint.get_AddressFamily()
   at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind()
   at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportFactory.BindAsync(EndPoint endpoint, CancellationToken cancellationToken)
   at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer.<>c__DisplayClass21_0`1.<<StartAsync>g__OnBind|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context)
   at Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions.BindAsync(AddressBindContext context)
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.EndpointsStrategy.BindAsync(AddressBindContext context)
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindAsync(IServerAddressesFeature addresses, KestrelServerOptions serverOptions, ILogger logger, Func`2 createBinding)
   at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer.StartAsync[TContext](IHttpApplication`1 application, CancellationToken cancellationToken)
   at Microsoft.AspNetCore.Hosting.WebHost.StartAsync(CancellationToken cancellationToken)
   at Microsoft.AspNetCore.Hosting.WebHostExtensions.RunAsync(IWebHost host, CancellationToken token, String startupMessage)
   at Microsoft.AspNetCore.Hosting.WebHostExtensions.RunAsync(IWebHost host, CancellationToken token, String startupMessage)
   at Microsoft.AspNetCore.Hosting.WebHostExtensions.RunAsync(IWebHost host, CancellationToken token)
   at Microsoft.AspNetCore.Hosting.WebHostExtensions.Run(IWebHost host)
   at KestrelSample.Program.Main(String[] args) in /AspNetCore.Docs/aspnetcore/fundamentals/servers/kestrel/samples/2.x/KestrelSample/Program.cs:line 74

Software versions
Check the .NET target framework(s) being used, and include the version number(s).

[x] .NET Core netcoreapp3.0
[ ] .NET Framework
[ ] .NET Standard

If using the .NET Core SDK, include dotnet --info output. If using .NET Framework without the .NET Core SDK, include info from Visual Studio's Help > About Microsoft Visual Studio dialog.

dotnet --info output or About VS info
.NET Core SDK (reflecting any global.json):
 Version:   3.0.100-preview7-012821
 Commit:    6348f1068a

Runtime Environment:
 OS Name:     Mac OS X
 OS Version:  10.14
 OS Platform: Darwin
 RID:         osx.10.14-x64
 Base Path:   /usr/local/share/dotnet/sdk/3.0.100-preview7-012821/

Host (useful for support):
  Version: 3.0.0-preview7-27912-14
  Commit:  4da6ee6450

.NET Core SDKs installed:
  3.0.100-preview7-012821 [/usr/local/share/dotnet/sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.App 3.0.0-preview7.19365.7 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 3.0.0-preview7-27912-14 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

To install additional .NET Core runtimes or SDKs:
  https://aka.ms/dotnet-download

Hello ... We aren't able to provide product support. Your best option is to consult with devs on a support forum, such as Stack Overflow, or a support chat, such as Slack or Gitter. If you think that you found a framework bug, open an issue on the engineering repo.

Can you create an issue from the doc page? That will connect the doc to the issue. Go to the bottom of the page and select the Content feedback issue.

@guardrex  -  I asked @coderfox  to open an integrated issued from the doc page and ask to update the topic to 3.0. That's a valid doc issue.

@guardrex  see #13743

Actually, this more of a @tdykstra thing.
I'll note in passing that AFAIK we have all of the ListenOptions coverage that engineering requested. For any error like that between 2.2 and 3.0, I recommend an engineering issue. If they surface a delta for a given scenario for 3.0 or if they agree that the doc doesn't cover an implementation scenario, then we would normally re-open over here and work it. This isn't actionable here in its current form.
Anywho ---- this is more of a @tdykstra area of the TOC, so I defer to my friend on this one.

this is more of a @tdykstra area of the TOC
@guardrex But you have #12842 - Kestrel 3.0 updates, which includes the sample app

Closing because it's a duplicate of #12842

@coderfox, you're using custom code that generates that error, correct?

@guardrex I can't quite catch up with the meaning of OOB template, but I modified nothing of the sample code except the beginning #define instruction.
In your sample code, there are multiple sections of starting the application and bind to a socket, and I am just using the section of binding to existing file descriptors by defining FileDescriptor instead of the default one.

@coderfox Try the following and see if it runs ...
Project File
<Project Sdk="Microsoft.NET.Sdk.Web">

  <PropertyGroup>
    <TargetFramework>netcoreapp3.0</TargetFramework>
  </PropertyGroup>

</Project>

Program.cs
using System;
using System.Net;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Server.Kestrel.Core;
using Microsoft.Extensions.Hosting;

namespace KestrelSample
{
    public class Program
    {
        public static void Main(string[] args)
        {
            CreateHostBuilder(args).Build().Run();
        }

        public static IHostBuilder CreateHostBuilder(string[] args) =>
            Host.CreateDefaultBuilder(args)
                .ConfigureWebHostDefaults(webBuilder =>
                {
                    webBuilder.ConfigureKestrel(serverOptions =>
                    {
                        var fds = Environment
                            .GetEnvironmentVariable("SD_LISTEN_FDS_START");
                        var fd = ulong.Parse(fds);

                        serverOptions.ListenHandle(fd);
                        serverOptions.ListenHandle(fd, listenOptions =>
                        {
                            listenOptions.UseHttps("testCert.pfx", "testpassword");
                        });
                    })
                    .UseStartup<Startup>();
                });
    }
}

@guardrex No. Exactly the same exception is thrown.

ok ... I'll ask on the issue for the 3.0 updates.


Add pull request template

Description

As per title. This facilitates the review of PRs, and provides some guidelines to adhere to when opening a PR.
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Code quality improvements
[x] CI workflow improvements

How to test

Can only be tested after merging this branch to master

open a new PR
template should show up when inputting the PR description

Checklist

None

Codecov Report

Merging #37 (1a0084f) into master (ce4f2cf) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #37   +/-   ##
=========================================
  Coverage     72.15%   72.15%
  Complexity      399      399
=========================================
  Files            70       70
  Lines          1232     1232
  Branches        125      125
=========================================
  Hits            889      889
  Misses          311      311
  Partials         32       32

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 ce4f2cf...1a0084f. Read the comment docs.


Not working....

Error:
/home/alexblattner/.local/lib/python3.10/site-packages/controlnet_aux/segment_anything/modeling/tiny_vit_sam.py:654: UserWarning: Overwriting tiny_vit_5m_224 in registry with controlnet_aux.segment_anything.modeling.tiny_vit_sam.tiny_vit_5m_224. This is because the name being registered conflicts with an existing name. Please check if this is not expected.
  return register_model(fn_wrapper)
/home/alexblattner/.local/lib/python3.10/site-packages/controlnet_aux/segment_anything/modeling/tiny_vit_sam.py:654: UserWarning: Overwriting tiny_vit_11m_224 in registry with controlnet_aux.segment_anything.modeling.tiny_vit_sam.tiny_vit_11m_224. This is because the name being registered conflicts with an existing name. Please check if this is not expected.
  return register_model(fn_wrapper)
/home/alexblattner/.local/lib/python3.10/site-packages/controlnet_aux/segment_anything/modeling/tiny_vit_sam.py:654: UserWarning: Overwriting tiny_vit_21m_224 in registry with controlnet_aux.segment_anything.modeling.tiny_vit_sam.tiny_vit_21m_224. This is because the name being registered conflicts with an existing name. Please check if this is not expected.
  return register_model(fn_wrapper)
/home/alexblattner/.local/lib/python3.10/site-packages/controlnet_aux/segment_anything/modeling/tiny_vit_sam.py:654: UserWarning: Overwriting tiny_vit_21m_384 in registry with controlnet_aux.segment_anything.modeling.tiny_vit_sam.tiny_vit_21m_384. This is because the name being registered conflicts with an existing name. Please check if this is not expected.
  return register_model(fn_wrapper)
/home/alexblattner/.local/lib/python3.10/site-packages/controlnet_aux/segment_anything/modeling/tiny_vit_sam.py:654: UserWarning: Overwriting tiny_vit_21m_512 in registry with controlnet_aux.segment_anything.modeling.tiny_vit_sam.tiny_vit_21m_512. This is because the name being registered conflicts with an existing name. Please check if this is not expected.
  return register_model(fn_wrapper)
/home/alexblattner/.local/lib/python3.10/site-packages/timm/models/_factory.py:117: UserWarning: Mapping deprecated model name vit_base_resnet50_384 to current vit_base_r50_s16_384.orig_in21k_ft_in1k.
  model = create_fn(

code:
from PIL import Image, ImageDraw
from controlnet_aux import MidasDetector
# from controlnet_aux.processor import Processor
midas = MidasDetector.from_pretrained("lllyasviel/Annotators", cache_dir="model_cache")
img=Image.open('u.png').convert('RGB').resize((512, 512))
processed_image = midas(img)

@patrickvonplaten


Revert "implement currently passing Xlint checks"

Reverts datafaker-net/datafaker#667

Codecov Report

Merging #687 (67e704f) into main (22a5248) will decrease coverage by 0.04%.
The diff coverage is n/a.

: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     #687      +/-   ##
============================================
- Coverage     92.64%   92.61%   -0.04%
+ Complexity     2611     2610       -1
============================================
  Files           283      283
  Lines          5319     5319
  Branches        574      574
============================================
- Hits           4928     4926       -2
- Misses          247      248       +1
- Partials        144      145       +1

Impacted Files
Coverage Δ

...c/main/java/net/datafaker/providers/base/Text.java
77.96% <0.00%> (-0.85%)
:arrow_down:

...rc/main/java/net/datafaker/service/FakeValues.java
83.33% <0.00%> (-0.84%)
:arrow_down:

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


Unable to download the Opentelemetry-metric-go package.

I tried to download the metric-go package into my app, and when I did go get package, I got the following error.
steps followed

Tried to get the package with go get github.com/dynatrace-oss/opentelemetry-metric-go/dynatrace
then got an error saying that cannot find module providing package go.opentelemetry.io/otel/api/metric
I tried to get the package manually with go get go.opentelemetry.io/otel/api/metric but it says does not contain package go.opentelemetry.io/otel/api/metric
I think we need to update the module in the dynatrace.go file.

Please suggest any solution.
I have added the log.
❯ go get github.com/dynatrace-oss/opentelemetry-metric-go/dynatrace
go: downloading github.com/dynatrace-oss/opentelemetry-metric-go v0.1.0-beta
go: downloading go.opentelemetry.io/otel/sdk/export/metric v0.26.0
go: downloading go.opentelemetry.io v0.1.0
go: downloading go.opentelemetry.io/otel/metric v0.26.0
github.com/dynatrace-oss/opentelemetry-metric-go/dynatrace imports
        go.opentelemetry.io/otel/api/metric: cannot find module providing package go.opentelemetry.io/otel/api/metric
github.com/dynatrace-oss/opentelemetry-metric-go/dynatrace imports
        go.opentelemetry.io/otel/label: cannot find module providing package go.opentelemetry.io/otel/label
❯ go get go.opentelemetry.io/otel/api/metric
go get: module go.opentelemetry.io/otel@upgrade found (v1.3.0), but does not contain package go.opentelemetry.io/otel/api/metric```

hmm I'm not seeing this error when i am working in an empty clean directory
https://asciinema.org/a/g4ULM9dQZalKdk2FCxM0reVOH
Can you include the go.mod and go.sum file you're using?

HI I can't share my go files. You are correct when I do empty clean directory I don't see this problem. Thanks for the help.

I was able to fix it by getting the whole package go get github.com/dynatrace-oss/opentelemetry-metric-go


Evaluating elixir module in custom embedded engine

I’m having an issue with embedded engine, trying to define a custom engine called markdown (as per the README)
I have a @markdown passed down from my Phoenix controller, but it renders @markdown literally when I do so:
markdown:
    @markdown

which makes obvious sense because the whole thing is passed into it, but was wondering if there's any way to evaluate the binding at that point of time and then pass that down?
I'm looking at https://github.com/slime-lang/slime/blob/master/lib/slime/parser/embedded_engine.ex which might be relevant, but can't really figure it out. Any advice?

Hey thanks for the quick reply!
What I intend to happen is that, I currently have a markdown string passed down from my phoenix controller, and I want to be able to render that in a markdown engine, but it seems like the markdown engine can only render static contents like what you suggested.
e.g:
@my_markdown_from_controller = "# This would not work"

markdown:
  @my_markdown_from controller

#=> This will render `@my_markdown_from_controller` literally, and not  `# This would not work`

Does that make sense? Just wondering if there's any way to render the dynamic content?

Hi @edisonywh! All embedded engines works at compile time, and not present at execution time in result template, unless you specifically does not make engine which will insert some kind-of helper call into template.
You could accomplish what you need with
= MyMarkdown.render(@my_markdown_from_controller) (assuming you have such helper for markdown)

Cool I see, thanks so much for the clarification! @Rakoth


2020.1_b10: Token expiring?

Login and devices were working at first with b10 but after a period of time (not sure how long) thermostats stopped updating with b10, I restarted the homeassistant server in an attempt to fix and got the following error:
Logger: homeassistant.config_entries
Source: custom_components/hive/__init__.py:158
First occurred: 10:23:02 PM (1 occurrences)
Last logged: 10:23:02 PM

Error setting up entry<EMAIL_ADDRESS>for hive
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 234, in async_setup
    result = await component.async_setup_entry(hass, self)  # type: ignore
  File "/config/custom_components/hive/__init__.py", line 158, in async_setup_entry
    devices = await hive.session.start_session(Tokens,
  File "/usr/local/lib/python3.8/site-packages/pyhiveapi/hive_session.py", line 346, in start_session
    await self.get_devices("No_ID")
  File "/usr/local/lib/python3.8/site-packages/pyhiveapi/hive_session.py", line 177, in get_devices
    await self.hive_refresh_tokens()
  File "/usr/local/lib/python3.8/site-packages/pyhiveapi/hive_session.py", line 123, in hive_refresh_tokens
    resp_p = await self.hive.refresh_tokens(Data.s_tokens)
TypeError: refresh_tokens() takes 1 positional argument but 2 were given

Now all entities are appearing as "Unavailable".
Hope this helps in debugging

@CaptInsano this should be fixed in beta 11, please update and restart

You are on fire tonight!!
I updated, I had to delete and re-add the integration and sign up again. I will let you know if it stops updating again:
Just some notes:

beta 11 does not list the hub as a device under integrations as per prev versions (not sure if this is intended).

the thermostats are no longer appearing as climate devices so my thermostat cards are all now broken:

"Entity not available: climate.ground_floor" "Entity not available: climate.1st_floor" "Entity not available: climate.2nd_floor"
The devices appear like the following under entities (pasted here as plaintext):
Name
Entity ID
Integration
Status

1st Floor Boost
sensor.1st_floor_boost
Hive

1st Floor Current Temperature
sensor.1st_floor_current_temperature
Hive

1st Floor Mode
sensor.1st_floor_mode
Hive

1st Floor State
sensor.1st_floor_state
Hive

1st Floor Target Temperature
sensor.1st_floor_target_temperature
Hive

2nd Floor Boost
sensor.2nd_floor_boost
Hive

2nd Floor Current Temperature
sensor.2nd_floor_current_temperature
Hive

2nd Floor Mode
sensor.2nd_floor_mode
Hive

2nd Floor State
sensor.2nd_floor_state
Hive

2nd Floor Target Temperature
sensor.2nd_floor_target_temperature
Hive

Boost Hot Water
switch.boost_hot_water
Hive

Ground Floor Boost
sensor.ground_floor_boost
Hive

Ground Floor Boost
sensor.ground_floor_boost_2
Hive

Ground Floor Current Temperature
sensor.ground_floor_current_temperature
Hive

Ground Floor Mode
sensor.ground_floor_mode
Hive

Ground Floor Mode
sensor.ground_floor_mode_2
Hive

I mean it dev, you are on fire!
I have updated to beta 14,:
from above:

Hub is back in device
Devices appear as climate.device_name again!
battery level is back!

however when I try to change temp from the thermostat, nothing happens and I get the following error in homeassistant log:
2020-11-05 23:22:00 ERROR (MainThread) [pyhiveapi.custom_logging] ERROR - Received 400 response from API.
NOTE:
I know the original reason for this issue is solved but I don't want to spam the repo with issue tickets. Please let me know what you prefer me to do for reporting issues.

@CaptInsano yep already on that one now just found he cause of the issue race condition


Keep-Alive Sierra API connection

Sierra API requests reusing connections (Keep-Alive functionality)
Details:

API module refactored to include Requests Session object
all requests are prepped and logged before they are sent
improved logging

passed tests


test: add type test and improve type-safety

Codecov Report
Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (8de4ea8) 83.11% compared to head (4012653) 84.67%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #117      +/-   ##
==========================================
+ Coverage   83.11%   84.67%   +1.56%
==========================================
  Files          19       19
  Lines         616      620       +4
  Branches       74       76       +2
==========================================
+ Hits          512      525      +13
+ Misses        102       94       -8
+ Partials        2        1       -1

Files
Coverage Δ

src/consent.ts
55.26% <100.00%> (ø)

src/events/command.ts
96.96% <100.00%> (+13.09%)
:arrow_up:

src/module.ts
95.65% <100.00%> (ø)

src/utils/nuxtrc.ts
100.00% <100.00%> (ø)

src/context.ts
95.08% <66.66%> (+2.51%)
:arrow_up:

src/events/build.ts
46.87% <0.00%> (-1.52%)
:arrow_down:

src/telemetry.ts
78.12% <50.00%> (+3.12%)
:arrow_up:

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


C language bindings

We would like to have a C wrapper API around the C++ implementation, which allows for easier integration with C-based applications, or as an intermediate layer for other language bindings where C is better suited than C++ (e.g. Lua, etc.)

Here are some examples of C wrapper APIs around C++ implementations:
https://github.com/bulletphysics/bullet3/blob/master/examples/SharedMemory/PhysicsClientC_API.h
https://developer.blender.org/diffusion/B/browse/master/intern/opencolorio/
If anyone knows of other examples that could be helpful here, please feel free to suggest them. There are several important choices in terms of memory management, linking, etc. that we should consider carefully.

@meshula, @ssteinbach and @KarthikRIyer do any of you have other examples of C wrapped C++ APIs that we can use as reference?

I don't know about any good standard examples. The links you posted seem to be a good reference.
Here's a very simple C-CPP wrapper I made for my Swift data viz lib https://github.com/KarthikRIyer/swiftplot/tree/master/Sources/AGGRenderer/CAGGRenderer
Also, do we have tests for the CPP core (I don't think we do)? I was thinking of using googletest to set up tests for the C bindings. It's based on the xUnit architecture so it'll be similar to the JUnit tests I'll be using for Java bindings. And it's pretty compact.
Any thoughts?

cimgui https://github.com/cimgui/cimgui is a particularly interesting one. They use LuaJit and clang to scrape the Dear Imgui C++ headers to automatically generate the C binding.

This looks interesting.
I'm looking at this: http://samanbarghi.com/blog/2016/12/06/generate-c-interface-from-c-source-code-using-clang-libtooling/
I'll try to see if this works.
So currently building llvm-clang. The apt-get install of llvm and clang don't seem to provide the libtooling stuff.

@meshula could you please note here and elaborate a little on the sample you mentioned in the TSC meeting to demonstrate the bindings?

Done! Thanks @KarthikRIyer :)


Fix image glitch

In this pull:

I fixed the image glitch In the installing-pyroscope-overview page when zoomed in or for certain screen sizes

Create video component using jsx
Add styling to video component and set width to 100%
Remove video element with width 807px

This closes #107

Thank you @Yazino12 !


tags: take into account optional "line" field

When there are multiple entries in a tags file with the same pattern,
Vim will always go to the first one (Bar.provision in the example below).
provision       foo.py       /^    def provision(self, **kwargs):$/;"        m       line:1153       language:Python class:Foo
provision       foo.py       /^    def provision(self, **kwargs):$/;"        m       line:365        language:Python class:Bar
provision       foo.py       /^    def provision(self, request=None, **kwargs):$/;"  m       line:3564       language:Python class:Baz

It would be nice if Vim would take into account the optional line: field, to start the excmd from there.
An alternative might be to generate excmds that include the line number already, e.g. 1152;/^    def…/ for the first entry.  But from looking at the source in tag.c there seem to be places, where Vim looks for the excmd to start with a '/'?! (but that might be after splitting them)

[yamato@x201]~/var/ctags-github% ./ctags -o - -x --_xformat='%{name}    ${input}        %{line};%{pattern};"    %k' main/main.c | head
CLOCKS_PER_SEC	${input}	360;/^#  define CLOCKS_PER_SEC	/;"	d
CLOCKS_PER_SEC	${input}	364;/^# define CLOCKS_PER_SEC	/;"	d
CLOCK_AVAILABLE	${input}	358;/^# define CLOCK_AVAILABLE$/;"	d
CLOCK_AVAILABLE	${input}	363;/^# define CLOCK_AVAILABLE$/;"	d
Totals	${input}	87;/^static struct { long files, lines, bytes; } Totals = { 0, 0, 0 };$/;"	v
__anonae81ef0f0108	${input}	87;/^static struct { long files, lines, bytes; } Totals = { 0, 0, 0 };$/;"	s
addTotals	${input}	100;/^extern void addTotals ($/;"	f
batchMakeTags	${input}	436;/^static void batchMakeTags (cookedArgs *args, void *user CTAGS_ATTR_UNUSED)$/;"	f
bytes	${input}	87;/^static struct { long files, lines, bytes; } Totals = { 0, 0, 0 };$/;"	m
clock	${input}	365;/^static clock_t clock (void)$/;"	f

@blueyed What tag generation tool produces these line: fields for Python code?  I know it's not exuberant-ctags and not universal-ctags, because I've checked.  (Or if they can do it, they don't do it by default, and I know know what option can turn it on.)

@mgedmin, --fields=+n option enables line: field like:
% ./ctags -o - --fields=+n source.mak | head
ALL_HEADS	source.mak	/^ALL_HEADS = $(ALL_LIB_HEADS) $(CMDLINE_HEADS)$/;"	m	line:315	language:Make
ALL_LIB_HEADS	source.mak	/^ALL_LIB_HEADS = $(LIB_HEADS) $(PARSER_HEADS) $(DEBUG_HEADS)$/;"	m	line:313	language:Make
ALL_LIB_SRCS	source.mak	/^ALL_LIB_SRCS  = $(LIB_SRCS) $(PARSER_SRCS) $(DEBUG_SRCS)$/;"	m	line:314	language:Make
...


Minion movement blocked by "off turn movement"

Is your feature request related to a problem? Please describe.
I find off-turn movement being blocked will also block the movement of tokens (e.g. animal companions) created using Pf2e Companion Compendia. These Actors are moved on their controlling PC's turn and don't get added to initiative order, effectively blocking players from moving them without GM assistance during combat.
Describe the solution you'd like
When token movement is unblocked for an actor during its turn, movement is also unblocked for other tokens owned by the same player. Perhaps this can be somehow restricted to actors with a specific characteristic in their character sheet (e.g. "Minion") to account for Eidolons / Familiars / Animal Companions (which move on their master's turn.)
Describe alternatives you've considered
At the moment I am having my druid ping the map where she would like her animal companion moved to and using the "m" key to override. It's not as nice as her being granted movement of the token directly but it works without having to disable the feature.
What system(s) do you want this feature to work with?
Pathfinder 2e
What other modules do you use that you want to ensure work well with this feature?
PF2e Companion Compendia
Additional context
Add any other context or screenshots about the feature request here.

"Familiars" type actors in pf2e are now allowed to move on the turn of their "Master" (as are actors for any other system that get linked to another token's turn via token.actor.combatant properties).
There are also now two extra settings...

Allow Same Initiative Movement

Allows tokens that share the same initiative value to move on each other's turn

Allow Non-Combatant Movement

Allows tokens that aren't in the initiative tracker to move on any turn

This isn't exactly what you asked for, so if this doesn't fit your specific use case let me know and I can see if I can add more configuration options to handle more of the many "this token should be allowed to move on this other token's turn" cases.
For my games, I have two people sharing one computer, and they're the two most likely to make a mistake (and the reason I added the "Block Off Turn Movement" feature), so I need to be careful not to accidentally allow them to move a character on the wrong turn.


[Python] Support loading of TF models with saved weights

Adds support for loading tensorflow model from saved weights given a function to create the model.
Follow up to #25368, Closes #25366

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[x] Update CHANGES.md with noteworthy changes.
[x] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

Python_PVR_Flink failed because of licensing issue. Bruno has a PR at https://github.com/apache/beam/pull/25515

Run Python_PVR_Flink

Run Python_PVR_Flink PreCommit

Run Python 3.8 PostCommit

I think you need to pull in master to avoid postcommit failures (fixed by https://github.com/apache/beam/pull/25446)

Run Python 3.8 PostCommit

Run Python_Dataframes PreCommit

Run Whitespace PreCommit

Run Python 3.8 PostCommit

Run Python 3.7 PostCommit

Run Python Unit Tests

Run Python 3.9 PostCommit

3.7 has passing tensorflow tests. I'll wait until all active suites complete and merge

Run Python_Coverage PreCommit

(all other checks have passed, they're just not statusing)

All checks passed. Merging!


Pixi.js missing default export

As the default export will not exist in future according to the pixijs/pixi.js#3204 , could you please fix imports inside KeyboardManager.js and index.js?
// pre-4.1.0
import PIXI from "pixi.js";

// since 4.1.0
import * as PIXI from "pixi.js";

Hi @scythianfuego, i will change this in this days, thanks!

Fixed by #4


Add new target option to print/show the build size.

We should discuss if this is something we'd like to add, and if this is the right format to enable it (with an entry in the target.json file).
The size info is added by using the arm-none-eabi-size tool and the -Wl,--print-memory-usage linker flag.
With this change, and by setting the "show_size": true option in target.json, we get this additional info printed during builds:
$ python build.py

...

[ 99%] Linking CXX executable MICROBIT
Memory region         Used Size  Region Size  %age Used
             MBR:        2816 B         4 KB     68.75%
              SD:        105 KB       108 KB     97.22%
           FLASH:      127888 B       364 KB     34.31%
      BOOTLOADER:       25580 B        28 KB     89.22%
        SETTINGS:        4899 B         8 KB     59.80%
            UICR:           8 B          8 B    100.00%
          NOINIT:          16 B         16 B    100.00%
             RAM:      120768 B     122816 B     98.33%
Print total size info:
   text    data     bss     dec     hex filename
 239556  140823    8992  389371   5f0fb /Users/microbit-carlos/workspace/mbef/codal/microbit-v2-samples/build/MICROBIT
[ 99%] Built target MICROBIT
[100%] converting to bin file.
[100%] converting to hex file.
[100%] Built target MICROBIT_hex
[100%] Built target MICROBIT_bin

This PR, by default, won't print the size info:

https://github.com/lancaster-university/codal-microbit-v2/actions/runs/6121824061/job/16616367958?pr=372#step:13:369

But, this temp branch has been created in the codal-microbit-v2 repo to test it with the option enabled:

https://github.com/lancaster-university/microbit-v2-samples/actions/runs/6122071601/job/16617079566#step:11:387


Add PhotonVisionLabVIEW docs

added documentation for The PhotonVisionLabVIEW lib

Thanks for the awesome work!

@brandonzx3  if your rebase checks should pass


Improve search box positioning and styles

Moved search box outside TOC so that is stays on top when TOC is scrolled. Also styled TOC with Bootstrap's icons to make it look good.
This is how it looks in normal state:
https://www.dropbox.com/s/5fal92zui2zf45b/Screenshot 2013-12-12 18.53.40.png
When you type a query, this is how it looks:
https://www.dropbox.com/s/6haswnx0lvmyiqm/Screenshot 2013-12-12 18.54.01.png
Cheers!

Team, this search is partially useful as it has lost the ability to take you the exact location within the page as the old page search used to do.
What we need is to add additional functionality so once the link is clicked on the results pop-up, the new page is opened and scrolled to the location of the first instance. Otherwise, you still have to d a page search to fund the exact location. Which defeats the purpose of a search engine.  Ideally, there would also be a next button  so you can scroll trough all of the found instances within the page... as any standard search would...


Refactor code styling

These are a lot of opinionated changes. Some are to conform with linters (autopep, pylint), others are my personal stylistic choices.
Feel free to bikeshed away, I would like to configure the tools to match whatever style we want this repo to conform to. Nit on anything, I can give reasoning.

LGTM, feel free to merge it.


Could I get pruned models on CIFAR10

Thanks for your impressive work.I'd like to know if I could find the pruned resnet model on CIFAR10.As I know, only models for imagenet are released now.
Thank you!

Hi,
I have a similar question, I am trying to prune the CNN models in OpenPose, and their CNNs are trained by COCO, it seems there's no bgr.binaryproto provided by COCO, do I need to make it myself? Also, OpenPose seems to use lmdb format for data, how can I modify vgg.prototxt to adapt this (or does channel pruning support lmdb)?
Thank you in advance for the reply.


[stdlib] ManagedBuffer independent of malloc_size.

ManagedBuffer and ManagedBufferPointer no longer requires having a
functional malloc_size implementation to work. When malloc_size is
unavailable, we store the capacity in the tail allocation used by either
class.
Adding extra stored properties is not feasible, since there are
preconditions and invariants that check for these. This would also mean
that platforms which do have malloc_size would be wasting an unnecessary
stored property per class.
Wrapping the header object is not feasible, since there are certain
assumptions that the header object (and thus not the wrapper) and the
tail-allocated memory are adjacent.
Creating a static dictionary to track allocations and their sizes would
be possible, but this seems too brittle; any allocation tracking would
have to be static since ManagedBuffer and ManagedBufferPointer are
implemented with extensions, restricting us to only computed properties.
Thus, we are left with having to use the dynamic allocation in
ManagedBuffer and ManagedBufferPointer itself. This leaves us with one
gap: the single-argument initializer in ManagedBufferPointer,
init(unsafeBufferObject:). This is fine when called from
init(bufferClass:minimumCapacity:makingHeaderWith:), but if only
initialized with the single-argument initializer, the base capacity
implementation will not be correct. This may be okay, since generally
clients subclassing ManagedBufferPointer should override capacity for
their own tracking; indeed, this is what the unit test actually does.
Furthermore, it is the caller's responsibility to supply enough memory
to store the allocated elements in any case; the way the initializer is
written currently, we have no other way of knowing the size of the
allocation from the caller without malloc_size.

As a side note, this version of the commit converts to UnsafeMutableRawPointers and does the load for the capacity that way rather than using UnsafeMutablePointer<Int> and initialize and pointee, because the latter trips an assertion getValue() && "called on object with zero alignment". I don't quite understand why that's happening, but converting to UnsafeMutableRawPointers works, so I've left it like that.

Ping.
While this was awaiting review, the strange issue with load/store doesn't seem to be recurring any more, so those have been reverted back to more direct pointee accesses. Some more idiomatic tweaks were also made.

Ping; please let me know if there's anything that can be improved here, I know this is rather complex but it is necessary for stdlib to build on platforms without malloc_size.

What if we deprecated capacity instead, and added an alternative factory method that passes in the actual capacity?

Expanding on this: we should not store the capacity anywhere on OpenBSD. Rather, ManagedBuffer.capacity should be unavailable there (and deprecated on existing platforms). To emulate its primary usecase, we should add a new public create overload that gets rid of the inherent safety issue of the existing one (as well as fixing its return type):
extension ManagedBuffer {
  public class func create(minimumCapacity: Int, makingHeaderWith factory: (UnsafeBufferPointer<Element>) throws -> Header) rethrows -> Self
}

This isn't a one-to-one replacement to the existing create, but it's very close -- it requires a malloc_size call (where available) while in the original this was controlled by the closure. Adding another overload would fix that:
extension ManagedBuffer {
  public class func create(exactCapacity: Int, makingHeaderWith factory: (UnsafeBufferPointer<Element>) throws -> Header) rethrows -> Self
}

At the same time, we should deprecate the existing create method.
ManagedBufferPointer would need the same sort of updates.
This would require a pitch to the evolution forums and a subsequent proposal. It seems like a relatively straightforward change that improves managed buffer usability everywhere -- but the deprecations could be controversial.

In the case where such a pitch would be rejected, would we then adopt this strategy (pending the #if os(OpenBSD) changes you mentioned)?

Well, the current APIs implicitly assume that malloc_size (or equivalent) exist, so I think the proposal can make a good case for their replacement. The options as I see them are:

Make ManagedBuffer and ManagedBufferPointer unavailable on OpenBSD. (Feasible but unsatisfying)
On os(OpenBSD), make capacity a stored property. (Unnecessarily wastes memory on OpenBSD, isn't really an option for ManagedBufferPointer)
Tail-allocate the capacity based on a runtime condition, as implemented in this PR. (This wastes memory on OpenBSD and has a potential to affect codegen on all platforms, especially in debug builds.)
Tail-allocate the capacity based on a compile-time conditional. (Wastes memory, but doesn't affect other platforms.)
Fix the managed buffer APIs to be implementable on all platforms. (Requires an evolution proposal.)

In the (unlikely, but technically possible) case that #5 gets completely rejected, #4 would probably be the least disruptive option.

I started a quick pitch topic at https://forums.swift.org/t/ironing-out-managedbuffer-api-wrinkles/39072. Let's see what people think!

A pragmatic stop-gap solution would be to simply mark ManagedBuffer.capacity and ManagedBufferPointer.capacity as unavailable on OpenBSD. Not sure why I didn't think of this above -- this may cause some source compatibility headaches, but it seems like the least bad option overall.

Marking ManagedBufferPointer.capacity unavailable unfortunately doesn't compile, since .capacity is used in ManagedBufferPointer.init (quoting, ManagedBufferPointer(unsafeBufferObject: $0).capacity).

Ping; let me know if we should proceed with the @available stopgap as the PR stands (this would get a successful build on OpenBSD).

@swift-ci Please test

Build failed
Swift Test Linux Platform
Git Sha - 41739f613e4b219a2268329ae2dfeee3e6f49037

tools/SourceKit/lib/SwiftLang/SwiftDocSupport.cpp:682:15:
error: enumeration value 'OpenBSD' not handled in switch [-Werror,-Wswitch]
      switch (Av->Platform) {
              ^
1 error generated.

Build failed
Swift Test OS X Platform
Git Sha - 41739f613e4b219a2268329ae2dfeee3e6f49037

Fixed, sorry about that. Please try again.
(Dispatch isn't properly ported for BSD, so it's not built.)

@swift-ci Please test

Build failed
Swift Test Linux Platform
Git Sha - 41739f613e4b219a2268329ae2dfeee3e6f49037

Build failed
Swift Test OS X Platform
Git Sha - 41739f613e4b219a2268329ae2dfeee3e6f49037

The CI runs look good (I had to push again because I messed up the amend, but there were no actual changes).

Finished: SUCCESS

https://ci.swift.org/job/swift-PR-Linux/23653/
https://ci.swift.org/job/swift-PR-osx/23640/

@swift-ci Please smoke test


feat(cli): add --token option to self update command

Summary
It often reaches the GitHub API rate limit and shows error like error: HTTP status client error (403 Forbidden) for url (https://api.github.com/repos/astral-sh/uv/releases) when running uv self update.
To bypass this rate limit issue, allow user to pass a GitHub token via --token or UV_GITHUB_TOKEN env.
Test Plan

Thanks for contributing and welcome to the project! Nice to see you over here.


Minor fixes to TestKLDivergence

Jenkins, test this please.

Jenkins CI test (for commit f5b2d81046d9d13b2ba9aaeb2a531ab04ffa9314, target branch master) failed with status FAILURE.
(For contributors, please wait until the reviewer confirms the details of the error.)

Jenkins, test this please.

Jenkins CI test (for commit f5b2d81046d9d13b2ba9aaeb2a531ab04ffa9314, target branch master) failed with status FAILURE.
(For contributors, please wait until the reviewer confirms the details of the error.)


Add common time formats not found in the Go time system package

This change adds a new package for extensions to Go's time package. In particular, we regularly want to use time formats not defined by the time package. Namely, YYYYMMDD, YYYY/MM/DD, and YYYY-MM-DD are common throughout M-Lab's data pipeline and other tools.

This change is

Pull Request Test Coverage Report for Build 1165

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 94.264%

Totals

Change from base Build 1161:
0.0%

Covered Lines:
2087

Relevant Lines:
2214

💛  - Coveralls


Show all selected executions in performance test report

Current performance report shows "recent exeuctions" in table, which might be empty:
https://builds.gradle.org/repository/download/Gradle_Master_Check_PerformanceTestTestLinuxbucket26/44113455:id/results/performance/build/test-results-excludeRuleMergingBuildPerformanceTest.zip!/performance-tests/report/index.html

We should show all executions to the reader.

After this change: all executions are displayed. Readers can decide which one is acutally executed and which one is from history executions:

@bot-gradle test and merge

OK, I've already triggered a build for you.

OK, I've already triggered a build for you.

Error while merging successfully tested PR. Please contact the administrator.


Issues

Around 15k images are present in the data csv, but only about 10k images in total are used in the notebook.
The model was trained as a binary problem, but the real problem is a multi-calss one.
The only folder created in create dataset is dataset category, but how is dataset category test used in notebooks?
Receiving an accuracy of over 95% but not using other metrics to demonstrate it statistically is not a good thing.

Added multithreading for downloading the images much faster
import numpy as np
import pandas as pd
import requests
import os
import threading
dress_patterns_df = pd.read_csv('dress_patterns.csv')
dress_patterns = dress_patterns_df.values
category
category = set(dress_patterns_df['category'])
print(category)
#create a folder dataset and nested folder of category
print(os.listdir())
os.mkdir('dataset_category')
for cat in category:
print(cat)
os.mkdir('dataset_category/'+cat)
print(os.listdir('dataset_category'))
def download_image(url, category, unit_id, i):
try:
r = requests.get(url, allow_redirects=True)
open('dataset_category/'+category+'/'+str(unit_id)+'.jpg', 'wb').write(r.content)
except:
print('ERROR at: ', i)
save image in respective category folder.
threads = []
for i in range(len(dress_patterns)):
if i%5 == 0:
print(i, '/', len(dress_patterns))
pattern = dress_patterns[i]
url = pattern[3]
unit_id = pattern[0]
category = pattern[1]
thread = threading.Thread(target=download_image, args=(url, category, unit_id, i))
threads.append(thread)
thread.start()
# limit the number of threads to 5
if len(threads) == 5:
    for thread in threads:
        thread.join()
    threads = []

wait for any remaining threads to complete
for thread in threads:
thread.join()


Add Error Clause  For fabric:open_revs calls

We currently don't have error clauses when calling fabric:open_revs. This PR adds these clauses in the general case and also introduces a new 503 response for https://github.com/apache/couchdb-fabric/pull/86.

@iilyak : I cleaned up the test cases as you advised and make check should work now.

+1. tests pass locally
    Running test function(s):
      chttpd_open_revs_error_test:open_revs_error_test_/0
======================== EUnit ========================
open revs error tests
  chttpd_open_revs_error_test:76: should_return_503_error_for_open_revs_get...ok
  chttpd_open_revs_error_test:99: should_return_503_error_for_open_revs_post_form...ok
  [done in 0.930 s]
=======================================================
  All 2 tests passed.


Window keywords fail if window.id is an unexpected type

Example:
Select Window     name=view_more_data
Result:
TypeError: object of type 'bool' has no len()
This also applies to other functions regarding working with windows. OS Windows 7, versions used:
robotframework-selenium2library (1.5.0)
selenium (2.39.0)

Tested on Firefox and IE, both broken.
Problems seems to reside in function get_current_window_info in webdrivermonkeypatches.py. If you erase len(att) in:
        atts = [ att if att is not None and len(att) else 'undefined'
            for att in atts ]

it starts to work ok. Not sure if it does not brake anything else though.

I got a notice on Twitter that this issue hasn't been fixed. I'm going to reopen it and take a look at @boakley's last suggestion.

I found out the reason for this issue.
I had input element on a page that had attribute id with value id.
<input type="hidden" id="id" />

This element is assigned to window.id and therefore it has unexpected type. In my case the error was "TypeError: object of type 'WebElement' has no len()".
I guess for @pr0chy the reason is that somewhere on the page in javascript code you assign boolean value to undefined variable name id.
// this sets window.id
id = true;

// propably should be like this
var id = true;


Unable to use docker, in addition to the 'docker version' command.

Maybe the Linux kernel version is too low (docker requires 3.10+)?

Thanks for reporting this!  Docker is actually more than just a userspace process; a big part of its logic has been merged directly into the Linux kernel.  Microsoft has indicated that they don't plan to implement the kernel portions of Docker for WSL:
https://wpdev.uservoice.com/forums/266908-command-prompt-console-bash-on-ubuntu-on-windo/suggestions/13250370-docker
The recommended alternative is to install the Windows version of Docker, and point the WSL Docker command-line tools at the Windows Docker daemon over TCP.  (Or just use Windows Docker directly -- IMO the Windows Docker experience just got a lot cleaner as of Docker 1.12, released publicly earlier this week.)

you can add this to ~/.bashrc
export DOCKER_HOST=tcp://:2375

I have trouble using docker (tried 1.12 1.11 and 1.10 clients so far). Regardless whether I use the Native (Hyper-V based) docker engine or a remote unix one, any docker build is stalling on sending the context (usually it shows the first few Kb or even up to 3Mb being sent)
strace doesn't show anything helpful :(
socket(PF_INET, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, IPPROTO_IP) = 4
setsockopt(4, SOL_SOCKET, SO_BROADCAST, [1], 4) = 0
connect(4, {sa_family=AF_INET, sin_port=htons(5000), sin_addr=inet_addr("<IP_ADDRESS>")}, 16) = 0
clock_gettime(CLOCK_REALTIME, {1467341112, 873312100}) = 0
epoll_create1(EPOLL_CLOEXEC)            = 5
epoll_ctl(5, EPOLL_CTL_ADD, 4, {EPOLLIN|EPOLLOUT|EPOLLRDHUP|EPOLLET, {u32=3246342176, u64=140311237967904}}) = 0
getsockname(4, {sa_family=AF_INET, sin_port=htons(65284), sin_addr=inet_addr("<IP_ADDRESS>")}, [16]) = 0
getpeername(4, {sa_family=AF_INET, sin_port=htons(5000), sin_addr=inet_addr("<IP_ADDRESS>")}, [16]) = 0
setsockopt(4, SOL_TCP, TCP_NODELAY, [1], 4) = 0
futex(0xc8202cb790, FUTEX_WAKE, 1)      = 1
Sending build context to Docker daemon 3.342 MBld context to Docker daemon 557.1 kB

Occasionally the futex is released, followed by a few clock_gettime calls, but nothing else. Nework, CPU, Memory are 100% idle as well until I manually SIGTERM it.

I should note however that build seems to be the only command I tried that doesn't work. Run/stop/ps/kill/exec seem to work fine.

Also it seems that issue ensues from a 6mb file I have in the context. It works if my context is small enough, but with that file present I always get a failure.

What Windows Insider build are you running?
Build 14376, for example, fixed one issue with sending large blocks of data over TCP sockets.  There are also a couple remaining/unresolved issues ( #610  and #616 ) regarding scenarios that sound kind of like this.

I'm on 14379
It seems to still happen, and yea, they may well be related. I will try a few docker builds with various file sizes to see if there is a breaking point. What are the default TCP buffer sizes btw? sysctl isn't working yet (though could probably check /proc..)

looks like it breaks around 1MByte+ for a single file. Docker also seems to put multiple files together since 2+ Files broke at ~700KByte each....
also noticed this:
setsockopt(4, SOL_SOCKET, SO_BROADCAST, [1], 4) = 0
Possibly related to SO_BROADCAST not yet supported?

Also insight into the network stack is pretty hard right now :D proc is empty, no packet analyzer seems to work... ip doesn't work either. :(

bump

docker build uploads your entire build context as a single tarball.  (It creates and streams the tarball in memory so you don't see this as an end-user, but as I understand it, the wire protocol looks like one big data stream.)  So you're right that it puts multiple files together.
It could well be that you're hitting #610 or #616 .  Could you post an strace of the docker build command during a failed upload?  It would be helpful if you could additionally look at that strace and compare it to the examples on those two tickets; see if it looks similar to either.
For SO_BROADCAST -- I don't know whether broadcast is supported or not in the current release, but that syscall is returning success (0) and unimplemented socket features in other contexts have returned failure (-1 with errno set).
For what it's worth -- I'm not a Microsoft dev, I'm just a user who's using Docker and (unrelatedly) hitting similar network issues.  You could try pinging the official folks who have responded on those tickets to see if they have thoughts on this one as well.  From experience, the first thing they'll ask for is "do you have a complete strace of all threads of the failing command?"

Thanks @aseering . You're right, it cannot be related to SO_BROADCAST. It's also next to impossible to trace properly since the upload seems to split into multiple forked processes. Tracing the forks has an interesting side effect of actually working so far 100% to get past the content upload -.-
Could be the either of the tickets, but might also be related to resumable system calls which is bugging all Go developers on WSL right now (). Possible that the slowdown of strace is enough to avoid whatever is blocking it, so no way to get a trace for now. Though if thats the case I'm curious as to why there is no exception and everything just hangs indefinitely.

same here. not working.  i followed exactly this blog from Darth.  i even installed Powershell docker server/clients.  even the first docker run hello-world not running too well.
Keep getting Docker daemon error.
http://darthnunix.blogspot.com.au/2016/06/docker-cli-on-wsl-for-docker-beta-on.html

Please make Docker work in WSL!

+1

+1


Import table #4 (Employed Graduates by Field)

See import list at #21

Cleaned and mapped data set: https://docs.google.com/spreadsheets/d/10CoZsXoBLlnqbPEFA1J44FkgXgYSBhalQHfuezFcIwM/edit#gid=441488820
Import doc: https://docs.google.com/document/d/1adYCgx7v8hU0C8KxccRFFxnZxF_y3clCxGcVnfnhs58/edit?resourcekey=0-Y77H6m9ToVkpLdONzovciA

Bug filed with DC team.

Filtering logic added in #64


IE9 and IE10 errors

I was trying to see if react-slick works with IE9. I tested the link https://react-slick.neostack.com/ in Windows 7/IE 9 and Windows 7/IE10 and I got below errors:
IE9 - SCRIPT5022: matchmedia not present, legacy browsers require a polyfill
IE10 - SCRIPT438: Object doesn't support property or method 'assign'
So I was wondering if this is supposed to work in those browsers?
http://kenwheeler.github.io/slick/ does work in those browsers though.

Any updates on this? Having the same issue after going from version 0.19.0 to 0.21.0.
"Object doesn't support property or method 'forEach'"

same issue, so it already supports IE9?

any update? same issue

This is still not working in IE 9, by the way. Any plans to support this?

In my case, I solve this issue by include the following polyfills for matchMedia and MutationObserver.

firstly, include this polyfill in your project

window.matchMedia = window.matchMedia || function () {
    return {
        matches: false,
        addListener: function () { },
        removeListener: function () { }
    };
};

and then include the following polyfill
https://github.com/googlearchive/MutationObservers/blob/master/MutationObserver.js


Chromatic plaster; Add more diffThresholds and delays

Who is this for?
Our UI tests that keep failing (see #10690)
This PR is mergeable if we'd like to test it out, but mostly serves as a starting point for yet another Chromatic config chat.
What is it doing for them?
This is not the best fix, it's defo a plaster, but I identified the main failing stories and added diffThreshold (docs) which we've done in the past to the main offenders. I've added a delay to Cards because I wonder if the image needs time to load and has a slight difference because of it? So that one is more of a test and if it works maybe we want it on everything that has an image?
This tool helps finding what threshold you'd like based on their snapshots, but for the image differences, I have to go up to 0.5 which is way too high and we don't want it there. So I'm wondering if we want to test a different way of getting images? As an example, this is one of the ones we use, maybe it doesn't like the compress parameter? We've discussed it in the past but I can't fully recall so let's do it again.

Ohhh interesting, the build identified a change in all Card images now and I might be imagining it, but the newer ones definitely seem clearer, less blurry, so could it have been the issue all along? They had time to load properly before the snapshot occurred?


SubsetTransformer is missing alias after deepcopy

ballet version: 0.19.3

Description
Mysteriously, the subset transformer is missing the attribute alias after a deepcopy operation
What I Did
from ballet.eng import SubsetTransformer, IdentityTransformer
from copy import deepcopy
t = SubsetTransformer('a', IdentityTransformer())
t.alias  # okay
deepcopy(t).alias  # error

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-42-82dcfda2edba> in <module>
----> 1 deepcopy(t).alias

AttributeError: 'SubsetTransformer' object has no attribute 'alias'

On sklearn-pandas 1.x, __setstate__ (but not __getstate__!) is implemented to provide compatibility with older versions of itself. This implementation does not call super so classes that inherit from DataFrameMapper (as SubsetTransformer does) lose their new attributes.


Added google/benchmark submodule.

Recent changes (ed78107 and 99ab473) introduced the use of the google/benchmark library. This change adds the necessary Git submodule and cmake changes to successfully build.

Thank you very much for this! I'll review in the internal repository.
As a reminder for both of us, after this gets published to GitHub, we'll need to merge a PR that fixes git attributes directly in GitHub.
Examples from when we did this dance with googletest:

Published commit: https://github.com/google/leveldb/commit/1c58902bdcc8d129f3883606bbd8e59085b48878
Fixup: https://github.com/google/leveldb/commit/db8352187b2c2d037b6fe215b7f82415789ec71f


FeatureRequest:  Allow InvocationType argument to InvokeFunction()

What I would like to do:
Add an argument to InvokeFunction() that can be used as the InvocationType argument to AWS SDK's Invoke().
From the AWS CLI command reference (https://docs.aws.amazon.com/cli/latest/reference/lambda/invoke.html):

invoke
--function-name
[--invocation-type ]    <-----
[--log-type ]
[--client-context ]
[--payload ]
[--qualifier ]
<outfile>

https://github.com/gruntwork-io/terratest/blob/8361e81e718c421388f76021603746485c972f30/modules/aws/lambda.go#L13
Why?
An InvocationType argument of "DryRun" provides a simple verification of a Lambda's installation.  It's also useful where it's difficult to generate the appropriate payload to test a lambda's invocation.

Fixed in #817 and released in https://github.com/gruntwork-io/terratest/releases/tag/v0.32.21.


Add console error panic hook to all existing examples

Fixes #29

Thanks so much — I push the same changes a couple minutes after you and hadn't seen your PR yet but there were no real conflicts so I'm just merging this.


Test TabViewTests.KeyboardTest is unreliable

Unclear what is happening here.

It is passing most of the time.
It is failing specifically on RS2
We are hitting a crash in Windows.UI.Xaml.dll
I have not been able to reproduce the crash on a local RS2 VM.

3. We are hitting a crash in Windows.UI.Xaml.dll

I thought we were able to get crash dumps back from Helix -- is that possible here?

@jevansaks it should be possible as it is something that Helix apparently supports. But I haven't seen it work. It seems like that will be the only way to resolve this as I have not been able to reproduce the issue locally.

I have created PR Collect crash dumps from Helix test passes #1276 to help investigate this issue. Collecting crash dumps from Helix has been something we have wanted to do for some time.

Fixed as part of #1276


Generalize module API

Also we could consider containerisation of PROTEUS, which would certainly help with reproducibility and make it much easier to use.
https://en.wikipedia.org/wiki/Singularity_(software)


Move off bower

This change set removes 🔥 Bower as the dependancy package manager and
switches over to NPM. Bower requires all packages to be in git and pulls
them out of a public git repo. NPM on the other hand is a registry of
packages and it has become the go to for JS package dependancy for both
Node and Browser applications. The Bower website even suggests moving
off Bower in favour of NPM/Yarn.
I chose to go with NPM over Yarn as currently NPM offers more features then Yarn and is reported as being faster then Yarn now.

It is critical to have this PR merged in order to be able to build the image on your own, dependencies on bower repository are broken!
Here i show a build intent using branch v2

Here i show a build intent using branch v2-stable (a custom one i made with this PR and a couple more merged https://github.com/xoxefdp/docker-registry-frontend/tree/v2-stable)


[sw/dif] Update CSRNG generate behavior.

The CSRNG can only deliver up to 128bits of output between GENBITS_VLD register reads.
The API now uses dif_csrng_generate_start() and dif_csrng_generate_end() calls to make the API more ergonomic as the
read output function state requires the caller to read the output in one blocking call to avoid having to check the GENBITS_VLD bit before each GENBITS register read.

This PR depends on lowrisc/opentitan#6454


chore: allow test deps to be auto updated; update test dep versions

Fixes #112

relies on https://github.com/drashland/dmm/pull/114

closing, this will be addressed once dmm releases and we can update the bumper file


Remove string conversion and add error judgment

Remove string conversion and remove err return

Hi, thanks for contributing!
Without an associated JIRA item, it's unclear what the motivation behind this change is. I notice you named your branch bug fix so I assume you noticed something unexpected related to this code? In general, it's best to open a JIRA item (https://jira.hyperledger.org/) and describe the issue you're seeing to help others understand the motivation behind your code changes. We also like to have unit tests included for most code changes, so try your best to figure out a test case that can be added to verify the new behavior. See the contribution guide for more details on the general process for Hyperledger Fabric PRs.

@wlahti i don't think this PR is addressing any bug - it's more of style change or code cleaning. As I'm looking into our contribution guideline, it doesn't really describe how-to for such changes. I agree that the original branch is somehow misleading but i think we could still merge this one as is.
@mask-pp Fabric does expect JIRA to be open and used to track issues

@wlahti i don't think this PR is addressing any bug - it's more of style change or code cleaning. As I'm looking into our contribution guideline, it doesn't really describe how-to for such changes. I agree that the original branch is somehow misleading but i think we could still merge this one as is.
@mask-pp Fabric does expect JIRA to be open and used to track issues

When we moved to GitHub we amended the contribution guide to allow for non-Jira contributions (it is in there, I just can't pull a link to it on my phone). Authors are asked to either open a Jira to link against, or to provide details in the commit message about what the Jira is trying to achieve. We also ask that PRs be squashed into the smallest set of logical commits.
For a change as small as this, a descriptive commit title or commit message would suffice (no need for a Jira), but the two commits should be squashed into one before merge.

Given that the two commits modify the same lines of code in different ways, please squash the commits and update the single commit message to provide a descriptive reason for the change and we will get this merged.

i failed to notice this :) @mask-pp please do a squash as instructed by Brett


Add quick access keyword context menu and assessed way

close #6

this is not ready yeah?

this is not ready yeah?

Ah, no, @pc233 suggests that we should have a bulk edit option. I haven't got time to finish that.

Ah, no, @pc233 suggests that we should have a bulk edit option. I haven't got time to finish that.


endpoint: remove deprecated and unused (*Endpoint).HasBPFPolicyMap

The last remaining caller was removed in commit 18706de50325 ("policy: Sync incremental updates"). The method is deprecated, so let's remove it.

/test

/test

/test


Restore version check

Reverts the version check removal in 0b589305f8b3ffff89635f63b89f30a4664da4e7
This might address https://github.com/microsoft/vscode/issues/190015, https://github.com/microsoft/vscode/issues/189877, https://github.com/microsoft/vscode/issues/189770

This addresses https://github.com/microsoft/vscode/issues/189877 for me and @joyceerhl , so merging ahead.


TileMap "set_cell" modify default parameters

Bugsquad edit:

Fix #69554

No that's, not a correct fix. A lot of people asked so that the alternative ID stays 0 by default in set_cell. This bug should likely be fixed by the calling code.

您好！您的邮件已收到！我查阅后，尽快回复您！


Merge from master 2021_w8_2

All tests are passed in #962 and this one just for merging with merge commit.


At-rules behavior

At-rules caus problems as described in these tickets:
https://github.com/google/closure-stylesheets/issues/103#issuecomment-267940555
https://github.com/gradle-webtools/gradle-minify-plugin/issues/23
In a first step this TODO can be done to prevent an error and just create a warning instead:
https://github.com/616slayer616/closure-stylesheets/blob/ea592125c81f09b081dde862b47e663b0a7d3b1f/src/com/google/common/css/compiler/passes/CreateStandardAtRuleNodes.java#L176
Ideally, the behaviour can be further modified:

prevent removing of rules (maybe parameterized)
correct behavior for example given in https://github.com/google/closure-stylesheets/issues/103

Created branch https://github.com/616slayer616/closure-stylesheets/tree/issue%231-at_rules


$httpRequest more Methods[POST,PATCH,DELETE,PUT]

Type

[ ] Functions: <$httpRequest>

Description
Can you add more methods to $httpRequest like post,patch,delete,put

Type

[ ] Functions: <$httpRequest>

Description
Can you add more methods to $httpRequest like post,patch,delete,put

$jsonRequest and $httpRequest is already exists

it is not they only supports get

I thought GET and POST were enough for an api. This is the first time I've heard about other methods.

I thought GET and POST were enough for an api. This is the first time I've heard about other methods.

it is not and post doesnt work with $httpRequest

I thought GET and POST were enough for an api. This is the first time I've heard about other methods.

it is not and post doesnt work with $httpRequest

Post is already exists 🤦

I thought GET and POST were enough for an api. This is the first time I've heard about other methods.

it is not and post doesnt work with $httpRequest

Post is already exists 🤦

it is not working lol

I thought GET and POST were enough for an api. This is the first time I've heard about other methods.

it is not and post doesnt work with $httpRequest

Post is already exists 🤦

it is not working lol

LoL apparently you tried it on a bad api that is not working. Previously tested and used. I havent tried it, but it may work with the methods you advised. This already exists and works,
please do not give unnecessary suggestions.

I thought GET and POST were enough for an api. This is the first time I've heard about other methods.

it is not and post doesnt work with $httpRequest

Post is already exists 🤦

it is not working lol

LoL apparently you tried it on a bad api that is not working. Previously tested and used. I havent tried it, but it may work with the methods you advised. This already exists and works,
please do not give unnecessary suggestions.

it is not unnecessary suggestion and i tried discord webhook api how it could be bad api :D i tested it again only GET working

I thought GET and POST were enough for an api. This is the first time I've heard about other methods.

it is not and post doesnt work with $httpRequest

Post is already exists 🤦

it is not working lol

LoL apparently you tried it on a bad api that is not working. Previously tested and used. I havent tried it, but it may work with the methods you advised. This already exists and works,
please do not give unnecessary suggestions.

it is not unnecessary suggestion and i tried discord webhook api how it could be bad api :D i tested it again only GET working

Please think about it. Why would it be $httpRequest if only GET worked? Already have  $jsonRequest ??

I thought GET and POST were enough for an api. This is the first time I've heard about other methods.

it is not and post doesnt work with $httpRequest

Post is already exists 🤦

it is not working lol

LoL apparently you tried it on a bad api that is not working. Previously tested and used. I havent tried it, but it may work with the methods you advised. This already exists and works,
please do not give unnecessary suggestions.

it is not unnecessary suggestion and i tried discord webhook api how it could be bad api :D i tested it again only GET working

Please think about it. Why would it be $httpRequest if only GET worked? Already have $jsonRequest ??

 There are enough methods available in our package. **End of discussion** will be good.

This conversation is going long and lengthy like a chat. There are enough methods available in our package. **End of discussion** will be good.

only GET ?

I agree @Mr-Catty Thank you. <3

Any examples on how to use POST with body?

$httpRequest support all http methods, and the api must support it too

Please see this conversation for POST request issue


"xstate.init" firing twice again!

Desc
With latest version of xstate 4.13.0 and @xstate/react 1.0.1, seems useMachine is still triggering xstate.init event twice, hence causing react to render twice too.
However, actions were not triggered twice.
Reproducible repo
https://codesandbox.io/s/adoring-wave-m62k7?file=/src/App.js
related issues
https://github.com/davidkpiano/xstate/issues/1211
https://github.com/davidkpiano/xstate/discussions/1448

This is due to using strict mode.

https://github.com/davidkpiano/xstate/issues/1237

@davidkpiano  Just to make sure we are on the same page, here's the versions I'm using, and I'm not using React.StrictMode, dose running twice still sounds like working as intended?🤔
"dependencies": {
    "@xstate/react": "1.0.1",
    "react": "^16.13.1",
    "react-dom": "^16.13.1",
    "xstate": "^4.13.0"
  },

This is due to using strict mode.

@rjdestigter Just a quick note that I'm using react v16.13.1 without React.StrictMode, and I believe current mode isn't enabled in this version yet hence it might not be the cause?
Here's the code pasted from the repo I provided.
return (

      <button
        style={{ width: "200px", height: "100px" }}
        onClick={(_) => send("TOGGLE")}
      >
        {active ? "Start" : "Stop"}
      </button>

        Toggled {count} times

  );

@coodoo Please prepare a runnable repro case of the situation you are experiencing and I will happily look into it to assess it is a bug or not and if not I will explain what is happening. It's hard to tell that based on random code snippets alone 😉

Yup, that's the repo I provided in the original post for:
https://codesandbox.io/s/adoring-wave-m62k7?file=/src/App.js

Note: The repo I provided doesn't use concurrent mode and StrictMode but still suffered the rendering twice issue, everything below is for pure discussion.
I dug deeper and read this article, now realize in concurrent mode a component might be rendered multiple times but only one of them will be committed.
Hence in a way useMachine was indeed working as intended, but isn't it pretty annoying to see each trace message twice? Which most definitely will make debugging a lot harder, any thought on how to fix this?

Yup, that's the repo I provided in the original post for:

That demo is using the StrictMode though. Check it in index.js.

Which most definitely will make debugging a lot harder, any thought on how to fix this?

It's impossible. This is how React plans to work in the future and StrictMode is there to help you catch errors in your code before production. You just can't reliably execute side-effects in render and console.log is a side-effect.

That demo is using the StrictMode though. Check it in index.js.

Oh darn, they snipped in that by default...my bad😅

Which most definitely will make debugging a lot harder, any thought on how to fix this?

It's impossible. This is how React plans to work in the future and StrictMode is there to help you catch errors in your code before production. You just can't reliably execute side-effects in render and console.log is a side-effect.

Right, I was afraid this will be the answer, so how do you guys plan to deal with this when debugging? Not using console.log at all?🥺
As a side note, is it possible to treat xstate as a side effect and invoke it inside useEffect?

Right, I was afraid this will be the answer, so how do you guys plan to deal with this when debugging? Not using console.log at all?🥺

It's not our thing to solve - it's not related to how we implement anything. It's purely a React thing, so we can't act on it - even if we'd like to.

As a side note, is it possible to treat xstate as a side effect and invoke it inside useEffect?

We already start machines within useEffect:
https://github.com/davidkpiano/xstate/blob/8b05b57096157e5bbcc9594f2e434da9839ebce7/packages/xstate-react/src/useMachine.ts#L232

It's not our thing to solve - it's not related to how we implement anything. It's purely a React thing, so we can't act on it - even if we'd like to.

Yep, I’m fully aware there’s probably nothing could be done on xstate’s side, just wondering when building applications with xstate, how do you debug? For that now we know console.log can’t be a reliable measure.

It all depends on what kind of a problem you are trying to debug - I usually mix logging with using the debugger, I rarely need to use logging within renders, even when I don't use XState, so it's hard for me to relate here. You could try to set up a logger within onTransition that you would set up within useEffect.

Just a quick note for people in the future seeking to eliminate the double logging message  issue while rendering once concurrent mode become default, here's a naive solution (trying) to fix that, usage below.
Key concept is although there might be multiple rendering instances at the same time, only the one that's committed gets to print out messages.
Live Demo Here
const useLog = () => {
  const ins = [];

  const log = (...msg) => ins.push(msg);

  function reset() {
    ins.length = 0;
  }

  useEffect(() => {
    ins.forEach((l) => console.log.apply(null, l));
    reset();
    return () => reset();
  });

  return log;
};

Usage
const App = props => {
   const log = useLog()
   log('some thing') // this won't print twice
   return 'foo'
}


Crash Visual Studio after select json in Model Builder when language setting is Russian

Hi. I ned help.
Crash and close Visual Studio after select json in Model Builder (object detection).
json.zip
ML.Net Model Builder v<IP_ADDRESS>6603
Visual Studio 19 v16.11.0

Can we take a look at your json file? Is that vott format?

Label it as Priority 0 because it crashes VS.

yes, I have attached a file

Thanks @dmamel
It seems that model builder will crash in object detection when dataset only contains one image. We will fix it ASAP and in the meanwhile, one workaround can be simply adding more images.

This is just an example. The minimal file for debugging. I tried different files, and 100 and 1000 records.
Here is an example of 11 entries.
result (2).zip

@dmamel
I C, can I have the images as well so I can precisely reproduce the error

Yes, sure
Downloads.zip

@dmamel
It works fine on my PC

It could be related with system setting (different decimal separator in English/Russian). I will switch to the Russian language to see if I can reproduce it, in the meanwhile, could you also try the English language to see if it works?

Yes, everything works with the English regional settings (though not the first time, but it works).
Thanks))

Thanks @dmamel for the quick response, we will start fixing this shortly

Everything works, but this result takes a long time to process. Is this how it should be?
In the Model Builder and in the generated code.
I thought that using a ready-made model should be fast.

@dmamel
Is that the first image to predict? If so it's normal as it takes some time to load the model

@dmamel
Hmmm thanks, we will look into it

#1760

@dmamel
What CPU do you have

Intel Core i5 1.7GHz 4CPUs 8Gb

Intel Core i7 3GHz 8CPUs 32Gb

@dmamel
We confirmed from our vision team that seconds can be considered normal for a single image inference. And we are looking into batching inference solution to make it faster on GPU

OK thanks

Hello
I have the same problem : as soon as my first 4 images are loaded and previewes in model builder, VS19 crashes.
I'm running a french OS. I saw changing regional settings to english could solve the problem ;
Did you change VS settings or windows' ?
VS19 Version 16.11.2
i7 8700H

Windows

I've changes Windows regional settings.
VS 19 now crashes after clicking "next step" in Azure configuration screen after a small loading time, right before showing Data panel

@Willyb30
What system language do you have. You probably would still meet this question if your system language is still French.

Yes it is

I've installed english language settings and it now seems to work
Thank you

My system was in english but my region in french. Switched to english and now I can import my json data.

Not repro this issue on latest main build: <IP_ADDRESS>7403

Microsoft Visual Studio Enterprise 2019: 16.11.3
ML.Net Model Builder: <IP_ADDRESS>7403
Windows OS: Windows-10-Enterprise-21H1
English System with Russia Region

VS Language: Russian

Can input json file and complete training.


Use multimodal base to use quasi-Permanent url for FreeBMD citations

[x] write templates with fields
NB remember to include 'image reference' in field.

-[ ] create citations

Model citations made: https://docs.google.com/document/d/1AGNbwUR8TfSCek-1PtmYpEtgnVYjftKGcNsXxmsgn4c/edit?usp=sharing

Model citations made: https://docs.google.com/document/d/1AGNbwUR8TfSCek-1PtmYpEtgnVYjftKGcNsXxmsgn4c/edit?usp=sharing

Let's move this back into the backlog (or sprint) and see if this is something Ian Taylor might be able to assist with. @PatReynolds to talk to him.

@PatReynolds to ask Ian to take a look

@Pat to draft text for MVP launch (i.e. no guarantee that FreeBMD2 URLS will work).

My suggestion is that the URL could contain human-friendly information, as has been done previously (experimentally, I guess - I don't see it in the URLs currently produced by the citation generator in CEN or REG). This additional information would follow '?' in the URL, i.e. it would be parameter data. Obvious data to include would be event type (B, M or D), Registration Office, volume, page, forenames and surname. If the base URL fails to resolve (because the record has changed, causing the generated UUID to change), a 404 handler would run a search for the specified register page. It would examine the list of entries returned (up to around 10?) and attempt to match the names to just one of them. If it succeeds, it will issue a 301 response, redirecting the request silently to the new URL for that record. If it fails, it will issue a 404 response.

Pat says: we have what we call the "prettified" url which is shown in the address bar, but the citation shows the unique identifier url to avoid cluttering the publication of the citation/reference.

Decided to use unprittified quasi-permanent URLS in citations until permanent URLS are possible.

I think we should use 'prettified' URLs for all reference/citation purposes until such time as we have genuinely persistent URLs for entry records - and that won't happen in the initial BMD2 release, nor for a while afterwards. My reason for this stance is simple: the 'pretty' bit of the URL includes sufficient information to reconstruct the search which found that record. The hash which is the key part of the core ('unprettified') URL works as an efficient and direct lookup while it is valid, but becomes neither use nor ornament if the underlying data changes and it becomes invalid.

Ignoring the permermanent url, prettified urls without the permanent id still contain less information than the citation
https://www.freereg.org.uk/search_records/5c3615e7f493fd70faf67f5c/grace-oldreth-richard-allcocke-marriage-yorkshire-north-riding-richmond-1657-05-19?citation_type=wikitree&locale=en
Yorkshire, North Riding : Richmond : Civil Marriages : Register of unspecified type : "Parish Register" database, FreeREG (https://www.freereg.org.uk/search_records/5c3615e7f493fd70faf67f5c : viewed 27 Oct 2022) marriage Richard Allcocke to Grace Oldreth 19 May 1657
The prettified url and the citation are independent: both can be served with an imermanent url (the hash) as an interim solution.
Other advantages of the citations:

much more legible
writing the citation could make the difference between use in e.g. wikipedia, and simply not citing

I think there are two quite distinct issues here. My concern is about defining a url which can act as a persistent identifier for an index entry.  This means that it can (in future) be used as a Linked Data identifier, resolving to JSON, RDF or another machine-processible format in response to a suitably framed HTTP request. I have already demonstrated how we can generate simple JSON and XML from our database records, reacting to the requested Content Type in the HTTP header.
A second aspect of my concern relates to the ability to recover from the situation where the hash value for a record changes. It is in that context that I am suggesting including the 'pretty' data in the url. It may not be as detailed as the information in a citation, but my hope is that it will be sufficient to populate the search boxes and so allow the user to re-run their search and hopefully track down the 'lost' record.
A citation cannot support either of these requirements.

There are currently (well, June 2022) 11,884 outstanding corrections. Allan's figures show the change in the number of outstanding corrections from the last report, but that doesn't give a sense of the rate at which they are processed, just whether the backlog is getting bigger or smaller. The oldest outstanding corrections date from 2015.

Allan did a newsletter after the successful update in November, and one yesterday, I'll get links...

Strike that, perhaps a snip of the corresponding section in the most recent one will suffice?

Yes, I saw that this morning, thanks. They have obviously been working hard on their corrections: but unfortunately this doesn't tell us the rate at which corrections occur.

OK, thinking this out from scratch as I've gone off piste, I think. Please correct any errors in my thought process: the url changes when a correction is made. We want to know the typical rate of corrections (e.g. number of corrections per month). We cannot rely on the data from June onward as typical, so we need to look at the rate in months previous to June. However, (and I think this is where I went off) we can't use the difference month-on-month because as corrections are made, new ones are being reported? I.e. it's not indicative of rate?


Metrics / observability

Howdy!
I'm using IORedis and would love it if I had some visibility into when commands are backing up - the lengths of the commandQueue and offlineQueue map quite well to this (from the client side anyway).
Would y'all be open to adding an API for getting the length of those queues? (I'm happy to submit a PR to implement it!)

I think we've already provided access to *Queue.length so it should be enough for your use case right?

@luin I don't see this in the API unless I'm being blind?

@dt-atkinson did you found how to do this? Can't find it either :(

@dt-atkinson did you found how to do this? Can't find it either :(

No, although I didn't check recently


Multiple instances support

We have two forms and we want to use this as a captcha replacement on both of them.
How can we create one instance of RVerify for each form that can be validated separately?

Not sure if it's what you want 👉 RVerify.js Demo - Multiple instances support

Thanks


Specify Port for the IP Address and of Worker Node to Connect to the Service via the URL

As a Developer
I need to Specify the port of the IP Address of the Worker Node
So that it can connect users to the Service
Details and Assumptions

Worker node been created and IP address is available
Get the IP address of the worker node and combine it with the port to go to the URL of the service and make sure that it works. Development port is: 31001 and the Production port is:31002

Acceptance Criteria
Accessing the IP address with the specified port will connect users to the service
Given Worker Node is live
When Users try to access the service
Then they will be connected via the specified port

Service is up and running for the Dev Namespace.

Validated same in the Sprint call.


Complete Weather APP Reactjs

The completed tasks were:

Used React documentation.
Used React components.
Used React props.
Used React Router.
Connected React and Redux.
Handled events in a React app.
Wrote integration tests with a React testing library.
Used styles in a React app.
Used React life cycle methods.
Applied React best practices and language style guides in code.
Used store, actions and reducers in React.

Hello @Davidosky007,
Thank you for the review. I have made changes to the live demo and readme video. However, I have a question about location error. Please, could you let me call you on slack you show it to me? It is not showing on my side. So I want to only confirm why it is showing as so on your side.


Pooya

I used "git push", even last week, but I didn't see any changes and not one comments, and I asked and apparently somehow you didn't get my changes. So, I though maybe after "git push" I pull a request here.
Thank you

Hey @PooyaFa, thanks for the PR. These changes look good. I know you merged this one by accident, but let's be super careful about not accidentally merging changes into master.


Add support for dynamic synonyms

Asana ticket: https://app.asana.com/0/1203289004376659/1205605527270547/f
This PR:

Add Synonyms model and admin section
Connect db synonyms with ES synonym set through ES API
Create ElasticsearchWrapper::Synonyms since this features are not fully supported yet
Add rake task to create synonym set
Update ES config for OccupationStandard to use dynamic synoyms set instead of fixed synonyms array

@FerPerales this is awesome! I'm wondering about the data structure, and if we need to worry about duplicates as we add more records. For example, someone could add:
word: developer
synonyms: dev, software engineer

and also:
word: software engineer
synonyms: dev, developer

right? When these get sent to ES, they just get sent as one list, not separated out as word/synonym, so I was wondering if there is a structure we could use that could more easily help us catch duplicates? Like a PG array or something, where if someone adds a new word, we can check it and see if it is already on a synonym list? I'm not sure how many synonyms we will actually have, so maybe it is not really a big deal to worry about dups.

I'll ask Patrick about this during the meeting. Implementing this chance will add a couple of hours to this feature. Even though we have the time to do it, want to make sure if it's worth the added complexity. If we will have a very small list, it may not be


calling cellprofiler app fails in 0.13.4

steinbock apps cellprofiler
Traceback (most recent call last):
File "/opt/venv/bin/cellprofiler", line 5, in
from cellprofiler.main import main
File "/opt/venv/lib/python3.8/site-packages/cellprofiler/main.py", line 13, in
import bioformats.formatreader
File "/opt/venv/lib/python3.8/site-packages/bioformats/init.py", line 21, in
import javabridge
File "/opt/venv/lib/python3.8/site-packages/javabridge/init.py", line 38, in
from .jutil import start_vm, kill_vm, vm, activate_awt, deactivate_awt
File "/opt/venv/lib/python3.8/site-packages/javabridge/jutil.py", line 162, in
import javabridge._javabridge as _javabridge
File "_javabridge.pyx", line 1, in init _javabridge
ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 96 from C header, got 80 from PyObject

Sorry for this, fixed with v0.13.5 currently building @SchulzDan


Architecture DSL

Quick draft:
<?php

beforeClass() {
	// setup
	$fileSet = $finder->find(__DIR__ . '/src')
		->addAll($finder->find(__DIR__ . '/vendor'));
	$dependencies = $staticAnalyser->analyse($fileSet);

	// setup shorthand
	analyse('path1', 'path2');
}

// test
test() {
	$models = defineLayer()
		->from('Some\Namespace\Bla')
		->from('/special.*regex/');

	$views = defineComponent()
		->from('')
		->from('');

	$controllers
		->dependsOn($models)
		->but()
		->mayNotDependOn($views);

	$util
		->mayNotHaveDependencies();

	$views
		->mayNotBeDependentOn();

	package('Vendor/Namespace')
		->mayNotDependOn()
		->classesFromDir(__DIR__ . '/../vendor');

	classesMatching('/.*Service.*/')
		->mayOnlyDependOn()
		->classesMatching('/.*Provider.*/');
}

Assertions using xUnit i.e. PHPUnit Framework Assertions.

Hi Michi,
Looks pretty nice.
Some notes:

dependsOn: For consistency mayDependOn
There doesn't seem to be any difference between Layer and Component and Package, you intend to add syntactic sugar for all these more or less equivalent notions?

Do you know how you will handle the errors? Since it does not make much sense to define a test for each layer restriction it would be great if all errors in one tests are collected and returned in one report.
Best
Hannes

Thanks for the feedback @Merenptah
I finally got around to actually implement a first draft. Super ugly, but it's a start. Test cases aren't looking too bad: https://github.com/mihaeu/dephpend-tests/blob/master/tests/integration/ArchitectureTest.php

dependsOn: For consistency mayDependOn

+1

There doesn't seem to be any difference between Layer and Component and Package, you intend to add syntactic sugar for all these more or less equivalent notions?

Good question. I was thinking syntactic sugar doesn't hurt, on the other hand people complain when you remove it later on ... hmmm.

Do you know how you will handle the errors? Since it does not make much sense to define a test for each layer restriction it would be great if all errors in one test are collected and returned in one report.

Definitely. I was thinking of:

may depend on
nothing else
may not depend on
may not depend on anything

That would be for outgoing dependencies. Not sure yet what to do about incoming dependencies.
I added a basic MVC example at https://github.com/mihaeu/dephpend-tests with one validation. Implementation is a work in progress.

Generated using dephpend uml tests/examples/mvc --output=test.png
Test output should be something like:

Class XYZ from (layer|module|component|package) ABC should not depend on Class IOP from (...) JKL

I will stop using issues for my personal feature requests because it makes the project look more broken than it is :sweat_smile:


Xcode 13.3 can't compile Hammer 0.14.0

Describe the bug
Xcode 13.3 can't compile an App-project which contains Hammer 0.14.0
To Reproduce

Create new project with Xcode 13.3
Add Hammer as depedency
Build this project
see compiler error

https://raw.githubusercontent.com/awBSH/lyft-hammer-xcode13.3/main/EventGenerator%2BMarker.swift.txt
https://raw.githubusercontent.com/awBSH/lyft-hammer-xcode13.3/main/KeyboardKey.swift.txt

Expected behavior
Project builds successfully with Hammer
Screenshots

Environment (please complete the following information):

Device: MacBook Pro M1 Pro
OS: macOS 12.3

Additional context
We have added a sample project in https://github.com/awBSH/lyft-hammer-xcode13.3

Found a simple workaround: https://github.com/lyft/Hammer/pull/46

WOW @gabriellanata - thanks for that


Sync direct references with hashes

When a direct reference is provided with hashes, use the direct reference string as the unique key for a requirement. The key can also be used for uninstalling the dist.
See the attached issue for more details on why we want to do this.
Fixes #1884.
Contributor checklist

[X] Provided the tests for the changes.
[X] Assure PR title is short, clear, and good to be included in the user-oriented changelog

Maintainer checklist

[x] Assure one of these labels is present: backwards incompatible, feature, enhancement, deprecation, bug, dependency, docs or skip-changelog as they determine changelog listing.
[ ] Assign the PR to an existing or new milestone for the target version (following Semantic Versioning).

@webknjaz happy to rework this in whichever form you would like. Please let me know.

I'm on vacation this week. Ping me the next one.


Multiple PHP versions per vhost

Hi,
Are there any plans to implement a feature to allow users to run each vhost under a different version of PHP?
Regards
Peter Lavelle

@peterlavelle thanks for the question, but no, not at this time. I typically recommend an instance per version of PHP (I generally have two or three active instances of Drupal VM on my computer, and about 15 different versions that are customized for particular Drupal projects or for different core/module hacking).

Is it something that would be considered @geerlingguy if a patch was offered?
Being able to have one VM up and switching between many local sites using different Drupal and PHP versions is handy for a service desk / support role.


Empty result on browse request if referenceTypeId is not given

Hello,
just found an other issue. According to the specification  all references should be returned and includeSubtypes is ignored, if referenceTypeId is not specified.
Currently no references are returned if referenceTypeId is not specified.

Thanks, fixed.


OverflowMenu closes when an item is selected

When a menu item is clicked on, the menu automatically closes.
Detailed description
Describe in detail the issue you're having.
I'm using the OverflowMenu to host several CheckBoxes. I expect the menu not to close when I select the items. However, the menu automatically closes when I click on any item.
The previous behavior is that the menu only closes when I click outside of the menu and that makes sense. Upgrading to version 6.83.1 results in this issue. The previous version that it works is 6.71.0.
Is this issue related to a specific component?
The OverflowMenu component.
What browser are you working in?
Chrome 71.0 and and Firefox Developer Edition 65.0 b11.
What version of the Carbon Design System are you using?
6.83.1
What offering/product do you work on? Any pressing ship or release dates we should be aware of?
Bluemix/Bluemix.UnifiedSupport.
This issue affects daily user experience in production.
Steps to reproduce the issue

Step one
Go to the OverflowMenu component in the storybook

Step two
Choose any kind of OverflowMenu and pop the menu open

Step three
Click on any option and see the menu automatically closes

@emyarod It was not the behavior in version 6.71.0. The menu only closes when the user clicks outside of the menu.
To your clarification, it's similar to that but not quite. I don't necessarily need the manual control of the menu closing moment. It is just the behavior or closing the menu when clicking outside is more intuitive and fits the needs of the support center application since we have checkboxes in the OverflowMenu.
You could see the current Support Center at dev.console.test.cloud.ibm.com/unifiedsupport/manage and click on the filter icon on the TableToolbar.

@asudoh you got me.

Hi , we had the same issue where we have several checkboxes in the overflow menu. When you click the checkbox, the overflow menu is closed. So we are not able to do select/unselect at all.

Previously , we used  "carbon-components": "9.29.2", "carbon-components-react": "6.40.1".
After upgrading to "carbon component" to 9.66.3 and  "carbon-components-react": "6.74.0" , we met this problem.

@huydoan2 @xzy202 so I went back and built several previous versions of carbon-components-react including the versions you mentioned, but was unable to replicate the expected behavior in the respective storybook builds for each version. Would it be possible for one or both of you to create a reduced test case that showcases the expected behavior? I first want to make sure if this was a regression or possibly unintended behavior in a previous version. But an alternative I have been considering as I mentioned earlier in this thread was adding the ability to manually control the open/closed state of the overflow menu

Stopping propagation of onClick event on the containing element makes the check box work, like:
<OverflowMenuItem
  {...overflowMenuItemProps}
  itemText={
    <div onClick={evt => { evt.stopPropagation(); }}>
      <Checkbox id="my-checkbox" labelText="Checkbox" />
    </div>
  }
/>

My investigation also showed that 6.71.0 and our latest release works in a similar way, and thus we need more info (e.g. a reduced case based on https://codesandbox.io/s/github/IBM/carbon-components-react/tree/master/examples/codesandbox as @emyarod pointed out). Thanks!

BTW I saw a regression that caused #1885, and wondering if it's same as this issue. To see that, would you try making a change to node_modules/carbon-components-react/es/components/OverflowMenu/OverflowMenu.js and node_modules/carbon-components-react/lib/components/OverflowMenu/OverflowMenu.js like below? Thanks!
--- carbon-components-react/es/components/OverflowMenu/OverflowMenu.js.orig     2019-02-21 15:32:39.760643700 +0900
+++ carbon-components-react/es/components/OverflowMenu/OverflowMenu.js  2019-02-21 15:32:10.545972700 +0900
@@ -220,11 +220,13 @@
     });

     _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "handleClick", function (evt) {
+      if (!_this._menuBody || !_this._menuBody.contains(evt.target)) {
       _this.setState({
         open: !_this.state.open
       });

       _this.props.onClick(evt);
+      }
     });

     _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "handleKeyDown", function (evt) {

Closing as a duplicate of #1885 - Feel free to let us know if anybody believes otherwise - Thanks!


Did you use COCO pre-train weight during training?

Excuse me. Sorry to bother you, you may be busy with building this project and others. Although the project has not been released, I have a question about it. Did you use the official deeplabv2 resnet-101 model and load COCO pre-train weight during training? Can you share your training method of your deeplabv2 resnet-101 with us? It's fine to reply to me when you are free. If you think this is not an issue, I can close it.

I close it since the author has replied to me and their work focus on CAM rather than second-stage.

so, use coco-pretrained or not?

@Eli-YiLi For the second-stage segmentation model training, they use the public repo which uses the COCO pre-trained weight. But, don't worry, their work focus on CAM.