-Mode parameter for Set-StrictMode

Summary of the new feature / enhancement
Setting Set-StrictMode to a specific -Version level automatically implies that all prior prohibitors are enabled. Meaning that there is no way just select for a recent prohibitor (e.g. "out of bounds or unresolvable array indexes") without also selecting a earlier prohibitor (e.g. "references to uninitialized variables").
A -Modes parameter that supports certain prohibit flags, e.g.:
[Flags()] enum StrictModes {
    ProhibitReferencesToUninitializedVariables = 1
    ProhibitReferencesToNonExistentProperties = 2
    ProhibitUseOfCallingMethodSyntax = 4
    ProhibitUnresolvableArrayIndexes = 8
    ProhibitOmittingWriteOutput = 16
}

will avoid that.
The lack of selective prohibitors also holds back the future extensions of the Set-StrictMode cmdlet as e.g. #15781Strict Write-Output.
Proposed technical implementation details (optional)
No response

Also possible (false positive) bugs in specific Set-StrictMode modes as in #16427 Set-StrictMode -Version Latest: False positive for references to non-existent properties of an object could be excluded/suppressed while still being able to as strict as possible with the rest of the prohibitors, using a command as e.g.: Set-StrictMode -Mode 29

@mklement0,

Even if lexical scoping were to be introduced, the dynamic scoping of the existing strict modes would have to be retained for backward compatibility, which would invite confusion and subtle bugs.

A different way to implement lexical scoping is by excluding using SuppressMessageAttribute Class in the cmdlet binding similar to the approach of PSScriptAnalyzer.

I have closed this issue in favor of issue #20432


Misplaced highlights when used together with values cropping

Describe the bug
When using search parameters attributesToHighlight and attributesToCrop, the highlights are occasionally misplaced. Looks like the highlighted chunk of text is of right length but is shifted by several characters. This behavior does not occur in all search hits. Some matches are highlighted as expected and some are not. I was not able to find a pattern in the contents what could make this issue happen. I tried different cropLength values with no effect on the issue.
To Reproduce
Steps to reproduce the behavior:

Set attributesToHighlight, attributesToCrop and cropLength search parameters
See (misplaced) highlights
Repeat the query without attributesToCrop and cropLength parameters
See highlighted matches as expected

Expected behavior
I expect the highlights be placed in the same position as are placed when cropping is not used.
Screenshots
The following code
get_index().search('prickely people', {
    'limit': 100,
    'attributesToRetrieve': ['title', 'source_url'],
    'attributesToHighlight': ['content'],
    'attributesToCrop': ['content'],
    'cropLength': 150
})

produces unexpected behavior:
...the prickly people are advocates of intellectual porcupinism...

Whereas omitting parameters for cropping
get_index().search('prickely people', {
    'limit': 100,
    'attributesToRetrieve': ['title', 'source_url'],
    'attributesToHighlight': ['content'],
    # 'attributesToCrop': ['content'],
    # 'cropLength': 150
})

produces expected behavior:
...the prickly people are advocates of intellectual porcupinism...

^ please note that I have truncated the example outputs  manually to make the issue easier to notice (denoted with ellipses)
Desktop (please complete the following information):

OS: macOS 10.14.4 (18E226)
Environment: Python client meilisearch==0.14.2
Meilisearch version: {'commitSha': 'UNKNOWN', 'buildDate': '2021-02-09T15:29:47.254723645+00:00', 'pkgVersion': '0.19.0'}

Hello @mirorac!
I'm trying to reproduce your bug, can you send us the whole document please? 🙂 I cannot perfectly reproduce it without it. It would be really helpful

Hello, this issue is related to version 0.19 of MeiliSearch. It seems that it does not appear anymore in the new versions. So I will close this issue.
However, there are still some highlight problems introduced with version 0.21. These are described in issue #1480.
In case you manage to reproduce this bug in version 0.21, please reopen this issue.


Fix: run container-is-certified also in the case of digest only images

This is a regression compared with previous logic. Containers with digest only images would not be tested in the container-is-certified test, or in the container-is-certified-digest test.
For digest images, the repo and name fields are no longer populated since they could be anything, only the digest counts. However, since we skip containers with images that have both empty repository and name we would also skip digest only images. This same check in the container-is-certified-digest test would skip containers that have only a digest defined, only testing the image digest when it was defined using a repository, name and tag. This fix remove the unnecessary check in both container-is-certified and container-is-certified-digest tests.
PR causing regression: https://github.com/test-network-function/cnf-certification-test/pull/1274/files
build-depends: 29479

I've included a dependency with DCI code where we included an update in the containter certification info provided to tnf_config.yml, now the job is passing here

Seems like the PR tests are failing with:
TRACE  [Sep 18 15:24:44.204][status.go: 18] {"CompliantObjectsOut":null,"NonCompliantObjectsOut":[{"ObjectType":"Operator","ObjectFieldsKeys":["Reason For Non Compliance","Namespace","Name","OCP Version","OCP Channel"],"ObjectFieldsValues":["Operator failed to be certified for OpenShift","tnf","hazelcast-platform-operator.v5.7.0","","alpha"]}]}

I am assuming it is a temporary issue with the online db? Seems to pass now


[rcore] Transparent colours not drawing correctly when using RenderTexture2D

[ y ] I tested it on latest raylib version from master branch
[ y ] I checked there is no similar issue already reported
[ y ] I checked the documentation on the wiki
[ y ] My code has no errors or misuse of raylib

Issue description
Today I updated my game to allow screen resizing, by using a rendertexture, but I noticed a problem that happens when I clear the background inside the proper BeginDraw()/EndDraw(). It causes any transparent colours to be tinted, despite the fact that they're drawing above textures that were drawn on top of the cleared background. I've provided some screenshots.
Environment
Provide your Platform, Operating System, OpenGL version, GPU details where you experienced the issue.
Windows 10 (Using linux with WSL)
GTX 1050 ti
INFO: GL: OpenGL device information:
INFO:     > Vendor:   Microsoft Corporation
INFO:     > Renderer: D3D12 (NVIDIA GeForce GTX 1050 Ti)
INFO:     > Version:  4.2 (Core Profile)
INFO:     > GLSL:     4.20
I tested this on a separate computer and it does the same thing, it was also linux.
Issue Screenshot
This is how it's meant to look, this what what happens when I don't clear inside the BeginDraw/EndDraw functions (which is also what it looked liked before using a render texture):

And this is what happens when I clear to BLACK before rendering the rendertexture to the screen:

As you can see, it just looks wrong. The most noticeable difference is the tinted tiles on the ground. They're completely dim!
Code Example
I'm essentially just doing my drawing inside of BeginTextureMode/EndTextureMode, rendering to a RenderTexture2D, and then using BeginDraw/EndDraw to draw that texture, scaled up to the screen (with some extra stuff to maintain aspect ratio.

RenderTexture2D target = LoadRenderTexture(width, height);

BeginTextureMode(target);

// do my game's drawing

EndTextureMode();

BeginDrawing();

ClearBackground(BLACK);

Rectangle src = {0, 0, virtualWidth, virtualHeight};
Rectangle dst = {0, 0, GetScreenWidth(), GetScreenHeight()};
DrawTexturePro(target.texture, src, dst, Vector2Zero(), 0, WHITE);

EndDrawing();

That's effectively what I'm doing, but without being too specific.

I have the same problem here. For me the colors and transparancy change drastically when drawing to RenderTextures

As far as I can tell, this has to do with the blending mode. When you draw a texture with an alpha value over a texture without one, the resultant alpha value by default will be $A_r = A_s \cdot A_s + A_d \cdot (1-A_s)$, with $A_r,A_s$ and $A_d$ being the resultant, source and destination alphas respectively.
You can instead use your own blending mode that separates the blending modes for the RGB and alpha values. You'll have to include rlgl.h and then set your own blending factors like this: rlSetBlendFactorsSeparate(RL_SRC_ALPHA, RL_ONE_MINUS_SRC_ALPHA, RL_ONE, RL_ONE, RL_FUNC_ADD, RL_MAX). In this case we say keep the same blending mode for the RGB values, but use the max alpha for the alpha value. This will result in an opaque texture if one of the textures is opaque. You'll have to call BeginBlendMode(RL_BLEND_CUSTOM_SEPARATE) and EndBlendMode() to use this blend mode.
So in total you would have something like this:
#include "raylib.h"
#include "rlgl.h"
int main(void)
{
    // Initialization here
    rlSetBlendFactorsSeparate(RL_SRC_ALPHA, RL_ONE_MINUS_SRC_ALPHA, RL_ONE, RL_ONE, RL_FUNC_ADD, RL_MAX);
    while (!WindowShouldClose())
    {
        BeginTextureMode(target);
        BeginBlendMode(RL_BLEND_CUSTOM_SEPARATE);
        //Do your drawing on the texture here
        EndBlendMode();
        EndTextureMode();

        BeginDrawing();
        ClearBackground(BLACK);
        // Draw texture here
        EndDrawing();
    }
    CloseWindow();
    return 0;
}

Hope this works for you.

It seems this issue is related to https://github.com/raysan5/raylib/issues/1334

Undoubtely is related to blending mode. Actually proposed solution is what I usually use on my tools.


Implement NumPy search routines

xref https://docs.scipy.org/doc/numpy/reference/routines.sort.html
Extracted from #70:

[x] np.argmax
[x] np.argmin
[ ] np.argwhere
[x] np.nonzero
[ ] np.flatnonzero
[x] np.where
[ ] np.searchsorted
[ ] np.extract

(see https://github.com/google/jax/issues/2077 for nanargmax/nanargmin)
Notes:

argwhere/flatnonzero/extractcould should just be minimal wrappers around nonzero
searchsorted is harder: it need would need low-level routines/wrappers for efficient binary search, which to my knowledge do not currently existing in XLA

@shoyer  I'd like to work on the last searchsorted. Where and how should I implement the efficient binary search you mentioned? Should I implement it in tensorflow.xla first and wrap it in Jax when it is merged into tensorflow?
And a more general question, if we want to add some functions using ops that don't exist in XLA (like here), how should we do? Can we implement the ops directly in python, or we need to implement it in XLA first?

If your data don't have ties, then the following should work:
def hacky_argsorted(a, v):
    i = np.argsort(np.concatenate([a, v]))
    ranks = i.argsort()
    return np.concatenate([
        np.ones(a.shape, dtype=int),
        np.zeros(v.shape, dtype=int)
    ])[i].cumsum()[ranks[len(a):]]

#2938 implemented searchsorted.


WIP: Multiple login fields

Hello,
this is a first version of a change to allow login using all authentication_keys defined in the model.
Note that this versions removes the valid_params? for simplicity and also the addition of the BINARY keyword on mysql, but if it is really needed we can work to add it back.

@danielneis looks like tests fail on this pr? Thanks for your contribution but mind taking a look at that?

Hello, I rebased the patch to current master and added back the "binary" statement for mysql

Closed since the other PR will take over this


Add back RPC attributes to Python expected template

We should combine the attributes recorded in #165 and #168 so that we are verifying both aws.operation is set on an inferred segment and the three rpc attributes are set on the span per the spec. We can do this once the translation is updated in the awsxrayexporter and we've upgraded the Python layer components to latest.

Collector contrib issue: https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/6109


Variably mounted children stop responding to signals on second mount

Describe the bug
Continuation of #2482, but sort of different so opening new, turns out the solution provided is still buggy. If children are unmounted, any reactive blocks stop updating on remount.
https://github.com/leptos-rs/leptos/assets/44890343/4e40d122-b34f-4062-9762-107e2c9cf748
Leptos Dependencies
For example:
leptos = { version = "0.6.10" }
leptos_meta = { version = "0.6.10", features = [] }
leptos_router = { version = "0.6.10", features = [] }
leptos_axum = { version = "0.6.10", optional = true }
gloo-timers = { version = "0.3.0", features = ["futures"] }
once_cell = { version = "1.19" }

To Reproduce

Mount <Parent />
Click the toggle button to mount the children, you will see the counter increasing every 100ms
Unmount then remount (click click)
The counter will no longer update

use leptos::*;

#[component]
pub fn Parent() -> impl IntoView {
    let counter = create_rw_signal(0);
    create_effect(move |_| {
        spawn_local(async move {
            loop {
                gloo_timers::future::TimeoutFuture::new(100).await;
                counter.update(|v| *v += 1);
                tracing::info!("COUNTING");
            }
        })
    });

    view! {
        <Child>

CHILDREN

{move || format!("Counter: {}", counter.get())}

        </Child>
    }
}

#[component]
pub fn Child(children: Children) -> impl IntoView {
    let show = create_rw_signal(false);
    // Used your implementation, but my store_value_lazy() has same problem.
    let children = store_value(once_cell::unsync::Lazy::new(|| children()));
    view! {

            <button on:click=move |_| {
                show.update(|v| *v = !*v);
            }>"Toggle children"</button>

{move || format!("Children shown: {}", show.get())}

            {move || {
                show.get()
                    .then(move || {
                        view! {
{children.with_value(|value| (*value).clone())}
 }
                    })
            }}

    }
}

Expected behavior
Children shouldn't lose reactivity after the first mount/unmount.
Completely appreciate and excited for the work being done for 0.7, if this is only going to be properly fixed then, any ideas how to get something working for now?

I should add, this example when using bog standard store_value(children()) without any laziness:
#[component]
pub fn Child(children: Children) -> impl IntoView {
    let show = create_rw_signal(false);
    let children = store_value(children());
    view! {

            <button on:click=move |_| {
                show.update(|v| *v = !*v);
            }>"Toggle children"</button>

{move || format!("Children shown: {}", show.get())}

            {move || {
                show.get()
                    .then(move || {
                        view! {
{children.get_value()}
 }
                    })
            }}

    }
}

leads to a leptos panic and site becoming unresponsive:

Taking a step back for a minute: Is there a reason that you actually need Children (FnOnce) here, which can only be called once, and not ChildrenFn or ChildrenMut, which use Fn and FnMut? And likewise is there a reason not to just use the regular control-flow helpers like Show here?
It is fine if so, and I'm happy to walk you through how to implement it correctly, but it's probably a waste of time unless there is some specific reason not to use those.
#[component]
pub fn Child(children: ChildrenFn) -> impl IntoView {
    let show = create_rw_signal(false);

    view! {

            <button on:click=move |_| {
                show.update(|v| *v = !*v);
            }>"Toggle children"</button>

{move || format!("Children shown: {}", show.get())}

            <Show when=show children/>

    }
}

Hmmm, I haven't been using <Show /> because of the Fn() requirement and it's less user-friendliness, but I'm not 100% it would be incompatible with my usage.
I'll do some refactoring and see if it works for me, would a solution whilst maintaining FnOnce() be really complicated?

It's not super complicated, but complicated enough.
Basically by lazily constructing the children inside a reactive move || closure, you have made the effects created to update the dynamic nodes inside the children belong to that reactive block. Whenever that parent block re-runs, whatever effects are its children will be canceled, and recreated. But your code is specifically written not to re-create them. (If this paragraph makes no sense but you'd like to understand it, here's the chapter on the reactive ownership model.)
I guess there's a simple enough solution: Just take your example Child code above and manually set the owner to the owner of Child, not the eventual lazy owner:
#[component]
pub fn Child(children: Children) -> impl IntoView {
    let show = create_rw_signal(false);
    let owner = Owner::current().unwrap();
    let children = store_value(once_cell::unsync::Lazy::new(move || {
        with_owner(owner, children)
    }));
    view! {

No, Show intentionally runs its children in a child owner, because this means any on_cleanup functions will run and objects created will be dropped. Your version allows FnOnce but won't run cleanups or drop the view when the condition switches from true to false. Either one of these is fine, but applying these changes to Show to allow FnOmce would change the semantics of Show.

Got it, thanks for your help!


Middleware Server fails Add Deployment

This seems to be fallout from the work done for Issue #8719.  When submitting a file as a new deployment the request fails in the middleware controller code, the request does not make it out to the provider.
I think I have a fix, I'll verify.
@miq-bot add_label bug, providers/hawkular, ui

@jshaughn please add some more information/exception from log/screenshot to this issue, it will help understanding if the issue is fixed/how qe can test it.

You'll see a message like:
"Unable to deploy "test-simple-1.0.0.war" on this server."
There will be no gem or server-side activity, it fails on the miq-side.


Document Unity Release versioning strategy

Is your feature request related to a problem? Please describe.
Unity releases with minor version bumps introduce breaking changes. Many libraries use a wildcard when including a dependency (i.e <PackageReference Include="Unity.Container" Version="[5.8.6, 6.0.0)" />), so that consumers of the library are free to upgrade Unity without needing a new version of their library. In short, introducing breaking changes on a minor version bump breaks dependent libraries (see here).
Describe the solution you'd like
Document versioning strategy, so consumers can properly configure wildcards when relying on this library.
Describe alternatives you've considered
Switch to Semantic Versioning, the de facto industry standard for versioning, and release breaking changes with a major version bump.

Unity API is controlled by Unity.Abstractions assembly. The version was increased from 3.3.0 to 4.0.0.

@ENikS understood, however, this update to Unity.Abstractions 4.0.0 does introduce a breaking change on the 5.* series of Unity assemblies, which is not documented in the new version number. It's fine to have a versioning strategy different from SemVer (which would state in this case that the library dependent on Unity.Abstractions should receive a version bump), however, is there documentation that could be added if that's the case?

@ENikS I just saw your comment - thanks! Let me know if there's anything I could do to help.

SemVer does not guarantee API stability between minor version changes. Transitioning from v5.8 to v5.9 is one of these.
What kind of help do you have in mind, I have a lot of things I need help with :)

As for including Unity this should be much safer:
<PackageReference Include="Unity.Container" Version="5.9.*" />

SemVer does state that minor version changes should only include backwards compatible changes:

Minor version Y (x.Y.z | x > 0) MUST be incremented if new, backwards compatible functionality is introduced to the public API. It MUST be incremented if any public API functionality is marked as deprecated. It MAY be incremented if substantial new functionality or improvements are introduced within the private code. It MAY include patch level changes. Patch version MUST be reset to 0 when minor version is incremented.

https://semver.org/#spec-item-7
Again, it's fine if SemVer isn't followed, but if not, then the version strategy employed should be stated. Thanks for the tip on the proper reference to use.

And I can help with documenting the versioning strategy used by Unity, or I can hack at some code when I have time.

Any help would be appreciated.
Documentation is one of these areas where I am not at my strongest. English being my third language does not help either. If you feel you could lend a hand with documenting new stuff I am sure there will be a lot of grateful developers.

Sounds good - I will open a PR where appropriate to document versioning for v5 (judging by your comments in the linked issue, v6 will follow SemVer more closely?).


[WIP] Add TelemetryInitializerMiddleware

Added new middleware for storing activity on the Application Insights correlation context.
Fixes #1221
Description
Add TelemetryInitializerMiddleware to JS for parity for C#
Specific Changes
Add TelemetryInitializerMiddleware to JS for parity for C#
Testing

Pull Request Test Coverage Report for Build 81292

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

Totals

Change from base Build 81220:
0.0%

Covered Lines:
4461

Relevant Lines:
4978

💛  - Coveralls


Helper classes for showing/hiding in breakpoints

Would be cool to include some helpers to show/hide elements on certain breakpoints - similar to what Material Design Lite does here with the mdl-cell--hide-desktop, mdl-cell--hide-tablet, etc.

Glad you like Surface but I will not be updating this framework (besides minor fixes). If you'd like to do this yourself and submit a PR feel free 👍


Add watch_pattern keyword arg to RunInference

Fixes: https://github.com/apache/beam/issues/26500

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

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

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

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

Run Python_Integration PreCommit

Run Seed Job

R: @damccorm @riteshghorse


Labor share data from UN Statistics is returning a server error

Labor share data (SDG indicator 10.4.1) is sourced from UN Statistics portal.
Variable 'un_data_a' in 'macro_params.py'
This API is returning an error:
404 error:
https://data.un.org/ws/rest/data/IAEG-SDGs,DF_SDG_GLH,1.10/..SL_EMP_GTOTL.710...........?startPeriod=2021&endPeriod=2021&format=csv
500 error using this method:
https://unstats.un.org/sdgs/UNSDGAPIV5/swagger/index.html
https://unstats.un.org/sdgs/UNSDGAPIV5/v1/sdg/Indicator/Data?indicator=SL_EMP_GTOTL&areaCode=710&timePeriod=2020

@jdebacker:
It turns out that the "data flow" changes almost every quarter when there are updated to the DSD.
The current DSD is version 1.15 (from 1.10).
Currently working link:
https://data.un.org/ws/rest/data/IAEG-SDGs,DF_SDG_GLH,1.15/..SL_EMP_GTOTL.710...........?startPeriod=2020&endPeriod=2020&format=csv
I will work on a method to get or compute the correct value for the future.

The fix is to skip the dataflow version in the url. This will always get the latest available.
https://data.un.org/ws/rest/data/IAEG-SDGs,DF_SDG_GLH,/..SL_EMP_GTOTL.710...........?startPeriod=2020&endPeriod=2020&format=csv
I will make the changes in a future PR
@jdebacker

Great find - thanks @SeaCelo!

@jdebacker I think we need another check. The current data is only available for 2020. I think you are using 2021, which returns "no data" for this call. Do we need some logic to test or throw a message to the user?

The current data is only available for 2020. I think you are using 2021, which returns "no data" for this call. Do we need some logic to test or throw a message to the user?

Thanks for noticing this Marcelo.  In my actual run of run_og_zaf.py the target URL is
https://data.un.org/ws/rest/data/IAEG-SDGs,DF_SDG_GLH/..SL_EMP_GTOTL.710...........?startPeriod=1947&endPeriod=2023&format=csv
which does work.  It's pulling the start and end year from those set above used for the FRED data.  But it seems to work at long as the start year is prior to 2021.

@jdebacker You are correct. The start is 1947 so it will take the latest available before today. No more issues and this can close with #45


docs: Fix invalid source code reference in docs

#677 added a reference to a non-existent example and is breaking docs builds.

#693

This was addressed in e108163100f by removing the reference.


Feature Request: Site--> Add link to forums

When I go to kaboomjs.com I am able to use and play with repls and learn how to use, but there's no way for me to know what the right forums are to share games and stuff.
Can you add a link to the right forums on the site? Something like https://replit.com/talk/all?q=kaboomjs&lang=kaboom I guess?

Kaboom doesn't have an official forum yet, but might have in near future, definitely will link when there's an official one.

I'll add a link to github discussions


Upgrade groovy library for Validation Workflow

Description
Pass each argument from jenkins separately to Validation groovy library
Issues Resolved
List any issues this PR will resolve, e.g. Closes [...].
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

This will also need a version bump, right?

This will also need a version bump, right?

Yes

This will also need a version bump, right?

Yes

You need to update the build.gradle file for that, right?

This will also need a version bump, right?

Yes

You need to update the build.gradle file for that, right?

Waiting for this PR to get merged,

This will also need a version bump, right?

Yes

You need to update the build.gradle file for that, right?

Yes Rishabh

Please bump version.


Revamp questions related pages

This commit revamps the UI/UX of all question related pages.
Additional features change includes :

Display and usage of (multiple) topics instead of category
Confirmation pop-up for deleting a question
Loading spinner for each page while fetching for data

Validation Bugs:

Description box required error, although validated, only appear once on the UI and disappears by clicking into it (without typing anything) (Fixed)
Topics dropdown required error, although validated, UI only disappears after clicking into description box (Fixed)

LGTM!


Error when trying to build with Clang

Hyprland Version
ed51fe7bac76248933c71d3958fdb9a973066dfd
Bug or Regression?
Bug
Description
In the home-manager module, while settting the package to be:
package = inputs.hyprland.packages.x86_64-linux.default; #.override {stdenv = pkgs.clang16Stdenv;};

The build would fail with the following error:
-- snip snip --

[44/116] Compiling C object protocols/libserver_protos.a.p/meson-generated_.._pointer-constraints-unstable-v1-protocol.c.o
[45/116] Compiling C object protocols/libserver_protos.a.p/meson-generated_.._tablet-unstable-v2-protocol.c.o
[46/116] Linking static target protocols/libserver_protos.a
[47/116] Precompiling header ../src/pch/pch.hpp
FAILED: src/Hyprland.p/pch.hpp.pch
clang++ -Isrc/Hyprland.p -Isrc -I../src -Iprotocols -I/nix/store/jg74fkb8rgkybs18zryzdcsqwp901kgj-wayland-1.22.0-dev/include -I/nix/store/bw8kpklh132dxm34ryg7m13vbi2yrgr0-wlroots-hyprland-202
In file included from ../src/pch/pch.hpp:1:
In file included from ../src/Compositor.hpp:7:
In file included from ../src/defines.hpp:2:
../src/debug/Log.hpp:4:10: fatal error: 'format' file not found
#include <format>
         ^~~~~~~~
1 error generated.
[48/116] Compiling C++ object hyprctl/hyprctl.p/main.cpp.o

-- snip snip --

How to reproduce
By setting the package to the value provided in the description.
Crash reports, logs, images, videos
No response

First, you need to use libc++ instead of libstdc++ with clang, and add -stdlib=libc++, -fexperimental-library to both compile and linker args.
lld is also recommended over ld.bfd

e.g. with meson
CC="clang" CXX="clang++" CC_LD=lld CXX_LD=lld meson setup build -Dcpp_args="-stdlib=libc++ -fexperimental-library" -Dcpp_link_args="-stdlib=libc++ -fexperimental-library"

Thanks for you're fast response.
Then I just need to overwrite a few nix things and I should be okey.
I'll be closing this since it's a me-issue.


Speller does not work in iOS since iOS 16

There are several user reports about the SME speller not working in iOS since version 16. I can confirm that it still does not work in 16.1.2. Other languages work just fine, like SMA, SMJ and CRK.
Could it be memory related? SME is by far the largest memory consumer.

This is fixed in version 3.2.5.


[Jetsurvey] App crash on changing selected data in date selection question (question 4)

The app crashed when I tried to change the selected date for the date selection question.
Question: "When was the last time you ordered a takeaway ..."
https://user-images.githubusercontent.com/29737108/117548139-df96b400-b050-11eb-8d0c-cb09874080aa.mp4

Looks like your fix was merged but this issue didn't get closed out, so closing it now. Thanks!


Add Documentation for the Persistence Feature

Description:
As per the initial plan, we are going to add the documentation for the following areas,

[x] Add Quick Start guide using the same scenario used in the Building Data Services in Ballerina
[ ] Add Platform Feature section
[ ] Add BBEs for Persist Writing Data and Persist Reading Data

For more information, please refer to the document[1]

https://docs.google.com/document/d/1xqDewi4uyIFFUIMef6FgXiRaAEe1814hhBR4NzmRTX8/edit#

Quick Start Guide[Initial Draft] : https://docs.google.com/document/d/1n8EftM1wvCfRgvgXWWpW_9GLPZphUs6XSXVpGRc1mBk/edit#heading=h.6m0y7yujiiey


Update Maps SDK dependency to v6.0.0+

Updates the Podspec to support Maps SDK v6.0.0+ and adds more installation information to the README.md.
Ran demo app and tests locally, there appear to be no breaking changes other than the installation method, which is why I bumped to v0.0.1-beta.2.

We don't have CircleCI configured for this project, so ignoring this check.


Add contribution guideline

Hi @ddoktorski I would like to contribute to this project if it is open, I really like Java and now I have been doing OSS contributions to web3 projects too.

Closing as it has been included in #503.


Add Bump Sequence Documentation to horizon/internal/docs/resources/operations

Link: https://www.stellar.org/developers/horizon/reference/resources/operation.html

Probably waiting until this is officially merged into horizon #533


Step by step focus with hover has wrong text colour

I think by re-ordering the CSS this could resolve this issue.
This is an issue for the 'show all' link button too.

@nickcolley the show all link has already been addressed #1119 is going to fix the case when the button is focused and its parent div is hovered (it has a twisted structure indeed).

Nice work, thanks Alex :+1:


Feature/authentication

:bulb: Description

:hammer_and_wrench: Type of change

[ ] :bug: Bug fix (non-breaking change which fixes an issue)
[ ] :gift: New feature (non-breaking change which adds functionality)
[ ] :boom: Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] :book: This change requires a documentation update

:microscope: How Has This Been Tested?

[ ] Test A
[ ] Test B

Codecov Report

Merging #20 (4c2cce6) into dev (d8abbe5) will decrease coverage by 24.42%.
  Learn more


Make auth and fingerprint functions resilient to attr errors

Codecov Report
Patch coverage: 80.55% and project coverage change: -1.94% :warning:

Comparison is base (4082343) 82.90% compared to head (e38f949) 80.97%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff             @@
##           master       #9      +/-   ##
==========================================
- Coverage   82.90%   80.97%   -1.94%
==========================================
  Files          15       15
  Lines         234      247      +13
==========================================
+ Hits          194      200       +6
- Misses         40       47       +7

Files Changed
Coverage Δ

lib/ex_stun/message.ex
92.79% <80.55%> (-6.19%)
:arrow_down:

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


[SPARK-13854][SQL] Add constraints to outer join

JIRA: https://issues.apache.org/jira/browse/SPARK-13854
What changes were proposed in this pull request?
Currently, for left outer join we only keep left side constraint. For right outer join, we only keep right side constraints. For full outer join, the constraints are empty.
In fact, the constraints are less than the actual constraints for the join operator.
For example, for left outer join, besides the constraints from left side, the constraints of right side should be inherited with a bit modification.
Consider a join as following:
val tr1 = LocalRelation('a.int, 'b.int, 'c.int).subquery('tr1)
val tr2 = LocalRelation('a.int, 'd.int, 'e.int).subquery('tr2)

tr1.where('a.attr > 10)
  .join(tr2.where('d.attr < 100), LeftOuter, Some("tr1.a".attr === "tr2.a".attr))

The constraints are not only "a" > 10, "a" is not null. It should also include ("d" is null || "d" < 100).
How was this patch tested?
Three tests in ConstraintPropagationSuite are modified for this PR.

Test build #53059 has started for PR 11691 at commit 1aa8550.

Test build #53059 has finished for PR 11691 at commit 1aa8550.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/53059/
Test FAILed.

Test build #53061 has started for PR 11691 at commit 6379d8b.

Test build #53061 has finished for PR 11691 at commit 6379d8b.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/53061/
Test PASSed.

@viirya I am not sure if we should add these Constraints now. These constraints are intentionally excluded from the original design for simplicity, I think. @marmbrus @sameeragarwal Please correct me if my understanding is wrong.
Could you explain how to use them?

I tend to agree.  We certainly could enumerate many more constraints, but I think that we should limit the scope to those that we know we are going to use later (IsNotNull for example is very useful for lots of things).  Reasoning about disjunctive predicates on the other hand is not super easy, so I'd want to see concrete examples where this information was useful before going down this path.

Yea. I was thinking that we may use these constraints for some filtering and condition reduction. But I found there are some problems to do that with this disjunctive predicates. Let me close this now and if I figure how to use it I can re-open it. Thanks!


Not able to see the image published

Expected behavior
Actual behavior
Information about the Issue
Steps to reproduce the behavior

...
...

No information provided or steps to replicate - Closing 😞


Help with Laravel 5.7

I'm using next code
Landlord :: addTenant ('schema_id', 3);
$ac = \App\Accounts::all();
Return
{
id: 1
schema_id: 1,
name: 'Demo 1'
},
{
id: 2,
schema_id: 2,
name: 'Demo 2'
}
what am I doing wrong?

Does your model use the trait BelongsToTenants?
use Illuminate\Database\Eloquent\Model;
use Torzer\Awesome\Landlord\BelongsToTenants;

class ExampleModel extends Model
{
    use BelongsToTenants;

    public $tenantColumns = ['tenant_id'];
}

Yes, my problem is i have use a Model that extend BaseModel that extend Model, and another namespace.
If a try on \App\MyModel, run perfect, but not from
\CustomModules\MyModule\Models\MyModel
And i not found the error

This should not be a problem, using a custom namespace that is not App.
Could you attach an example so I can test it?


⚠ ClamAV has degraded performance

In b352dae, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 58 ms

Resolved: ClamAV performance has improved in 28f3eef.


⚠ Samsung has degraded performance

In d63a2cc, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2738 ms

Resolved: Samsung performance has improved in 6b4f4e1.


Metrics disabled default update

Please see https://github.com/atom/atom/issues/4966
It appears the community's issue has been closed for near half a year and this issue isn't fixed yet.  Is there a release we should expect this to see in?  Can anyone do anything to help speed things up?
Thanks

That other issue is still open, please direct any conversation there.


[Bug Report] datetimepicker set the icon dislocation after display:inline

Element UI version
2.0.7
OS/Browsers version
chrome62
Vue version
2.5.9
Reproduction Link
https://jsfiddle.net/cpmfbk69/
Steps to reproduce
如图
What is Expected?
图标居中
What is actually happening?
如图

这种情况自己加一条样式吧：https://jsfiddle.net/cpmfbk69/1/


Fix C namespaced module includes

I'll merge as soon as  @Ryanf55 confirms that this solves https://github.com/eProsima/Micro-XRCE-DDS-Gen/issues/52

Tested, looks good to me. It's calling the right function.


[HELM] Document helm installation of Enterprise Server in Lieu of pachctl deploy

AB#72

Note: We need to make sure that the deployment instructions (and fields in the values.yaml) are detailed for each possible targets (Local, on-premises, AWS, GCP, Azure)


Update headers

update files with license header
closes #138

No, I think after talking to the lawyers I understood that it is better to have it in each file.

How about the message about CCPi in a notices file then?


captions are not displayed in browser

Hello,
I can't find a way to display the caption in the browser, this is my code:
var makerjs = require('makerjs');
var square = new makerjs.models.Square(100);
square.caption = {
text: "a square",
anchor: new makerjs.paths.Line([0, 50], [100, 50])
};
var svg = makerjs.exporter.toSVG(square);
document.addEventListener("DOMContentLoaded", () => {
document.getElementById("result").innerHTML = svg;
});

I get this svg:
<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
 <g id="svgGroup" stroke-linecap="round" fill-rule="evenodd" font-size="9pt" stroke="#000" stroke-width="0.25mm" fill="none" style="stroke:#000;stroke-width:0.25mm;fill:none"><path d="M 0 100 L 100 100 L 100 0 L 0 0 L 0 100 Z" vector-effect="non-scaling-stroke"/>
  <g id="captions">
   <text alignment-baseline="middle" text-anchor="middle" transform="rotate(0,50,50)" x="50" y="50">a square</text>
  </g>
 </g>
</svg>

It renders as a standalone svg file:

Can you use your browser's inspector to see if the caption element is present? Perhaps it's hidden by a CSS style.

https://jsfiddle.net/z0k3ewgd/

I tried with a new vue project. The question now is when moving a model with a caption, the caption doesn't move with it, is there a way to fix this?

Oh, that's a bug! I have a fix now...

Fixed in npm version 0.17.6


Fix for anonymised name of deleted account

Questions
Answers

Description?
Fixing the bug that appeared when anonymize customer last name option has been added.

Type?
bug fix

BC breaks?
no

Deprecations?
no

Fixed ticket?
Fixes PrestaShop/Prestashop#22222.

How to test?
Issue describes it enough.

@PierreRambaud
should be ok my repo went crazy after that renaming Readme.md to README.md

@PierreRambaud
should be ok my repo went crazy after that renaming Readme.md to README.md

Unfortunately, it's not. You probably create your branch from your master branch and not the dev one. If you look in this pull request, you add 11 commits and 6 are not related to your pull request.


Replace icon on the Dropdown Component

Discussed in https://github.com/themesberg/flowbite/discussions/213

Originally posted by nadiemedicejose July 13, 2022
Ability to change the arrow icon on Dropdown Components
I would like to replace the icon to make an actions menu with the 3 dots vertical.

Hey @subhadeep1010,
You can change the icon by selecting one of our icons from Flowbite:
https://flowbite.com/icons/
Cheers,
Zoltan


/bin/sh time command not found

Hi,
I am getting the following error when I run Fermi sciencetool likelihood analysis using python on cluster via submitting job on SLURM ( a job scheduler).
"/bin/sh time command not found"
However, when I submit a job for fermipy analysis everything works fine.
Also when I run Fermi sciencetool analysis in terminal on cluster it runs without any error.

It may be that your cluster doesn't have this standard Unix utility on all it's nodes. Time is often also provided by the shell, if you have no source providing it I expect you can install it in your fermitools conda environment by installing it from conda-forge:
conda install -n fermi -c conda-forge time
Assuming your environment is named 'fermi'

Dear Alex,
It is working now.
Thanks for your help.
Regards,
Ashwani Pandey
Post-doctoral Fellow
Indian Institute of Astrophysics (IIA),
II Block, Koramangala,
Bengaluru 560 034, India
Email: @., @.
Mobile: +91-9808530721
Webpage: http://www.iiap.res.in/people/personnel/ashwani.pandey
On Sun, Jul 18, 2021 at 4:44 PM Alex Reustle @.***>
wrote:

It may be that your cluster doesn't have this standard Unix utility on all
it's nodes. Time is often also provided by the shell, if you have no source
providing it I expect you can install it in your fermitools conda
environment by installing it from conda-forge:
conda install -n fermi -c conda-forge time
Assuming your environment is named 'fermi'
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/fermi-lat/Fermitools-conda/issues/108#issuecomment-882040404,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARXVHOT5EBED6YDQVRZDU7DTYKZQ3ANCNFSM5ARIGFZQ
.


Improve api docs

Fix word spelling error.
Remove non-existed param in api doc.

[!IMPORTANT]
Improve API documentation by correcting spelling errors and removing non-existent parameters from docstrings in audio_parser.py, img_parser.py, and graph_enrichment.py.

Docstring Updates:

Remove non-existent parameters chunk_size and model from ingest() in audio_parser.py.
Remove non-existent parameter chunk_size from ingest() in img_parser.py.

Spelling Correction:

Fix spelling error in KGEnrichmentPipeline docstring in graph_enrichment.py ("connnected" to "connected").

This description was created by  for 9fb4e27d85770bc174051e13591707043fe5fd99. It will automatically update as commits are pushed.

Thanks @ZhangShenao, this is a great catch. Thanks for contributing!


Add option to prune single container for the project in docker.mk

This would add option to prune single container in the project as suggested in #371

Sorry, maybe I miss completely the point, but this MR doesn't work for me :
$ docker-compose ps
    Name                   Command               State                      Ports
-----------------------------------------------------------------------------------------------------
myproject_apache      /docker-entrypoint.sh sudo ...   Up      80/tcp
myproject_mailhog     MailHog                          Up      1025/tcp, 8025/tcp
myproject_mariadb     /docker-entrypoint.sh mysqld     Up      3306/tcp
myproject_php         /docker-entrypoint.sh sudo ...   Up      9000/tcp
myproject_portainer   /portainer --no-auth -H un ...   Up      9000/tcp
myproject_rsyslog     docker-entrypoint.sh rsysl ...   Up      514/tcp
myproject_traefik     /traefik -c /dev/null --we ...   Up      <IP_ADDRESS>:8000->80/tcp, <IP_ADDRESS>:8080->8080/tcp
$ make prune mailhog
Removing containers mailhog for myproject...
Stops containers and removes containers, networks, volumes, and images
created by `up`.

By default, the only things removed are:

- Containers for services defined in the Compose file
- Networks defined in the `networks` section of the Compose file
- The default network, if one is used

Networks and volumes defined as `external` are never removed.

Usage: down [options]

Options:
    --rmi type              Remove images. Type must be one of:
                              'all': Remove all images used by any service.
                              'local': Remove only images that don't have a
                              custom tag set by the `image` field.
    -v, --volumes           Remove named volumes declared in the `volumes`
                            section of the Compose file and anonymous volumes
                            attached to containers.
    --remove-orphans        Remove containers for services not defined in the
                            Compose file
    -t, --timeout TIMEOUT   Specify a shutdown timeout in seconds.
                            (default: 10)
docker.mk:40: recipe for target 'prune' failed
make: *** [prune] Error 1

The docker-compose down doesn't seems to take [SERVICE...] as argument :
https://docs.docker.com/compose/reference/down/
Maybe you should replace
@docker-compose down -v $(filter-out $@,$(MAKECMDGOALS))
with
@docker-compose rm -fsv $(filter-out $@,$(MAKECMDGOALS))
https://docs.docker.com/compose/reference/rm/ ?


feat: fd/install UI updates

Description
Applies a series of small UI changes and theme updates.

@jordan-acosta this should be good to go

@jordan-acosta this PR has been rebased and works with the upstream changes.
Note: i modified the method for selecting darkMode so i could debug by toggling the setting in my browser dev tools.


Anyway to run without systemd?

The README.md states "This software only works on linux and requires root privileges to run."
Now, it's true that I'm not on Linux (I'm on NetBSD) but, I'm not sure it will run on my Linux machine (Void musl) either.
According to the error I'm getting, one needs systemd.

Anyway to run airgorah without systemd?

Hello @0323pin,
If the parameter kill_network_manager has been enabled, Airgorah is using systemctl to restart the network manager when exiting the application to ensure network management goes back to normal, It must be done because I am calling airmon-ng check kill after interface selection to avoid busy resource errors and channel hopping by other processes during the execution:
// src/backend/app.rs

pub fn restore_network_manager() -> Result<(), Error> {
    if !get_settings().kill_network_manager {
        return Ok(());
    }

    Command::new("systemctl")
        .args(["restart", "NetworkManager"])
        .output()?;
    Command::new("systemctl")
        .args(["restart", "network-manager"])
        .output()?;
    Command::new("systemctl")
        .args(["restart", "wpa-supplicant"])
        .output()?;

    log::warn!("network manager restored");

    Ok(())
}

What is the equivalent for NetBSD or Void MUSL ?
I also saw on multiple forums that airmon-ng check kill should not be called and instead use the following commands:
sudo ifconfig iface down
sudo iwconfig iface mode monitor
sudo ifconfig iface up

What is your opinion on that ?

@martin-olivier I haven't check on Linux but, on NetBSD we have ifconfig but, not iwconfig.
The equivalent to
sudo ifconfig iface down
sudo iwconfig iface mode monitor
sudo ifconfig iface up

would be,
sudo ifconfig iface down
sudo wiconfig iface -D
sudo ifconfig iface up

Hey @0323pin
I made systemctl optional on the last commit of the following branch:
https://github.com/martin-olivier/airgorah/tree/fix/net-manager
Can you try to re-build from this branch ?

@martin-olivier I need to rebuild a few thing on my NetBSD dev system but, didn't want to leave you another day or two without an answer.
On Void musl, the branch builds fine using Rust-1.75.0 with a minor warning. Leaving it for your reference,
warning: unused import: `icon_text_button::IconTextButton`
 --> src/frontend/widgets/mod.rs:7:9
  |
7 | pub use icon_text_button::IconTextButton;
  |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` on by default

Launching the binary gives could not enable monitor mode on "wlp2s0". Even after killing the interface manually.
For reference on Void, the following commands bring the interface down and up, respectively:
sudo ip link set wlp2s0 down
sudo ip link set wlp2s0 up

Hello @0323pin
Sorry for my late response.
I fixed the warning on the latest commit of the branch fix/net-manager
For your issue, maybe your network card doesn't support monitor mode ?
Can you try to enable it manually with the following command:
sudo airmon-ng start wlp2s0

I should have sometime to try this tomorrow.

@martin-olivier After explicitly telling runit to keep dhcpcd and wpa-supplicant services down, I get the following output:
~> sudo airmon-ng start wlp2s0

PHY	Interface	Driver		Chipset

null
		??????		non-mac80211 device? (report this!)
phy0	wlp2s0		iwlwifi		Intel Corporation Wireless 8260 (rev 3a)
		(mac80211 monitor mode vif enabled for [phy0]wlp2s0 on [phy0]wlp2s0mon)
		(mac80211 station mode vif disabled for [phy0]wlp2s0)

Hello @0323pin,
The error you encounter is raised from src/backend/interface.rs
let enable_monitor_cmd = Command::new("airmon-ng").args(["start", iface]).output()?;

if !enable_monitor_cmd.status.success() {
    return Err(Error::new(&format!(
        "Could not enable monitor mode on \"{}\"",
        iface
    )));
}

It seems that the command sudo airmon-ng start wlp2s0 fails on your machine.
Can you check the return code of this command ?
After that is the wlp2s0mon interface available and working ?

@martin-olivier I'm sorry for the delay, my card does support monitor mode,
Sorry for the delay,
~> sudo sv down /var/service/wpa_supplicant
~> sudo sv down /var/service/dhcpcd
~> sudo airmon-ng start wlp2s0

PHY	Interface	Driver		Chipset

null
		??????		non-mac80211 device? (report this!)
phy0	wlp2s0		iwlwifi		Intel Corporation Wireless 8260 (rev 3a)
		(mac80211 monitor mode vif enabled for [phy0]wlp2s0 on [phy0]wlp2s0mon)
		(mac80211 station mode vif disabled for [phy0]wlp2s0)
~> sudo airmon-ng start wlp2s0mon

PHY	Interface	Driver		Chipset

null
		??????		non-mac80211 device? (report this!)
phy0	wlp2s0mon	iwlwifi		Intel Corporation Wireless 8260 (rev 3a)
		(mac80211 monitor mode already enabled for [phy0]wlp2s0mon on [phy0]10)

monitor mode already enabled.
After this, sudo airodump-ng wlp2s0mon starts listing all wifi networks nearby.

@martin-olivier  I've rebuilt airgorah from the fix-systemd branch, the dev branch still wants to use systemd commands.
Now, launching it still gives could not enable monitor mode on "wlp2s0" but,
~> sudo sv down /var/service/wpa_supplicant
~> sudo sv down /var/service/dhcpcd
~> sudo airgorah

gives

:smiley:
So. it works if I manually kill the running services first. I guess this could be related to runit initializing the services again once they are killed by the commands you are using or, those are actually not killing the relevant services. As already mentioned, I use plain dhcpcd and wpa_supplicant, no fancy controls.

Thank you for your response.
I am gonna implement the support of both runit and systemd for airgorah
Just a question, does it also work if you do :
sudo airmon-ng check kill
sudo airgorah

You may not like the result.
sudo airmon-ng check kill does bring the services down but, sudo airgorah gives me could not enable monitor mode on "wlp2s0".
The problem is, runit has already restarted the services before the second command is issued.
I've checked which services were running.
Maybe looking into the runit documentation could give us some hints. Or, if we could bring a Void dev into the discussion.

@0323pin
I have Implemented the support of both systemctl and sv on the dev branch (diff: https://github.com/martin-olivier/airgorah/commit/0771c7c8bfa497b66f3d2f4b901edf6a0fe3844d)
I am not using anymore airmon-ng check kill, instead, I am using the following list of services that would potentially interfere with the app on the management of wireless cards.
This list is available on the source code of airmon-ng, line 1270:
https://github.com/aircrack-ng/aircrack-ng/blob/master/scripts/airmon-ng.linux
const INTERFERENCE_SERVICES: [&str; 19] = [
    "wpa_action",
    "wpa_supplicant",
    "wpa_cli",
    "dhclient",
    "ifplugd",
    "dhcdbd",
    "dhcpcd",
    "udhcpc",
    "NetworkManager",
    "knetworkmanager",
    "avahi-autoipd",
    "avahi-daemon",
    "wlassistant",
    "wifibox",
    "net_applet",
    "wicd-daemon",
    "wicd-client",
    "iwd",
    "hostapd",
];

I then check for each of the services if it is running.
If it is the case, I properly stop them using systemctl stop X or sv down X depending on the service manager installed on the device.
for service in INTERFERENCE_SERVICES {
    let is_service_running = Command::new(&service_manager.cmd)
        .args([&service_manager.status, service])
        .output()?;

    if is_service_running.status.success() {
        Command::new(&service_manager.cmd)
            .args([&service_manager.stop, service])
            .output()?;

        SERVICES_TO_RESTORE.lock().unwrap().push(service.to_string());

        log::warn!("killed '{}'", service);
    }
}

Also, I am storing inside SERVICES_TO_RESTORE the services I killed to be able to restore them when exiting airgorah.

Can you confirm that sv status X returns exit code 0 if the service is running and a non 0 value if it is not ?

Can you tell me if it works fine on your system using runit ?

Can you tell me if it works fine on your system using runit ?

I can confirm that it's working fine on Void, i.e. with runit.
It should also work on other distros shipping with the runit init, Artix, AntiX, Devuan, ... but, of course I have no testing bed for those.

Can you confirm that sv status X returns exit code 0 if the service is running and a non 0 value if it is not ?

I understand what you are asking but, the output has a slightly different format. See below for the agetty-tty6 service.
[Fri Feb 02 08:54] pin@muslbox ~$ sudo sv status /var/service/*
Password:
run: /var/service/acpid: (pid 989) 283s
run: /var/service/agetty-tty1: (pid 978) 283s
run: /var/service/agetty-tty2: (pid 993) 283s
run: /var/service/agetty-tty3: (pid 990) 283s
run: /var/service/agetty-tty4: (pid 995) 283s
run: /var/service/agetty-tty5: (pid 994) 283s
run: /var/service/agetty-tty6: (pid 988) 283s
run: /var/service/alsa: (pid 979) 283s; run: log: (pid 976) 283s
run: /var/service/dbus: (pid 992) 283s; run: log: (pid 991) 283s
run: /var/service/dhcpcd: (pid 1009) 283s; run: log: (pid 1007) 283s
run: /var/service/nanoklogd: (pid 1006) 283s
run: /var/service/polkitd: (pid 972) 283s
run: /var/service/socklog-unix: (pid 987) 283s; run: log: (pid 986) 283s
run: /var/service/tlp: (pid 980) 283s; run: log: (pid 977) 283s
run: /var/service/udevd: (pid 983) 283s; run: log: (pid 982) 283s
run: /var/service/ufw: (pid 1011) 283s; run: log: (pid 1010) 283s
run: /var/service/uuidd: (pid 985) 283s; run: log: (pid 984) 283s
run: /var/service/wpa_supplicant: (pid 1012) 283s; run: log: (pid 1008) 283s
[Fri Feb 02 08:55] pin@muslbox ~$ sudo sv status /var/service/agetty-tty6
run: /var/service/agetty-tty6: (pid 988) 325s
[Fri Feb 02 08:55] pin@muslbox ~$ sudo sv down /var/service/agetty-tty6
[Fri Feb 02 08:55] pin@muslbox ~$ sudo sv status /var/service/agetty-tty6
down: /var/service/agetty-tty6: 2s, normally up

If you don't mind a suggestion, it would be nice to be able to see when reading the code that sv is related to the use of runit. I think this would become added value if/when, you decide to support other init/supervision suites, e.g. openrc or, dinit.
Thank you so much for supporting runit. Once you have this on a release, it would be nice with a Void package request :smiley:
It will take time but, eventually I would like to get this running on my dev environment, i.e. on NetBSD. There are still other missing pieces there, for example, we don't have macchanger in the package collection.
If you ever plan on expanding on the README, here are the dependencies I had to install on Void to be able to use airgorah:

Build dep.: glib-devel, cairo-devel, pango-devel and gtk4-devel
Runtime dep._: wireshark, macchanger and, of course aircrack-ng

Please feel free to close this for now or, I can open a NetBSD specific issue once I'm there to test.
Thank you!

Hello @0323pin,
Thank you for your feedback :)

If you don't mind a suggestion, it would be nice to be able to see when reading the code that sv is related to the use of runit. I think this would become added value if/when, you decide to support other init/supervision suites, e.g. openrc or, dinit.

I have made it more explicit on the commit fix: made explicit that sv is related to the use of runit on the dev branch.
I will open a separate issue to also support dinit, openrc, and s6

Thank you so much for supporting runit. Once you have this on a release, it would be nice with a Void package request 😃

I will open a separate issue to add on the CI the generation of a void and alpine package on a release

It will take time but, eventually I would like to get this running on my dev environment, i.e. on NetBSD. There are still other missing pieces there, for example, we don't have macchanger in the package collection.

Sure, do not hesitate to open another issue to support NetBSD
BR


Too many open files

assets: 2015-04-29 09:01:09 FATAL - assets: An error occured that could compromise the stability of the crawler. Stopping excution to avoid further issues...
com.norconex.jef4.JEFException: Cannot persist status update for job: assets
at com.norconex.jef4.suite.JobSuite$2.statusUpdated(JobSuite.java:359)
at com.norconex.jef4.status.JobStatusUpdater.setNote(JobStatusUpdater.java:61)
at com.norconex.collector.core.crawler.AbstractCrawler.setProgress(AbstractCrawler.java:430)
at com.norconex.collector.core.crawler.AbstractCrawler.processNextReference(AbstractCrawler.java:374)
at com.norconex.collector.core.crawler.AbstractCrawler$ProcessURLsRunnable.run(AbstractCrawler.java:631)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.FileNotFoundException: /opt/spidex/./progress/latest/status/assets__assets.job (Too many open files)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.(FileOutputStream.java:221)
at java.io.FileOutputStream.(FileOutputStream.java:171)
at com.norconex.jef4.status.FileJobStatusStore.write(FileJobStatusStore.java:150)
at com.norconex.jef4.suite.JobSuite$2.statusUpdated(JobSuite.java:355)
... 7 more

Do you run many threads?  Did this happen when using PDFBox to parse PDFs?  File handlers should be closed properly by the Collector (and Importer) so they should not accumulate over time (unless we missed some).  On the other hand, we did found file handles not closed in PDFBox code. Hence the reason for asking about PDF.
Can you reproduce consistently? If so, can you provide your config, details of your OS, number of docs crawled when this happen, and any pattern you may have seen that triggers this?
If you are running Linux or Unix, you can check if the max number of file handles per user/process is too low with ulimit and increase that maximum with the same tool.

2-4 threads on a Linux machine using PDFBox.
Only seen it once, so doubt I can reproduce.

OK, we'll assume it is PDFBox-specific then and we'll try to either reproduce and resolve or wait for the PDFBox team to stabilize the 2.0.0 version (whichever comes first).

FYI, a new snapshot release is available with an updated PDFBox snapshot which had quite a few fixes made to it. I saw in PDFBox commit history some of the fixes involved closing streams that were not closed before.  So maybe it is worth trying again in case it fixes your error with too many files open.

Problem happened again. With 2 threads and crawling the pdf that led to the problem didn't resolve in any issues. Also an OOM occurred so maybe things get messed up by the OOM?
I have ulimit of "unlimited" btw.

Reporting on latest progress:
The "Too many open files" issue is not linked to the memory error.  It is PDFBox creating way too many tmp files when parsing PDF files, especially large ones.  It is a problem that occurs on Linux/Unix only and can be bypassed for now by using an external parser, like pdftotext.
The PDFBox team are aware of this issue and they seem to be actively working on it: https://issues.apache.org/jira/browse/PDFBOX-2301
We'll keep investigating for a resolution on our end as well.

Good news, I got rid of the "Too many open files" issue in a new Importer snapshot release by now ensuring no temp files are created on disk to preserve memory.  This means entire PDFs and all their parsed resources will be loaded in memory.   To make sure no file gets created at all, you have to make sure to set high enough values in your <importer> configuration for these settings (number of bytes):
<maxFileCacheSize></maxFileCacheSize>
<maxFilePoolCacheSize></maxFilePoolCacheSize>

With large enough values, you should notice a huge speed difference.
The downside is this can bring back the OOM Error if you process several large PDFs at once (when parsed, a PDF takes much more space in memory than its file representation on disk).   Increase the JVM heap size if such problem occurs.
Also, even if you allocated enough heap to support huge files, when such a file is encountered, you will still see high CPU usage and it may take quite a while to process it.   The PDFBox library does not seem optimized to extract text from large files.
I will keep digging for a more elegant solution (once that both is fast, does not create tons of files, and is memory conscious).  In the meantime though, this solution should get you going.
Make sure to copy all libraries from this new importer snapshot and remove duplicate libs.

I crawled with pdftotext and PDFBox and both got stuck on a document for a long time (hours). Pdftotext showed a better usage of memory (1Gb of 1,2Gb) and only started a few threads compared to the tens of thousands by PDFBox, but threw an OOM. I am uploading it to Dropbox.

The latest snapshot version of the importer includes an updated version PDFBox that creates only 1 scratch file per PDFs (instead of creating thousands when processing large PDFs).  So the Importer was changed to use scratch files again, instead of storing it all in memory.  This should resolve the "too many open files" problem and at the same time, should prevent OOM Errors (tracked here: https://github.com/Norconex/importer/issues/9).

Norconex HTTP Collector 2.2.0 official release is out. It includes this fix. You can download it here.


flask.flash() not working

whenever I try using flash, which everything says should display a message, I get nothing.
@app.route('/')
def home():
      flash('hello')

the above does not work. i have been using Flask for a while but never used this feature.
I checked stack exchange for answers already. Sorry to open an issue.

get_flashed_messages() retrieves the messages, as described in the docs: http://flask.pocoo.org/docs/0.12/patterns/flashing/ and http://flask.pocoo.org/docs/0.12/api/#flask.flash


adding certified logo

Where should I put the logo? Should we also write a little blurb about it?

From my side it's ok if you just commit the PNG file, and I update the README. I have some text in mind.


Documentation doesn't match release

From the readme, I can handle Redis connection error as follows:
adapter.pubClient.on('error', function(){});
adapter.subClient.on('error', function(){});

But I couldn't do it at all. Turns out the latest release version (0.1.4) doesn't implement that. Can you release a version that matches the documentation? If not, I think the documentation should be updated or at least made clear to avoid people from pulling their hair. Thanks!

+1

Actually, it didn't match master either. I just fixed that.


Loading Boards & Users

Hi,
I have this message just after install: Loading Boards and Loading Users.
Current Actions work.
Could you help me ?

I have the same problem... :(

Sounds like something is missing in the setup. Tale a lok at #3 and #7 and see if anything there helps.
I'm going to close this assuming those help. If not, let me know and I'll re-open.


zxp installed into wrong folder

The zxp might end up installing Draw2Script into the wrong folder on Windows.
Needs investigation.

Extension Manager is discontinued. The last release will only work with Adobe CC 2014. When you own Adobe CC 2015 you must install Draw2Script manually. See Announcement: Extension Manager End of Life Notification https://s3.amazonaws.com/cssdk/2015-05-22_TechPartners.html


ipv4 configuration missing some data

why doesnt the configuration in the fixed ip config include a gateway/router field? The DHCP config could also include optional DNS for forcing a DNS configuration

Nevermind I just noticed where the gateway field is, what about the DNS part?

why doesnt the configuration in the fixed ip config include a gateway/router field? The DHCP config could also include optional DNS for forcing a DNS configuration

Sorry for following up late. Can the DHCP config really include DNS info? I thought, with DHCP, it is the DHCP server which is pushing back to the client DNS info?
If you believe otherwise, I would accept a PR where DNS info is included in the DHCP client config!

You can usually override DNS configuration without overriding the rest of the stuff the server returns to you.

Here.


What is the current supported tinkerpop version?

As per this article, the current TinkerPop is being supported in v3.2? What is the timeline to support tinkerpop 3.4.2 version in Azure Cosmos Graph DB?

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

ID: 0374b015-1139-9df8-6c96-a8657a088748
Version Independent ID: 2e18d44d-de3c-eee5-7932-0a5a967e9b17
Content: Azure Cosmos DB Gremlin support
Content Source: articles/cosmos-db/gremlin-support.md
Service: cosmos-db
Sub-service: cosmosdb-graph
GitHub Login: @LuisBosquez
Microsoft Alias: lbosq

@amigup Thanks for the feedback. As such there is no timeline defined for tinkerpop 3.4.2 version in Azure Cosmos Graph DB.
But you can refer Azure Updates page for the latest updates.
Also, you can post your requirement at feedback page. Azure Cosmos Db team moniters this page closely and would take up your requirement.
Hope this helps.

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


Avoid rerendering flame graph if size hasn't changed

fg.cellHeight() and fg.width() immediately rerender the graph, so
doing it unconditionally is quite expensive.
With this patch we rerender far less frequently, and an update just
causes 1 render instead of 3(!). If the size changed, we still do 2
renders, because of how d3-fg works … maybe we could use
requestAnimationFrame in d3-fg to batch updates, but that would
likely be a breaking change, and we rely on filter updates etc. being
processed synchronously in Flame.

Looking good 👍


Last update to Dashboard render configuration pane blank

Hi,
I have used these samples with great success in the past, but after the last update of the Dashboard app (windows) both my own widgets and the samples in this repo are not functioning correctly. I'm not seeing the configuration page of any widgets, just a blank page. The debug console does not provide any information either. Is this behaviour known? It may be a user error of course. Thanks.

Hi @steffenph - did you see this issue only for configuration of the widget or everything about the widget? Does the widget itself load correctly?

It seems like this issue is both for the configuration and for the display of the widget. Using the URLs from the debug console directly in a web browser shows the page. More importantly, is this isolated to my dashboard install? Or will the new update break all the widgets in this repo for everyone.
Any tips for how to troubleshoot this?

hmm, this looks like could possibly related to a known issue that we have a KB article. Do you happen to have dual graphic cards in your computer? If you do, please refer to the solution described at http://support.esri.com/technical-article/000012611

Thanks a lot, @jaychen15! Reconfiguring my dual graphics card setup did the trick. All of the custom widgets now work as expected.
PS: Looking forward to the new version of Operations Dashboard:)


Make Copyright Year Dynamic in Footer

Description
The copyright year is currently hardcoded in the footer section of the website. This requires manual updates each year, which is not ideal for maintaining the codebase.
Steps to Reproduce
Navigate to the footer of any page.
Observe that the copyright year is hardcoded (e.g., "© 2024").
Expected Behavior
The copyright year should dynamically display the current year
Thank you for considering this enhancement
Actual Behavior
The copyright year in the footer is hardcoded as a fixed value (e.g., "© 2024"). As a result, the year does not automatically update to the upcoming year, which requires manual intervention to change it annually
Screenshots

Additional Information
This issue can be easily resolved by implementing a small JavaScript code to dynamically generate the current year.
I can provide a pull request with the solution if needed.
Please assign me the issue with gssoc-ext, level, and hactoctober fest label
What browser are you seeing the problem on?

[ ] Firefox
[X] Chrome
[ ] Safari
[ ] Microsoft Edge

Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I want to work on this issue. (optional)

@we-nita make sure to complete this within a day.

@we-nita before creating the Pull Request make sure to sync the repository, as i have updated the files and clustered the files in one way.


Schema builder for BigQuery Table

The implementation of this addition borrows heavily from the recently merged PR for BigQuery access control.
[closes #217]

:metal:


Usage without {{block-name}}?

Hey! Thanks for great addon, it's exactly what I was looking for. :)
I wonder if there is a way to use {{bem}} helper without {{block-name}}? I'd like to use it for some globally defined block names, e.g. layout parts ("column column--size-4"):
{{block-name "my-component"}}

  ... some content

This is what I get:

  ... some content

What I'd like to get:

  ... some content

I see that it collides with the default syntax - there is no way to tell if "column" is an Element or Block. So maybe we could add a new helper ({{g-bem "column" size=4}} like global bem) or allow passing empty Block name ({{bem "" "column" size=4}})?

Hi @jembezmamy!
You can achieve what you want by using the bem helper in 2 different contexts:
You define my-component.hbs and specify ...attributes on the root div:
{{block-name "my-component"}}

  ... some content

And use the MyComponent in the Column component like this:
{{block-name "column"}}

<MyComponent class={{bem size=4}}>
  ... some content
</MyComponent>

Will it work for you?

Thanks @andreyfel for a prompt answer. :)
Well, it may work in some cases and in some other it may not. For example I have globally defined button classes like: "primary-button primary-button--color-red". I use them inside my components and it would be a bit cumbersome to create a separate component for each button.
Actually I solved that in my project by just creating g-bem helper that simply extends bem helper. It doesn't get transformed by the AST plugin and that way I can use any block name regardless of the current context. :)
So for me the issue is solved. Maybe we could close this discussion until someone else brings it up again.

I think ideologically it is better to extract the PrimaryButton component and have these styles defined in the component styles file. You will be able to manage the modifiers by passing arguments to the component: <PrimaryButton colorRed={{true}}> and encapsulate the styling part within the component itself.
{{block-name "primary-button"}}

<button class={{bem color-red=@colorRed}}>

This is how we manage such things in our applications.


move choose_element_0index to operator

Description
fix https://github.com/apache/incubator-mxnet/issues/7853
move legacy choose_element_0index as an alias of pick operator.
It's still used in Scala, CPP package and DQN example.
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[x] Changes are complete (i.e. I finished coding on this PR)
[x] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[x] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
Check the API doc at http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
[x] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Comments

If this change is a backward incompatible change, why must this change be made.
Interesting edge cases to note here

cc @apeforest
@mxnet-label-bot add [Operator, pr-awaiting-review]

Will the document of choose_element_0index be the same as that of pick?
I think it is better to abandon choose_element_0index, and let other related projects use pick operator.


Latest Splix version breaks printing on Samsung ML-2510

On the current master branch`, printing with Splix + Cups is broken, apparently because of a version (string?) mismatch:
Samsung_ML-2510_Series-288  	Unknown  	Withheld  	83k  	Unknown  	stopped
"SpliX Invalid PPD file version: 2.0.0 but the PPD file is designed for SpliX V. SpliX V. 2.0.0"

Fixed temporarily by reverting the recent version update in e338d6a0fc1293c1d5b63d9e38e690526fc7d1b1.

Cc: @bendlas

Dang, I had hoped they wouldn't break older printers ... sigh. There are newer models, like the SCX-4500, only supported by current svn.
I guess neither of us is interested in diving into the code base to fix the ML-2510, so I propose reintroducing the svn version separately for the time being.

I suppose we could report this issue upstream and ask for help. In the mean time, I don't think we should keep this issue open here.

Created an upstream ticket: https://sourceforge.net/p/splix/bugs/93/

Very cool. I'd like to thank you for the time and effort you've put into updating Splix!

@peti could you try something for me: With the newer version recreate your printer, please?
I was just about to dig deeper and I noticed, that the file version changed indeed, from your version SpliX V. 2.0.0 -> 2.0.0 in the newer version. In the update notes for splix, it says
Installation:
-------------

  +=======================================================================+
  |                  !!!      IMPORTANT NOTICE      !!!                   |
  +=======================================================================+
  |      If you are upgrading your current version, you MUST delete       |
  |     your printer in the CUPS interface and install it again. This     |
  |   operation MUST be done since CUPS make a copy of the PPD file and   |
  |                this file is modified between versions.                |
  +=======================================================================+

@peti in case this works, that part of cups really should be managed by nixos. I think that would boil down to generating /etc/cups/ppd. See https://bugs.launchpad.net/ubuntu/+source/cups/+bug/932882 http://linux.die.net/man/8/cups-genppdupdate

@peti btw, if you could verify, that gutenprint's cups-genppdupdates can fix this case (and then presumably others as well) without recreating the printer, then we could use that as a nixos activation hook for cups, to save others the trouble.

thanks!


[feat] TouchID support for MacOS

Describe the problem
It would be nice to utilize TouchID on Mac in applications built with Tauri.
Describe the solution you'd like
Having an API for prompting users to authenticate with TouchID.
Alternatives considered
No response
Additional context
No response

Would be a very nice addition to Tauri!


stream.write craps out after 140 writes

Getting this exception:
events.js:72
throw er; // Unhandled 'error' event
^
Error: socket hang up
at createHangUpError (http.js:1476:15)
at Socket.socketOnEnd [as onend] (http.js:1572:23)
at Socket.g (events.js:180:16)
at Socket.emit (events.js:117:20)
at _stream_readable.js:943:16
at process._tickCallback (node.js:419:13)
Tried putting a try-catch block around stream.write but can't catch this.  Not sure how to debug.  Help?

works beautifully up to that point, however...

Oh no! Sorry about that. Can you attach a gist with your client code?

Here's my code: https://gist.github.com/jmbldwn/fafd9888b9a384bbef4b
I've narrowed it down a bit.  If I uncomment lines 25-27 to create the stream (and comment out line 28) it will crash after a while even if I don't send data.

@jmbldwn  Thanks!
Alright, so I'm not sure where the error is coming from your script. Are you able to get the simple example to stream more than 140 writes?
https://gist.github.com/alexander-daniel/919c58bacf53585b212d
(replace key and tokens with yours)
It's a bit hard for me to debug your case without the other modules that you've written, but I understand the repo might be private. If you want to share a bit more with me you can e-mail me<EMAIL_ADDRESS>I'll keep trying on my end to replicate as close as I can and see whats up.

The problem with debugging this is it relies on a particular piece of equipment (a CS200 light/color meter) attached via USB (connected using node-usb), and another piece of equipment attached via a serial port (connected using node-serial).
Is there something I can do to my local module installation to spit out useful data that might enlighten us?
The thing that’s odd is that I only have to create the stream object.  Even if I don’t write to it, I get this crash.  No stream object, no crash.  Delightful.
On Jan 8, 2015, at 8:21 AM, Alejandro <notifications<EMAIL_ADDRESS>wrote:
@jmbldwnhttps://github.com/jmbldwn Thanks!
Alright, so I'm not sure where the error is coming from your script. Are you able to get the simple example to stream more than 140 writes?
https://gist.github.com/alexander-daniel/919c58bacf53585b212d
(replace key and tokens with yours)
It's a bit hard for me to debug your case without the other modules that you've written, but I understand the repo might be private. If you want to share a bit more with me you can e-mail me @ alex.vados<EMAIL_ADDRESS>I'll keep trying on my end to replicate as close as I can and see whats up.
—
Reply to this email directly or view it on GitHubhttps://github.com/plotly/plotly-nodejs/issues/14#issuecomment-69203808.

I can't seem to replicate this without having the hardware..

I went back to just plotting at the end of capture for the time being.
I’m back to streaming on some new tests I’m making and not running into trouble yet.  I could be a volume issue?  I was pushing lots of points before.
I do find the API for streaming a little cumbersome.  I have to provision the tokens on the service, so to avoid having to splatter them everywhere I am creating a node.js module to encapsulate things.
It would be nice if I could assign a string handle to a stream, so I can have different apps pushing points for a single plot without knowing the tokens.
-Jim
On Jan 16, 2015, at 11:45 AM, Alejandro <notifications<EMAIL_ADDRESS>wrote:
I can't seem to replicate this without having the hardware..
—
Reply to this email directly or view it on GitHubhttps://github.com/plotly/plotly-nodejs/issues/14#issuecomment-70310603.

It may also be that the http.stream returned by plotly.stream gets tired.  In my new code I’m only using it for one point at a time and no troubles so far.
On Jan 16, 2015, at 6:34 PM, Jim Baldwin <jim<EMAIL_ADDRESS>wrote:
I went back to just plotting at the end of capture for the time being.
I’m back to streaming on some new tests I’m making and not running into trouble yet.  I could be a volume issue?  I was pushing lots of points before.
I do find the API for streaming a little cumbersome.  I have to provision the tokens on the service, so to avoid having to splatter them everywhere I am creating a node.js module to encapsulate things.
It would be nice if I could assign a string handle to a stream, so I can have different apps pushing points for a single plot without knowing the tokens.
-Jim
On Jan 16, 2015, at 11:45 AM, Alejandro <notifications<EMAIL_ADDRESS>wrote:
I can't seem to replicate this without having the hardware..
—
Reply to this email directly or view it on GitHubhttps://github.com/plotly/plotly-nodejs/issues/14#issuecomment-70310603.

Glad to hear streaming is OK for you now.
The volume of plotted points shouldn't matter, unless you're plotting > 200,000 or so. The streaming servers accept new points every 50ms, (if you send too quickly, we just throttle)
If you have any more issues, please open an issue, but I'm going to close this one, as I'm unable to recreate the original issue.


httpCall -> response body ?

Can I get the response body for httpCall callback ?
    this.ctx.httpCall("service2", headers, new ArrayBuffer(0), [], 30000, this.ctx, function (origin_context: Context, headers: u32, body_size: usize, trailers: u32){

    // some logic here

      continue_request();
    });

Have you tried the following?
              get_buffer_bytes(BufferTypeValues.HttpCallResponseBody, 0, body_size as u32)

Have you tried the following?
              get_buffer_bytes(BufferTypeValues.HttpCallResponseBody, 0, body_size as u32)

hi all, could you please help me
I cannot import a get_buffer_bytes function
Error: import get_buffer_bytes
Module '"../node_modules/@solo-io/proxy-runtime/assembly"' has no exported member 'get_buffer_bytes'.ts(2305)
Version using:  "@solo-io/proxy-runtime": "^0.1.8", "@assemblyscript/loader": "^0.9.4",


✏ Fix link to FastAPI and Friends newsletter

Added newsletter.md, as it is in FastAPI.
Since uBlock origin causes the form not to load, I also added an information box:

Please note I haven't used mkdocs before, and this INFO message is printed when I serve them:
INFO     -  The following pages exist in the docs directory, but are not included in the "nav" configuration:
              - newsletter.md

Which seems fine by me, but thought I'd let you know if there is a way to silence this.

2022-11-04 Edit by @tiangolo: Update link to point to FastAPI and Friends newsletter.

https://github.com/tiangolo/asyncer/blob/main/CONTRIBUTING.md
This link also does not lead to anything.

Thanks @JonasKs! :coffee:
I updated it to point to the FastAPI and Friends newsletter page on the FastAPI docs. :nerd_face:


edit form relationship selection dropdown: previously selected options still appear as selectable options

v3.6.1
In the edit form, when interacting with a relationship field, it would be ideal if once an entity has been selected that it would no longer appear in the drop down of available options.

Fixed in v4.1.0


(#370) Rename Chocolatey's Azure Marketplace offer

Description Of Changes
This PR reflects the updated name for Chocolatey's Azure Marketplace offer to "Chocolatey for Business Azure Environment" and drops the use of the "QDE" from the name.
It also moves this section of documentation out from under the "Quick Deployment Environment (QDE)" parent path.
Motivation and Context
The official name for the offer/environment has changed and needs to be reflected wherever it is referenced.
Testing
This has been tested by previewing the site after changes have been made. I've verified that all changes render properly, and updated xref's work.

Redirects from old URLs have been tested using the preview too.
Change Types Made

[x] Bug fix (non-breaking change)
[ ] Feature / Enhancement (non-breaking change)
[ ] Breaking change (fix or feature that could cause existing functionality to change)
[ ] PowerShell code changes.

Related Issue
Fixes #370
Change Checklist

[ ] Requires a change to the documentation
[x] Documentation has been updated
[ ] Tests to cover my changes, have been added
[x] All new and existing tests passed.
[ ] PowerShell v2 compatibility checked.

@Windos on the whole, this looks good to me.  It will need to be rebased on the current head of master before it can be merged.
I have left one comment/question, and it looks like there is an open question to @pauby and @JPRuskin, does this need to be answered before moving forward?
Just to confirm one thing as well.  Was it intentional to put this new node here:

Before the open source offerings?  Just wanted to validate this.

@pauby these changes all look good to me.  Just as a final sanity check though, based on previous conversations, can you confirm that this is the menu structure that you want:

This isn't the structure we should have.
I think this should go where QDE is, ie. near the bottom. We can then move QDE inside that menu structure at some point. I think it also makes sense for the QSG bits to go in there too.

Thanks @windos, for updating that. I'm happy.

@ryanrichter94 said...
You'll wanna update the ch0.co short link when this gets deployed.

That shouldn't need to happen immediately, as the necessary redirects should be in place within this PR.  i.e. any change in structure uses a RedirectFrom to ensure that folks get to the right place.
Updating the shortlink to point to the actual location makes sense to do, but it shouldn't be a requirement before deployment.

@Windos thanks for getting this updated!


test: re-enable rotate tests

disabled because they use too much memory to compile in the current draft of the new Go compiler.
reenable once the memory issues are fixed.

Unsurprisingly, memory profiling shows that gc.Node and gc.Prog dominate memory usage here. I have several unmailed work-in-progress CLs to shrink gc.Node.


Job availability page should be reworded

currently the options are "full time" "part time" and "both".  it may be more correct to say "either" or reword the question so that "both" makes more sense.

Closed with #14


qa_crowbarsetup: Make manila with generic driver work with scenarios

This requires the scenarios to be updated with the right config values
and placeholders.

https://ci.suse.de/job/openstack-mkcloud/15005/ is the build without batch, and a build with batch https://ci.suse.de/job/openstack-mkcloud/15006/ (manually triggered).

+1 code looks good, though I wonder if we could re-use the mechanism that replaces @@controller@@ with the actual node name.

+1

I wonder if we could re-use the mechanism that replaces @@controller@@ with the actual node name.

So I specifically avoided using @@ to not create confusion with that mechanism. The @@ magic is working in crowbar_batch directly (it's expanding aliases); I'm not really sure how that would work for this. Do you have an idea how?


Tweaked new Conv and ConvTranspose padding options

Tagging @ChenAo-Phys as I think I've bumped into a bug.
I've added an assert statement that when padding='SAME'/'SAME_LOWER', the input and output spatial dimensions should be the same. This causes a couple of tests to fail. It looks like the combination of padding='SAME'/'SAME_LOWER' with padding_mode != 'ZEROS' and stride > 1 does not produce the right amount of padding.
This PR:

Adds these now-failing assert statements.
Refactors some docstrings (primarily so that they render correctly in the online docs).
Switches the order of jnp.expand_dims(x, axis=0) and self._nonzero_pad, so that the unsqueezing/squeezing happens directly either side of the convolution. This is just for cleaner readability, really. I've checked that this is unrelated to the failing asserts.

Do you think you can take a look at what it would take to fix this up? (By submitting a PR against this branch.) Else I'm afraid we may have to revert #658 for the time being.

OK, I will check it

I think my code is correct. There are some problems with the assertion.

For Conv the assertion is assert tuple(x.shape[1:]) == tuple(input_shape). However, the input and output sizes are not always the same for "SAME" padding (sounds wierd). It's actually defined as
output_shape = ceil(input_shape / stride).
So this assertion is correct only if stride = 1. The correct assertion should be
assert all(-(i // -s) == o for i, o, s in zip(input_shape, x.shape[1:], self.stride))
(here -(i // -s) is ceil division)

For ConvTranspose the assertion is assert x.shape[1:] == input_shape. One mistake here is that x.shape is a tuple while input_shape is a list, so they are always unequal. The previous problem in Conv still exists. In ConvTranspose it should be
output_shape = (input_shape + output_padding) / stride.
So the correct assertion should be
assert all((i + a) // s == o for i, o, s, a in zip(x.shape[1:], input_shape, self.stride, self.output_padding))

I have tested the new assertions in pytest and it works well. You could also check our previous discussion #638 for details, although I have to admit I didn't make it fully clear there.

No problem. Thanks for polishing my codes :D

_, *input_shape = x.shape was not deleted

Good spot -- I've just pushed a commit to the dev branch to remove these.
Thank you for being a second pair of eyes!


Object moved to here.

Hi  I'm trying to use it and there an issue:

Firstly, I modified this code snippet cuz everytime it returns None cuz "fid"\s*:\s*"([^"]+)" never matches anything in my case. But I found fid as a part of some link, so it seems it suits:

All requests, except last one, performs well, they return everything we need except MUID.
coo5.get("MUID") is None. Is it important parameter?

tbh, I don't understand this, why you rewriting some keys of headersx and then anyway use headers variable in request? But I replaced headersx with headers and vise versa - same result

Nevertheless, diff between them is in "hpgid": "200650" (headersx) and "hpgid": "200640" (headers) .
So, the last request is 302 status code
I'm using proxies with no auth in format ip:port (i'm setting up them on my own on ec2 aws, so they have to be ok), but I whitelisted my ip (obviously) and ips of capsolver (which i'm using). they are there: https://docs.capsolver.com/guide/api-how-to-use-proxy.html
i'll be glad for response

Hello glad to see you here ,
the tool is kinda patched , and im currently selling the updated version . i can share screen to see its actually works , or wait until my repo reach a good amount of stars then i will update for free.
Contact me on discord if you need anything
thanks.


Prepare v0.55.0

Awaiting one more bugfix.

Google Cloud PHP v0.55.0
google/cloud-datastore v1.3.1

upsert() and upsertBatch() methods on Google\Cloud\Datastore\DatastoreClient and Google\Cloud\Datastore\Transaction will now allocate IDs to any entities which provide partial keys. (#905)

google/cloud-firestore v0.5.0

Google\Cloud\Firestore\WriteBatch methods which previously accepted only a document name now accept a name or instance of Google\Cloud\Firestore\DocumentReference. (#902)

google/cloud-pubsub v1.0.0

There are no code changes since our last release, but we are proud to now announce our support of Google Cloud Pub/Sub at a GA level. This means that we do not expect to introduce any breaking changes and that we believe the library is ready for production use. For more information on our versioning please see here.

https://github.com/GoogleCloudPlatform/google-cloud-php/issues/906 is going to require a little more digging, so I don't think we should hold the release any longer.


stepout should not be able to crash the server

Delve Debugger OSX
Version: 1.0.0
Build: $Id: c98a142125d0b17bb11ec0513bde346229b5f533
go version go1.10.2 darwin/amd64
package main

import (
	"fmt"
)

func main() {
	x := 1
	fmt.Println("Hello 1", x)
	fmt.Println("Hello 2", x)
}

When doing stepout immediately as frist command the service crashes
$ dlv debug
Type 'help' for list of commands.
(dlv) stepout
Command failed: invalid error <nil>
(dlv) r
Command failed: connection is shut down
(dlv)

It should just run the program like any other command instead

Here I would expect to kill the program instead of running it.

Duplicate of #1251


Print syntactic dependencies in RAPShell

I would love to see the syntactic dependencies printed in the RAPShell (though I know it's available via the web interface). After some digging, I found that the reason dependencies aren't currently displayed is that this line is commented out: https://github.com/clulab/eidos/blob/09e717b6a042e75c9d4544eb29567c4ac76e0a68/src/main/scala/utils/DisplayUtils.scala#L17
Shall I uncomment it in a PR, or is there a good reason not to do that? Thanks!

@kwalcock, @bsharpataz?

I should look through the file history and see why it was commented out.
There may have been a good reason for some need unknown to me.
On Thu, Feb 1, 2018 at 2:02 PM, Mihai Surdeanu<EMAIL_ADDRESS>wrote:

@kwalcock https://github.com/kwalcock, @bsharpataz
https://github.com/bsharpataz?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/clulab/eidos/issues/51#issuecomment-362400619, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AIRxOuaw6GQyrMT-vRXje5G5O8sFEsgmks5tQiZugaJpZM4R2N3y
.

This line was commented out since the beginning, when it was copied over from wmseed.  It is only called from demoWMseed in a file "Created by ajaynagesh on 5/31/17".  Does that output matter to someone?

I was not the original writer of the method, but I think that they are
likely commented out bc (a) they're looooong, and clog the output quickly
and (b) often with long sentences they usually end up truncated anyway
(though perhaps not the way it's called?)
I am pretty indifferent either way -- maybe we can add a user option at the
loading of the RAPShell where user can decide which way to go? or is that
overly complicated?  If we change it there, it will show up in the webapp
too, and i'd rather not have it all there, unless maybe @kwalcock can be
awesome and add a javascript collaps-y window thing with the info?
On Thu, Feb 1, 2018 at 3:51 PM, Keith Alcock<EMAIL_ADDRESS>wrote:

Assigned #51 https://github.com/clulab/eidos/issues/51 to @bsharpataz
https://github.com/bsharpataz.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/clulab/eidos/issues/51#event-1454059755, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AFInif9U8SwJOcO1pBhbV4DRylMhUSt8ks5tQj_wgaJpZM4R2N3y
.

Well, a fairly simple textedit control like the one I'm typing in is resizeable and scrollable and could prevent some output from getting too long.
In general, no toString() will make everyone happy.  Perhaps people can customize locally?  I would just perform inspection in the debugger.

as a compromise, perhaps you can add a simple print in RAPshell (as that's
largely intended to be an "internal" debug tool) rather than uncommenting
the line in displayMentions which is called prolifically throughout the
repo...?
On Thu, Feb 1, 2018 at 4:10 PM, Keith Alcock<EMAIL_ADDRESS>wrote:

Well, a fairly simple textedit control like the one I'm typing in is
resizeable and scrollable and could prevent some output from getting too
long.
In general, no toString() will make everyone happy. Perhaps people can
customize locally? I would just perform inspection in the debugger.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/clulab/eidos/issues/51#issuecomment-362432977, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AFIniSawVCqzpcJWS84Ph5F4s0KDBo8zks5tQkRlgaJpZM4R2N3y
.

Sounds good if that suits bgyori.  I'll figure out how to add it to the RAPshell only.

Great!


Add: State of Docker Images on Docker Hub

Adding a reference in the useful resources part of the awesome list for a report I published last week the reviews the state of security in docker images on docker hub, as part of a larger open source security report for 2019.

@veggiemonk yes, there we go!

thanks Julien!