search pills: Resurrect the search pills feature.

This is stacked on top of #21458, which I hope we merge.
This resurrects the search pills feature from @ryanreh99.  Because we never cut over from the legacy search implementation, Ryan's code was subject to a little bit of bitrot.  But I believe I have mostly resurrected the feature.  We will need to do some careful manual testing here to determine what work remains to be done, as well as finding any bugs that are no fault of the original implementation and which are just a result of other components evolving.
I did my best to fix small things that were clearly just broken due to the nearly 4 years of code evolution since the original effort.  But I punted on puppeteer testing, and I only did cursory manual testing.

Closing as #26803 is the active PR for this effort. Thanks @showell!


Scaffolding: document the DatabaseModelFactory

Explain what goes in the DatabaseModel object and how that affects the ScaffoldingModel generation.
What goes in TableModel.Indexes? Should PK indexes be included or ignored? Does ForeignKeyModel.Name need to be unique? etc.

cc @ErikEJ

Moved to docs repo https://github.com/aspnet/EntityFramework.Docs/issues/61


Unable to add swagger-ui index as index in v3

Description
Unable to service swagger ui as index in v3
Flask app
app = connexion.App(
    __name__,
    specification_dir="./openapi/",
)
app.add_api(
    "openapi.yaml",
    pythonic_params=True,
    strict_validation=True,
    validator_map=validators.VALIDATOR_MAP,
    swagger_ui_options=SwaggerUIOptions(
        swagger_ui_path="/",
        swagger_ui_config={"showCommonExtensions": True},
    ),
    **additional_kwargs,
)

Expected behaviour
It serves swagger index as index
Actual behaviour
lib/python3.10/site-packages/connexion/middleware/swagger_ui.py:152: in add_swagger_ui
    self.router.add_route(methods=["GET"], path=console_ui_path, endpoint=redirect)
/lib/python3.10/site-packages/starlette/routing.py:802: in add_route
    route = Route(

    def __init__(
        self,
        path: str,
        endpoint: typing.Callable[..., typing.Any],
        *,
        methods: typing.Optional[typing.List[str]] = None,
        name: typing.Optional[str] = None,
        include_in_schema: bool = True,
    ) -> None:
>       assert path.startswith("/"), "Routed paths must start with '/'"
E       AssertionError: Routed paths must start with '/'

Turns out it's a completely different issue I have with the middleware, closing.

Actually, I don't think my propose PR fixes most of the issues if you're adding apis with a base path of "/" as well.
It'll get process twice, once by RouterMiddleware, then by SwaggerUIMiddleware, instead of a centralize list of routes putting the "/" at the end.
Thoughts from anyone who wants to serve swagger-ui at root?


Fix issue with ambient cubemap out of bounds

I was running into an issue where sometimes on some versions of android (6.0) there was a crash with the ambient cube map. This issue has been mentioned by the community and looks like it might be an issue with pro guarding the file AmbientCubemap.java. I have patched the file and it looks like the crashes have gone away for me.
Since the cube map needs to always be sized with 18 elements anyways, I made a constant for the size as well.
No changes have been made to the actual functionality of the CubeMaps.
Libgdx forum discussion
Sample Stack Trace:
java.lang.ArrayIndexOutOfBoundsException: length=18; index=18 at com.badlogic.gdx.graphics.g3d.environment.AmbientCubemap.set(AmbientCubemap.java:60) at com.badlogic.gdx.graphics.g3d.environment.AmbientCubemap.set(AmbientCubemap.java:55) at com.badlogic.gdx.graphics.g3d.shaders.DefaultShader$Setters$ACubemap.set(DefaultShader.java:357) at com.badlogic.gdx.graphics.g3d.shaders.BaseShader.render(BaseShader.java:237) at com.badlogic.gdx.graphics.g3d.shaders.DefaultShader.render(DefaultShader.java:761) at com.badlogic.gdx.graphics.g3d.shaders.BaseShader.render(BaseShader.java:232) at com.perblue.voxelgo.g3d.VGOShader3D.render(VGOShader3D.java:130) at com.badlogic.gdx.graphics.g3d.ModelBatch.flush(ModelBatch.java:206) at com.badlogic.gdx.graphics.g3d.ModelBatch.end(ModelBatch.java:217) at com.perblue.voxelgo.g3d.RepresentationManager.render(RepresentationManager.java:341) at com.perblue.voxelgo.go_ui.screens.BaseSceneScreen.render(BaseSceneScreen.java:65)

Thanks

Please release a version with this fix ASAP, it is major crash in my case 67 crash out of 100.

any idea how can i implement this in my code. i mean how can i compile my jar with this code

To compile a jar of this fix, you will need to compile your own version of libgdx. Here is some info on getting the source code: https://github.com/libgdx/libgdx/wiki/Running-demos-%26-tests. Here is a link to actually compiling your own jar: https://github.com/libgdx/libgdx/wiki/Building-libgdx-from-source.
Cheers!


🐛 [SEGMENT]: 0 dimension value bug fix

Currently, if a dimension has a value of 0 it is mapped to a segment trait as an empty array []. This simple fix allows us to successfully pass a value of 0 to segment. Included is a test to ensure there are no regressions on this functionality.

Just did a close/reopen to give Travis a kick to run and report a success

@phillipperalez what is the release process once merged to master? When can we expect to see these changes live in our Looker instance?

This is live now on production. The process for releases is almost rolling ( I usually make requests for the updates to production )

@phillipperalez awesome, thank you for the information. I will be submitting a new public action in a few days for review, glad to know the team is on top of the PRs.


Feature request:  high-availability values file

I propose that this chart should ship, like some other charts do, with a values-ha.yaml for a high-availability set of defaults, including traefik-recommended HA configurations for disruption budget, topology spread, anti-affinity, and maybe replica count.
Right now, we as customers don't really have a way of knowing if we are susceptible to issues like zendesk/4174 until they surface.  An HA values file would help mitigate this somewhat.

@jcogilvie Wdyt about an EXAMPLES.md, like the one on traefik-helm-chart ? The first example could be an HA setup, and so we will be able to add more if/when it's needed.

Documentation would help, but in my opinion not as elegantly, since there's no way to really subscribe to updates.
At install time, a values-ha file can be overlaid on top of the base values file, but beneath my custom values file. In this way, you can keep the default ha values updated as both kubernetes and the helm chart change, and I'll automatically apply those changes when I update.

I'm reopening it: it's still not published and documented.

@jcogilvie The version 2.0 of this Chart has been published.
It includes many changes, including ha values documented here.
Is there anything we missed ?

So far so good. I'll open another issue if we find anything else!
Thanks for being so responsive.


Create SRD for Message Selection and Testing

Problem statement
To scope the actual work needed to create the Message Selection and Testing, we need to create a Back-end Software Requirements Document (SRD).
What you need to know

Existing SRD
Product Brief Requirements
Discovery Mural with some more information
If you need a reference for what an SRD looks like and how to document it, ask Victor or refer to this one from the Platform team

Acceptance criteria

[x] Add to existing SRD Document:

[x] Technical requirements
[x] Proposed solution
[x] Highlight potential technical limitations and hurdles

[x] Align with Engagement Tech Lead

[ ] Align with Engagement engineering team

[ ] Sync with Product Manager

[ ] Align/get feedback with Platform Tech Lead

I have made the requested changes and am waiting to get approval for them then we need to align with Arnej


Suggestion stores 'text description and one for the current modality

instead of a non-serializable Description object.

I know, we discussed a different solution, but this is short term, and I'll work on the better one later.


E730 when evaluating within loop within function

Steps to reproduce

Have the "reason.vim" file in your directory
Run `vim --clean +'so ./reason.vim'
Notice '12' echoed
Now uncomment the commented out lines
Run (2) again

reason.vim
vim9script

# def Trebuchet(the_input: string): void
  var calibrations: list<number> = []

  for line in ['1this2\n']
    var digits = []
    line->substitute('\d', '\=digits->add(submatch(0))', 'g')
    calibrations->add((digits[0] .. digits[-1])->str2nr())
  endfor

  echo calibrations->reduce((sum, num) => sum + num, 0)
# enddef

# Trebuchet('/input/example.txt')

defcompile

Expected behaviour
Expected nothing to change since the logic is not affected. But for some reason, I get E730
Version of Vim
9.0 with patch 1-2100
Environment
Operating System: Mac OS
Terminal: iTerm
Value of $TERM: xterm-256color-italic
Shell: ZSH
Logs and stack traces
No response

it seems correct however. I suppose in script-context, the function is not compiled and therefore the error is not noticed, but the digits->add() function returns a list, which will then be fed to the \= expression of the  substitute() function.
I think you should either add an explicit string() or join() around the digits->add() expression to make sure you are handling strings properly.

code:
let calibrations = []
for line in ['1this2\n']
call add(calibrations, join(map(split(line, '\zs'), 'string(v:val)'), ''))
endfor
echo calibrations
try to use the above code instead of previous one to get the expected output.

Steps to reproduce

Have the "reason.vim" file in your directory
Run `vim --clean +'so ./reason.vim'
Notice '12' echoed
Now uncomment the commented out lines
Run (2) again

reason.vim
vim9script

# def Trebuchet(the_input: string): void
  var calibrations: list<number> = []

  for line in ['1this2\n']
    var digits = []
    line->substitute('\d', '\=digits->add(submatch(0))', 'g')
    calibrations->add((digits[0] .. digits[-1])->str2nr())
  endfor

  echo calibrations->reduce((sum, num) => sum + num, 0)
# enddef

# Trebuchet('/input/example.txt')

defcompile

Expected behaviour
Expected nothing to change since the logic is not affected. But for some reason, I get E730
Version of Vim
9.0 with patch 1-2100
Environment
Operating System: Mac OS Terminal: iTerm Value of $TERM: xterm-256color-italic Shell: ZSH
Logs and stack traces
No response

code:
let calibrations = []
for line in ['1this2\n']
call add(calibrations, join(map(split(line, '\zs'), 'string(v:val)'), ''))
endfor
echo calibrations
try to use the above code instead of previous one to get the expected output.

let me close this as not a bug


Add support for command EXPIRETIME

Add support for the EXPIRETIME command in DiceDB similar to the EXPIRETIME command in Redis. Please refer to the following commit in Redis to understand the implementation specifics - source.
Write unit and integration tests for the command referring to the tests written in the Redis codebase 7.2.5. For integration tests, you can refer to the tests folder. Note: they have used TCL for the test suite, and we need to port that to our way of writing integration tests using the relevant helper methods. Please refer to our tests directory.
For the command, benchmark the code and measure the time taken and memory allocs using benchmem and try to keep them to the bare minimum.

@arpitbbhayani I would like to work on this
Please assign it to me.

@raknay Assigned the issue to you. Go for it.
It would be awesome if you keep posting updates to this issue so that we know you are working on it. If we see an inactivity of 7 days, we will remove your assignment. This is just to ensure that the project maintains its momentum and others are not blocked on this work.
But it really means a ton to us that you are contributing to this project. Thanks again.

@arpitbbhayani Was stuck with some personal work. Got free now. Will post the updates on the issue.


[DEVOPS-1120] nix-tools based build

Adds a nix-build of cardano-shell which uses the package set defined in cardano-prelude/snapshot.yaml instead of a package set from nixpkgs.
This is based on nix-tools rather than stack2nix.
It uses the common library code from iohk-nix.

@rvl This seems to build for me now:
nix-build nix/pkgs.nix -A cardano-shell.components.exes.cardano-shell-exe -j8

nix-tools needs some work so that stack-to-nix produces the proper files. It also need some test aggregation, e.g. build cardano-shell.components.tests as well as the tests of dependencies.

nix-build . -A cardano-shell.components.exes.cardano-shell-exe -j8

seems to produce ./result/bin/cardano-shell-exe; which prints Test.

This will now fail, as the test-suite is rigged to fail.

Rebased on latest develop.
@ksaric Could you please review? This will change the build and package regeneration process (README.md has been updated).

this nix setup here looks like very much outdated. could this be upgraded to the latest and finest of nix-tools, please? @angerman @jbgi

@rvl Closing this one. If somebody needs something from here they can reopen/cherry pick.


[BUG] PlugRouter plugin will fail to handle request not handled by a Plug.Router

Describe the bug
A request not handled by a Plug.Router module won't have data under %Conn{private: %{plug_route: ...}} this will cause an error on the path/1 function
https://github.com/akoutmos/prom_ex/blob/1.4.0/lib/prom_ex/plugins/plug_router.ex#L211-L214
Error:
Handler {TelemetryMetricsPrometheus.Core.EventHandler, #PID<0.460.0>,
[:my_app, :prom_ex, :plug_router, :http, :request, :duration, :milliseconds]} has failed and has been detached.
Class=:error
Reason={:badkey, :plug_route, %{}}
Stacktrace=[
 {PromEx.Plugins.PlugRouter, :path, 1, [file: 'lib/prom_ex/plugins/plug_router.ex', line: 212]},
 {PromEx.Plugins.PlugRouter, :get_tags, 1, [file: 'lib/prom_ex/plugins/plug_router.ex', line: 220]},
 {TelemetryMetricsPrometheus.Core.Distribution, :handle_event, 4, [file: 'lib/core/distribution.ex', line: 72]},
 {:telemetry, :\"-execute/3-fun-0-\", 4, [file: '/Users/some_user/projects/my_app/deps/telemetry/src/telemetry.erl', line: 135]},
 {:lists, :foreach, 2, [file: 'lists.erl', line: 1342]},
 {:telemetry, :\"-execute/3-fun-0-\", 4, [ file: '/Users/some_user/projects/my_app/deps/telemetry/src/telemetry.erl',  line: 135]},
 {:lists, :foreach, 2, [file: 'lists.erl', line: 1342]}, {Plug.Telemetry, :\"-call/2-fun-0-\", 4, [file: 'lib/plug/telemetry.ex', line: 76]}
]

To Reproduce
Steps to reproduce the behavior:
Add a plug that responds to a path that won't be resolved by Plug.Router, e.g:
Plug:
defmodule MyApp.HealthCheckPlug do
  @moduledoc false

  import Plug.Conn

  def init(opts), do: opts

  def call(%Plug.Conn{request_path: "/health"} = conn, _opts) do
    {:ok, version} = :application.get_key(:my_app, :vsn)
    body = %{version: List.to_string(version)}

    send_resp(conn, 200, Jason.encode!(body))
    |> halt()
  end

  def call(conn, _opts), do: conn
end

Router:
defmodule MyApp.Router do
  use Plug.Router

  plug MyApp.HealthCheckPlug

  plug :match
  plug :dispatch

  get "/hello" do
    send_resp(conn, 200, "world")
  end

  match _ do
    send_resp(conn, 404, "oops")
  end
end

Expected behavior
The PlugRouter plug should not raise an error with those requests since, doing so causes the :telemetry handler to dettach
One should be able to either ignore the request using the :ignored_routes option, or handle the request and probably setting the path tag to some default, since we don't have the route info, and using the request_path from conn as a tag is too risky because of the unknown cardinality

Thanks for the fix! A new release will be cut in the next couple days :).


Modal event doesn't provide any information about key or keyCode

It seems to be no way to identify which action actually triggers the hidePrevented.bs.modal event on a modal.
I couldn't find a way to make set the backdrop to static (don't close the modal on a click outside) and at the same time make the modal close on escape key keyboard.
It would be very helpful if the hidePrevented.bs.modal event does provide the key/Code. Currently, they are undefined:
$theModal.modal({
    'keyboard': true,
    'backdrop': 'static',
})
// ....
$theModal.on('hidePrevented.bs.modal', (event) => {
    console.log(event)
});

// console output
...
key: undefined
keyCode: undefined
...

Similar to #24010. It would be great if Bootstrap events contained reference to the original event.

Agree with @alecpl, it'll be tackled when #24010 will be closed


Termination race condition in Merge/SelectMany

The following test fails as the completion signal is not received. completed remains 0 even though all 3 participating observable is completed:
[Fact]
public void Merge_MainNext_InnerComplete_Race()
{
    for (var i = 0; i < 100000; i++)
    {
        var main = new Subject<IObservable<int>>();

        var subj1 = new Subject<int>();
        var subj2 = new Subject<int>();

        var completed = 0;

        // main.SelectMany(v => v).Subscribe(v => { }, () => completed++);
        Observable.Merge(main).Subscribe(v => { }, () => completed++);

        main.OnNext(subj1);

        var sync = 3;

        var cdl = new CountdownEvent(2);

        Task.Factory.StartNew(() =>
        {
            if (Interlocked.Decrement(ref sync) != 0)
            {
                while (Volatile.Read(ref sync) != 0)
                    ;
            }
            main.OnNext(subj2);
            main.OnCompleted();

            cdl.Signal();
        });

        Task.Factory.StartNew(() =>
        {
            if (Interlocked.Decrement(ref sync) != 0)
            {
                while (Volatile.Read(ref sync) != 0)
                    ;
            }
            subj2.OnCompleted();

            cdl.Signal();
        });

        if (Interlocked.Decrement(ref sync) != 0)
        {
            while (Volatile.Read(ref sync) != 0)
                ;
            subj1.OnCompleted();
        }

        Assert.True(cdl.Wait(5000), "Timeout!");

        Assert.Equal(1, completed);
    }
}

The same happens with SelectMany as they use the same logic as Merge but in a separate implementation.

Notes:

The test requires at least a 3 core machine. 2 cores and/or hyperthreading may not trigger the issue.
Such tests are usually a huge hog with code coverage for some reason. Not sure how to add it as verification for CI.

Fails as well on 2 cores (4 logical processors). Don't know if that suggests hyperthreading.

You're sure the last subj1.OnCompleted(); should be inside the if ?

If outside the if, it works! Taking it outside the if is what we want to assert, I assume.

Yes, that should be outside. It works for me on 4 cores now so the test was incorrect.


Fixes Service Resolution

This PR fixes service resolution after the refactors in https://github.com/buehler/dotnet-operator-sdk/pull/394.

Oh, heck... of course I missed that


Update MD file on new branch 2017-16-15_13-11-47

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestRef.md
:white_check_mark:Succeeded

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


python311Packages.aioesphomeapi: 16.0.1 -> 16.0.2

Diff: https://github.com/esphome/aioesphomeapi/compare/refs/tags/v16.0.1...v16.0.2
Changelog: https://github.com/esphome/aioesphomeapi/releases/tag/v16.0.2
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 251992 run on x86_64-linux 1

40 packages built:

esphome
esphome.dist
home-assistant-component-tests.airthings_ble
home-assistant-component-tests.aranet
home-assistant-component-tests.bluemaestro
home-assistant-component-tests.bluetooth_adapters
home-assistant-component-tests.bluetooth_le_tracker
home-assistant-component-tests.bthome
home-assistant-component-tests.dormakaba_dkey
home-assistant-component-tests.esphome
home-assistant-component-tests.eufylife_ble
home-assistant-component-tests.fjaraskupan
home-assistant-component-tests.govee_ble
home-assistant-component-tests.homekit_controller
home-assistant-component-tests.ibeacon
home-assistant-component-tests.inkbird
home-assistant-component-tests.kegtron
home-assistant-component-tests.keymitt_ble
home-assistant-component-tests.ld2410_ble
home-assistant-component-tests.led_ble
home-assistant-component-tests.moat
home-assistant-component-tests.mopeka
home-assistant-component-tests.oralb
home-assistant-component-tests.qingping
home-assistant-component-tests.rapt_ble
home-assistant-component-tests.ruuvitag_ble
home-assistant-component-tests.sensirion_ble
home-assistant-component-tests.sensorpro
home-assistant-component-tests.sensorpush
home-assistant-component-tests.snooz
home-assistant-component-tests.switchbot
home-assistant-component-tests.thermobeacon
home-assistant-component-tests.thermopro
home-assistant-component-tests.tilt_ble
home-assistant-component-tests.xiaomi_ble
home-assistant-component-tests.yalexs_ble
python310Packages.aioesphomeapi
python310Packages.aioesphomeapi.dist
python311Packages.aioesphomeapi
python311Packages.aioesphomeapi.dist


Number instead Numer in tests?

What steps will reproduce the problem?
Clone Repository
Run tests
What is the expected result?
Don't know, if it was planned?
What do you get instead?
Additional info

Q
A

Version
1.0.?

PHP version

Operating system

Shouldn't it be called getNumber? Or is there a reason for calling it getNumer?
./tests/Support/EngineMarkTwo.php:33:    public function getNumer(): int
./tests/Support/EngineMarkOne.php:33:    public function getNumer(): int
./tests/Support/EngineInterface.php:22:    public function getNumer(): int;

btw would make a pull request, but don't know, if it was planned, or a mistake :)

This is mistake of the getter naming.
Make a PR if you want :)


Feature/plugin filter editor

The form didn't display the tab name/description/sortKey since I forgot to remove the filterString from the FormGroup. Now it works.

I added 2 more things:

A reload button for the filter editor, which resets the filter editor to the saved filter.
A JSON validator for the JSON editor (of the filter string). This doesn't validate the filter string but complains if the user enters invalid JSON.


[BugFix] Fix duplicated column unique id in adding column when upgraded to 3.3 than downgraded to 3.2 for shared-data mode

Why I'm doing:
When upgraded to 3.3 than downgraded to 3.2, duplicated column unique ids will be generated in adding column in shared-data mode, causing be crash.
What I'm doing:

Fix duplicated column unique id in adding column when upgraded to 3.3 than downgraded to 3.2 for shared-data mode.
Add duplicated column unique id checking, protect be from crash.

What type of PR is this:

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

[ ] This is a backport pr

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[ ] 3.3
[ ] 3.2
[ ] 3.1
[ ] 3.0
[ ] 2.5

@Mergify backport branch-3.1

Do not need to backport to branch-3.1


[Build] Improve Gradle custom plugins

We currently have a mix-match of custom plugins in buildSrc taken from spring-security and spring-boot and some of our own.

consolidate appropriately
remove unused plugins
possibly replace all groovy plugins w/ java (2 remaining)

Most of the above has been done via several commits over the last 6 months. Closing this as the main spirit has been done. There is still cleanup work that will happen as we go along - but not worth keeping a bucket ticket like this open.


Support CONTAINS operator

In WHERE clauses, add support for the CONTAINS keyword that will do partial matches on strings

Hey @AvitalTamir,
I'll take this one

Thanks @naorpeled 👑

Hi @naorpeled,  just checking in. How is your progress on this issue? If you are not working on it, I have some bandwidth to take care of it :) Let me know if you want to continue or I can take up on it.

Hi @naorpeled,  just checking in. How is your progress on this issue? If you are not working on it, I have some bandwidth to take care of it :) Let me know if you want to continue or I can take up on it.

Hey!
I've been sick in last couple of days, planning on working on the task tomorrow
Sorry for the delay 🙏
Will keep you posted if I need anything, I appreciate your offer!


Operation is not supported on this platform on Framework 4.7.2

Prerequisites

[X ] I have written a descriptive issue title
[X ] I have verified that I am running the latest version of Nancy
[ X] I have verified if the problem exist in both DEBUG and RELEASE mode
[X ] I have searched open and closed issues to ensure it has not already been reported

Description
I have this stack trace. It was working fine 5 days ago, today stopped i have no idea why.
at System.Net.HttpListener..ctor() at Nancy.Hosting.Self.NancyHost.TryStartListener() at Nancy.Hosting.Self.NancyHost.StartListener() at Nancy.Hosting.Self.NancyHost.Start() at .Rest.RestServer..ctor(String port, ConnectionType connectionType, String address) in C:\Users\kamil\source\repos\\Rest\RestAPI.cs:line 253 at .Program.Main(String[] args) in C:\Users\kamil\source\repos\\Program.cs:line 36
Steps to Reproduce

            var host = new NancyHost(new Uri($"{address}:{port}"));

            host.Start();

System Configuration
Dotnet Framework 4.7.2, Windows 10

Nancy version: 2.0.0
Nancy host

[x] Nancy.Hosting.Aspnet

[X ] Nancy.Hosting.Self

[x] Other:

Other Nancy packages and versions:
Environment (Operating system, version and so on):
.NET Framework version: 4.7.2
Additional information:
Exception exist every time i try to use host.Start();

Something's changed on your computer in the last 5 days. Maybe a system update or something. See https://stackoverflow.com/q/41150296/682105.

@khellang it looks that
net stop http /y

sc config http start= demand

Doesnt changed anything. I have 2 network cards, and i cleaned my pc, so it is possible that i connected rj45 to second card, but now it is tested on both cards. Still the same error.

Okay in my case it was http service problem, but it was deeper. I had to go to Registry and Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTP\Parameters\SslBindingInfo\ , then i found that ine of binded service is set on my old local ip <IP_ADDRESS>, when i restarted my network i had a new ip address, and i had to delete old service from registry.


New npm scripts

New npm scripts

[x] build | Build the app
[x] test:unit | Run only unit tests
[x] test:integration | Run only integration tests
[x] format:check | Check formatting
[x] format | Format all files

Completed 547e936


Not getting message when app is in Background

Hey Folks,
When i'm running app on simulator it's working fine, but on real device messages are not getting received when app is in background mode.
Can u help.
Thanks

Hello @gouravgupta72
It will happen in the simulator too if the app gets suspended. That's basically how iOS works. When an app enters background mode, it will suspend any network activity. It's a way to improve battery life. You can improve it using background fetch feature or just by sending silent notifications. Please have a look at the App Programming Guide for iOS. Thanks.

I try to use background fetch still it's not working for me.
Any other help guys ?

@gouravgupta72 You can use push notifications, which were designed specifically for this.
Please open a new issue if you have a specific problem with our iOS library. For general Ably questions, please refer to https://support.ably.io/support/home.


RHIDP-4201: docs(homepage): add techdocs

Description
Add some tech docs for the dynamic home page plugin.
Which issue(s) does this PR fix

Fixes https://issues.redhat.com/browse/RHIDP-4201

PR acceptance criteria
Please make sure that the following steps are complete:

[ ] GitHub Actions are completed and successful
[ ] Unit Tests are updated and passing
[ ] E2E Tests are updated and passing
[ ] Documentation is updated if necessary (requirement for new features)
[ ] Add a screenshot if the change is UX/UI related

How to test changes / Special notes to the reviewer

/cc @ciiay
/cc @debsmita1


Empty img element when there is no featured image

When a post has no featured image, there is an empty <img src=""> element in each single post. Singe.twig seems to assume there is always a featured image on a post, which is not always true. There should probably be a check on that.

Great call @rmens! Seems like it's a quick fix, but I want to give you first crack at the PR opportunity. Could you handle the fame and glory?

I feel that this sort of thing is project-specific. It's very simple to add a conditional to render this if a featured image is present or not, and as a starter theme, it does assume a featured image would be present. Similarly, it is project-specific that you may define a default featured image if one isn't selected as well as any other attr that the image may have.

I think A small check to add to a single page is not really that hard to do and gives a good example. I will mark this as an enhancement.


Expose the ScrollController of a TabBar

Use case

Exposing the ScrollController of a TabBar would allow for custom scrolling behavior, as well as things like putting a specific tab into view, changing the scrolling physics etc.
Proposal

Expose the ScrollController of a TabBar / allow the user to provide their own.

I need this for doing a fake scroll back on the tab bar when a page is shown, to indicate that the tab bar is scrollable.
Basically, scrolling ahead just a little then scrolling back to the initial position when the page loads.

I also need this to do custom behavior when the TabBar (not TabBarView is scrolled in certain positions. Also, exposing the ScrollController makes it possible for a Scrollbar widget to show and customize its scrollbar without funkiness.


[OFFICIAL] Generated Issue: FatalThrowableError

Please fill out the details below.
Summary:
Steps to reproduce:
Additional Details
Jikan Parser Version: v2.19.4@b1d5326cce6a483ded253d29116b3a816fe50e88
PHP: 7.4.23
Redis: Connected
Exception: Symfony\Component\Debug\Exception\FatalThrowableError
Code: 0
Message: Argument 1 passed to App\Http\Middleware\JikanResponseHandler::cacheMutation() must be of the type array, null given, called in /var/www/jikan/app/Http/Middleware/JikanResponseHandler.php on line 144
Trace: /var/www/jikan/app/Http/Middleware/JikanResponseHandler.php on line 196
Request: GET /v3/search/anime?q=Kokkoku&page=1

v3 is no longer supported and will be discontinued next month. Please upgrade to v4.


Trinity Preferences > Sites tab fails to load page

I added @hornersa to the project to be able to assign for review because of #11389

@hornersa Thanks! Yeah I didn't try it without the faces xml change but makes sense. It was there before and better to be explicit about it.
I also removed the duplicate default config value which wasn't doing anything but just wasn't needed.
Thanks for checking.


Novel fire: Filter by quantity

Source information
novelfire
Steps to reproduce
use filter by quantity
Expected behavior
load novels
Actual behavior
no load novels

LNReader version
2.0.0
Android version
13
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
[X] I have written a short but informative title.
[X] I have updated the app to version 1.1.19.
[X] I have updated all installed extensions.
[X] If this is an issue with the app itself, I should be opening an issue in the app repository.
[X] I will fill out all of the requested information in this form.

Fixed in #1052.


catch tile size error from tilelive-bridge

This adds a nice error message to mapbox-tile-copy if the tilelive-bridge size limit environment variable is used.
cc @GretaCB @millzpaugh @springmeyer

@mapsam This looks good to me! Should we add a test for this?

@millzpaugh totes! Lemme get one put together.

@millzpaugh just added a test in https://github.com/mapbox/mapbox-tile-copy/pull/111/commits/d64c0c4ffeb3292a95231833940de8c2da2a9d31 - lemme know what you think!

@mapsam looks great!

Thanks @millzpaugh! Just one build that keeps giving me tileCount troubles ... going to forget about it for now.


Solves #3016: custom docker logger name prefix via System property

https://github.com/testcontainers/testcontainers-java/issues/3016
Allows to customize Logger name with prefix via System property - this way the logback hierarchial configuration can be applied. This PR is a separate of #6772 just as a minimal PoC that solved the problem with minimal side effects.

@seregamorph Thanks for the PR! we have decided to proceed with #3018


Introduce eye_offset for correcting stereoscopic reflections

This PR adds the eye offset to correct the view vector during stereoscopic rendering to ensure specular lighting and reflections work correctly.

Thanks!


[HUDI-4204] Fixing NPE with row writer path and with OCC

What is the purpose of the pull request
Row writer with multi-writer enabled has a NullPointerException. Fixing the same in this patch.
Brief change log

Row writer flow was not calling preWrite which is expected to be called for multi-writers. So, fixing that in this patch.

Verify this pull request
This change added tests and can be verified as follows:

Added a simple test to TestHoodieSparkSqlWriter to test the bulk insert row writer w/ concurrency control configs.
Verified multi-writer test with integ test framework locally w/ both writers ingesting via bulk_inserts.

Committer checklist

[ ] Has a corresponding JIRA in PR title & commit

[ ] Commit message is descriptive of the change

[ ] CI is green

[ ] Necessary doc changes done or have another open PR

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

https://dev.azure.com/apache-hudi-ci-org/apache-hudi-ci/_build/results?buildId=9267&view=results
CI passed. landing this now.


/usr/bin/env: foreman: No such file or directory

Well, when I try to export the upstart file, it says the following error:
$ rvmsudo foreman export upstart /etc/init -a myapp -u deploy -f ./Procfile.production
/usr/bin/env: foreman: No such file or directory

How did you fix it? I have the same problem

@h0jeZvgoxFepBQ2C 3 years have passed, but a solution that worked for me is installing ruby-foreman:
sudo apt install ruby-foreman
And restarting the machine.

Stumble upon my own answer, nice!


Feature Request: Display "No Jobs Found" Message on Job Listings Page

I would like to propose adding a feature to the Job Listings page that displays a message when a user searches for a job title or keyword that does not match any of the available listings.

Expected Behavior:
When no jobs are found based on the user's search criteria, a message should appear indicating that no jobs are available.
Suggested Message:
"No jobs found for your search criteria."
"No available jobs at this time. Please try a different search."
This will enhance user experience by providing clear feedback.
Kindly assign this issue to me for implementation.. Please also add hacktoberfest , gssoc-ext tags along with level. Thank you @aditya-bhaumik

@DivyaJyothi9  sure go ahead
can you add some more job listing while you are at it
also make sure to star the repo

Sure sir!! Thank you


vim YouCompleteMe still not working with .ino files

I placed .ycm_extra_conf.py in the project directory but YCM still does not work at all. For example: When I type test. where test is the name of an object of a test class I do not get any suggestions for method names. When I try to force autocompletion I get
E764: Option 'omnifunc' is not set
When I try to use the go to definition feature the error is
 ValueError: No semantic completer exists for filetypes: [u'arduino']

hmm...
I'm not sure it works with .ino files, and this project doesn't support .ino files either.
can you post your .ycm_extra_conf somewhere, so I can take a look?

Thanks for the reply. I am using this version, which is based on yours. But it seems like it is not even loaded. When I deliberately add a syntax error I do not get any notification nor did YCM ever ask me to load the config. I am using a global config for c++11 which I placed in my ~/.vim folder. It is loaded in my .vimrc with
let g:ycm_global_ycm_extra_conf = '~/.vim/.ycm_global_ycm_extra_conf.py'

but I thought that is only being used as a fallback so local configs should still be loaded.

yep, the issue is the one I thought, it doesn't recognize the arduino file type.
setting filetype to cpp should not stop highlighting of functions. have you tried https://github.com/sheerun/vim-polyglot
either way, it is outside the scope of this project :)
I'm closing the issue as it has been resolved.


REST unset create but not delete

I can unset actions create like the following:
    public function actions()
    {
        $actions = parent::actions();

        // disable the "delete" and "create" actions
        unset($actions['create'], $actions['update']);

        return $actions;
    }

Now I can add into the same Controller file a new public function actionCreate() and he recognise it.
But the same does not work for actionUpdate($id) or actionDelete($id). I want to know why because it would be quite more easier and fast to adjust the actions on the fly.

@bdart  what do you mean by "doesn't work"?

For example:
    public function actionDelete($id)
    {
        if (\Yii::$app->getRequest()->getMethod() === 'DELETE') {
            $this->findMongoModel($id)->delete();
[...]

There is a custom rule that it shall find the Model not via the id either via title_clean in the $this->findMongoModel
When I try it via REST Call
/web/v1/articles/10 with DELETE and unset($actions['delete']) I get:
{
    "status": 0,
    "error_code": 400,
    "message": "Bad request"
}

When I try via my title_clean it looks like /web/v1/articles/here-is-some-unique-text I get 404 Error.
So I can confirm that he unset's it but it is not behaving the way like it does with my public function actionCreate() where everything is running

Did you adjust REST UrlRule to accept strings for parameter $id?
https://github.com/yiisoft/yii2/blob/master/framework/rest/UrlRule.php#L105

yeah, show us your rest rules

I commented two lines out because I played around with it but it didn't change anything. It is easy to make the URL listen to: web/v1/articles/delete?id=... But this not how it should supposed to be with REST
['class' => 'yii\rest\UrlRule', 'controller' => 'v1/article', 'extraPatterns' => [
    'POST,OPTIONS showme' => 'showme',
    //'PUT,PATCH update/<id>' => 'update',
    //'DELETE /<id>' => 'delete',
    'GET magazin' => 'magazin',
]],

Closing since this is a clear example of misconfiguring URL rules and controller's actions code.


custom aspect ratios are reset when closing settings if you had opened the graphics tab

Is there an existing issue for this?

[X] I have searched the existing issues

Contact Details
No response
Version Info
Latest available release
What operating system are you seeing the problem on?
No response
Bug Behavior
in rebirth, with a custom aspect ratio and resolution set in preferences.ini (in my case 1366x715, 1.910490)
open the settings tab, go to the graphics tab and then try to close settings
Expected Behavior
No response
Reproduction Steps
No response
Anything else?
No response

fixed 833c33c5168186c84a3d2dd58058180e58a47323


v1.6.10 Windows HadoopSupport path compatibilty

Trying to see if we can run Hadoop unit tests with Windows.

Re lines 35-40, I checked that the file format “/C:/path” works fine as a filename in sbt console and all thermometer unit tests passed with Windows.
However, it seems that the Java System Properties are getting cleared so that hadoop.home.dir (UNIX path format) was not getting used.
Therefore, I had to export HADOOP_HOME as a shell env var instead (Windows path format with an essential trailing backlash).


Update ember app to accept configured environment variable for root url.

Please talk to Mark about what needs to be done :)

@jabrah @cameronblandford So what is the status of this ticket?

@htpvu a PR for this was tested and merged earlier today

great. @jabrah thanks!


API Documentation

Hi, is there any documentation on the REST API, please?

There is not. However, there should be.

I'd also be interested in documentation on the REST API. I'm interested in considering a stand-alone non-PHP backend in a language like Golang.


[Keyvault] keyvault-keys and certificates smoke test failures - missing resources

Smoke tests failed - https://dev.azure.com/azure-sdk/internal/_build/results?buildId=830439&view=results

Closing as @jeremymeng is working on fixing the pipeline with ENG SYS.


Don't include specific force field parameters, such as dihedrals

I'm trying to apply a force field with only specific types of forces, such as nonbonded and harmonic forces. I don't want to include any dihedral terms or other terms, so I didn't define any in my force field. However, I get the following error:
Exception: Parameters have not been assigned to all proper dihedrals. Total system dihedrals: 7600, Parameterized dihedrals: 0. Note that if your system contains torsions of Ryckaert-Bellemans functional form, all of these torsions are processed as propers.
Is there any way to bypass this exception and let mbuild apply the limited force field to the system? Here's how I am applying the force field to the system.
my_ff = Forcefield(forcefield_files='my_ff.xml')
system = my_ff.apply(system)
mb.formats.gsdwriter.write_gsd(filename='output.gsd', structure=system)

The ff.apply function has a couple of assert flags you can turn off
my_ff = Forcefield(forcefield_files='my_ff.xml')
system = my_ff.apply(system, assert_dihedral_params=False, assert_improper_params=False)
mb.formats.gsdwriter.write_gsd(filename='output.gsd', structure=system)

Hi Alex, thanks a lot for the tip!


TextInputController onSubmitted callback doesn't function.

havent discovered exactly how this is handled, but its related to #11.
and the answer is probably related to keyboard handler found in the google-desktop-embedding

I am not sure, but it think the onSubmitted callback might be trigger with the keyevents.

flutter Doc: TextInputClient.performAction TextInputAction.newline
The  the newline action is not sended to the Engine.
Related to: https://github.com/flutter/flutter/pull/23015

The current flutter version used in the project (7.3) doesn't include the fix from  flutter/flutter#23015 https://github.com/flutter/flutter/blob/3b309bda072a6b326e8aa4591a5836af600923ce/packages/flutter/lib/src/widgets/editable_text.dart#L511
I will see if everything works with version 10.1 because it's the first version containing the fix.
see https://github.com/flutter/flutter/blob/v0.10.1/packages/flutter/lib/src/widgets/editable_text.dart#L525

fixed by #26


Issues/53 set property race

What's this PR do?
fixes race condition on setProperty
Where should the reviewer start?
FormContainer.tsx
How should this be manually tested?
https://codesandbox.io/s/52k5kz6j94
What are the relevant tickets / issues?
#53

Nice fix 👍🏻


Documentation Bug on StringObject

Describe the bug
In the example in docs/docs/usecase/dictionary.md the type is incorrect:
  const CO_STRING {
      0,                  /* variable for read position     */
      &DemoString[0]      /* start address of string memory */
  } DemoStringObj;

It should be CO_OBJ_STR also on Mac using const will result in bus error when reading since the Offset has to be updated on a a read operation. Updating an object like this on a read seems odd (more below).
I also think the Domain example is incorrect.
Additional context
This made me look at the code and question why this object  is needed and why the offset is this object. It is not thread-safe, and if two SDO server interleave the read the offset cannot be relied upon. So my reading is that :

Some protection exist to avoid concurrent and inter-leafed reading of large objects.
OR users of the large object read functions have to reset the offset before each read, which again creates are temporal coupling and potential risk.

I'm not fully sure how these object should be used, but my intuition is that a CODictRdBuffer call should should include some sort of descriptor by reference (like the FD in files). The "FD" would allows you to control that reader offset, indicate if end of buffer was reached, etc. It also make each reader responsible for keeping its own offset. The API is kind of strange, if the buffer I use is too small I don't know how many bytes were copied? Also from string the \0 is not added.
Again this last comment is based on just writing tests and getting unexpected behaviour. I could be missing the large picture.

First of all, the documentation needs to be corrected. Thanks for identifiying them in this issue!
Regarding the concurrent access of single object entries you are right: The concurrent access to object entries is not protected in the library itself. The reason is to keep the library independent from RTOS, hardware and possible existing mechanisms in multi-core environments.
I'm more than happy if we could identify a unique mechanism, which allows us to provide the protection in tiny microcontrolers, on multi-core processores with and without an RTOS.
In practise, there are only rare situation where this protection will help to avoid errors. In my projects I tend to protect the potential candidates at the calling location by critical sections (which disables interrupts), locking scheduler (which disable OS scheduling) or avoiding the concurrency at all (e.g. by setting up an object access queue in my RTOS).


Bug Report: WHAT IS THIS?

when I build the game it looks like this:
source/LuaClass.hx:37: characters 46-58 : Type not found : StatePointer
source/StoryMenuState.hx:21: lines 21-446 : Defined in this class
source/LuaClass.hx:1122: characters 41-53 : Type not found : StatePointer
source/StoryMenuState.hx:21: lines 21-446 : Defined in this class
source/LuaClass.hx:289: characters 38-50 : Type not found : StatePointer
source/StoryMenuState.hx:21: lines 21-446 : Defined in this class
source/LuaClass.hx:867: characters 35-47 : Type not found : StatePointer
source/StoryMenuState.hx:21: lines 21-446 : Defined in this class
source/LuaClass.hx:157: characters 14-19 : Class<llua.LuaL> has no field error
source/LuaClass.hx:166: characters 5-12 : LuaClass does not have a constructor
source/LuaClass.hx:167: characters 5-14 : Unknown identifier : className
source/LuaClass.hx:208: characters 16-21 : Class<llua.LuaL> has no field error
source/LuaClass.hx:219: characters 16-21 : Class<llua.LuaL> has no field error
source/LuaClass.hx:227: characters 11-19 : LuaClass has no field Register
source/LuaClass.hx:225: characters 21-29 : Field Register is declared 'override' but doesn't override any field
source/LuaClass.hx:1217: characters 14-19 : Class<llua.LuaL> has no field error
source/LuaClass.hx:1230: characters 12-17 : Class<llua.LuaL> has no field error
source/LuaClass.hx:1251: characters 14-19 : Class<llua.LuaL> has no field error
source/LuaClass.hx:1276: characters 5-12 : LuaClass does not have a constructor
source/LuaClass.hx:1278: characters 5-14 : Unknown identifier : className
source/LuaClass.hx:1281: characters 22-31 : Unknown identifier : className
source/LuaClass.hx:1317: characters 11-19 : LuaClass has no field Register
source/LuaClass.hx:1315: characters 21-29 : Field Register is declared 'override' but doesn't override any field
C:/HaxeToolkit/haxe/lib/hxvm-luajit/git/src/vm/lua/LuaVM.hx:56: characters 7-37 : Bool should be Int
C:/HaxeToolkit/haxe/lib/hxvm-luajit/git/src/vm/lua/LuaVM.hx:62: characters 11-16 : Class<llua.LuaL> has no field error
source/PlayState.hx:1162: characters 19-62 : LuaSprite does not have a constructor
source/PlayState.hx:1207: characters 25-44 : LuaNote does not have a constructor
source/PlayState.hx:1208: characters 25-44 : LuaNote does not have a constructor
source/PlayState.hx:1209: characters 23-42 : LuaNote does not have a constructor
source/PlayState.hx:1210: characters 26-45 : LuaNote does not have a constructor
source/PlayState.hx:1212: characters 22-42 : LuaNote does not have a constructor
source/PlayState.hx:1213: characters 22-42 : LuaNote does not have a constructor
source/PlayState.hx:1214: characters 20-40 : LuaNote does not have a constructor
source/PlayState.hx:1215: characters 23-43 : LuaNote does not have a constructor
source/PlayState.hx:1219: characters 12-49 : LuaCharacter does not have a constructor
source/PlayState.hx:1220: characters 12-42 : LuaCharacter does not have a constructor
source/PlayState.hx:1221: characters 13-45 : LuaCharacter does not have a constructor
source/PlayState.hx:1223: characters 17-52 : LuaSprite does not have a constructor
source/PlayState.hx:1224: characters 18-53 : LuaSprite does not have a constructor
source/PlayState.hx:1228: characters 21-54 : LuaCam does not have a constructor
source/PlayState.hx:1229: characters 20-47 : LuaCam does not have a constructor
source/PlayState.hx:1231: characters 7-15 : LuaClass has no field Register
C:/HaxeToolkit/haxe/lib/polymod/git/polymod/format/XMLMerge.hx:189: characters 10-23 : Warning : This typedef is deprecated in favor of haxe.xml.Access
C:/HaxeToolkit/haxe/lib/polymod/git/polymod/format/XMLMerge.hx:189: characters 30-43 : Warning : This typedef is deprecated in favor of haxe.xml.Access

try updating luajit or whatever its called

I'm having aa similar issue myself, checking if I accidentally got the unstable version.

Remove and reinstall hxvm-luajit and linc_luajit


Return a Future from app.serve

Feature Request
Detailed Description
Instead of creating a runtime inside app.serve, I propose we return a future instead that allows people to run the app on whichever runtime they choose.
Context
From the API it currently isn't clear that Tide operates asynchronously. Also things like starting a database in parallel to Tide feels a bit awkward because async control flow primitives such as try_join and select don't work.
I propose we move from this:
#![feature(async_await)]

fn main() -> Result<(), failure::Error> {
    let mut app = tide::App::new(());
    app.at("/").get(async move |_| "Hello, world!");
    app.serve("<IP_ADDRESS>:8000")?;
}

To this:
#![feature(async_await)]

fn main() -> Result<(), failure::Error> {
    my_runtime::run(async {
        let mut app = tide::App::new(());
        app.at("/").get(async move |_| "Hello, world!");
        await!(app.serve("<IP_ADDRESS>:8000")?);
    })
}

We then shift the problem to making my_runtime::run nicer to use, but that's something that's worth solving for the whole async ecosystem, and not just Tide.
Possible Implementation
We would need to patch this line: https://github.com/rustasync/http-service/blob/master/http-service-hyper/src/lib.rs#L94, and propagate it through to Tide.

Within the bounds of this proposal, is it possible to still provide a "batteries-included" runtime experience for new users?

@secretfader you could have it return a custom future, that then as a function on it call say sync that will block and start the server. Under the hood it would consume itself, pass itself to a runtime.

I agree with this proposal. Currently, it is a challenge to set up an asynchronous database pool with Tide, as you can't use the same runtime as Tide.

With Runtime we'll be able to also get rid of most of the boilerplate this change would introduce 😊 :
#![feature(async_await)]

#[runtime::main(runtime_tokio::Tokio)]
fn main() -> Result<(), failure::Error> {
    let mut app = tide::App::new(());
    app.at("/").get(async move |_| "Hello, world!");
    await!(app.serve("<IP_ADDRESS>:8000"))?;
}

I'm working on this, the update on http-service-hyper is here: rustasync/http-service#21

Closed via #203


Not farming

Is it only for me or does the bot have not farming feature?
Tried to reinstall everything but the bot neither those build troops or sends them to farms.
is there a telegram group i can join to perhaps find even other bots?

I have the same problem, i can see that i collect every hour the ressources, bought everything in the shop, building (not often) but i'd never seen troops farming on mines

Hi , im a newbie in coding is there a help file so i know where to start after downloading the code?


ts_library does not copy user declare typings file

when import type from a declaration .d.ts file, .d.ts file is not copied to the built destination which breaks npm_package rule.
for example, I'm building an angular/schematics lib which has schema declared in schema.d.ts file. After built with ts_library, index.ts file will produce index.d.ts: import {Schema} from './schema' => lib depend on schema.d.ts, but since the schema.d.ts was missing in the built destination, the npm_package rule will fail.
ts_library(
    name = "schematics",
    srcs = glob(
        [
            "**/*.ts", # including schema.d.ts
        ],
        exclude = [
            "**/test/**/*.ts",
            "**/*_spec.ts",
        ],
    ),
    tsconfig = "//projects/schematics:tsconfig-build.json",
)

npm_package(
    name = "npm_package",
    srcs = [
        "package.json",
        "collection.json",
        "action_helper/schema.json",
    ],
    tags = ["publish"],
    deps = [
        ":schematics",
    ],
)

ERROR: /Users/sand/Downloads/ng6/projects/schematics/BUILD.bazel:31:1: SkylarkAction projects/schematics/npm_package failed (Exit 1)
failed to load main  Error: dependency projects/schematics/action_helper/schema.d.ts is not under bazel-bin or bazel-genfiles
    at outPath (/private/var/tmp/_bazel_sand/09cd38cf0582a63d96f315031092ac4d/external/build_bazel_rules_nodejs/internal/npm_package/packager.js:84:13)
    at main (/private/var/tmp/_bazel_sand/09cd38cf0582a63d96f315031092ac4d/external/build_bazel_rules_nodejs/internal/npm_package/packager.js:92:11)
    at Object.<anonymous> (/private/var/tmp/_bazel_sand/09cd38cf0582a63d96f315031092ac4d/external/build_bazel_rules_nodejs/internal/npm_package/packager.js:122:22)
    at Module._compile (module.js:635:30)
    at Object.Module._extensions..js (module.js:646:10)
    at Module.load (module.js:554:32)
    at tryModuleLoad (module.js:497:12)
    at Function.Module._load (module.js:489:3)
    at Object.<anonymous> (/private/var/tmp/_bazel_sand/09cd38cf0582a63d96f315031092ac4d/execroot/ngrx_utils/bazel-out/host/bin/external/build_bazel_rules_nodejs/internal/npm_package/packager_bin_loader.js:290:24)
    at Module._compile (module.js:635:30)
Target //projects/schematics:npm_package failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 6.456s, Critical Path: 4.55s
INFO: 6 processes: 3 darwin-sandbox, 3 local.
FAILED: Build did NOT complete successfully

looks like a duplicate of https://github.com/bazelbuild/rules_nodejs/issues/196 which I just fixed yesterday. Next release will have the fix (or you can point your WORKSPACE to the sha1 of HEAD for your rules_nodejs)


KeyError: 'mac'

Description
Since some time I have an issue that all the entities of the Tapo C200 camera integration remain unavailable also after restart. The Home Assistant log shows a KeyError: 'mac' message.
Today I tried to remove and reinstall the Tapo integration. But also in that case I get a similar error (see below) and the entities are not created at all.
The camera is available on the network because at the same time I am able to get the RTSP stream from the Tapo Camera into Home Assistant.
Reproduction Steps

Remove integration
Restart HA
Install and configure integration
Restart HA
Check if entities have been created
Check logs for errors

Expected behavior
The camera and sensor entities should become available again.
If applicable, add error logs.
Logger: homeassistant.components.camera
Source: custom_components/tapo_control/camera.py:308
Integration: Camera (documentation, issues)
First occurred: 15:22:08 (2 occurrences)
Last logged: 15:22:08
Error adding entities for domain camera with platform tapo_control
Error while setting up tapo_control platform for camera
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 382, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 442, in _async_add_entity
if entity.unique_id is not None:
File "/config/custom_components/tapo_control/camera.py", line 189, in unique_id
return self.getUniqueID()
File "/config/custom_components/tapo_control/camera.py", line 308, in getUniqueID
return slugify(f"{self.attributes['mac']}{streamType}_tapo_control")
KeyError: 'mac'
Device Firmware
1.1.16 Build 211209 Rel.37726n(4555)
Using stream component
Yes
Does camera work via official integrations?
Yes
Camera has all attributes filled out in developer tools
No
HASS Environment
HASSio
Search for similar issues
Yes
Additional information
No response

Seems to work again after I have:

Allowed that the camera made internet connection on my router
Updated the camera to latest firmware

Not sure though which one made the trick


Python 3.12 tests failing with ModuleNotFoundError: No module named 'setuptools'

Failing tests are here.
This started happening last week. PRs that have been waiting for review for weeks with passing tests began failing too. This makes me think that the problem is a change in the images used on the tests.yml workflow .  A change that matches the time 3.12 tests began failing is an update of the "ubuntu-latest" image on May 28 (last week's Tuesday)
Other repos reporting the same problem: jupyterlab/jupyterlab#16404
From the full traceback, the solution may be as simple as adding setuptools as a requirement?
Traceback (most recent call last):
  File "/home/runner/work/juriscraper/juriscraper/setup.py", line 5, in <module>
    from setuptools import find_packages, setup
ModuleNotFoundError: No module named 'setuptools'

@quevon24 fixed this by adding setuptools to the tests workflow in this PR
Closing this as completed


Consider stop using node:onbuild

My reason:
I guess that when you first built the docker image the onbuild tag of node was a good choice to start with. However it does not provide enough control over what is happening, how or where.
According to official node image documentation, it is discouraged for anything except tests:

While the onbuild variant is really useful for "getting off the ground running" (zero to Dockerized in a short period of time), it's not recommended for long-term usage within a project due to the lack of control over when the ONBUILD triggers fire

Not to mention that the image size is huge. I would recommend using node:alpine as a base instead. The image size will be significantly smaller (from 600mb to less than 200), and the control over what happens will be much fine grained.
Additional information:
Official node docker image documentation: https://hub.docker.com/_/node/ (search for node:onbuild section)

Thanks @danielo515 I'll let this open to discussion. I'm not Docker expert so at least for my side seems a good enhancement.

Proposed at #181 I hope the author reply soon .

Done


'?' in code breaks code highlighting

Environment data
dotnet --info output:
.NET Core SDK (reflecting any global.json):
Version:   2.2.103
Commit:    8edbc2570a
Runtime Environment:
OS Name:     Windows
OS Version:  10.0.16299
OS Platform: Windows
RID:         win10-x64
Base Path:   C:\Program Files\dotnet\sdk\2.2.103\
Host (useful for support):
Version: 2.2.1
Commit:  878dd11e62
.NET Core SDKs installed:
2.1.500 [C:\Program Files\dotnet\sdk]
2.1.502 [C:\Program Files\dotnet\sdk]
2.2.103 [C:\Program Files\dotnet\sdk]
.NET Core runtimes installed:
Microsoft.AspNetCore.All 2.1.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.2.1 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.1.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.2.1 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.1.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.2.1 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
To install additional .NET Core runtimes or SDKs:
https://aka.ms/dotnet-download
VSCode version: 1.33.0
C# Extension: 1.18.0
Steps to reproduce
Following minimal code snippet can reproduce the issue on my pc:
using System.Runtime.InteropServices.ComTypes;
using System;

namespace dev
{
    class Program
    {
        static int Main(string[] args)
        {
            var someNullable = (int?)25;
            return (someNullable ? / 5);
        }

        public static void test()
        {

        }
    }
}

How it looks like with broken highlighting:

After removing the '?' it highlighting it correctly:

Expected  behavior
Code after the part return (someNullable ? / 5); is correctly highlighted
Actual behavior
Code formatting is broken after the '?'

Some additional info:
It only happens if the '?' is used as a conditional on nullables.
Like doing someNullable?.ToString()

moved to https://github.com/dotnet/csharp-tmLanguage/issues/153


Warning fixes

Tackled some warnings.

I've been annoyed with the warning messages too but never got around to touching them. Thanks for the fix!


.NET 6: Publish an ASP.NET Core web API to Azure API Management with VS

Replace "At this point, you need to add an API to the Azure API Management service. Leave Visual Studio open while you complete the following tasks." creating the API in the current dialog. It now support that.
Remove all the pic's. The pic's are so big they're not helpful anyway and change too often.
Copy/paste the beginning instructions from https://docs.microsoft.com/en-us/aspnet/core/tutorials/first-web-api
have them  Delete [Route("[controller]")]  and add [Route("/")]
In the instructions
Replace services.AddSwaggerGen(); with
services.AddSwaggerGen(config =>
{
    config.SwaggerDoc("v1", new Microsoft.OpenApi.Models.OpenApiInfo
    {
        Title = "WeatherForecasts",
        Version = "v1"
    });
});

.NET 3.2 and 5.0 both generated the replacement code, not so in .NET 6

Notice the name of the API is different than what you named it
I don't think that's true when you create it from the pub profle.

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

ID: d70145c2-e2ba-77fb-050d-44d18354e370
Version Independent ID: 19c98d91-e5fe-5832-6c75-23e677e469a3
Content: Publish an ASP.NET Core web API to Azure API Management with Visual Studio
Content Source: aspnetcore/tutorials/publish-to-azure-api-management-using-vs.md
Product: aspnet-core
Technology: aspnetcore-tutorials
GitHub Login: @codemillmatt
Microsoft Alias: masoucou

@codemillmatt are you the right cloud advocate to review this issue? Can you outline what changes you'd like to see to this? It's total cook book now and doesn't explain what's going on or what would be useful.

@rick-anderson yes - I'll take a look at it.

@Rick-Anderson - I'll take care of the changes here. It'll probably take me into the week of March 28 to get to them & finish them. That cool?

@codemillmatt can you schedule this PR?


Error thrown when "<" or ">" is used in a file name.

Tested versions
v4.2.rc.custom_build [d34f1ec4b]
System information
Windows 10
Issue description
If you try to rename a file or create a file using these characters in the editor: <>
Godot will be unable to do so and throw load error popup:
Error Moving:
res://Scene.tscn

Could someone test if this is reproducible in later versions? ty.
Steps to reproduce
N/A
self explanatory.
Minimal reproduction project (MRP)
N/A

Such special characters aren't supported on most operating systems. While Linux will allow you to use <> in filename, Windows will not.
You should strive to use only this A–Z a–z 0–9 . _ - set of characters to avoid any compatibility issues. This isn't a Godot issue at all.

@synalice oh ok! I didn't think windows would have such a restriction.


force update when downloading snapshots

Description
When the extension of the file contain -SNAPSHOT it will force update on every run by adding -U argument on maven command line.
Issues Resolved
[List any existing issues this PR resolves]
Check List

[x] All tests pass. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/TESTING.MD
[ ] New functionality includes testing.
[ ] New functionality has been documented in the README if applicable
[x] The CLA has been signed. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/CONTRIBUTING.MD

@tas50 this is duplicate PR #30


Covers don't work

Cover entities are not added:
2024-03-13 12:59:24.448 ERROR (MainThread) [homeassistant.components.cover] Error adding entity None for domain cover with platform comelit
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 576, in _async_add_entities
await coro
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 784, in _async_add_entity
supported_features=entity.supported_features,
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/cover/init.py", line 351, in supported_features
if self.current_cover_position is not None:
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/comelit/cover.py", line 45, in current_cover_position
return 100 - self._position
TypeError: unsupported operand type(s) for -: 'int' and 'NoneType'

#66 should have fixed the issue


⛩Add FFPopup

Project URL
https://github.com/JonyFang/FFPopup.git
Category
Popup
Description
⛩Presenting custom views as a popup in iOS.
Why it should be included to awesome-ios (mandatory)
FFPopup is a lightweight library for presenting custom views as a popup.
Checklist

[x] Only one project/change is in this pull request
[x] Has unit tests, integration tests or UI tests
[x] Addition in chronological order (bottom of category)
[x] Supports iOS 9 / tvOS 10 or later
[x] Supports Swift 4 or later
[x] Has a commit from less than 2 years ago
[x] Has a clear README in English

          1 Warning

:warning:
Found 14 link issues, a project collaborator will take care of these, thanks :)

Link issues by awesome_bot

Line
Status
Link

206
403
https://www.udemy.com/arkit-beginner-to-professional/?couponCode=CREATORS

407
301
https://github.com/cagricolak/CoreCharts redirects tohttps://github.com/CoreCharts/CoreCharts

547
301
https://developer.couchbase.com/mobile/ redirects tohttps://www.couchbase.com/products/mobile/

930
301
https://github.com/schibsted/layout redirects tohttps://github.com/nicklockwood/layout

1003
301
https://github.com/caffe2/caffe2 redirects tohttps://github.com/facebookarchive/caffe2

1174
301
https://github.com/bakkenbaeck/Viewer redirects tohttps://github.com/3lvis/Viewer

1567
301
https://github.com/quickbirdstudios/RxCoordinator redirects tohttps://github.com/quickbirdstudios/XCoordinator

1682
301
https://github.com/VirgilSecurity/sdk-x redirects tohttps://github.com/VirgilSecurity/virgil-sdk-x

1705
301
https://github.com/VirgilSecurity/crypto-x redirects tohttps://github.com/VirgilSecurity/virgil-crypto-x

2449
301
https://github.com/hyperoslo/Dropdowns redirects tohttps://github.com/onmyway133/Dropdowns

2584
301
https://github.com/vsmithers1087/VSVerticalSlider redirects tohttps://github.com/vsmithers1087/VerticalSlider

2706
301
https://github.com/bakkenbaeck/SectionScrubber redirects tohttps://github.com/3lvis/SectionScrubber

3097
301
https://developer.apple.com/app-store/review/rejections/ redirects tohttps://developer.apple.com/app-store/review/#common-app-rejections

3152
301
https://github.com/hyperoslo/SwiftSnippets redirects tohttps://github.com/onmyway133/SwiftSnippets

  Generated by :no_entry_sign: Danger

@JonyFang Please move your project to the bottom of category.

@JonyFang Please move your project to the bottom of category.

hi @vsouza . I have moved project FFPopup to the bottom of the category.
Let me know if you have any other questions about the MR. I look forward to merging FFPopup into the awesome-ios.🙂

@JonyFang Thanks for contributing!


Of course, document in the README how to get emotes to work so if a user wants them, they can have them.

Due to emotes being a large part of Twitch's chat, I'll keep this in so it's in every binary by default. Unless a good amount of people think that there should be a feature flag, the code structure will stay the same.


unacceptable syntax

there's an issue when trying to download a song or album if the artist name or song name contains characters that windows explorer won't accept, like question marks or asterisks, and the operation will abort or return an error

I also noticed that, I made a small PR which solves some of my cases, you might need to extend for your own. I don't have time to properly sanitize the paths.
Maybe it can help you.


transaction upsert

Hi, since tinyrecord transaction doesn't support upsert
Is it safe to run this inside transaction

search record
check if record available
any kind of logic ..
update or insert

Also is it possible to remove from mutliple table inside single tx
I'm using multiple threading to access  the database

Hi, if all threads use tinyrecord then it should be fine. Otherwise it is not since tinyrecord supports only thread locks (synchronized within the same process).


Windows - Installer: Investigate not requiring admin privileges to install

On Windows, we use InnoSetup to build our installer - and the default setting is to require administrative privileges.
We install to %ProgramFiles%, as well as give the user the option of adding registry keys to use Onivim 2 to open common file types - so we require administrative permissions for those.
We could investigate an option to install the application w/o administrative privileges.
It looks like VSCode creates two distributions of their Windows installer - system installer, which requires administrative privileges, and a user installer, which does not.
This is implemented in their innosetup script like:
https://github.com/microsoft/vscode/blob/1420967188b1a2ef98326cbb30b0fa5fc219b1c4/build/win32/code.iss#L40
We could consider a similar strategy (releasing User + System installation, or just switching to a default of a non-administrator setup).

As a workaround in the meantime - the 'zip' distribution should be usable without administrative access.


connecting via rpc2?

Support guidelines

[X] I've read the support guidelines

I've found a bug and checked that ...

[X] ... the documentation does not mention anything about my problem
[X] ... there are no open or closed issues that are related to my problem

Description
can't connect to container using rpc address
Expected behaviour
it should connect
Actual behaviour
getting 401 error
Steps to reproduce
n/a
Docker info
n/a

Docker Compose config
No response
Logs
Hi i'm trying to get this program working to connect to my rutorrent docker:

https://github.com/JohnDoee/autotorrent

But i can't figure out how to get it to see the rutorrent container properly.  I had this working with qbitorrent before fine, but i can't figure it out.  I tried like the guy below, but that doesn't work for me.

https://github.com/JohnDoee/autotorrent2/issues/29#issuecomment-1214219069

I have this rutorrent container pointed thru gluetun;  but all ports are forwarded, and i can access the web, i can seed/download torrents; i just can't figure out how to connect to it.

Hoping somebody can help. thx.

Additional info
No response

for me it was pointing to this docker container with this path, hope this helps others:
http://<IP_ADDRESS>:8000/plugins/rpc/rpc.php


Minicircuits RF switch USB-4SPDT-A18

Driver for Minicircuits USB-4SPDT-A18 RF switch box. Possibly easily adaptable to other models of USB switch boxes from Minicircuits.
Requires the Pythonnet package to load the .dll file. Also every time I have moved to a new computer I have to manually unblock the .dll file in Windows to load the file into python.
@Dominik-Vogel I made a few changes to the original version fixing some bugs with the use of addresses.

works fine, just IDN doesn't return stuff, is it possible to remove the function? Is there a guideline for this @Dominik-Vogel ? Seems weird to be able to IDN and get no information

also needs an init.py file @ThorvaldLarsen

I'll make the driver conform with #814, which is the ethernet version of the same device. I'll also try to take care of the IDN here.

There is a channelized version of the driver now. There are probably still bugs in it as I could not test it here. If someone would like to test it, great, otherwise I'll do it once I get some time at a free station.

I also had to remove the .dll because the licensing is not clear to me. We cannot put any license restricted  code in the repository.

The dll file can be downloaded from here (the .NET dll):
https://ww2.minicircuits.com/softwaredownload/rfswitchcontroller.html
It doesn't say anything about a license for the dll - also not in the Readme file that is downloaded with the dll file.
Not sure if that matters or if we still want to have people get the dll themselves.

@ThorvaldLarsen could you commit your cahnges to the PR? I just got a request from @johnhornibrook  in Sydney that they need the same driver. If you say that it works with your proposed changes we can merge it so that it will be available for everybody.

I have tested this driver and it works with a couple of corrections just commited. A couple of requests for the driver:

a way to call switch.a(val) instead of switch.channel_a.switch(val)
a function that sets all channels to a specific value i.e. switch.set_all(val).

@ThorvaldLarsen This fails to build the documentation because clr is not installed on travis. To solve this we usually mock (as in fake the install of) when building the docs. Can you append clr to autodoc_mock_imports towards the end of https://github.com/QCoDeS/Qcodes/blob/master/docs/conf.py as done for pyspcm and others

@ThorvaldLarsen have you found that string argument you are passing to the dll calls in a documentation? Do you know what it is supposed to be? I am just wondering if, by passing an empty string, we are actually using a special case here, or if maybe one needs to specify each time, which of the switches (devices) one wants to control....

@Dominik-Vogel I first tried with the address in string format but turns out that any string can be passed and you get the same response. I haven't looked at documentation for it.

@ThorvaldLarsen could you move the Windows check into the __init__ function of the driver. That way the file can be imported when the documentation is build but we still get a meaningful error message when trying to run the driver on a non windows platform

I made some changes to the driver:

Abstract base, so that the common functions of this one and the RC/ethernet one only need to be implemented in one place
added channel aliases and made them callable: device.a(2) setting line a to input 2
changed the initialization to the serial number as identification as it can be read from the label on the switch, instead of the address which needs to be read out
I have tested all changes successfully and think it is good to be merged to move the RC version on top of the same base in another PR. Feel free to double check.


Editor - can't add 'Tabs' on first line

Description
What steps will reproduce the problem?

open/create a python file
put cursor on line 1 column 1 (doesn't have to be first column if 'Tab Always Indent' is enabled)
press the 'Tab' key

What is the expected output? What do you see instead?
Indentation should be added (Tabs or spaces), instead the 'Internal Console' appears with a Trackback:
Traceback (most recent call last):
  File "/home/harry/anaconda2/lib/python2.7/site-packages/spyder/widgets/sourcecode/codeeditor.py", line 2805, in keyPressEvent
    self.indent_or_replace()
  File "/home/harry/anaconda2/lib/python2.7/site-packages/spyder/widgets/sourcecode/codeeditor.py", line 2111, in indent_or_replace
    self.indent()
  File "/home/harry/anaconda2/lib/python2.7/site-packages/spyder/widgets/sourcecode/codeeditor.py", line 2097, in indent
    if not self.fix_indent(forward=True):
  File "/home/harry/anaconda2/lib/python2.7/site-packages/spyder/widgets/sourcecode/codeeditor.py", line 1968, in fix_indent
    if prevtext.endswith(':') and self.is_python_like():
UnboundLocalError: local variable 'prevtext' referenced before assignment

Please provide any additional information below
Unsure if this is intentional or not, I've never needed to indent text on the first line of a python file.
Version and main components

Spyder Version: 3.1.0
Python Version: 2.7.13
Qt Versions: 5.6.2, PyQt5 5.6 on Linux

Dependencies
pyflakes >=0.5.0 :  1.5.0 (OK)
pep8 >=0.6       :  1.7.0 (OK)
pygments >=2.0   :  2.1.3 (OK)
qtconsole >=4.2.0:  4.2.1 (OK)
nbconvert >=4.0  :  4.2.0 (OK)
pandas >=0.13.1  :  0.19.2 (OK)
numpy >=1.7      :  1.11.3 (OK)
sphinx >=0.6.6   :  1.5.1 (OK)
rope >=0.9.4     :  0.9.4 (OK)
jedi >=0.8.1     :  0.9.0 (OK)
psutil >=0.3     :  5.0.1 (OK)
matplotlib >=1.0 :  1.5.3 (OK)
sympy >=0.7.3    :  1.0 (OK)
pylint >=0.25    :  1.6.4 (OK)

I've just realised this is related to #4021 which is addressed in PR #4029

That's right. I'm closing this one as a duplicate of issue #4021.


Toast close events don't propagate

Describe the bug
The on:close event on the Toast component does not bubble up and therefore cannot trigger a secondary function (like removing the toast data from my state manager).
It works on version 0.44.24. But 45 and up, it's broken.
Reproduction
https://stackblitz.com/edit/sveltejs-kit-template-default-zmyrcp?file=src%2Froutes%2F%2Bpage.svelte
Make sure the package.json says 0.46.1 and that it wasn't rewritten cuz I had a weird problem where it reset to 0.44.24 on its own.
Flowbite version and System Info
System:
    OS: Linux 5.0 undefined
    CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 0 Bytes / 0 Bytes
    Shell: 1.0 - /bin/jsh
  Binaries:
    Node: 18.18.0 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 10.2.3 - /usr/local/bin/npm
    pnpm: 8.15.6 - /usr/local/bin/pnpm
  npmPackages:
    @sveltejs/kit: ^2.5.4 => 2.5.4
    flowbite-svelte: ^0.46.1 => 0.46.1
    svelte: ^4.2.12 => 4.2.12
    vite: ^5.1.6 => 5.1.6

Yes, I am experiencing the same issue. Additionally, the open property is no longer exported from the Toast component, which prevents binding to it using bind:open. Upon reviewing the source code, it appears that TransitionFrame.svelte is masking it.

Same here, toast has no events... on:close doesnt exist? If it is dismissable how do you know if it has closed?

Can you try this?:
 <Toast {toastStatus} on:close={()=> { toastStatus = false }}>
    Close me! hello
  </Toast>

Since Frame component has some problems with Svelte 5 legacy, I need to adjust.

Please try:
  <Toast on:close={() => toastStatus = false}>
    Close me!
  </Toast>

I did do that, the on:close event is not fired

Ran into the same issue. I submitted a PR for a potential fix. Hats off to the maintainers and contributors of this library! It's a joy to use. https://github.com/themesberg/flowbite-svelte/pull/1383

https://github.com/themesberg/flowbite-svelte/pull/1383 merged. Thank you.


Can't exclude multiple tags from command line?

Tried all of these:
behat --tags ~test,test2
behat --tags ~@test,~@test2
behat --tags ~test,~test2
seems only the second tag gets excluded. What I want is two exclude tests that have either the first tag or the second tag.

, is "or". && is "and"

I couldn't find this in Behat docs. Could this be written there?


Building the current development tree (with 'cd src; ./all.bash') on Ubuntu 22.04 and Fedora 40 fails from commit 906338f82fc6641e834964def3199ac25df93e94 (which is the fix for #68283 ) onward with:
ok      cmd/fix 1.945s
vcs-test.golang.org rerouted to http://<IP_ADDRESS>:33547
https://vcs-test.golang.org rerouted to https://<IP_ADDRESS>:44403
go test proxy running at GOPROXY=http://<IP_ADDRESS>:40037/mod
--- FAIL: TestScript (0.20s)
    --- FAIL: TestScript/list_pkgconfig_error (1.51s)
        script_test.go:139: 2024-09-27T02:09:06Z
        script_test.go:141: $WORK=/tmpfs/cks-gobuild/cmd-go-test-2494934397/tmpdir1310559430/list_pkgconfig_error2829839146
        script_test.go:163:
            > [!cgo] skip 'test verifies cgo pkg-config errors'
            [condition not met]
            > [!exec:pkg-config] skip 'test requires pkg-config tool'
            [condition not met]
            > ! go list -export .
            [stdout]
            example
            [stderr]
            # example
            # [pkg-config --cflags  -- libnot-a-valid-cgo-library]
            Package libnot-a-valid-cgo-library was not found in the pkg-config search path.
            Perhaps you should add the directory containing `libnot-a-valid-cgo-library.pc'
            to the PKG_CONFIG_PATH environment variable
            Package 'libnot-a-valid-cgo-library', required by 'virtual:world', not found
            [exit status 1]
            # 'Package .* not found appears' in pkg-config and pkgconf; while
            # 'could not find package .*' appears in u-config. See #68283. (0.000s)
            > stderr '#^ example\n#pkg-config .*\n(.*\n)*(Package .* not found)|(could not find package .*)'
        script_test.go:163: FAIL: testdata/script/list_pkgconfig_error.txt:7: stderr '#^ example\n#pkg-config .*\n(.*\n)*(Package .* not found)|(could not find package .*)': no match for `(?m)#^ example\n#pkg-config .*\n(.*\n)*(Package .* not found)|(could not find package .*)` in stderr
FAIL
FAIL    cmd/go  40.379s

It appears that the revised regular expression in that commit doesn't expect or allow the output "# [pkg-config ..." and instead requires that line to start with "#pkg-config" (no space, no '[').
What did you see happen?
I expected the tree to pass all.bash tests.
What did you expect to see?
The failure above.

Related Issues and Documentation

cmd/go: use w64devkit 1.23.0 , TestScript/list_pkgconfig_error fail #68284 (closed)
cmd/go: use w64devkit 1.23.0 , TestScript/list_pkgconfig_error fail #68283 (closed)
cmd/go: TestCgoPkgConfig failed #17846 (closed)
cmd/go: TestCgoPkgConfig fails on Windows with pkg-config installed #58889 (closed)
cmd/go: TestIssue7573 now fails after commit b488073 #20664 (closed)
cmd/go: build failure on a machine with gccgo installed after commit 38431f1044 #32060 (closed)
cmd/go: error isn't properly reported when running go list on cgo package with missing pkg-config #35882
cmd/go/internal/work: golang fails to parse pkgonfig 1.4+ output #23373 (closed)
cmd/go: TestScript/cgo_path, cgo_path_space failing on clang builders #43897 (closed)
cmd/go: go1.11rc2 failed test: FAIL: TestScript/mod_get_commit #27170 (closed)

(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)

Thanks for you report.
I will send fix.