Move tearing to hyprwayland-scanner

This moves tearing to use hyprwayland-scanner instead of wayland-scanner generated headers.
Code becomes considerably cleaner and easier to manage.
Requires hyprwayland-scanner installed, obviously.
TODO:

[x] ASan testing
[x] Meson @fufexan
[x] Nix @fufexan

Later, I'll move all other protocols to this, but for now it's a "testing period"

merging, wee :D

Not sure if related, but after updating to this commit I cannot build on FreeBSD even after compiling and installing hyorwayland-scanner, I am just getting the following:
FAILED: CMakeFiles/Hyprland.dir/src/protocols/GlobalShortcuts.cpp.o
/usr/local/bin/clang++15 -DHAS_EXECINFO -DHyprland_EXPORTS -DLEGACY_RENDERER -DUSES_SYSTEMD -DWLR_USE_UNSTABLE -I/home/noah/.local/share/src/Hyprland/. -I/home/noah/.local/share/src/Hyprland/src -I/home/noah/.local/share/src/Hyprland/subprojects/wlroots-hyprland/include -I/home/noah/.local/share/src/Hyprland/subprojects/wlroots-hyprland/build/include -I/home/noah/.local/share/src/Hyprland/subprojects/udis86 -I/home/noah/.local/share/src/Hyprland/protocols -I/home/noah/.local/share/src/Hyprland/subprojects/udis86/libudis86 -isystem /usr/local/include -isystem /usr/local/include/libepoll-shim -isystem /usr/local/include/pango-1.0 -isystem /usr/local/include/cairo -isystem /usr/local/include/fribidi -isystem /usr/local/include/harfbuzz -isystem /usr/local/include/freetype2 -isystem /usr/local/include/libpng16 -isystem /usr/local/include/glib-2.0 -isystem /usr/local/lib/glib-2.0/include -isystem /usr/local/include/pixman-1 -isystem /usr/local/include/libdrm -fexperimental-library -O3 -DNDEBUG -std=gnu++2b -O3 -Wall -Wextra -Wno-unused-parameter -Wno-unused-value -Wno-missing-field-initializers -Wno-narrowing -Wno-pointer-arith -pthread -D_THREAD_SAFE -Winvalid-pch -Xclang -include-pch -Xclang /home/noah/.local/share/src/Hyprland/build/CMakeFiles/Hyprland.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /home/noah/.local/share/src/Hyprland/build/CMakeFiles/Hyprland.dir/cmake_pch.hxx -MD -MT CMakeFiles/Hyprland.dir/src/protocols/GlobalShortcuts.cpp.o -MF CMakeFiles/Hyprland.dir/src/protocols/GlobalShortcuts.cpp.o.d -o CMakeFiles/Hyprland.dir/src/protocols/GlobalShortcuts.cpp.o -c /home/noah/.local/share/src/Hyprland/src/protocols/GlobalShortcuts.cpp
In file included from <built-in>:455:
In file included from /home/noah/.local/share/src/Hyprland/build/CMakeFiles/Hyprland.dir/cmake_pch.hxx:5:
In file included from /home/noah/.local/share/src/Hyprland/src/pch/pch.hpp:1:
In file included from /home/noah/.local/share/src/Hyprland/src/protocols/../Compositor.hpp:3:
In file included from /usr/include/c++/v1/memory:898:
In file included from /usr/include/c++/v1/__memory/shared_ptr.h:31:
/usr/include/c++/v1/__memory/unique_ptr.h:686:30: error: no matching constructor for initialization of 'SShortcutClient'
  return unique_ptr<_Tp>(new _Tp(_VSTD::forward<_Args>(__args)...));
                             ^   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/noah/.local/share/src/Hyprland/src/protocols/GlobalShortcuts.cpp:56:34: note: in instantiation of function template specialization 'std::make_unique<SShortcutClient, wl_client *&>' requested here
    m_vClients.emplace_back(std::make_unique<SShortcutClient>(client));
                                 ^
/home/noah/.local/share/src/Hyprland/src/protocols/GlobalShortcuts.hpp:12:8: note: candidate constructor (the implicit copy constructor) not viable: cannot convert argument of incomplete type 'wl_client *' to 'const SShortcutClient' for 1st argument
struct SShortcutClient {
       ^
/home/noah/.local/share/src/Hyprland/src/protocols/GlobalShortcuts.hpp:12:8: note: candidate constructor (the implicit move constructor) not viable: cannot convert argument of incomplete type 'wl_client *' to 'SShortcutClient' for 1st argument
/home/noah/.local/share/src/Hyprland/src/protocols/GlobalShortcuts.hpp:12:8: note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 1 was provided
1 error generated.
[89/122] Building CXX object CMakeFiles/Hyprland.dir/src/managers/input/InputMethodPopup.cpp.o
In file included from <built-in>:455:
In file included from /home/noah/.local/share/src/Hyprland/build/CMakeFiles/Hyprland.dir/cmake_pch.hxx:5:
In file included from /home/noah/.local/share/src/Hyprland/src/pch/pch.hpp:1:
In file included from /home/noah/.local/share/src/Hyprland/src/managers/input/../../Compositor.hpp:3:
In file included from /usr/include/c++/v1/memory:898:
In file included from /usr/include/c++/v1/__memory/shared_ptr.h:31:
/usr/include/c++/v1/__memory/unique_ptr.h:65:5: warning: delete called on non-final 'CFractionalScaleProtocol' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
    delete __ptr;
    ^
/usr/include/c++/v1/__memory/unique_ptr.h:297:7: note: in instantiation of member function 'std::default_delete<CFractionalScaleProtocol>::operator()' requested here
      __ptr_.second()(__tmp);
      ^
/usr/include/c++/v1/__memory/unique_ptr.h:263:75: note: in instantiation of member function 'std::unique_ptr<CFractionalScaleProtocol>::reset' requested here
  _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
                                                                          ^
/home/noah/.local/share/src/Hyprland/src/managers/input/../../protocols/FractionalScale.hpp:67:41: note: in instantiation of member function 'std::unique_ptr<CFractionalScaleProtocol>::~unique_ptr' requested here
    inline UP<CFractionalScaleProtocol> fractional;
                                        ^
1 warning generated.
[95/122] Building CXX object CMakeFiles/Hyprland.dir/src/protocols/FractionalScale.cpp.o
In file included from <built-in>:455:
In file included from /home/noah/.local/share/src/Hyprland/build/CMakeFiles/Hyprland.dir/cmake_pch.hxx:5:
In file included from /home/noah/.local/share/src/Hyprland/src/pch/pch.hpp:1:
In file included from /home/noah/.local/share/src/Hyprland/src/helpers/../desktop/../managers/../Compositor.hpp:3:
In file included from /usr/include/c++/v1/memory:898:
In file included from /usr/include/c++/v1/__memory/shared_ptr.h:31:
/usr/include/c++/v1/__memory/unique_ptr.h:65:5: warning: delete called on non-final 'CFractionalScaleProtocol' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
    delete __ptr;
    ^
/usr/include/c++/v1/__memory/unique_ptr.h:297:7: note: in instantiation of member function 'std::default_delete<CFractionalScaleProtocol>::operator()' requested here
      __ptr_.second()(__tmp);
      ^
/usr/include/c++/v1/__memory/unique_ptr.h:263:75: note: in instantiation of member function 'std::unique_ptr<CFractionalScaleProtocol>::reset' requested here
  _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
                                                                          ^
/home/noah/.local/share/src/Hyprland/src/protocols/FractionalScale.hpp:67:41: note: in instantiation of member function 'std::unique_ptr<CFractionalScaleProtocol>::~unique_ptr' requested here
    inline UP<CFractionalScaleProtocol> fractional;
                                        ^
/home/noah/.local/share/src/Hyprland/src/protocols/FractionalScale.hpp:31:30: warning: private field 'scale' is not used [-Wunused-private-field]
    float                    scale       = 1.F;
                             ^
2 warnings generated.
[97/122] Building CXX object CMakeFiles/Hyprland.dir/src/protocols/TearingControl.cpp.o
In file included from <built-in>:455:
In file included from /home/noah/.local/share/src/Hyprland/build/CMakeFiles/Hyprland.dir/cmake_pch.hxx:5:
In file included from /home/noah/.local/share/src/Hyprland/src/pch/pch.hpp:1:
In file included from /home/noah/.local/share/src/Hyprland/src/helpers/../desktop/../managers/../Compositor.hpp:3:
In file included from /usr/include/c++/v1/memory:898:
In file included from /usr/include/c++/v1/__memory/shared_ptr.h:31:
/usr/include/c++/v1/__memory/unique_ptr.h:65:5: warning: delete called on non-final 'CTearingControlProtocol' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
    delete __ptr;
    ^
/usr/include/c++/v1/__memory/unique_ptr.h:297:7: note: in instantiation of member function 'std::default_delete<CTearingControlProtocol>::operator()' requested here
      __ptr_.second()(__tmp);
      ^
/usr/include/c++/v1/__memory/unique_ptr.h:263:75: note: in instantiation of member function 'std::unique_ptr<CTearingControlProtocol>::reset' requested here
  _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); }
                                                                          ^
/home/noah/.local/share/src/Hyprland/src/protocols/TearingControl.hpp:54:40: note: in instantiation of member function 'std::unique_ptr<CTearingControlProtocol>::~unique_ptr' requested here
    inline UP<CTearingControlProtocol> tearing;
                                       ^
1 warning generated.
[102/122] Building CXX object CMakeFiles/Hyprland.dir/src/protocols/Screencopy.cpp.o
ninja: build stopped: subcommand failed.
gmake: *** [Makefile:5: legacyrenderer] Error 1

More my fault for trying FreeBSD wondering if it's improved any (it hasn't)

CI passes, likely on your end.

@nonetrix, Clang 15 is likely too old. Hyprland requires Clang/libc++ >= 17 but also works on Clang/libc++ 16 as long as -fexperimental-library is passed to expose <format>. For example, FreeBSD 14.0 has Clang 16 as /usr/bin/clang and /usr/bin/c++ but you're using /usr/local/bin/clang++15 from devel/llvm15.
I can't reproduce on FreeBSD -CURRENT with base Clang/libc++ 18 while building Hyprland via Meson.

Also, your error matches https://github.com/hyprwm/hyprland-wiki/commit/44a506dbaae1

Huh not sure why I was able to build before then


Create task directories that contain start time in their name

When multiple runs are executed from the same directory, naming other than UUID could help recognize runs.

The change should be introduced to the DefaultStorageConfiguration class, method getRootDir().
I noticed that getWorkingDir() doesn't reuse getRootDir() method. We should definitely change that as well since there is some code duplication.


Nested Mutations using Type setters

Overall, nested mutations has mixed opinions.  I'm still fairly new to GraphQL and don't have a solid opinion on whether or not they have value.  I think, like with most things, there are pros/cons.
Take this nice list of "rules" discussing namespaces, as an example.
https://graphql-rules.com/rules/mutation-namespaces
I'm not really sure if all, or even most, mutations should be nested as such, but I can certainly see the benefit of having nested mutations available.
Has there been any consideration for this?  Could you do the following?
{
  product(id: 1) {
    disable(datetime: "2019-11-22T11:10:52+00:0")
  }
}

Assuming that'd be possible, you could leverage setters of a model/entity object without having to write custom root mutations.
There are a few downsides.  Firstly, it could become abused.  If someone wrote most of their GraphQL API this way, it certainly wouldn't be ideal.  But, I'm not sure that's a valid reason to not support it.o
There is still a question about how persistence is handled in this case.  I'm guessing you'd have to have some kind of generic controller to handle all nested mutations, at least for persistence reasons.
Another issue with nested mutations is the spec, itself.  The spec states that mutations that are nested are executed in parallel.  This could have adverse consequences if abused due to the order of operations.  Adversely, mutations at the root are executed consecutively.

From the same graphql-rules.com list, here is another:
https://graphql-rules.com/rules/mutation-business-operations

Hey @oojacoboo ,
Interesting! I think GraphQLite can already support those nested mutations. If you have a look at the JS code examples at https://graphql-rules.com/rules/mutation-namespaces, you will realize that those nested mutations have nothing special. As far as GraphQL is concerned, each mutation is a "field". They are supposed to be in the root "Mutation" type, but nothing prevents you from putting the mutation code is a field that is a type returned by the root mutation. That might be a bit obscure, let's try with a code sample:
class ProductController {
    /**
     * @Mutation
     */
    public function product(int $id): Product {
        return $this->repository->getProductById($id);
    }
}

/**
 * @Type
 */
class Product {
    /**
     * @Autowire(for="repository")
     */
    public function disable(DateTimeImmutable $datetime, ProductRepositoryInterface $repository): Product {
        $this->setDisableDate($datetime);
        $repository->save($this);
        return $this;
    }
}

Would that answer (partly) your question?


Array output seems to be initialized but not filled

I caught this bug as part of my DifferentiationInterface.jl test suite. The first object returned by value_and_pullback!! looks like the result of Vector{Float64}(undef, n) instead of containing the actual function output. And it changes from run to run. Meanwhile the VJP is stable and correct:
julia> import Taped

julia> scalar_to_vector(x::Number) = [sin(x), sin(2x)]
scalar_to_vector (generic function with 1 method)

julia> r = Taped.build_rrule(scalar_to_vector, 1.0)
Taped.DerivedRule{Core.OpaqueClosure{Tuple{Taped.AugmentedRegister{Taped.CoDual{typeof(scalar_to_vector), Taped.NoTangent}, Taped.NoTangentRef}, Taped.AugmentedRegister{Taped.CoDual{Float64, Float64}, Base.RefArray{Float64, Vector{Float64}, Nothing}}}, Taped.AugmentedRegister{Taped.CoDual{Vector{Float64}, Vector{Float64}}, Base.RefArray{Vector{Float64}, Vector{Vector{Float64}}, Nothing}}}, Tuple{Taped.NoTangentStack, Taped.Stack{Float64}}, Core.OpaqueClosure{Tuple{Vector{Float64}, Taped.NoTangent, Float64}, Nothing}, Val{false}, Val{2}}((::Taped.AugmentedRegister{Taped.CoDual{typeof(scalar_to_vector), Taped.NoTangent}, Taped.NoTangentRef}, ::Taped.AugmentedRegister{Taped.CoDual{Float64, Float64}, Base.RefArray{Float64, Vector{Float64}, Nothing}})::Taped.AugmentedRegister{Taped.CoDual{Vector{Float64}, Vector{Float64}}, Base.RefArray{Vector{Float64}, Vector{Vector{Float64}}, Nothing}}->◌, (::Vector{Float64}, ::Taped.NoTangent, ::Float64)::Nothing->◌, (Taped.NoTangentStack(), Taped.Stack{Float64}(Float64[], 0)), Taped.Stack{Int32}(Int32[], 0), Val{false}(), Val{2}())

julia> Taped.value_and_pullback!!(r, [1.0, 2.0], scalar_to_vector, 3.0)
([0.0, 0.0], (Taped.NoTangent(), 2.8506886500010182))

julia> Taped.value_and_pullback!!(r, [1.0, 2.0], scalar_to_vector, 3.0)
([6.1801573873894e-310, 6.18027838103766e-310], (Taped.NoTangent(), 2.8506886500010182))

julia> Taped.value_and_pullback!!(r, [1.0, 2.0], scalar_to_vector, 3.0)
([5.0e-324, 0.0], (Taped.NoTangent(), 2.8506886500010182))

julia> 1.0 * cos(3.0) + 2.0 * 2cos(6.0)
2.8506886500010182

This is not nice. Will investigate.

FYI you can now use Taped with DifferentiationInterface.jl, the functionality has been merged in
https://github.com/gdalle/DifferentiationInterface.jl/pull/92
It is not documented but that may allow you to catch more bugs if you want to try out our test suite

Amazing, thanks. I'll definitely give your test suite a go -- I'm sure there are holes in mine.

On this, could you point me towards the test suite that I should be looking at?

Clone the repo https://github.com/gdalle/DifferentiationInterface.jl/
Open a REPL and activate the test environment with TestEnv.activate()
Run https://github.com/gdalle/DifferentiationInterface.jl/blob/main/test/taped.jl

Okay. This should now be fixed on main.

cool, thanks!
I'll beef up our test suite in the coming days, will let you know if I run into any more trouble

Great. I'll close this. Please open more issues if you run into problems


Collapsible section with a lot of content displaces sidebar

Package
filament/filament
Package Version
v3.x
Laravel Version
v10.x
Livewire Version
No response
PHP Version
v8.2.*
Problem description
When using a collapsible section like is described here and put in a bunch of TextInputs (you need to reach a certain height limit so use like 30), the sidebar starts to scroll upwards and will go out of view if the section is collapsed.
The logo in the upper left moves out of view too. As soon as you scroll up again, the logo comes into view again. Expanding the collapsible section fixes the issue too; it only occurs when the section is collapsed.

Expected behavior
Show a sticky sidebar at all times.
Steps to reproduce
Filament\Forms\Components\Section::make(__('company.columns.details.details'))
    ->schema(
        collect(range(1, 30))->map(function ($i) {
            return Filament\Forms\Components\TextInput::make($i)->columnSpan(12);
        })->toArray()
    )
    ->collapsible();

Collapse and expand the section. Scroll vertically on the page. You should see weird sidebar behaviour.
Reproduction repository
https://github.com/laravel/framework
Relevant log output
No response

@zepfietje This appears to be happening due to invisible being used on fi-section instead of hidden which is keeping all the section elements in the dom when the section is collapsed. hidden fixes this. Is there a reason why invisible was used instead of hidden?
I can PR this if you like.

This was brought up in a recent discussion too, and Dan found the reason why invisible is used: https://github.com/filamentphp/filament/pull/8076#issuecomment-1700747748.
Please have a look at the final comment for the steps that need to be taken: https://github.com/filamentphp/filament/pull/8076#issuecomment-1712654553.

Somehow I used it in css and managed to solve it when using "collapsed" the scrool understood the content as "invisible" but when using hidden it stopped bugging the sidebar and main scrool.
.fi-collapsed {
    .fi-section-content {
        @apply hidden;
    }
}


A few cases of lack of clarity

Hi,
Great Microsoft Docs page, but IMHO there a few cases of lack of clarity:

"Windows Server 2019" is mentioned, where I suspect "Windows server, version 1709" is meant (bullet 3 of the 1st bullet list)?
Bullet 6 in the 1st bullet list: I suppose this text should be interpreted as client and server are each evaluated (and possibly uninstalled) separately? The text is not 100% clear on this one.
Bullet 8 in the 1st bullet list: is it really literally a one-time operation? Or gets the automatic removal disabled after an explicit action (which makes the removal typically indeed a one-time operation, though not always!). Examples:
a) What if the SMB 1 client is uninstalled explicitly by an admin and afterwards installed explicitly again by an admin, while an automatic client removal has never occurred on the system in the past (so the one-time operation hasn't been executed yet, but an admin has installed the SMB 1 client on-demand)?
b) What if the SMB 1 server is installed explicitly by an admin (e.g. after a default installation which doesn't include this server), while an automatic server removal has never occurred on the system in the past (so the one-time operation hasn't been executed yet, but an admin has installed the SMB 1 server on-demand)?
Will the automatic removal mechanism will still be active in these cases?
Bullet 1 of the 2nd bullet list: I suppose this doesn't count for Insider builds (like on other editions since Version 1709)? The text is not clear on that?
Bullet 2 of the 2nd bullet list: what exactly is divergent from Version 1709? At first the text seems to insinuate everything, but then it seems that only 2 scenarios for the automatic removal mechanism are divergent. I suppose it's only the latter?
Bullet 2 of the 2nd bullet list - the 2 scenarios: I suppose this is also valid for Insider builds?
The 6 different error messages: I suppose these appear in Windows events?

Thank you very much in advance for clarifying! Do I get notified if changes are made?
With kind regards,
Padre Pedro (Christophe Heereman)
From WinDoh, Belgium

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

ID: 6efee75e-7541-0166-76ac-81ecbe4cb022
Version Independent ID: 35b346a7-ea72-325e-81c9-a1056dca72f4
Content: SMBv1 is not installed by default in Windows 10 version 1709, Windows Server version 1709 and later versions
Content Source: WindowsServerDocs/storage/file-server/Troubleshoot/smbv1-not-installed-by-default-in-windows.md
Product: windows-server
Technology: storage
GitHub Login: @Deland-Han
Microsoft Alias: delhan

#assign:IngridAtMicrosoft

#label:"in-progress"

We have modified the article with PR2384. The issues should be addressed.

#please-close

Hi, is there an update "pending" concerning points 1, 3, 4, 6 and 7 (the others seem to be dealt with; thanks!)? If it's not completely clear what exactly I mean, I'm certainly prepared to elucidate my questions/thoughts.
Regards,
Pedro

@DaPadrePedro Thanks as always for your dedication to docs.  Please open a new issue to address the rest of your thoughts.

Hi @IngridAtMicrosoft
I've just opened issue #6045.
Thanks!
Pedro


Add gemm tuning configs for weekly tuning CI

This adds our tuning configs to be used for the weekly tuning, the confluence page contains more details about the CI pipelines.
The fallback tuned configs are required for now for the nighlty regression CI because the navi4x machine was not stable enough to run a full tuning consistently. They changed the hardware and firmware to a newer revision so I will test it again. If it is stable we can remove the fallback in a separate PR.
I also removed the old regression script because the nightly regression CI uses the triton-reporting-system from the kernel team instead of the pytest script.

Converted it to draft because we are waiting for the tuning CI pipeline to complete to have fallbacks.

@vgokhale ^^


[Bug]: Connection issue

Version of the software
0.1.28
Operating system
Windows 10 Version 21H1 (Build 19043.1466)
Browser / Native
Vivaldi 5.0.2497.38 (Stable channel) (64 бита)
What happened?
If I open some url in browser I get 502 response:

In OB1 and other soft I get 502 response too. But if I start a job in OB2, I get

Relevant LoliCode if needed
No response

do you tested this in chrome or brave ?

Yes, I tested this in Chrome too.

I've noticed that the issue occures in job mode only with hosts that return 502 response. All others codes are processed correctly.


Updated Share your Experiences

fixed and updated ui of share your experiences
@PriyaGhosal please review and mark it level 2

@AsifQamar
Please see the conflicts . Resolve the conflicts . Ensure you pull all the latest changes before pushing your feature/bug fixes to the main branch. After resolving the conflicts, please open a new PR for review.
Thank you!

@AsifQamar closed by the Project admin last month so no points


Add explicit collection urls

To handle #248

Is there an ETA for this? Thanks!

Hi, I'd like to know if there's a way to do this manually in the meantime, until 1.2 gets released? Thanks


[pickers] Fix ref types

They were incorrectly typed as HTMLInputElement when it was HTMLDivElement at runtime. This affects TimePicker, DatePicker, DateTimePicker and their mobile and desktop variants.
The types were incorrectly casted. See ref: React.Ref<HTMLDivElement>,

From what I remember, the ref used to be incorrectly forwarded do the input element, instead of the root: https://github.com/mui-org/material-ui-pickers/issues/1604.


Task: CLI artifact add command rstuf artifact remove|delete

What is the task about?
This task is about creating the command to remove artifacts from TUF Metadata using RSTUF API.
Remove|Delete Artifact (Feature)
This target adds the target using the RSTUF REST API. This feature is an interface to add targets using the command line.
Note: the user can use the token (-t/--token) when API requires authentication/authorization. If the user uses rstuf --auth, it ignores the token parameter.
rstuf artifact remove|delete <path> [-t/--token <token>]
It should return the task id
Parent feature

https://github.com/repository-service-tuf/repository-service-tuf-cli/issues/334

References
No response
Code of Conduct

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

Can you assign this to me?


manually re-connecting to server fails

Start polling session
Start and connect client
Stop and restart server (maybe triggered by an error)
Client presses re-load, then enters 4-digit ID, but nothing happens

The event listener in line 154 of quizzer.html should also be added if pollId (the hash value) exists. Otherwise, if the pollID is wrong and the call to connect() fails (and then the callbacks for "error" and "close" are called), we call input.focus(), but the keyup handler is not installed. Consequently, pollid() is never called and you cannot connect by entering an ID.

Cannot reproduce that.

The keyup handler is always installed.

This is why you couldn't reproduce it: c11f626cb3ec43b12cf820fc4d7e99e83a6155c1


Iris Flower Classification

Iris Flower Classification using Machine Learning Algorithms. I am a GSSOC '24 Contributor. Kindly assign me this issue.

Assign me the issue @invigorzz313 @Niketkumardheeryan


[bazel] Add PYTHONUSERBASE to list of non-hermetic env vars

We use python modules from outside of Bazel's "hermetic seal".
Without allowing this variable through we always assume they're in the default location.
For environments which set PYTHONUSERBASE, this leads to confusing behaviour where modules are installed and work outside of Bazel, but not inside.

@HU90m am I misremembering that you were working on bringing the python modules into the Bazel environment? If that work's ongoing, it can replace this.

@HU90m am I misremembering that you were working on bringing the python modules into the Bazel environment? If that work's ongoing, it can replace this.

I was considering trying to make it a little more hermetic, but there are bigger fish to fry so I doubt I'll ever get round to it.

Does it need a comment?

Sure, added a comment

Rebased in the hope that those clang CI failures just go away.

They didn't go away, and I'm not really sure what they mean. Will come back to this at some point.

CI failures were an upstream problem. Rebased on the fix and it's passing now.

The "real fix" would probably be to eliminate system Python use in the build. I'm not sure how big of a problem that is, though. Some work needs to be done with our fusesoc generators so they use the bazel-provided Python, for example.

@a-will do you have any objection to landing this as a stop gap between having python managed by Bazel?

@jwnrt The work for fusesoc was done in https://github.com/lowRISC/opentitan/pull/19476. Are there any remaining uses of Python in bazel where PYTHONUSERBASE would be needed?

Nope, I've been going fine for a while without this env var propagated. Thanks @a-will.


Add support for --token-usage/-t flag to display token information

This pull request fixes #5.
Changes

Function callApi returns JSONObject instead of String.

Since the program now needs more information from the API response, returning String won't be sufficient. Instead, the entire JSON object is returned. Data extraction is moved to the main function.

Added local variables inputTokens and outputTokens.

Since the program supports multiple input files. This is needed to keep track of token information from all API calls combined.

Used System.err.printil() to output token information to stderr.
Updated README.md to include information of this new feature.

Good contribution! Code works, and shows number of input tokens and the number of output tokens. I suggest you to output total amount of tokens as well, so you will follow the expected output :)

Thanks for the review!
I initially decided to not include the total token number because Cohere doesn't include that in their API response. However, since it is requested, I will add this feature.
Good day!

Done! Feel free to let me know if anything else needs to be changed


Select OTA Provider port randomly

Instead of using a fixed port for OTA Provider, pass 0 to let the Matter SDK/bind() syscall select a random port. This allows multiple OTA Providers to run on the same host without port conflicts.
Fixes: https://github.com/home-assistant/core/issues/125130

Pretty sure I had dynamic ports used at one point, but I think I was unsure if issues we've seen with Apple Thread border router were maybe related to port selection. Anyhow, initial investigation point more towards mDNS issue on that front.


fix(ao reads): safely parse json

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

Project coverage is 55.42%. Comparing base (5bd3d91) to head (1ff5410).

Files
Patch %
Lines

src/utils/json.ts
25.00%
3 Missing :warning:

src/common/contracts/ao-process.ts
33.33%
2 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##            alpha     #135      +/-   ##
==========================================
- Coverage   55.45%   55.42%   -0.04%
==========================================
  Files          28       29       +1
  Lines         999     1005       +6
  Branches      183      191       +8
==========================================
+ Hits          554      557       +3
- Misses        445      448       +3

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

:tada: This PR is included in version 1.2.0-alpha.16 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Generate .NET client from Anomaly Detector (aka MVAD) Cadl API description

This issue tracks validating that a DPG generator can generate the MVAD client, models, convinience APIs and protocol methods from https://github.com/Azure/azure-rest-api-specs/tree/feature/anomaly-detector-cadl/specification/cognitiveservices/data-plane/AnomalyDetector/stable/v1.1/cadl, to achieve parity with what DPG v1.0 can generate from MVAD OpenAPI description.
Inputs:
https://github.com/Azure/azure-rest-api-specs/tree/feature/anomaly-detector-cadl/specification/cognitiveservices/data-plane/AnomalyDetector/stable/v1.1/cadl

We need to fix:

https://github.com/Azure/autorest.csharp/issues/2845
https://github.com/Azure/autorest.csharp/issues/2832

Close this item as all work completed.


Tooltip — doc updates

Based on https://github.com/twbs/bootstrap/pull/33735/commits/ff2cd1985c8780068c6fbd22dfa0b0f5bfbad36c

Missed it, thanks ❤


Sound crackles when using Sink

When I play a sound using Sink, there is a slight crackling to be heard in the output, like very short interruptions in the sound. This crackling is not present if I play the same source directly via play_raw. In src/sink.rs:90, if instead of submitting the source to queue_tx, I call play_raw directly, the crackling goes away (but of course that makes appending no longer work). So it seems to be related to the use of queues in Sink, but I don't know enough to investigate further.
I'm running Linux Mint 19.3.

See the similar discussion and possible work-around in #225


ci: test actions-operator branch

Test PR for https://github.com/charmed-kubernetes/actions-operator/pull/83

maybe run it again? dunno what happened here but juju failed to finish its bootstrap. I have the same parameters in the actions-operator tests where this passed
microk8s: 1.28-strict/stable
juju: 3.5.3
base: ubuntu-24.04
https://github.com/canonical/parca-k8s-operator/actions/runs/11021119226/job/30607505769?pr=346#step:4:316
  20:11:17 DEBUG juju.cmd.juju.commands bootstrap.go:992 (error details: [{github.com/juju/juju/cmd/juju/common.WaitForAgentInitialisation:164: unable to contact api server after 0 attempts} {github.com/juju/juju/cmd/juju/common.getBlockAPI:51: } {github.com/juju/juju/cmd/modelcmd.(*ModelCommandBase).NewAPIRootWithDialOpts:422: } {github.com/juju/juju/cmd/modelcmd.(*ModelCommandBase).newAPIRoot:441: } {github.com/juju/juju/cmd/modelcmd.(*CommandBase).NewAPIRootWithDialOpts:288: } {github.com/juju/juju/juju.NewAPIConnection:91: } {github.com/juju/juju/api.Open:120: } {github.com/juju/juju/api.dialAPI:627: } {github.com/juju/juju/api.dialWebsocketMulti:969: } {try was stopped}])

awesome progress...
i see that pytest-operator==0.36.0
the same sg issue was in that.  Bump to 0.37.0

awesome progress...
i see that pytest-operator==0.36.0
the same sg issue was in that. Bump to 0.37.0

Done, will keep an eye


widminbt is now correct bt widget

This is minor change only to ability to be replaced by another bt widget and vice versa

Thanks for the PR!


[Metal Adventure] Fix checkboxes

Changes / Comments
Issue:
In character sheet, there are 6 checkboxes, that can be checked and unchecked.
However, once the checkbox is checked, the data is memorized and will always be checked when the character sheet is reopened.
Workaround:
If check by mistake, the only way to fix is to DELETE the character sheet an recreate a new one
I guess, the default value (uncheck) should be null
When we check, the value become "0" (from the code)
And when we uncheck, it's still a falsy value like the check value... so nothing to save about that sheet.
/!\ NOT RETROCOMPATIBLE /!\
All previous character sheets for Metal Adventure, will have these checkboxes uncheck
They are only use for character's evolution, and one by attribute (6 for this RPG)
Changing
About the code, I put a value when check as "1"
We could simply remove the value attribute, if I understand the script engine but I was not sure about this behavior.
Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

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

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

Character Sheet Info Roll20 Internal Use only.

Hey there @TheShinriel, your PR has some conflicts within the sheet html file, probably due to incompatible encoding. Could you rebase against master, fix those and create a new PR?


Add save/load EEPROM to Tools menu in dmf_control_board plugin (Trac #171)

Add save/load EEPROM to Tools menu in dmf_control_board plugin.
Default to <user data>/configurations when saving.  This will make it possible to save/restore EEPROM contents before/after flashing between control-board firmware versions, which is particularly useful when several MicroDrop/plugin versions are installed side-by-side.
Migrated from http://microfluidics.utoronto.ca/microdrop/ticket/171
{
    "status": "closed",
    "changetime": "2015-02-11T16:22:52",
    "description": "Add save/load EEPROM to `Tools` menu in `dmf_control_board` plugin.\n\nDefault to `<user data>/configurations` when saving.  This will make it possible to save/restore EEPROM contents before/after flashing between control-board firmware versions, which is particularly useful when several MicroDrop/plugin versions are installed side-by-side.",
    "reporter": "cfobel",
    "cc": "",
    "resolution": "wontfix",
    "_ts": "1423671772721749",
    "component": "dmf_control_board_plugin",
    "summary": "Add save/load EEPROM to Tools menu in dmf_control_board plugin",
    "priority": "major",
    "keywords": "",
    "version": "0.1",
    "time": "2015-01-12T16:52:13",
    "milestone": "Control board plugin 1.0",
    "owner": "cfobel",
    "type": "enhancement"
}

Trac update at 20150211T16:22:52:

ryan commented:

This shouldn't be necessary now that configuration data can be saved/uploaded (and upgraded when newer firmware versions are flashed).
Users are prompted to save configuration settings before flashing new firmware.

ryan changed resolution from "" to "wontfix"
ryan changed status from "new" to "closed"


struct field tag xml:"id,attr"" not compatible with reflect.StructTag.Get: key:"value" pairs not separated by spaces

What version of Go are you using (go version)?

$ go version

go1.14 windows/amd64

Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
set GO111MODULE=
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\USER\AppData\Local\go-build
set GOENV=C:\Users\USER\AppData\Roaming\go\env
set GOEXE=.exe
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=C:\Users\USER\go
set GOPRIVATE=
set GOPROXY=https://proxy.golang.org,direct
set GOROOT=c:\go
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLDIR=c:\go\pkg\tool\windows_amd64
set GCCGO=gccgo
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=C:\Go\src\flow-to-code\go.mod
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=C:\Users\USER\AppData\Local\Temp\go-build139608754=/tmp/go-build -gno-record-gcc-switches

What did you do?
Used XML reflect on struct without space separated attributes
type Root struct {
	XMLName xml.Name `xml:"root"`
	ID      string   `xml:"id,attr""`
	MxCells []MxCell `xml:"mxCell"`
}

What did you expect to see?
No error. Linux and mac work as expected, windows does not.
What did you see instead?
Error:
 struct field tag `xml:"id,attr""` not compatible with reflect.StructTag.Get: key:"value" pairs not separated by spaces

This error message, which is from go vet or go test, should not vary based on operating system.
The error is correct: you have a double " in the tag for ID.

But it doesn't error on Linux or Mac with the same code base and same environment? So it does have a different error based on operating system?

No, as I said, the error should not depend on the operating system.
If you are certain that you are running the exact same version of Go on different operating systems, and that you are using identical input files, please show us exact and complete reproduction instructions.  Thanks.

I'll edit my post tomorrow to show the same example. If I'm unable to prove exactly, I could potentially show that fresh installs on Windows/Mac/Linux have this behaviour.
What I can say in the mean time is that it seams that Linux/Mac seem to be automatically escaping the additional quote, whereas windows isn't. Part of me is worried this might be down to OS internals and we might not be able to catch the difference; although, I don't know why this would be.


Fixed so plugin works again + refactoring etc

Fixed
Added whitespace to improve readability
Changed old link
Added myself to authors
Changed version number

👍, thank you for contributing. Don't really use client mods anymore so thank you for maintaining it.


[MODEL] add gemma2 support

Test Model: gemma2-9b
using wikitext for perplexity.
Quantize Config:
{
  "bits": 4,
  "group_size": 128,
  "desc_act": true,
  "static_groups": false,
  "sym": true,
  "lm_head": false,
  "damp_percent": 0.01,
  "true_sequential": true,
  "model_name_or_path": "",
  "model_file_base_name": "model",
  "quant_method": "gptq",
  "checkpoint_format": "gptq",
  "meta": {
    "quantizer": "gptqmodel:0.9.1"
  }
}

Native Model PPL: 6.8210
Quantized Model PPL: 6.9668

Status update: testing passing for gemma 2-9B (non-it and it) but generation quality failed for 27B. Very verry strange. We will add to limit code execution to only 9B models for now.


Synchronization not working when using CUDA backend in JACC 0.0.5.

On JACC 0.0.5, I had an issue where the synchronization when using the CUDA backend was not performed correctly. I had to manually add CUDA.synchronize() on the code, which defeats the purpose of performance portability.
However, updating to the current branch ((Package)> add JACC#main) solved this issue. It is important to mention that this occurred on the miniBUDE proxy app.

Problem fixed in JACC v0.1.1


samples: Bigtable deletion code samples

This PR contains new code samples for deleting data in nodejs-bigtable.

@cshaff0524

@googleapis/jsteam take a look 😄 (we have this alias now for requesting peer reviews).


Lot of Error after Upgrading in EF Core 2

I found build Error in some following Classes.
SecurityQueryCompiler,SecurityDatabaseProviderServices etc.

We are glad to hear that you are interested in this project. Though we are not actively involved in its development at the moment, we would appreciate it if you tell us more about your experience of applying this solution and about your business scenarios where our solution could help. Also, is the support for our security system for the EF Core important to you? Or you are fine to use XPO or common Entity Framework with DevExpress XAF instead?

I am already use XAF and i love it but you already know some Limitations of it. That's why i am working with Asp.net core for now. i want to implement XAF Security System in my Asp.net core Project.

Would you please clarify what limitation you mean? You can reply to<EMAIL_ADDRESS>or create a new ticket in the Support Center at: https://www.devexpress.com/ask.
Currently we have no plans to update the EF-Core-Security project, but if you make this work, please share your results and the link to your repository fork with us. We would really appreciate it.

https://www.devexpress.com/Support/Center/Question/Details/T586896/ef-core-security-upgrade-problem


Backport 2.x: pk.c: Ensure min hash_len in pk_hashlen_helper

This is a direct backport from #4561.
Not relevant for 3.0 because the semantics changed in https://github.com/ARMmbed/mbedtls/pull/4707.

Rebased to fix typos

Rebased to update changelog


Update sql-database-elastic-database-client-library.md

Elastic database client library is now open sourced! Adding information about it.

Hi @SilviaDoomra, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no contribution license agreement is required at this point. Real humans will now evaluate your PR.

TTYL, AZPRBOT;

#sign-off
@SilviaDoomra

@SilviaDoomra @sidneyh
Please remove the "en-us" language locale from the inserted link, thanks.

Done! Updated the URL


Docs tags

I combined the css into one file as you wanted, though I would still recommend that you put the css in a separate css file, but that's up to you.  What changes do you want?

Epic thanks lucke

Epic thanks lucke


aftership sensor wrong trackings attribute data

Home Assistant release with the issue:
0.95.4

Last working Home Assistant release (if known):
Operating environment (Hass.io/Docker/Windows/etc.):
hass,io on NUC

Component/platform:
https://www.home-assistant.io/components/aftership/

Description of problem:
My Aftership Sensor doesnt show details of the Trackings but only [object]
attribution: Information provided by AfterShip
inforeceived: 4 trackings: [object Object],[object Object],[object Object],[object Object]
unit_of_measurement: packages
friendly_name: aftership
icon: mdi:package-variant-closed

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
#AFTERSHIP
  - platform: aftership
    api_key: XXXXXXXXX

Additional information:

Same for me:
attribution: Information provided by AfterShip
intransit: 4
pending: 2
delivered: 1
trackings: [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
unit_of_measurement: packages
friendly_name: aftership
icon: mdi:package-variant-closed

Home Assistant release with the issue:
0.95.4
Operating environment (Hass.io/Docker/Windows/etc.):
Hassio on Raspberry 3+

Same for me:
pending: 1
delivered: 1
trackings: [object Object],[object Object]
unit_of_measurement: packages
friendly_name: aftership
icon: mdi:package-variant-closed```

Home Assistant release with the issue:
0.96.4

Operating environment (Hass.io/Docker/Windows/etc.):
Docker


Setup deployment environment

Selected and set up deployment environment, such as Vercel, etc.

Currently testing AWS.


[Fixes #550] Add PropType checking to Menu's position and update docs

I got burned by Issue #550 when upgrading to 1.0.0. The position property on Menu got moved from dashes to camelCase, but the docs weren't updated.
This PR updates the docs, and adds a PropType check on position.

Wow, sorry about that!


[staging] Application Error page when applying any filter

Steps to reproduce

Click on  menu
Click on any filter to personalize Dataset list
Error is displayed
Go back to app and Refresh
Apply any filter
Error is displayed
Go back to app and click on  logo
Click on  menu
Apply any filter
Error is displayed

Actual Results
Application Error message is displayed
Expected Results
Dataset list must be affected by filter selected
Evidence
https://github.com/chanzuckerberg/cryoet-data-portal/assets/63799148/2faaf82c-bf6e-4d25-a811-8cf7e18559be

@lauramarcos This should be closed per the discussion last week (this was due to schema updates that caused the site to be temporarily down).


Popover onblur not working in chrome

component: Popover
react version : 16.7.0
reactstrap version:  7.1.0

What is happening?
Popover is still open on blur.
Error message in console
N/A
Expected Behavior
Popover must close on blur.
Thanks

trigger="focus" is basically a UncontrolledPopover and it does the expected behavior. Unfortunately I must to use controlled popover and achieve the expected behavior.
I used simple example of controlled popover http://reactstrap.github.io/components/popovers/#Popover

Yes, the example use UncontrolledPopover for those specific examples, but the trigger also works with Popover itself.
Here is the simple example from controlled popover but with the trigger="focus" prop:
https://stackblitz.com/edit/reactstrap-v8-crepjx?file=Example.js
trigger is used to determine when the toggle callback is called. On a regular Popover the control/state is still 100% in your component.

Was having a similar issue, but trigger="legacy" fixed the issue. Somehow my controlled popover was having trouble with toggling isOpen state with the trigger="focus" (I have a peculiar use case), but the legacy trigger resolved all issues for me.


Feature commit db changes

What current issue(s) does this address, or what feature is it adding?

fixes #393

How did you solve this problem?

remove extra storage.commit() from LevelDBBlockchain

How did you make sure your solution works?

manual testing, resyncing chain

Are there any special changes in the code that we should be aware of?

no

Please check the following, if applicable:

[ ] Did you add any tests?
[x] Did you run make lint?
[x] Did you run make test?
[x] Are you making a PR to a feature branch or development rather than master?
[x] Did you add an entry to CHANGELOG.rst? (if not, please do)

Coverage decreased (-0.02%) to 79.371% when pulling 73a011bf5bff65bdcd9e797d34d3c3ae3a24d966 on feature-commit-db-changes into ff3fdea08e90d321d771a6c8de403534f329ff11 on development.


Click annotations, return Annotation Object

Is your feature request related to a problem? Please describe.
I'm looking to reproduce Google analytics charts annotations functionality. Clicking an annotation will open a table underneath for a full comment. I know I can pull the "clicked" annotation svg element from the event, butIi dont really have a way to relate that SVG element to an annotation object. I had thought that I could add a class to the SVG element placing in the id, however I noticed that the markers do not have the option to add a class.
Describe the solution you'd like
Independent click method for the annotations that would pass that annotations object to the handler. That way "extra data" could be stored along with the object.
Describe alternatives you've considered
Quick dirty solution would be to allow classes to be added the markers like you can the labels. so we could at least pull the class name from the elem to match objects.

Added cssClass for now. Will think later if click event handlers need to be attached to such elements.
Thanks for the PR.

@jchamb
Do you have an example on how to get the annotation based on the click event?
Thanks


Login  Data

Whats the Login Data to log into the Webinterface or how do i change them?

Hey,
You need CloudNet RC-11 or higher, create a rest user using the rest command. Give it the scope global:admin and you're good to go.

Why isn't RC10 supported?

Because CloudNet RC10 is outdated and does not have all required rest api features


Possible invalid request generated by client

It appears the client is generating an invalid request. I'm not sure if this is an issue with the client itself or with the endpoint. I have also opened a stackoverflow question.
Environment details

OS: Ubuntu 18.04
Python version: 3.6.7
pip version: pip3 9.0.1
google-api-python-client version: 1.7.4

Steps to reproduce
from apiclient.discovery import build

compute = build('compute', 'v1')
cmd = compute.instances().insert(
    project='my-project'
    zone='us-central1-c',
    body=config)
cmd.execute()

HttpError: <HttpError 400 when requesting https://www.googleapis.com/compute/v1/projects/my-project/zones/us-central1-c/instances?alt=json
returned "Required field 'resource' not specified">

config is a json string conforming to the specification in the documentation.

config = {
'name': "test-instance"
}
compute.instances().insert(
project=GCP_PROJECT,
zone=ZONE,
body=config,
sourceInstanceTemplate="global/instanceTemplates/instance-template-1").execute()

Working code which might help someone

@VinayKadalagi If you're experiencing a problem please open a new issue with more details. Thanks!


Behaves like

resolves #12

Thank you very much for doing all the boring work. Documentation and everything!
I want merge this, but I'm not crazy about all the garbage you've added in .gitignore. Is that necessary?

This is the default .gitignore that is used in github (with the small addition of pycharm). Nothing terribly special. You should run Tox locally and do a git status, and see all the files that are added. If you would still like this file removed, let me know, and I can rebase and change that.

Well, I tend to have git always ignore filetypes like .pyc, by adding them to my global .gitignore. There are no files generated by tox that I see with git status.
Of course, when cooperating with others I don't actually mind adding the relevant patters to the repo as well. But there were so much in that file that has nothing to do with this, like .so. Since I'm not using to tool that you used to generate that file, I'm stuck having to go through all of that if I'm going to change something in there :-/

I've rebased to remove the .gitignore and to merge the commit that changes the version into my commit. 😄

Great work. I think this is a very nice feature. Thank you


Protractor BrowserExpectations not found

What are you trying to achieve?
Using the ProtractorHelper in (current<EMAIL_ADDRESS>What do you get instead?
Error
Details
Protractor exports ProtractorBrowserExpectations directly in its root module: https://github.com/angular/protractor/blob/master/lib/index.ts#L14
codecepts is trying to get it from protractor browser property: https://github.com/Codeception/CodeceptJS/blob/master/lib/helper/Protractor.js#L97

CodeceptJS version: 0.4.9
NodeJS Version: 6.9.1
Operating System: OSX
Protractor: 4.0.12
Configuration file:

Thanks for the report. Fix is coming!


Update npm dependencies and add moment-timezone package

P1 = plus icon on home screen should show up when profile is complete and should hide when profile is incomplete. Right now showing weird behaviour when changing showCompleteProfileCard values.
P1 = latest posts should come up at the top and then old post should be shown.


How to change rgb values in realtime in desktop built hair segmentation program

please help in letting me know: How to change in realtime the rgb values of the graph in hair segmentation Desktop program while running.
Thanks

Hi @rahulsuxsena1, You can try doing it using this issues https://github.com/google/mediapipe/issues/420, https://github.com/google/mediapipe/issues/18


Automatically enable zwave component on hass.io when popular zwave USB sticks present?

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version):
0.61.1 (hassio version 1.0.1)
Component/platform:
zwave config
Description of problem:
I downloaded the hass.io HA Raspberry Pi image.
It mostly worked out of the box with no config (detecting all my Sonos, Chromecast, etc).
But the Zwave config was a guessing game of figuring out which /dev/tty vs /dev/ttyUSB0 vs /dev/ttyACM0 device I was supposed to use. (The ssh daemon's docker container led me astray, since its /dev wasn't the same /dev available to HA)
I was going to suggest better docs for hass.io Zwave users, but really:
Why can't it be automatic, like Sonos/Chromecast/etc are?
There are a handful of popular Zwave sticks. Can hass.io use lsusb or read /sys/bus/usb/devices/ and sniff for a hard-coded set of popular Zwave USB product/device IDs and automatically enable the zwave component & config?
Expected:
Zwave working on hass.io with no config, if USB stick is present.

You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum. Thanks!

Done: https://community.home-assistant.io/t/automatically-enable-zwave-component-on-hass-io-when-popular-zwave-usb-sticks-present/41857


[MacOS] Add Go 1.21 to toolset

Description
Add 1.21 Go to image
Related issue:
https://github.com/actions/runner-images/issues/8059
Check list

[ ] Related issue / work item is attached
[ ] Tests are written (if applicable)
[ ] Documentation is updated (if applicable)
[ ] Changes are tested and related VM images are successfully generated

/azp run macos11,macos12


Enforce import granularity "module" via rustfmt

This one seems best compromise between compact size and being merge-conflict-friendly.
Fix #258

It's actually less massive then I expected.

Let's land it in two weeks after things slow down a bit.

Done already.


⚠ Bofrost.fr has degraded performance

In f0cb27f, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1135 ms

Resolved: Bofrost.fr performance has improved in 1697cc4 after 20 minutes.


When I run  tutorial/get_started.py, some error occurs when producing CUDA device code..

After installing tvm, I execute the example in tutorial/get_started.py, but it failed when build cuda code.
Worth noting is that
(1)Other examples for producing cpu code is right.
(2)I compile by adding "USE_CUDA = 1 and designating CUDA_PATH". (with cuda-8.0)
The errors are as follows:
RUN: python get_started.py
OUTPUT:
<class 'tvm.tensor.Tensor'>
Traceback (most recent call last):
File "get_started.py", line 111, in
fadd_cuda = tvm.build(s, [A, B, C], "cuda", target_host="llvm", name="myadd")
File "//tvm/python/tvm/build_module.py", line 364, in build
mdev = codegen.build_module(fdevice, str(target_device))
File "//tvm/python/tvm/codegen.py", line 20, in build_module
return _Build(lowered_func, target)
File "//tvm/python/tvm/_ffi/function.py", line 255, in my_api_func
return flocal(*args)
File "//tvm/python/tvm/_ffi/_ctypes/function.py", line 183, in call
ctypes.byref(ret_val), ctypes.byref(ret_tcode)))
File "/**/tvm/python/tvm/_ffi/base.py", line 62, in check_call
raise TVMError(py_str(_LIB.TVMGetLastError()))
tvm._ffi.base.TVMError: [18:14:07] src/codegen/codegen.cc:27: Check failed: bf != nullptr Target cuda is not enabled

@tqchen I write a special batch-gemm and get the same problem when using the latest tvm. If I set the matrix size (m, n) to a const, it will be ok,  however if I let m = tvm.var('m'), it occurs the error

@tqchen Sorry, the real error occurs in src/pass/storage_sync.cc:76, following is the full stack

It seems the shared memory load pass causes the error. Any help will be appreciated


IMAGING-308 Fix to unit test for windows

@gwlucastrig I went to your repository, and realized it's forked from my fork. We need to fix that, but can do that later so you don't lose anything.
So I went to pull requests in your repo, and clicked on create new pull request. By default it shows the dropbox with my fork as base. I just changed that to apache/commons-imaging, and created this PR 👍

I went to your repository, and realized it's forked from my fork

Yes.   I figured that was the wrong way to do things, but it was the only
way I could get github to work.
When I tried forking from the main repository, I couldn't get github to
accept pull requests to your branch.  I would think that the idea that a
developer would need to contribute to two development paths would be
commonplace. So clearly I missed something.  Though Google and Github help
did not reveal what that might be.
On Tue, Aug 17, 2021 at 5:12 AM Bruno P. Kinoshita @.***>
wrote:

@gwlucastrig https://github.com/gwlucastrig I went to your repository,
and realized it's forked from my fork. We need to fix that, but can do that
later so you don't lose anything.
So I went to pull requests in your repo, and clicked on create new pull
request. By default it shows the dropbox with my fork as base. I just
changed that to apache/commons-imaging, and created this PR 👍
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apache/commons-imaging/pull/162#issuecomment-900129422,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEWJDYIGPUWFBD5ZSYWXBB3T5IRWFANCNFSM5CJNJUWQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.

Ah, I see. In that case, it's better that you fork apache/commons-imaging (later after we merge your PR's if you'd like to wait), then create PR's against my fork if necessary the same way I created to a different base repo.


This question / Answer does not belong in this tutorial.

Hi, the following question on this page is for Django and not flask, thus it should be removed!
Question: When I run the project, I see an error that the template cannot be found. What's wrong?
Answer: If you see errors that the template cannot be found, make sure you added the app to the Flask project's settings.py in the INSTALLED_APPS list. Without that entry, Flask won't know to look in the app's templates folder.
flask do not use a installed apps setting :)

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

ID: b3acaa1b-ee19-c571-7c5c-8611722bc0ac
Version Independent ID: 82c0c673-a82c-3443-0b9c-e30ef39bc894
Content: Learn Flask tutorial in Visual Studio step 2, views and templates
Content Source: docs/python/learn-flask-visual-studio-step-02-create-app.md
Product: visual-studio-windows
Technology: vs-python
GitHub Login: @JoshuaPartlow
Microsoft Alias: joshuapa

@chr1974  Thank you for the feedback, assigning this to the author for review.

Addressed in mentioned PR.


Outdated JSON schema link in the docs

This section https://detekt.dev/docs/introduction/configurations/#config-json-schema contains non-working https://json.schemastore.org/detekt URL
Page says:
"The resource you are looking for has been removed, had its name changed, or is temporarily unavailable."

Nice catch. I think the correct link should be https://json.schemastore.org/detekt-1.22.0.json
Would you be up for submitting a PR for the docs to update it @igorwojda ?


Error in Precognition React using Sanctum

Laravel Precognition Plugin Version
0.5.2
Laravel Version
10.31.0
Plugin
React
Description
I installed Laravel Breeze API and create the login component in React.
api:
import axios from "axios";
import { config } from "@/config/config";

function client(baseURL: string | undefined) {
  const client = axios.create({ baseURL, withCredentials: true });

  client.defaults.headers.common["Accept"] = "application/json";
  client.defaults.headers.common["Content-Type"] = "application/json";

  return client;
}

const api = client(config.NEXT_PUBLIC_API_URL);

export default api;

sanctumRepository:
import api from '@/services/api';

export const csrf = () => api.get('/sanctum/csrf-cookie');

login:
  client.use(api);

  const form = useForm("post", "/login", {
    email: "",
    password: "",
    remember: false,
  });

  const submit = async (e: any) => {
    e.preventDefault();

    await csrf();

    form
      .submit()
      .then((data) => {
        console.log(data);
      })
      .catch((error) => {
        console.log(error);
      });
  };

Error:
{
    "message": "CSRF token mismatch.",
    "exception": "Symfony\\Component\\HttpKernel\\Exception\\HttpException",
    "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php"
}

Steps To Reproduce
Install Laravel Breeze API and try to use Precognition React.

Hey there, thanks for reporting this issue.
We'll need more info and/or code to debug this further. Can you please create a repository with the command below, commit the code that reproduces the issue as one separate commit on the main/master branch and share the repository here?
Please make sure that you have the latest version of the Laravel installer in order to run this command. Please also make sure you have both Git & the GitHub CLI tool properly set up.
laravel new bug-report --github="--public"

Do not amend and create a separate commit with your custom changes. After you've posted the repository, we'll try to reproduce the issue.
Thanks!

@joaopalopes24 feel free to reopen this once you have a repo available. Thanks

@joaopalopes24 I can see that you retrieve the CSRF token from the API, but I don't see that you actually give it to precognition / Axios anywhere?
Assuming that await csrf(); returns the CSRF token...
import { client } from 'laravel-precognition-vue';

client.axios().defaults.headers.common['X-CSRF-TOKEN'] = await csrf();


Added InitialDelay property to RepeatButton for better user experience.

I've added InitialDelay property to RepeatButton to wait specified amount of time before repeating process will be started.
So now there are two properties InitialDelay and Delay. In WPF and UWP this properties are called Delay and Interval respectively.
Should we rename the properties of our RepeatButton?

Thanks @DmitryZhelnin! Yes, lets rename our properties to match WPF and UWP.


Find in Folder... option isn't working as expected

VSCode Version: 1.18.0-insider & 1.17.2
OS Version: Windows 10

Steps to Reproduce:

Open a project with mulitple folders and files.
Choose a random folder, and select 'Find in Folder...'
Enter a search query for a string you know exists.
No results will be returned.

Example, I have a folder structure in my project like so:

I right-click 'New folder (7)' and choose 'Find in Folder...'. I search for 'string'. No results are found. I know it exists, I have the file open.

I select 'Search again in all files'. The file is found.

Is this intended behaviour? It's very difficult to search for a specific string or file when you have a 100+ folder project.

Reproduces without extensions: Yes

This is because of the () characters which are handled as glob characters. I don't have a great way to deal with searching folders that contain glob characters. Escaping won't work because you can also use a backslash as a path separator.

#16834


Compilation error with Vaadin 24

 ERROR in frontend/generated/jar-resources/fc-applayout/fc-fusion-layout.ts:27:31
 TS2307: Cannot find module '@hilla/frontend' or its corresponding type declarations.
     25 | import * as menuItemEndpoint from '@vaadin/flow-frontend/generated/MenuEndpoint';
nt/MenuItemDto';
   > 27 | import { EndpointError } from '@hilla/frontend';
        |                               ^^^^^^^^^^^^^^^^^
     28 | import { Router } from '@vaadin/router';
     29 |
     30 | @customElement('fc-fusion-layout')

 ERROR in frontend/generated/jar-resources/generated/connect-client.default.ts:1:29
 TS2307: Cannot find module '@hilla/frontend' or its corresponding type declarations.
   > 1 | import {ConnectClient} from '@hilla/frontend';
       |                             ^^^^^^^^^^^^^^^^^
     2 | const client = new ConnectClient({prefix: 'connect'});
     3 | export default client;

 ERROR in frontend/generated/jar-resources/generated/index.ts:20:25
rations.
     18 |
     19 | const { serverSideRoutes } = new Flow({
   > 20 |   imports: () => import('../../target/frontend/generated-flow-imports')
        |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     21 | });
     22 |
     23 | const routes = [

The first error also happens in Vaadin 23.3.0, see #113

Add-on works on Vaadin 24, but we'll likely have to release a new version as com.vaadin.flow.component.icon.IronIcon was remove from V24

@flang If the only change for Vaadin 24 is iron-icon -> vaadin-icon, we can target Vaadin 23-24 in the new major version.


Minimal Go API and small tool (in Go) to synchronise GitHub API and Datakit

This PR introduces a very simple Go API to use on top of Datakit. It is currently used in Docker for Mac and Windows Beta, so it is reasonnably well tested (although the unit-tests don't pass for config.go ...)
It also introduces a small tool to listen for GitHub webhooks and commit snapshots to Datakit. This is very/too much simple at the moment, but it demonstrates how to use the Go API to create transactions.
I am not a Go expert at all, so any feedback would be greatly appreciated. It would be especially nice to have a more idiomatic Go API (it that's possible).

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "hooks" git@github.com:samoht/datakit.git somewhere
$ cd somewhere
$ git rebase -i HEAD~3
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f

Ammending updates the existing PR. You DO NOT need to open a new one.

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "hooks" git@github.com:samoht/datakit.git somewhere
$ cd somewhere
$ git rebase -i HEAD~3
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f

Ammending updates the existing PR. You DO NOT need to open a new one.

Build error is the for github bindings due to Inria servers outage.


abolished promoter binding

I would like a term to describe abolished binding of  the pap1 transcription factor to promoters.
As a place holder I used
FYPO:0005460 | abolished protein localization to chromatin at MCB promoters
so I wonder if this should have a parent
FYPO:0005460 | abolished protein localization to promoter
we could insert the pap1 promoter SO term if we know it (not sure, I can't find the page)
but this is only a subset (in response to diamide)
suggestions?

no further activity, so closing


Push changes in master to branch fork

The fork branch is used in clearlydefined service package.json. Update fork with recent changes in master.

@mpcen ready for review


add an option to keep translation only

Fixing https://github.com/yihong0618/bilingual_book_maker/issues/48


ISPN-9141 Upgrade to Karaf 4.2.0

https://issues.jboss.org/browse/ISPN-9141

Integrated, thanks Tristan!


Keeps showing Accessibility Access popup  on MacOS Monterey 12.4 Apple Silicon M1

Hi,
Even if I already granted access to accessibility to Yabai it keeps showing the popup every 10 seconds as long as the service runs. restart services, reinstall yabai, reboot, or revoke/regrant accessiblity doesn't solve the issue

MacOS Monterey 12.4
Apple Silicon M1

Did you Code Sign it?

What do you mean exactly? @typkrft

Not sure if this applies to you.
From the wiki:
Code Signing | When building from source (or installing from HEAD), it  is recommended to codesign the binary  so it retains its accessibility  and automation privileges when updated or rebuilt.
https://github.com/koekeishiya/yabai/wiki/Installing-yabai-(from-HEAD)

I indeed installed it from the head and didn't sign it! Thanks for the great help @typkrft !

I indeed installed it from the head and didn't sign it! Thanks for the great help @typkrft !


Implement WellIndentedLine class

PR for #55

Coverage decreased (-2.8%) to 81.707% when pulling 4a340657201797ccaa05f19599454732c8865a0f on SherifWaly:#55 into ffc9abb55f98b336377b51870cc8093e670bcdf4 on decorators-squad:master.

@SherifWaly Why did you close this PR? Doesn't seem bad, except those $Id$ elements? Why are they changed? :D


CMS URL

Hi @PeterRoman,
we decided on the following URLs for

CMS sunrise.commercetools.de/:ang-optional-country/:slug-for-lang-and-country

and category sunrise.commercetools.io/language/category-slug/

The problem here, we can not differentiate between category and CMS and can not differentiate which controller should be used.
One solution would be to use a prefix e.g. "collision". Would that influence SEO or is there any approach you would suggest from the SEO side?

@PeterRoman any news on this?

@PeterRoman could you please give feedback to this issue. thx

Sorry, this is on me, Peter had technical questions, but due to deadlines and office absence we could not meet yet. @PeterRoman let's discuss this on Tuesday next week.

ok thanks for the update @schleichardt

Hey Trang.

it should be commercetools.com instead of .de tld?!
according to Michael both urls (cms and category) are clearly distinguishable: trailing slash for category slug.
what about .html at the end of the cms url?
To answer your question: maybe there would be a SEO effect if we add subdirectories. We want to avoid any prefixes not only for SEO but for the best user experience. For example:
In the grid shops the amount of subdirectories and therefore redirects is not beneficial for SEO: coeur.de >> https://www.coeur.de/cdl/de/cms/welcome

For me this is okay:
/:languageTag/:cmsSlug.html
/:languageTag/:categorySlug/:productSlug-:sku.html
/:languageTag/:categorySlug/

Do we agree with this?

Can skus contain a -?

No. I simplify it here for better understanding, but the Play route would be as we currently have it:
/:languageTag/:productSlug-$sku<[^-]+>.html

As a product can have more than one category, which category should be used for a product url?
/:languageTag/:categorySlug/:productSlug-:sku.html
Also SKUs may contain a "-". Maybe not for our sunrise data, but for other projects.

About the SKUs, yes, certainly we should allow them, but for that the only solution is using one more folder level:
/:languageTag/:categorySlug/:productSlug/:sku.html

How is that concerning SEO @PeterRoman ?

Routes i'm declared so far:
/:locale/ -  catalog.controller:home
/:locale/search/ - catalog.controller:search
/:locale/cart/add - cart.controller:add
/:locale/cart/delete - cart.controller:deleteLineItem
/:locale/cart/change - cart.controller:changeLineItem
/:locale/cart - cart.controller:index
/:locale/category - catalog.controller:search
/:locale/:slug.html - catalog.controller:detail
/:locale/:slug/:sku.html - catalog.controller:detail

Yes, actually I didn't see that we didn't have category with the product URL before. With the SKU it fits well for both technical and SEO reasons. Or so I hope :)
/:languageTag/:cmsSlug.html
/:languageTag/:productSlug/:sku.html
/:languageTag/:categorySlug/

ok agreed on this structure above.
@PeterRoman we could use sunrise.commercetools.com, that should not be a problem. Actually we could have both and redirect de to com. I'll check with ops.


Update microsoft365-maturity-model--collaboration.md

Please use this template to ensure easier processing of your pull request
Category

[ ] Content fix
[ ] New article
[x] Example checked item (delete this line)

For the above list, an empty checkbox is [ ] as in [SPACE]. A checked checkbox is [x] with no space between the brackets. Use the PREVIEW tab at the top right to preview the rendering before submitting your issue.
(DELETE THIS PARAGRAPH AFTER READING)

Related issues:

fixes #issuenumber
partially #issuenumber
mentioned in #issuenumber

If this fixes (aka: closes) or references an issue, please reference it here. This helps maintaining the issue list as it will (1) link the PR to the issue & (2) automatically close the issue when this PR is merged in.
(DELETE THIS PARAGRAPH AFTER READING)

What's in this Pull Request?

Please describe the changes in this PR. Sample description or details around bugs which are being fixed.
(DELETE THIS PARAGRAPH AFTER READING)

Guidance

Please update this PR information accordingly. We'll use this as part of our release notes in monthly communications.
Please target your PR to 'master' branch. Released documents are in live branch.
(DELETE THIS PARAGRAPH AFTER READING)

Docs Build status updates of commit 8d53fe7:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

Community/microsoft365-maturity-model--collaboration.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Removed extra characters from header [tl;dr]

@TekExpo - when you do a PR, can you please fill in the template so we know what you're changing/adding?
It looks like you've just removed the [tl;dr] in the overview header. We put that there intentionally, so unless you have a specific reason to remove it, I'm going to close this PR.


Release 0.4

This release fixes all the known issues and adds 95% test coverage.

This should probably be using the changelog generation scripts from the rtfd/common repo no? I think that would likely make them more useful and easier to generate.

@ericholscher kind of. That script is tied to a setup.cfg and some things needs to be adapted to use it directly. Although, I just commented that part from tasks.py and ran the changelog part only.
I'm pushing the new changelog for 0.4.

I think we can wait for #44 and #40 to be merged and we are ready to go.

It seems that #40 will take some time to understand Sphinx's internal better and maybe do a different approach to solve the problem. I think we should deploy 0.4 with what we have already.

@humitos if you could include #46 in the release, I'd be very grateful!

@humitos fantastic work - do you have a timeline for merging this PR and releasing 0.4?

@acozine v0.4 is released and available in PyPI. You should be able to install it from there. Hopefully, everything works as we tested! Thanks for your support.


Add promise-do-until link and description

I added the promise-do-until module link and description to the
Convenience Utilities section.

This has been updated and ready for review when you get a chance.

Thanks for resolving the issue! Sorry for the delay! Thanks again and happy holidays :smile:

Thanks for resolving the issue! Sorry for the delay! Thanks again and happy holidays :smile:


fix(typo): Fixing typo in IPFS class

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add finnish podcasts

What does this PR do?
Add Resource(s)
For resources
Description
Add finnish podcasts
Why is this valuable (or not)
How do we know it's really free?
For book lists, is it a book?
Checklist:

[x] Not a duplicate
[x] Included author(s) if appropriate
[x] Lists are in alphabetical order
[ ] Needed indications added (PDF, access notes, under construction)

I don't why it took the previous commits, since I was inside a new branch, but I'll remove the first two

Sorry about the extra commits

shouldn't it be Finnish/Suomi?

Oops, my bad

It's fixed now.

Thanks, and welcome to free-programming-books!


Setup with subfolder works fine but doesn't match base path

My project lives in /report-2019. I configured this base path both in .htaccess
RewriteBase /report-2019

and on Route start
Route::run("/report-2019")

I defined some routes, which work fine, but the "/" route triggers the pathNotFound function.
use Steampixel\Route;

// should match /report-2019/, but it doesn't
Route::add('/', function () {
  die('Welcome :-)');
});

// matches /report-2019/lorem-ipsum
Route::add('/([a-zA-Z\-0-9]+)', function ($page) {
  $_GET = [
    "type" => "base",
    "slug" => $page
  ];
});

// matches /report-2019/activities/lorem-ipsum
Route::add('/activities/([a-zA-Z\-0-9]+)', function ($activity) {
  $_GET = [
    "type" => "activity",
    "slug" => $activity
  ];
});

Route::pathNotFound(function () {
  echo "> > > 404 < < <";
});

Route::run("/report-2019");

Hope I'm not missing something really obvious. Thanks for any help!

Hey,
I think you have found some kind of a bug. I am facing the same issue. The router cuts away the trailing slash from the root basepath. Because of that the router tries to match /report-2019 instead of /report-2019/
For now: Try setting the third parameter of the run method to true:
Route::run('/test', false, true, false);

Hi,
with this parameter it's working, and so far it doesn't seem to have other side effects.
I'll keep you posted if I find any. Thanks.

The side effect it that now calls with trailing slash like /aTrailingSlashDoesNotMatter and /aTrailingSlashDoesNotMatter/ will be treated differently. One of them will lead into a 404 now.

Fixed it in https://github.com/steampixel/simplePHPRouter/releases/tag/0.4.1


feat: sso auth integration with workos

Orchestrates SSO and social connect using workos + authkit

Approved, but can you elaborate on how we will move forward with supporting other SSO providers? Will we introduce new abstractions to disambiguate the code path in subsequent pushes?

yeah that's correct. eventually this is gonna look more like an abstract class implementation. although i imagine there's some idiosyncrasies between auth providers that will make this annoying.
the config is setup to make it possible to support other auth providers as well. Moving forward, the rule is, at most one auth provider is allowed per docs instance, so if we need to break stuff, we can easily quarantine a few domains.


Dev

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

Project coverage is 54.85%. Comparing base (3dba9b2) to head (1523c9b).
Report is 3 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #128   +/-   ##
=======================================
  Coverage   54.85%   54.85%
=======================================
  Files          77       77
  Lines        3141     3141
=======================================
  Hits         1723     1723
  Misses       1418     1418

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


k8s support

We want quickwit to be easy to deploy on k8s.
One issue that we have is how do we start the cluster formation via scuttlebutt.
It requires to get connected to a small set of peers that we call peer nodes.
It is tempting to put a k8s service in front of our nodes and set the peer node IP to the service IP.
The default of this approach is that the service might connect us to ourselves, creating a bunch of
partition in our cluster.
Another solution might be to relly on the k8s API to get our peers.
Another solution could be to rely on a headless service and list DNS entires.
Another problem that we have is that we may have nodes dedicated to a specific service.
For instance: an indexing only node and 2 search only node.
How should we deal with this? Should we have a quickwit headless service tied will all quickwit nodes, and then
several specific services tied to specific deployments?
etc.

Duplicate of #1658.


[Frontend][TFLite] Fix quantized pad value for convolution

Zero-padding can't be done directly in case the model is quantized, so we have to set
pad_value = zero_point

Excellent find! I missed this somehow.
I think the current test case failure might be because we give random input to a quantized network, and this leads to values being close to each other in the final output. We can try giving a real input to the quantized network, and then check if the label is present in top 5.

Let me take a look at this. You might have to wait for sometime as I am little busy, but I will get to it within 2 weeks.

@inadob You can close this one. #4816 covers this.


trying to load a json file with the yaml loader

https://github.com/tristan0x/hpcbench/blob/7f2caef0fc2438c88c85857969f04492c09b8645/hpcbench/driver.py#L713-L714

since 2017-08-31 :1st_place_medal:


Please add Turkish language

DO NOT REMOVE THIS
Please make sure your issue complies with these guidelines:

[x] Be using PMMP

[ ] Make sure the issue hasn't already been reported

[ ] Make sure you are on the latest version of PMMP & PiggyAuth

[ ] Have a detailed title like "Players are being kicked randomly"

[ ] Provide any crash dumps or errors

General

Server Software:

Version of PiggyAuth:

Data Provider:

[ ] MySQL
[ ] SQLite
[ ] YAML
[ ] JSON

Steps to Reproduce the Issue

Extra Information
YOUR AUTH PLUGIN AWESOME!

If you wish to have turkish as language feel free to add it to PiggyAuth via a pr ypurself.
I'm not aware of any direct contributor of PiggyAuth who decently speaks turkish, so this hasto be done by an external person.
I'll close this, but I'd be very happy if you would decide to translate PiggyAuth to turkish.

Okay, then I'm starting to work.


Using with express app

This is the express, how can I wrap it around stoppable?
const app = require('./src/app');

const port = process.env.PORT || 3000;
app.listen(port, () => {
  console.log(`Listening on port ${port}...`);
});

Try the following: (I've thrown in terminus for health checking and graceful shutdown)
import { createTerminus } from '@godaddy/terminus';
import stoppable from 'stoppable';

import app from './src/app';

const server = stoppable(
  app.listen(process.env.PORT, () => {
    console.log(`Express API running on port ${process.env.PORT}`);
  }),
);

const onSignal = () => {
  console.log('Received SIGTERM, closing down...');

  return new Promise((resolve, reject) => {
    server.stop(err => {
      console.log(err, 'wtf');
      if (err) {
        reject(err);
      }
      resolve(0);
    });
  });
};

const onHealthCheck = () => Promise.resolve();

createTerminus(server, {
  healthChecks: {
    '/healthz': onHealthCheck,
  },
  signals: ['SIGINT', 'SIGTERM'],
  onSignal,
});

@mstaicu actually, godaddy/terminus is using stoppable under the hood. You don't need to use stoppable in your example.
It's probably late to answer :) however:

stoppable receives http server instance
when you call expressApp.listen(...) you get the http server instance

So, to use stoppable with express, you need to run something like this:
const app = express();
const httpServer = app.listen(...);
stoppable(httpServer, graceTimeout);

Not at all. Nice! Didn't know that @maxbarbul, TIL. As for my solution, I decided to temporarily go with the following approach of keeping track of connections and manually handling the node process termination
import type { Socket } from 'net';

import app from './app';

const server = app.listen(process.env.PORT, () => {
  console.log(`Running on port ${process.env.PORT}`);
});

const sockets = new Set<Socket>();

server.on('connection', socket => {
  sockets.add(socket);
  server.once('close', () => {
    sockets.delete(socket);
  });
});

/**
 * need this in docker container to properly exit since node doesn't handle SIGINT/SIGTERM
 * this also won't work on using npm start since:
 *
 * https://github.com/npm/npm/issues/4603
 * https://github.com/npm/npm/pull/10868
 * https://github.com/RisingStack/kubernetes-graceful-shutdown-example/blob/master/src/index.js
 */

// Quit on CTRL - C when running Docker in Terminal
process.on('SIGINT', () => {
  console.info('Received SIGINT, gracefully shutting down');
  shutdown();
});

// Quit on docker stop command
process.on('SIGTERM', () => {
  console.info('Received SIGTERM, gracefully shutting down');
  shutdown();
});

const shutdown = () => {
  /**
   * The server is finally closed when all connections are ended and the server emits a 'close' event.
   * waitForSocketsToClose will give existing connections 10 seconds to terminate before destroying the sockets
   */
  waitForSocketsToClose(10);

  /**
   * https://nodejs.org/api/net.html#net_server_close_callback
   *
   * server.close([callback])
   *
   * callback <Function> Called when the server is closed.
   * Returns: <net.Server>
   *
   * Stops the server from accepting new connections and keeps existing connections
   * This function is asynchronous, the server is finally closed when all connections are ended and the server emits a 'close' event.
   * The optional callback will be called once the 'close' event occurs. Unlike that event, it will be called with an Error as its only argument if the server was not open when it was closed.
   */

  server.close(err => {
    if (err) {
      console.error(err);
      process.exitCode = 1;
    }

    process.exit();
  });
};

const waitForSocketsToClose = (counter: number) => {
  if (counter > 0) {
    console.log(
      `Waiting ${counter} more ${
        counter !== 1 ? 'seconds' : 'second'
      } for all connections to close...`,
    );

    return setTimeout(waitForSocketsToClose, 1000, counter - 1);
  }

  console.log('Forcing all connections to close now');

  for (const socket of sockets) {
    socket.destroy();
    sockets.delete(socket);
  }
};

export { server };

@mstaicu @maxbarbul This is my server.js file,
/* eslint-disable no-console */
const stoppable = require('stoppable');

const app = require('./src/app');

const normalizePort = require('./src/utils/normalize-port');

const gracefulShutdown = require('./src/utils/graceful-shutdown');

/**
 * Get port from environment and store in Express.
 */

const port = normalizePort(process.env.PORT || '3000');

/**
 * Create HTTP server.
 */

const server = stoppable(app.listen(port));

// quit on ctrl+c when running docker in terminal
process.on('SIGINT', async () => {
  console.info('Got SIGINT (aka ctrl+c in docker). Graceful shutdown initiated!', new Date().toISOString());
  await gracefulShutdown(server);
  console.log('here');
});

// quit properly on docker stop
process.on('SIGTERM', async () => {
  console.log('Got SIGTERM (docker container stop). \n Graceful shutdown initiated!', new Date().toISOString());
  await gracefulShutdown(server);
});

This is graceful-shtudown.js
const { sequelize } = require('../models');

module.exports = async (server) => new Promise((resolve, reject) => {
  sequelize.connectionManager.close()
    .then(() => console.log('Closed database connection!'))
    .catch(() => console.log('Error occurred while closing database connection!'));
  server.stop((err) => {
    if (err) {
      reject(err);
    }
    console.log('Graceful shutdown completed');
    resolve(0);
  });
});

I never get messages for closing database connection or shutdown completion.
I also tried using async/await syntax.
const { sequelize } = require('../models');

module.exports = async (server) => {
  try {
    await sequelize.connectionManager.close();
    console.log('Closed database connection!');
    await server.stop();
    console.log('Graceful shutdown completed!');
    process.exit();
  } catch (error) {
    console.log(error.message);
    process.exit(1);
  }
};

I don't any message from 'graceful-shutdown.js` either in this case.
Can you please look into what's wrong?

It's interesting that you say this because it is also something that I've experience, either from misusing the library or improperly configuring it. What I experienced was that whenever I called server.stop, the monkey patched method provided by stoppable (which by the way you don't need to await it, it's not a Promise), and I was providing a callback to the .stop method, which would get called once all the sockets have been closed, I would get an error saying that node cannot stop the server because it wasn't running. So this:
server.stop(err => {
  if (err) console.error(err);
  console.log('Closed');
});

I would start by adding a breakpoint to this line ( and starting the server with the debugger enabled, i.e. node --inspect entry-file ) and see why your callback doesn't get called


fix: Fix health monitoring of RepeatingTrigger

Description

References

#0000

Codecov Report

Merging #218 (0caf075) into main (7d08568) will increase coverage by 14.07%.
The diff coverage is 100.00%.

:exclamation: Current head 0caf075 differs from pull request most recent head 14f04f5. Consider uploading reports for the commit 14f04f5 to get more accurate results

@@             Coverage Diff             @@
##             main     #218       +/-   ##
===========================================
+ Coverage   56.99%   71.07%   +14.07%
===========================================
  Files          55      195      +140
  Lines         793     3550     +2757
  Branches       81      442      +361
===========================================
+ Hits          452     2523     +2071
- Misses        326      883      +557
- Partials       15      144      +129

Flag
Coverage Δ

appcommon
62.25% <100.00%> (+5.25%)
:arrow_up:

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

Files Changed
Coverage Δ

...rce/App/source/ExampleHost.WebApi01/SomeTrigger.cs
100.00% <100.00%> (ø)

source/App/source/ExampleHost.WebApi01/Startup.cs
100.00% <100.00%> (ø)

...ostics/HealthChecks/RepeatingTriggerHealthCheck.cs
100.00% <100.00%> (+100.00%)
:arrow_up:

...urce/App/source/WebApp/Hosting/RepeatingTrigger.cs
91.66% <100.00%> (+17.38%)
:arrow_up:

... and 143 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Facebook share problem

Hi,
I'm trying to use facebook share function but got this error:
I've included this code in :
<button onclick="window.plugins.socialsharing.shareViaFacebook('Message via Facebook', null /* img */, null /* url */, function() {console.log('share ok')}, function(errormsg){alert(errormsg)})">msg via Facebook (with errcallback)</button>

Seems like Facebook is not installed..

Oh! I've just figured out that. Thank you, but is there any way that don't need Facebook installed?

Yeah, check if the app is installed (can be done with this plugin, or the AppAvailability plugin) - if not, redirect to the Facebook website.

Yeah, check if the app is installed (can be done with this plugin, or the AppAvailability plugin) - if not, redirect to the Facebook website.

Hi, how exactly I can redirect to the Facebook website?


Course link brokeage

Localhost , the image path are corrected and showing all images ( Working )

Live Server , the image path are not corrected and not showing all images ( Not Working )

Hey @thestarsahil can I work on this?

Hello, @thestarsahil, could you please assign this issue to me? I’m excited to work on it and would like to get started promptly.


Add a space in the kick message.

Issue:

Solved:

O whoops I put a space in the wrong place

;)


Using --module for incremental compilation

Is it possible to use --module to invoke the Closure Compiler multiple times. The goal is to use it with Bazel to produce incremental libraries for development.

For questions, please use: https://groups.google.com/forum/#!forum/closure-compiler-discuss
The issue tracker is to report bugs or for feature requests.
The compiler is only whole program, and there isn't a plan to do optimizations incrementally. Incremental type checking would be nice, and we are looking into it. (If you end up posting at the mailing list, please provide some specifics about what you're trying to accomplish.)

FYI --module still only invokes the compiler once. It simply splits the output into multiple files. It's pretty analogous to web pack split points: https://webpack.github.io/docs/code-splitting.html


Color of alt text for add-ons

Can you fix the color of the alt text when we hover over the addons or the 3 dot application menu?
Currently it shows as a dark shade of purple that FF uses by default.

Oh Okay..
If not third party extensions, would it be possible to update the popup textbox of basic Firefox toolbar icons?

I can see that for Downloads button, when hovered, shows edge themed grey popout, consistent with the rest of the theme:

Any of the purple tooltips are ones that can't be selected using CSS. The grey tooltips are the ones that can be selected, and styled using CSS.
This issue affects some, but not all built-in toolbar buttons, along with the all add-on buttons.


Sequence assignment for variables requires copying of candidate tables

Since sequence assignment creates a copy of a (possibly large) table, it can be slow (i.e. hours). See #379 for details. DeepDive requires sequence IDs for variables.

I think this is no longer the case for 0.8 but can you confirm @raphaelhoffmann?  I'm not sure what was being copied.  What "copy" were you referring to? materializing the categorical variables or also Booleans? or something done inside the stored procedures?

The UPDATE query for assignment would effectively copy all tuples being updated. I believe that's what @raphaelhoffmann meant... Looks like var ID assignment was thrown out a couple of months ago, so this should have been addressed...

Sequence assignment has been overhauled and this issue is probably no longer applicable.