undefined method `configuration' for RSpec::Mocks:Module (NoMethodError) after upgrading to 0.0.3

Hey,
I've upgraded from 0.0.2 to 0.0.3 and started having this error when running spec suite:
/Users/roody/.rvm/gems/ruby-2.3.1@profinda_saas/gems/rspec-rails-3.4.2/lib/rspec/rails/active_record.rb:11:in `block in initialize_activerecord_configuration': undefined method `configuration' for RSpec::Mocks:Module (NoMethodError)
	from /Users/roody/.rvm/gems/ruby-2.3.1@profinda_saas/gems/rspec-core-3.4.4/lib/rspec/core/example.rb:425:in `instance_exec'
	from /Users/roody/.rvm/gems/ruby-2.3.1@profinda_saas/gems/rspec-core-3.4.4/lib/rspec/core/example.rb:425:in `instance_exec'
	from /Users/roody/.rvm/gems/ruby-2.3.1@profinda_saas/gems/rspec-core-3.4.4/lib/rspec/core/hooks.rb:357:in `run'
	from /Users/roody/.rvm/gems/ruby-2.3.1@profinda_saas/gems/rspec-core-3.4.4/lib/rspec/core/configuration.rb:1724:in `block in run_hooks_with'
	from /Users/roody/.rvm/gems/ruby-2.3.1@profinda_saas/gems/rspec-core-3.4.4/lib/rspec/core/configuration.rb:1724:in `each'
	from /Users/roody/.rvm/gems/ruby-2.3.1@profinda_saas/gems/rspec-core-3.4.4/lib/rspec/core/configuration.rb:1724:in `run_hooks_with'
	from /Users/roody/.rvm/gems/ruby-2.3.1@profinda_saas/gems/rspec-core-3.4.4/lib/rspec/core/configuration.rb:1679:in `with_suite_hooks'
	from /Users/roody/.rvm/gems/ruby-2.3.1@profinda_saas/gems/rspec-core-3.4.4/lib/rspec/core/runner.rb:118:in `block in run_specs'
	from /Users/roody/.rvm/gems/ruby-2.3.1@profinda_saas/gems/rspec-core-3.4.4/lib/rspec/core/reporter.rb:77:in `report'
	from /Users/roody/.rvm/gems/ruby-2.3.1@profinda_saas/gems/rspec-core-3.4.4/lib/rspec/core/runner.rb:117:in `run_specs'
	from /Users/roody/.rvm/gems/ruby-2.3.1@profinda_saas/gems/rspec-core-3.4.4/lib/rspec/core/runner.rb:93:in `run'
	from /Users/roody/.rvm/gems/ruby-2.3.1@profinda_saas/gems/rspec-core-3.4.4/lib/rspec/core/runner.rb:78:in `run'
	from /Users/roody/.rvm/gems/ruby-2.3.1@profinda_saas/gems/rspec-core-3.4.4/lib/rspec/core/runner.rb:45:in `invoke'
	from /Users/roody/.rvm/gems/ruby-2.3.1@profinda_saas/gems/rspec-core-3.4.4/exe/rspec:4:in `<top (required)>'
	from /Users/roody/.rvm/gems/ruby-2.3.1@profinda_saas/bin/rspec:23:in `load'
	from /Users/roody/.rvm/gems/ruby-2.3.1@profinda_saas/bin/rspec:23:in `<main>'
	from /Users/roody/.rvm/gems/ruby-2.3.1@profinda_saas/bin/ruby_executable_hooks:15:in `eval'
	from /Users/roody/.rvm/gems/ruby-2.3.1@profinda_saas/bin/ruby_executable_hooks:15:in `<main>'

We're using mocha as the mocking backed for our system in spec_helper.rb:
config.mock_with :mocha

Has anyone come across that?

I don't see wisper in the stacktrace.

Wisper isn't in the stacktrace, but this is indeed triggered by wisper-rspec. In rspec-rails, if it detects that the Rspec::Mocks constant is present, it will attempt to configure it (see https://github.com/rspec/rspec-rails/blob/master/lib/rspec/rails/active_record.rb#L11-L12). Because wisper-rspec loads rspec/mocks/argument_list_matcher, we end up in the strange state where the constant does exist, but the rest of rspec-mocks (including the Rspec::Mocks.configuration method) have not been loaded, and so we get the error above.

@k-rudy one solution is to explicitly require 'rspec/mocks' in your app; that should at least ensure that rspec-rails can continue loading.

@lazyatom Thanks for figuring that out.
As far I can understand the problem isn't really directly related to Wisper, it is in assumptions in rspec-rails. There is nothing we can do, other than not use argument_list_matchers, to solve this?  And we could only be doing that to make another gem work.
If any can see how this could be fixed please reopen the issue.

I appreciate your perspective, and would agree in the abstract that it's an assumption within spec-rails that triggers the error... but that said, it's going to be much easier to change things in this library than convince RSpec that they should let people load arbitrary bits of their libraries without them making any assumptions. Feel free to chip in here: https://github.com/rspec/rspec-rails/pull/1856
I think the pragmatic fix here would be for wisper-rspec to acknowledge the behaviour of rspec-rails and sidestep the problem; adding require "rspec/mocks" instead of the deep require to rspec/mocks/argument_list_matches would prevent anyone from seeing this exception.

FYI, rspec just merged my change, so this is all resolved now.

@lazyatom Nice one :+1:


Gruntz

Add Gruntz! to Supported games.

But there is one trouble that I haven't solved yet. Mouse glitches - sometimes happens map-camera-position changing (immediately, without scrolling) to random position. Nothing in logs. Currently I have no idea 🤷🏻♂

Looks like it's working fine for me, couldn't reproduce the issue with the mouse. If you find a easy way to reproduce it then let me known, maybe it can be fixed

Seems to I located it. I had render set to auto by default and have gore mouse/camera- teleportations. If set to gdi, problem are gone (seems to, not tested enough).

Yeah taht would be nice. Maybe it's a wine-only issue? Or did you hear from someone having a similar issue on windows as well?

That's strange. I transferred wineskin-wrapped game to another computer (MBA with M1) have met same problem, but configuration is same as on my computer where the problem is magically gone.
This is screencast with reproduction on that other computer: https://youtu.be/DweHh_OnStI

@FunkyFr3sh @Funky-Fr3sh, I'm sorry, I can't send you configs today. I could do it tomorrow, I promise. And will be great to send you entire wrapped app privately, email or messenger.

sure, np! just send me a message on discord, already joined the server (same name)

just send me a message on discord, already joined the server

🤪 Done.


Add: property-read/write to class property list

cool, can you add some simple feature test like this https://github.com/mkusher/padawan.php/blob/master/features/class-constructor.feature ?

sure, I'll update this PR once it's done.

add test e2baa23

updated


Support material-ui 1.x.x

Hi! This package looks amazing, but does it support the upcoming material-ui@next? https://material-ui-next.com/getting-started/installation/
Thanks

Hi @albinekb  and thx 😄 For now it doesn't. We are using it in production. When material-ui v1 get's released we will ship all our libraries to that version. For now there are to much changes in beta.
If you are using this in production let me know. Our other library Responsive Drawer has a next branch prepared for material-ui@next . We could do something similar here.

Thanks for your response! I'm using v1 in production with great success 👍 for the record I'm using it with SSR and next.js too.
Ah nice!! I  was looking for something like that, it's PITA to manage my own responsive drawer component across my 3 material-ui frontends, I'll try it, thanks!

Thanks for your response @TarikHuber! I'm using v1 in production with great success 👍 for the record I'm using it with SSR and next.js too.
Ah nice!! I  was looking for something like that, it's PITA to manage my own responsive drawer component across my 3 material-ui frontends, I'll try it, thanks!

It would be great if you could send a PR 😄 I hope there is not so much to change.
P.S.
If you have to manage multiple projects (a known pain for everyone) check out our library that is a whole project shell in a npm module 😄 rmw-shell There is also a special CRA script for it where you can start a new project with create-react-app my-app --scripts-version rmw-react-scripts

Cool, I'm already set up with next.js in separate folders, but need a good pattern for sharing the code, I'll have a look there and see if I can get some inspiration 👀
I'm currently testing this lib @next and looking to rebase/merge the updated master and PR the next branch here too if I get time 👍


Erroneous parsing HTML

Case:

Result:

Expect：

I tried this on try.jsoup.org and it works fine: http://try.jsoup.org/~kLEfl79rCA4ykT4VhwYolIKkrRM
What version are you using? Can you provide a testcase code?

Sorry！ I found repeated attributes。
Like this:
 004
--


Currency selection repeats

Describe the bug
USD repeats in the currency selections dropdown
To Reproduce

Update demo storefront token to a different storefront
Goto storefront and open dropdown

(maybe only if one currency is available?)

@mynameisadamf I think #570 should address this. Can you do a quick check?

@elisenyang it seems like it does, yes. Looks much less wonky with the country names rather than the currency when you end up with dozens of EUR.

@elisenyang yes, i believe so.


Blast from the Past setup

Migrate the Java setup for this challenge to the new folder, added a JS setup as well. Appreciate anyone adding setups to this branch!

Going ahead with a force-merge to facilitate adding additional setups for this challenge.


Fix image loading in deployed version

Images don't show up on https://malevo-daily.caleydoapp.org/

Aha interesting, now it works. But the layout need to be fixed. Changed the title of this issue accordingly.

Currently it looks like this:

The style needs to be improved.

Done with PR.


feat(Typography): you can use custom font now

:tada: This PR is included in version 7.14.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


[emitter]Upgrade cadl compiler and rest version

[x] upgrade cadl compiler to 0.35.0 and rest to 0.17.0 in csharp emitter.
[ ] upgrade cadl compiler to 0.36.0 and rest to 0.18.0 in csharp emitter.

duplicate with https://github.com/Azure/autorest.csharp/issues/2703

@chunyu3 , please upgrade cadl related libraries for the Oct release.


Fix broken queries()-method

About
As I was fooling and doing some query drooling,
I stumled upon this,
something amiss.
And so I made it my business,
To send you a wee patch,
Sippin' my Swiss Miss.

PPS: Ray is an absolute game changer. Holy cow.
PS: I love you.

lol, thanks!

lol, thanks!


Train/Validation Split Bug CNN

Hi,
i've been working through your benchmark and have noticed a slight bug in the train/val dataset generation for the CNN part.
Specifically these lines:
https://github.com/BatteryDEV/AutoECM/blob/d893efd2ed6c277d7766dd513459f01e6de1de83/clf_cnn.py#L152-L173
The shuffle operation is performed before taking the train/validation cuts so the validation set will almost certainly contain images from the training set (the intersection of the resulting datasets will be approximately as big as the validation_split value).
I also implemented a small test to illustrate that problem (see at the end of this issue).
I think there was just a bit of confusion as to how the seed parameter works.
In order to ensure that the train and validation sets are disjoint you need to set the seed parameter to the same value for both datasets AND set both shuffle flags to the same value. This will ensure that the same random permutation is used for both datasets and thus no intersection will exist.
All in all I don't think this will have a huge impact on the test results of the models but I thought its worth noting because I was confused for a while why my validation accuracy was so high and I think this also impacts the way hyperparameters are tuned/selected. As we could no longer trust the validation accuracy to be a good indicator of the model performance. Especially when using early stopping and other callbacks that rely on the validation accuracy.
I hope this helps anyone else stumbling across.
And I think the simplest fix is to just set the shuffle parameter to True for both datasets? But I know just doing that now would probably interfere with some reproducibility concerns.
Thanks,
Martin Christoph Frank
The short test script:
import tensorflow as tf

INPUT_PATH = "data/images"
SEED = 20
SHUFFLE_TRAIN = True
SHUFFLE_VAL = False
VAL_SPLIT = 0.1

def create_datasets(input_dir):
    train_ds = tf.keras.utils.image_dataset_from_directory(
        f"{input_dir}/train",
        validation_split=VAL_SPLIT,
        subset="training",
        seed=SEED,
        shuffle=SHUFFLE_TRAIN,
    )

    val_ds = tf.keras.utils.image_dataset_from_directory(
        f"{input_dir}/train",
        validation_split=VAL_SPLIT,
        subset="validation",
        seed=SEED,
        batch_size=64,
        shuffle=SHUFFLE_VAL,
    )

    return train_ds, val_ds

if __name__ == "__main__":
    train_ds, val_ds = create_datasets(INPUT_PATH)

    train_paths = train_ds.file_paths
    val_paths = val_ds.file_paths

    # check for intersection
    intersection = set(train_paths).intersection(set(val_paths))
    if len(intersection) > 0:
        print("Intersection exists")
        print(f"n_train: {len(train_paths)}")
        print(f"n_val: {len(val_paths)}")
        print(
            f"n_intersection: {len(intersection)} ({100*len(intersection)/len(train_paths):.2f} %)"
        )
    else:
        print("No intersection")
        print(f"n_train: {len(train_paths)}")
        print(f"n_val: {len(val_paths)}")
        print(f"n_intersection: {len(intersection)}")

Ah yeah that's definitely the case. Good catch, Martin.
Raymond Gasper
On Mon, Aug 21, 2023, at 5:26 AM, Martin Christoph Frank wrote:

Hi,
i've been working through your benchmark and have noticed a slight bug in the train/val dataset generation for the CNN part.
Specifically these lines https://github.com/BatteryDEV/AutoECM/blob/d893efd2ed6c277d7766dd513459f01e6de1de83/clf_cnn.py#L152-L173:
https://github.com/BatteryDEV/AutoECM/blob/d893efd2ed6c277d7766dd513459f01e6de1de83/clf_cnn.py#L152-L173
The shuffle operation is performed before taking the train/validation cuts so the validation set will almost certainly contain images from the training set (the intersection of the resulting datasets will be approximately as big as the validation_split value).
I also implemented a small test to illustrate that problem (see at the end of this issue).
I think there was just a bit of confusion as to how the seed parameter works.
In order to ensure that the train and validation sets are disjoint you need to set the seed parameter to the same value for both datasets AND set both shuffle flags to the same value. This will ensure that the same random permutation is used for both datasets and thus no intersection will exist.
All in all I don't think this will have a huge impact on the test results of the models but I thought its worth noting because I was confused for a while why my validation accuracy was so high and I think this also impacts the way hyperparameters are tuned/selected. As we could no longer trust the validation accuracy to be a good indicator of the model performance. Especially when using early stopping and other callbacks that rely on the validation accuracy.
I hope this helps anyone else stumbling across.
And I think the simplest fix is to just set the shuffle parameter to True for both datasets? But I know just doing that now would probably interfere with some reproducibility concerns.
Thanks,
Martin Christoph Frank
The short test script: https://gist.github.com/m-c-frank/c4d0ddc949fe09a2e67690c6dfef1c29.js
import tensorflow as tf
INPUT_PATH = "data/images"
SEED = 20
SHUFFLE_TRAIN = True
SHUFFLE_VAL = False
VAL_SPLIT = 0.1
def create_datasets(input_dir):
train_ds = tf.keras.utils.image_dataset_from_directory(
f"{input_dir}/train",
validation_split=VAL_SPLIT,
subset="training",
seed=SEED,
shuffle=SHUFFLE_TRAIN,
)
val_ds = tf.keras.utils.image_dataset_from_directory(
    f"{input_dir}/train",
    validation_split=VAL_SPLIT,
    subset="validation",
    seed=SEED,
    batch_size=64,
    shuffle=SHUFFLE_VAL,
)

return train_ds, val_ds

if name == "main":
train_ds, val_ds = create_datasets(INPUT_PATH)
train_paths = train_ds.file_paths
val_paths = val_ds.file_paths

# check for intersection
intersection = set(train_paths).intersection(set(val_paths))
if len(intersection) > 0:
    print("Intersection exists")
    print(f"n_train: {len(train_paths)}")
    print(f"n_val: {len(val_paths)}")
    print(
        f"n_intersection: {len(intersection)} ({100*len(intersection)/len(train_paths):.2f} %)"
    )
else:
    print("No intersection")
    print(f"n_train: {len(train_paths)}")
    print(f"n_val: {len(val_paths)}")
    print(f"n_intersection: {len(intersection)}")

—
Reply to this email directly, view it on GitHub https://github.com/BatteryDEV/AutoECM/issues/13, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADR4WVHC65RYXSUZVMVDBNDXWMST5ANCNFSM6AAAAAA3YCZHZU.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

@m-c-frank Thanks for raising this point.
I created a new branch to address this issue.
The CNN model accuracies improve slightly.  This is not a major issue. I also put a note in the ReadMe reading the reproducibility. Please look at my PR and comment in case I missed anything.
Thanks again!

Closing this issue. See commit bd2e979
Thanks everyone.


Fixed #17464 -- Added save_form() and save_model() to ModelFormMixin

This enable to do extra work before saving the object to the database,
like setting instance attributes based on other parts of the
request. This fixes https://code.djangoproject.com/ticket/17464.
This approach is inspired by BaseModelAdmin.

Closing per ticket.


Fix borked version display for mksh

"$SHELL" -c "printf %s \$KSH_VERSION" as part of the shell version
detection for ksh and mksh was expanding to printf %s $KSH_VERSION
inside of shell. This resulted in $KSH_VERSION being substituted as
multiple arguments to printf. While (afaik) unspecified, mksh, bash
and zsh resort to repeating the format strings. This resulted in all
spaces missing from $shell, which in turn caused the string cleanup
to fail: Shell: mksh @MIRBSDKSHR562017/08/29
Quoting $KSH_VERSION causes it to be given to printf as a single
argument, which preserves its spaces. The output after this change
looks like follows: Shell: mksh R56 2017/08/29

LGTM. Thanks!


Adding an option to have an alternate certificate chain

What would you like to be added:
Adding an option to have an alternate certificate chain to mitigate the impact of the recent let's encrypt changes:

As of January 11, 2021, we’re planning to make a change to our API so that ACME clients will, by default, serve a certificate chain that leads to ISRG Root X1. However, it will also be possible to serve an alternate certificate chain for the same certificate that leads to DST Root X3 and offers broader compatibility. This is implemented via the ACME “alternate” link relation. This is supported by Certbot from version 1.6.0 onwards. If you use a different ACME client, please check your client’s documentation to see if the “alternate” link relation is supported.
https://letsencrypt.org/2020/11/06/own-two-feet.html

Why is this needed:

However, this does introduce some compatibility woes. Some software that hasn’t been updated since 2016 (approximately when our root was accepted to many root programs) still doesn’t trust our root certificate, ISRG Root X1. Most notably, this includes versions of Android prior to 7.1.1. That means those older versions of Android will no longer trust certificates issued by Let’s Encrypt.
https://www.androidpolice.com/2020/11/07/many-websites-will-stop-working-on-older-android-versions-in-2021/

There are still many devices that will face issues.
Other tools:

Cert Manager: https://cert-manager.io/docs/configuration/acme/#use-an-alternative-certificate-chain
Ansible: https://docs.ansible.com/ansible/latest/collections/community/crypto/acme_certificate_module.html#examples

@tnozicka

sounds reasonable, although we will have to wait for https://github.com/golang/go/issues/42437 to update the library
/priority important-soon


HttpClient SendRequestAsync often has partial response

Describe your environment.
Platform: Windows
OS Version - 10.0.22000
SDK Version - <IP_ADDRESS>
Has not been fixed on main branch
Steps to reproduce.
Not able to consistently reproduce. I have a TTD trace of a repro.
Based on our telemetry this is occurring often, ~10% of the time.
Seems to happen for some, but not for others.
What is the expected behavior?
The full response payload returns
What is the actual behavior?
Missing chunks of the payload
Additional context.
What is happening in HttpClient_WinInet.cpp
First call to InternetReadFile

Returns false indicating failure
Error is ERROR_IO_PENDING
Number of bytes read is 0
However, I can see that the buffer contains the beginning of the request. We don't do anything with this since it says 0 bytes read

Second call to InternetReadFile

Returns true indicating call is okay
Number of bytes read 1024
The buffer contains the section of the request that follows AFTER the first chunk that was already read into the buffer

Two issues


Update README.md

@IbrahimKasomaEF hey Ibrahim, thank for PR, will change the base branch to beta though becasue i release first beta, and then master :)

actually here is the created branch out of beta with the changes you introduced here (there are some conflicts if i change the base right now)
https://github.com/sb-mig/sb-mig/pull/280
so closing this one. Will release stable in coming weeks with some new stuff from beta, so it will also be there


Modify Internet.hasConnection() to take no parameters

Situation
Internet.hasConnection() should take no parameters.
The getApplication() function can be called inside Internet.hasConnection() to supply the Application dependency.
Proposed solution

[ ] Remove the application parameter from the interface and get the application inside Internet.hasConnection using getApplication()
[ ] Modify InternetTest.kt to reflect the changes

The getApplication function is part of the AndroidViewModel class.
I am not willing to make Internet inherit from AndroidViewModel, include it as a field or construct an AndroidViewModel every time getInternet() is called.


Zooming on the dotplot does not refine the bin size

Zooming in on the dotplot does not refine the bin size
before

after zoom

This can be closed. It does refine the bins, it is just that, perhaps due to rounding, a lot of points have the same value.

So this does seem to be an issue, but just in the app
The following code in a notebook does work (zoom seems to work properly)
import solara

from glue_jupyter import jglue
from glue.core import Data

from hubbleds.state import LOCAL_STATE
from hubbleds.remote import LOCAL_API
from hubbleds.components import DotplotViewer

app = jglue()

data = LOCAL_API.get_example_seed_measurement(LOCAL_STATE, which='second' )
glue_seed = Data(label='Second',
                                **{
                    k: np.asarray([r[k] for r in data])
                    for k in data[0].keys()
                })
glue_seed.style.color = 'blue'
app.data_collection.append(glue_seed)

@solara.component
def Page():
    with solara.Card(style={"width": "700px"}):
        DotplotViewer(app,
                    data = [app.data_collection["Second"]],
                    component_id="velocity_value",
                    vertical_line_visible=False,
                    )

Page()

The issue seems to occur when a seconds data set is added with a single value
def Page():
    with solara.Card(style={"width": "700px"}):
        DotplotViewer(app,
                    data = [app.data_collection["Second"],app.data_collection["Single"]],
                    component_id="velocity_value",
                    vertical_line_visible=False,
                    )

Page()

where Single is an object with a single value. However, things work again, if Single is added first
@solara.component
def Page():
    with solara.Card(style={"width": "700px"}):
        DotplotViewer(app,
                    data = [app.data_collection["Single"],app.data_collection["Second"]],
                    component_id="velocity_value",
                    vertical_line_visible=False,
                    )

Page()

However, in this case the plot will initially render with the incorrect zoom level set.


Acorn v1

Based this branch off of #5 (so merge that first)
This pr adds tests to ensure that the module supports the entire ES6 grammar :D (well not scripts cause acorn doens't fully support them yet)
Acorn v1 came out today and it's pretty sweet!
https://github.com/marijnh/acorn/issues/227

Thanks! :+1:


Gzip plugin wedges the ET_NET threads when Brotli is enabled

Update: Looking at this, I'm somewhat concerned about the fact that the threads seems to get stuck in error logging. Maybe this is a red-herring, and it's actually two issues here? 1) Brotli producing those errors and 2) Logging actually hanging when doing those errors?
Update 2: Looking at the error.log, before it wedges the threads, it has actually logged millions of errors. Once the threads are deadlocked, there are no more errors in the logs, so I'm pretty sure that we're dealing with two issues here. However, the deadlock in logging is likely less serious, so we should focus on the Brotli issue.
Update 3: I tried with an older version of libbrotli (v0.6.0), but it has the same issues. What  happens  is that we spew this all over error log, which if done fast enough, will wedge ATS:
20171218.20h02m56s [gzip/gzip.cc:380] [brotli_transform_one] ERROR: brotli-transform: ERROR: brotli avail_in is (32768): should be 0
20171218.20h02m56s [gzip/gzip.cc:380] [brotli_transform_one] ERROR: brotli-transform: ERROR: brotli avail_in is (32768): should be 0
20171218.20h02m56s [gzip/gzip.cc:380] [brotli_transform_one] ERROR: brotli-transform: ERROR: brotli avail_in is (32768): should be 0

So, I'm very confused how anyone is actually using Brotli in production...
Original post:
I tried enabling Brotli for Docs/CI, and even though it does work, after a few request, all ET_NET threads are wedged. Doing a gdb, I see
#0  0x0000000000601436 in printf_common(void*, char const*, __va_list_tag*) ()
No symbol table info available.
#1  0x000000000060388e in vsnprintf ()
No symbol table info available.
#2  0x00000000009a419d in LogObject::va_log (this=0x610000007740, lad=0x0, fmt=0x2ab712c8b200 "[%s:%d] [%s] ERROR: brotli-transform: ERROR: brotli avail_in is (%lu): should be 0", ap=0x2aaaaaffe660) at LogObject.cc:523
        MAX_ENTRY = 16384
        entry = "20171215.22h20m00s [gzip/gzip.cc:380] [brotli_transform_one] ERROR: brotli-transform: ERROR: brotli avail_in is (25522): should be 0", '\000' <repeats 6772 times>...
        len = 19
#3  0x000000000096c0a3 in Log::va_error (format=0x2ab712c8b200 "[%s:%d] [%s] ERROR: brotli-transform: ERROR: brotli avail_in is (%lu): should be 0", ap=0x2aaaaaffe660) at Log.cc:1122
        ret_val = 2
        mutex = 0x60c0000082c0
#4  0x00000000006b6eb2 in TSError (fmt=0x2ab712c8b200 "[%s:%d] [%s] ERROR: brotli-transform: ERROR: brotli avail_in is (%lu): should be 0") at InkAPI.cc:402
        args = {{gp_offset = 8, fp_offset = 48, overflow_arg_area = 0x2aaaaaffe780, reg_save_area = 0x2aaaaaffe6a0}}
        __FUNCTION__ = "TSError"
#5  0x00002ab712c7c621 in brotli_transform_one (data=0x611000087900, upstream_buffer=0x62d0001d7000 "2 min 40 sec\" style=\"cursor:pointer\" href=\"/job/ubuntu_14_04-7.1.x/compiler=clang,label=ubuntu_14_04,type=release/189/console\" class=\"progress-bar \">

<td style=\"width:72%;\" class=\"progress-b"..., upstream_length=25522) at gzip/gzip.cc:380
        downstream_blkp = 0x607000022d10
        downstream_buffer = 0x62500010a000 '\276' <repeats 200 times>...
        downstream_length = 4096
        err = 0
        __FUNCTION__ = "brotli_transform_one"
#6  0x00002ab712c7c9a6 in compress_transform_one (data=0x611000087900, upstream_reader=0x611000088340, amount=32009) at gzip/gzip.cc:414
        downstream_blkp = 0x607000022c30
        upstream_buffer = 0x62d0001d7000 "2 min 40 sec\" style=\"cursor:pointer\" href=\"/job/ubuntu_14_04-7.1.x/compiler=clang,label=ubuntu_14_04,type=release/189/console\" class=\"progress-bar \">

<td style=\"width:72%;\" class=\"progress-b"...
        upstream_length = 25522
        __FUNCTION__ = "compress_transform_one"
#7  0x00002ab712c7db5e in compress_transform_do (contp=0x612000075f40) at gzip/gzip.cc:572
        upstream_vio = 0x612000075ff0
        data = 0x611000087900
        upstream_todo = 39255
        upstream_avail = 39255
        downstream_bytes_written = 3995
#8  0x00002ab712c7de86 in compress_transform (contp=0x612000075f40, event=TS_EVENT_IMMEDIATE) at gzip/gzip.cc:617
        __FUNCTION__ = "compress_transform"
#9  0x00000000006b9905 in INKContInternal::handle_event (this=0x612000075f40, event=1, edata=0x609000026ff0) at InkAPI.cc:1060
        retval = 10922
        __FUNCTION__ = "handle_event"
#10 0x00000000006ac92a in Continuation::handleEvent (this=0x612000075f40, event=1, data=0x609000026ff0) at /usr/local/src/trafficserver/iocore/eventsystem/I_Continuation.h:153
No locals.
#11 0x0000000000be5952 in EThread::process_event (this=0x2ab70ff33800, e=0x609000026ff0, calling_code=1) at UnixEThread.cc:130
        c_temp = 0x612000075f40
        lock = {m = {m_ptr = 0x60c00004c240}, lock_acquired = true}
        __FUNCTION__ = "process_event"
#12 0x0000000000be5ec1 in EThread::process_queue (this=0x2ab70ff33800, NegativeQueue=0x2aaaaaffed10, ev_count=0x2aaaaaffec90, nq_count=0x2aaaaaffec50) at UnixEThread.cc:169
        e = 0x609000026ff0
#13 0x0000000000be64f4 in EThread::execute_regular (this=0x2ab70ff33800) at UnixEThread.cc:229
        done_one = false
        sleep_time = 4975801
        e = 0x0
        NegativeQueue = {<DLL<Event, Event::Link_link>> = {head = 0x60900000c620}, tail = 0x60900000b300}
        next_time =<PHONE_NUMBER>684529109
        delta = 3241559
        loop_start_time =<PHONE_NUMBER>682771360
        loop_finish_time =<PHONE_NUMBER>682770668
        prev_metric = 0x2ab7100376c0
        nq_count = 5
        ev_count = 6
        METRIC_INIT = {_loop_time = {_start = 0, _min =<PHONE_NUMBER>854775807, _max = 0}, _events = {_min =<PHONE_NUMBER>, _max = 0, _total = 0}, _count = 0, _wait = 0}
#14 0x0000000000be7025 in EThread::execute (this=0x2ab70ff33800) at UnixEThread.cc:324
        __FUNCTION__ = "execute"
#15 0x0000000000be3d31 in spawn_thread_internal (a=0x6060000198e0) at Thread.cc:85
        p = 0x6060000198e0
#16 0x00002ab70b009e25 in start_thread (arg=0x2aaaaafff700) at pthread_create.c:308
        __res = <optimized out>
        pd = 0x2aaaaafff700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {46912501708544, -8557452013480867189, 0,<PHONE_NUMBER>9592,<PHONE_NUMBER>8544,<PHONE_NUMBER>31584, -2564651259675702645, -2570494656708113781}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
#17 0x00002ab70ba2434d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
No locals.

It's somewhat odd that it seems stuck in the logging, doesn't it? If I strace the LWP above, all I see is
futex(0x2ab70bceaec0, FUTEX_WAIT_PRIVATE, 2, NULL) = -1 EAGAIN (Resource temporarily unavailable)
futex(0x2ab70bceaec0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x2ab70bceaec0, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x2ab70bceaec0, FUTEX_WAIT_PRIVATE, 2, NULL) = -1 EAGAIN (Resource temporarily unavailable)
futex(0x2ab70bceaec0, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x2ab70bceaec0, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x2ab70bceaec0, FUTEX_WAIT_PRIVATE, 2, NULL) = -1 EAGAIN (Resource temporarily unavailable)
futex(0x2ab70bceaec0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x2ab70bceaec0, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x2ab70bceaec0, FUTEX_WAKE_PRIVATE, 1) = 0

In the error log, I got a few  of these (definitely not in a loop though):
20171215.21h59m45s [gzip/gzip.cc:380] [brotli_transform_one] ERROR: brotli-transform: ERROR: brotli avail_in is (2271): should be 0
20171215.21h59m45s [gzip/gzip.cc:380] [brotli_transform_one] ERROR: brotli-transform: ERROR: brotli avail_in is (2271): should be 0
20171215.21h59m45s [gzip/gzip.cc:380] [brotli_transform_one] ERROR: brotli-transform: ERROR: brotli avail_in is (2271): should be 0
20171215.21h59m45s [gzip/gzip.cc:380] [brotli_transform_one] ERROR: brotli-transform: ERROR: brotli avail_in is (2271): should be 0
20171215.21h59m45s [gzip/gzip.cc:380] [brotli_transform_one] ERROR: brotli-transform: ERROR: brotli avail_in is (2271): should be 0

The thing is, if all I do is turning off brotli support, things works well.

Ok, so I commented out the section in the brotli plugin that causes logging to wedge, and that actually yields a lot more useful information. For example, we're stuck in this loop forever it seems:
(gdb) bt full
#0  0x00000000006aeea3 in Ptr<IOBufferBlock>::operator bool (this=0x611000068010) at ../lib/ts/Ptr.h:116
No locals.
#1  0x00000000006e0f18 in MIOBuffer::first_write_block (this=0x611000068000) at /usr/local/src/trafficserver/iocore/eventsystem/I_IOBuffer.h:923
No locals.
#2  0x00000000006e25f0 in MIOBuffer::get_current_block (this=0x611000068000) at /usr/local/src/trafficserver/iocore/eventsystem/P_IOBuffer.h:979
No locals.
#3  0x00000000006ee2f1 in TSIOBufferStart (bufp=0x611000068000) at InkIOCoreAPI.cc:586
        b = 0x611000068000
        blk = 0x2aaaab7fe7c0
#4  0x00002accc2a03289 in brotli_transform_one (data=0x6110002695c0, upstream_buffer=0x62d002031000 "an>://games.bar.com/</s"..., upstream_length=21531) at gzip/gzip.cc:351
        downstream_blkp = 0x6070000f5790
        downstream_buffer = 0x625000268000 '\276' <repeats 200 times>...
        downstream_length = 4096
        err = 0
#5  0x00002accc2a039a9 in compress_transform_one (data=0x6110002695c0, upstream_reader=0x611000088728, amount=21531) at gzip/gzip.cc:416
        downstream_blkp = 0x60700000e8e0
        upstream_buffer = 0x62d002031000 "an>://games.bar.com/</s"...
        upstream_length = 21531
        __FUNCTION__ = "compress_transform_one"
#6  0x00002accc2a04b61 in compress_transform_do (contp=0x61200009f4c0) at gzip/gzip.cc:574
        upstream_vio = 0x61200009f570
        data = 0x6110002695c0
        upstream_todo = 21531
        upstream_avail = 21531
        downstream_bytes_written = 4096
#7  0x00002accc2a04e89 in compress_transform (contp=0x61200009f4c0, event=TS_EVENT_IMMEDIATE) at gzip/gzip.cc:619
        __FUNCTION__ = "compress_transform"
#8  0x00000000006b9905 in INKContInternal::handle_event (this=0x61200009f4c0, event=1, edata=0x609000003f20) at InkAPI.cc:1060
        retval = 10922
        __FUNCTION__ = "handle_event"
#9  0x00000000006ac92a in Continuation::handleEvent (this=0x61200009f4c0, event=1, data=0x609000003f20) at /usr/local/src/trafficserver/iocore/eventsystem/I_Continuation.h:153
No locals.
#10 0x0000000000be5952 in EThread::process_event (this=0x2accc007e800, e=0x609000003f20, calling_code=1) at UnixEThread.cc:130
        c_temp = 0x61200009f4c0
        lock = {
          m = {
            m_ptr = 0x60c00006d780
          },
          lock_acquired = true
        }
        __FUNCTION__ = "process_event"
#11 0x0000000000be5ec1 in EThread::process_queue (this=0x2accc007e800, NegativeQueue=0x2aaaab7fed10, ev_count=0x2aaaab7fec90, nq_count=0x2aaaab7fec50) at UnixEThread.cc:169
        e = 0x609000003f20
#12 0x0000000000be64f4 in EThread::execute_regular (this=0x2accc007e800) at UnixEThread.cc:229
        done_one = false
        sleep_time = 60000000
        e = 0x0
        NegativeQueue = {
          <DLL<Event, Event::Link_link>> = {
            head = 0x60900000b660
          },
          members of Queue<Event, Event::Link_link>:
          tail = 0x60900000b0c0
        }
        next_time =<PHONE_NUMBER>537553033
        delta = 5259176
        loop_start_time =<PHONE_NUMBER>222813670
        loop_finish_time =<PHONE_NUMBER>222812209
        prev_metric = 0x2accc0182420
        nq_count = 6
        ev_count = 7
        METRIC_INIT = {
          _loop_time = {
            _start = 0,
            _min =<PHONE_NUMBER>854775807,
            _max = 0
          },
          _events = {
            _min =<PHONE_NUMBER>,
            _max = 0,
            _total = 0
          },
          _count = 0,
          _wait = 0
        }
#13 0x0000000000be7025 in EThread::execute (this=0x2accc007e800) at UnixEThread.cc:324
        __FUNCTION__ = "execute"
#14 0x0000000000be3d31 in spawn_thread_internal (a=0x6060000195e0) at Thread.cc:85
        p = 0x6060000195e0
#15 0x00002accbad91e25 in start_thread (arg=0x2aaaab7ff700) at pthread_create.c:308
        __res = <optimized out>
        pd = 0x2aaaab7ff700
        now = <optimized out>
        unwind_buf = {
          cancel_jmp_buf = {{
              jmp_buf = {46912510097152, -7550611248619137196, 0,<PHONE_NUMBER>8600,<PHONE_NUMBER>7152,<PHONE_NUMBER>30816, -4439561953341548716, -4418133896061331628},
              mask_was_saved = 0
            }},
          priv = {
            pad = {0x0, 0x0, 0x0, 0x0},
            data = {
              prev = 0x0,
              cleanup = 0x0,
              canceltype = 0
            }
          }
        }
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
#16 0x00002accbb7ac34d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
No locals.

Another update: Upon further code inspection, the plugin (and Brotli code) takes a somewhat different code patch when "flush true" is set. I'm running with with "flush false" on Docs / CI, which seems stable so far.


Wagtail inpage menu display with firefox 52

Issue Summary
The wagtail in page menu does not displays with firefox 52, with transitions glitches
Steps to Reproduce

Install firefox 52 (in my case, debian did it to me)
Connect and login into a wagtail application
Click on the bird at bottom right of a page

The menu items does not displays anymore. I think the problems come from the css transitions
Technical details

Python version: 2.7.9 (debian stable)
Django version: 1.10.6
Wagtail version: 1.9
Browser version: http://whatsmybrowser.org/b/V24FOR9

Confirmed on Firefox 52, OS X. Thanks for the report, @frague59

Minimal code to replicate the Firefox glitch:
<!DOCTYPE html>

    <button id="trigger">click me</button>

hello world

For some reason the visibility: hidden style is being re-applied as soon as the transition is finished...

As far as I can see, this is a bug in Firefox 52.0 not Wagtail (tested in 51, 53.0b2, and 55ish) so I don't think it should qualify as a bug.
Firefox 52.1 will only be around in one month, and removing !importants is great, so I merged anyway.


Come up with ideas on how to handle the NER tagger tokenizing on whitespace

so ken price becomes two tokens ken price instead of one.

I've been looking into it and I think that the most accurate (albeit slowest) method would be to combine all adjacent terms of the same type into all possible combinations. I think it would also be smart to give larger chains a higher relevance rating (if relevant is between 0 - 1, then relevance = length / (length + 1)).
ex)  ken price ian johnson will add ken price ken price ian ken price ian johnson price ian price ian johnson ian johnson terms

FYI the Stanford folks have a tokenizer that might be useful.
Another drawback to using n-grams (like you suggested) is having to reconstruct the results since your getting more than one tag per word.


Explicitly disable non-cpython builds

This PR adds explicitl skip: true for non-cpython builds, so that we don't get distracted with PRs like #18 that won't build.

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge/framel, any objections?


On Pop_os! filter does not show up for Video Capture Device (V4L) or Media Source

First off, the .deb installed into /usr/lib locations, but I could not get the plugin to load until I moved to ~/.config/obs-studio/plugins
After moving the plugin and locale files into the expected paths, the plugin loads as shown in the logs, but it does not come up as a a Filter option
Attempted path: share/obs/obs-studio/locale/en-US.ini
Attempted path: /usr/share/obs/obs-studio/locale/en-US.ini
Attempted path: share/obs/obs-studio/locale.ini
Attempted path: /usr/share/obs/obs-studio/locale.ini
Attempted path: share/obs/obs-studio/themes/Dark.qss
Attempted path: /usr/share/obs/obs-studio/themes/Dark.qss
info: CPU Name: AMD Ryzen 7 3800X 8-Core Processor
info: CPU Speed: 4268.871MHz
info: Physical Cores: 8, Logical Cores: 16
info: Physical Memory: 64204MB Total, 39112MB Free
info: Kernel Version: Linux 6.2.6-76060206-generic
info: Distribution: "Pop!_OS" "22.04"
info: Session Type: x11
info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.21.1
info: Qt Version: 5.15.3 (runtime), 5.15.2 (compiled)
info: Portable mode: false
Attempted path: share/obs/obs-studio/themes/Dark/no_sources.svg
Attempted path: /usr/share/obs/obs-studio/themes/Dark/no_sources.svg
QMetaObject::connectSlotsByName: No matching signal for on_tbar_position_valueChanged(int)
QMetaObject::connectSlotsByName: No matching signal for on_actionShowTransitionProperties_triggered()
QMetaObject::connectSlotsByName: No matching signal for on_actionHideTransitionProperties_triggered()
info: OBS 27.2.3+dfsg1-1 (linux)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
	samples per sec: 48000
	speakers:        2
info: ---------------------------------
info: Initializing OpenGL...
info: Loading up OpenGL on adapter NVIDIA Corporation NVIDIA GeForce RTX 3070/PCIe/SSE2
info: OpenGL loaded successfully, version 3.3.0 NVIDIA 525.105.17, shading language 3.30 NVIDIA via Cg compiler
info: ---------------------------------
info: video settings reset:
	base resolution:   1920x1080
	output resolution: 1920x1080
	downscale filter:  Bicubic
	fps:               30/1
	format:            NV12
	YUV mode:          709/Partial
info: NV12 texture support not available
info: Audio monitoring device:
	name: Default
	id: default
info: ---------------------------------
warning: Failed to load 'en-US' text for module: 'decklink-captions.so'
warning: Failed to load 'en-US' text for module: 'decklink-ouput-ui.so'
libDeckLinkAPI.so: cannot open shared object file: No such file or directory
warning: A DeckLink iterator could not be created.  The DeckLink drivers may not be installed
info: No blackmagic support
info: NVENC supported
info: FFMPEG VAAPI supported
info: [vlc-video]: VLC 3.0.16 Vetinari found, VLC video source enabled
info: [OBS Virtual BG plugin] obs_module_load. version=v1.2.0
warning: obs_register_source: Tried to register obs_source_info with size 400 which is more than libobs currently supports (392)
warning: obs_register_source: Tried to register obs_source_info with size 400 which is more than libobs currently supports (392)
info: ---------------------------------
info:   Loaded Modules:
info:     obs-virtualbg.so
info:     droidcam-obs.so
info:     vlc-video.so
info:     text-freetype2.so
info:     rtmp-services.so
info:     obs-x264.so
info:     obs-transitions.so
info:     obs-outputs.so
info:     obs-filters.so
info:     obs-ffmpeg.so
info:     linux-v4l2.so
info:     linux-pulseaudio.so
info:     linux-jack.so
info:     linux-decklink.so
info:     linux-capture.so
info:     linux-alsa.so
info:     image-source.so
info:     frontend-tools.so
info:     decklink-ouput-ui.so
info:     decklink-captions.so
info: ---------------------------------
info: ==== Startup complete ===============================================
info: All scene data cleared
info: ------------------------------------------------
info: pulse-input: Server name: 'PulseAudio (on PipeWire 0.3.71) 15.0.0'
info: pulse-input: Audio format: s16le, 48000 Hz, 2 channels
info: pulse-input: Started recording from 'alsa_output.usb-Dell_Dell_AC511_USB_SoundBar-00.analog-stereo.monitor'
info: [Loaded global audio device]: 'Desktop Audio'
info: pulse-input: Server name: 'PulseAudio (on PipeWire 0.3.71) 15.0.0'
info: pulse-input: Audio format: s16le, 48000 Hz, 1 channels
info: pulse-input: Started recording from 'alsa_input.usb-Microsoft_Microsoft___LifeCam_Studio_TM_-02.mono-fallback'
info: [Loaded global audio device]: 'Mic/Aux'
info: [DroidCamOBS] Source: "DroidCam OBS" - 210
info: [DroidCamOBS] checking adb
warning: [DroidCamOBS] "adb version" exit value 2
info: [DroidCamOBS] checking /usr/local/bin/adb
info: [DroidCamOBS] checking /usr/bin/adb
info: [DroidCamOBS] checking /bin/adb
warning: [DroidCamOBS] adb not found
info: [DroidCamOBS] PATH=/home/novaterata/.nvm/versions/node/v18.16.0/bin:/home/novaterata/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/novaterata/.local/share/JetBrains/Toolbox/scripts
info: [DroidCamOBS] activated=0, deactivateWNS=0, is_showing=0, enable_audio=0
info: [DroidCamOBS] video_format=avc video_resolution=640x480
info: [DroidCamOBS] video_thread start
info: [DroidCamOBS] video_decode_thread start
info: [DroidCamOBS] audio_thread start
info: Switched to scene 'Scene'
info: ------------------------------------------------
info: Loaded scenes:
info: - scene 'Scene':
info:     - source: 'DroidCam OBS' (droidcam_obs)
info: ------------------------------------------------
Attempted path: share/obs/obs-studio/images/overflow.png
Attempted path: /usr/share/obs/obs-studio/images/overflow.png
info: adding 42 milliseconds of audio buffering, total audio buffering is now 42 milliseconds (source: Desktop Audio)

info: User Removed source 'DroidCam OBS' (droidcam_obs) from scene 'Scene'
info: [DroidCamOBS] destroy: "DroidCam OBS"
info: [DroidCamOBS] stopping
info: [DroidCamOBS] video_decode_thread end
info: [DroidCamOBS] video_thread end
info: [DroidCamOBS] audio_thread end
info: [DroidCamOBS] cleanup
info: v4l2-input: Start capture from
error: v4l2-input: Unable to open device
error: v4l2-input: Initialization failed
info: User added source 'Video Capture Device (V4L2)' (v4l2_input) to scene 'Scene'
info: v4l2-input: /dev/video1 seems to not support video capture
info: v4l2-input: Found device 'Microsoft® LifeCam Studio(TM):' at /dev/video0
info: v4l2-input: Found input 'Input 1' (Index 0)
info: v4l2-controls: setting default for Power Line Frequency to 2
info: v4l2-controls: setting default for Auto Exposure to 3
info: v4l2-input: Pixelformat: YUYV 4:2:2 (available)
info: v4l2-input: Pixelformat: Motion-JPEG (available)
info: v4l2-input: Pixelformat: YUV 4:2:0 (M420) (unavailable)
info: v4l2-input: Pixelformat: RGB3 (Emulated) (unavailable)
info: v4l2-input: Pixelformat: BGR3 (Emulated) (available)
info: v4l2-input: Pixelformat: YU12 (Emulated) (available)
info: v4l2-input: Pixelformat: YV12 (Emulated) (available)
info: v4l2-input: Stepwise and Continuous framesizes are currently hardcoded
info: v4l2-input: Stepwise and Continuous framerates are currently hardcoded
info: v4l2-input: Pixelformat: YUYV 4:2:2 (available)
info: v4l2-input: Pixelformat: Motion-JPEG (available)
info: v4l2-input: Pixelformat: YUV 4:2:0 (M420) (unavailable)
info: v4l2-input: Pixelformat: RGB3 (Emulated) (unavailable)
info: v4l2-input: Pixelformat: BGR3 (Emulated) (available)
info: v4l2-input: Pixelformat: YU12 (Emulated) (available)
info: v4l2-input: Pixelformat: YV12 (Emulated) (available)
info: v4l2-input: Stepwise and Continuous framesizes are currently hardcoded
info: v4l2-input: Stepwise and Continuous framerates are currently hardcoded
info: v4l2-input: Stepwise and Continuous framerates are currently hardcoded
info: v4l2-input: Start capture from /dev/video0
info: v4l2-input: Input: 0
info: v4l2-input: Resolution: 800x448
info: v4l2-input: Pixelformat: YUYV
info: v4l2-input: Linesize: 1600 Bytes
info: v4l2-input: Framerate: 30.00 fps
info: v4l2-input: /dev/video0: select timeout set to 166666 (5x frame periods)
error: v4l2-input: /dev/video0: select timed out
error: v4l2-input: /dev/video0: failed to log status
error: v4l2-input: /dev/video0: select timed out
error: v4l2-input: /dev/video0: failed to log status
info: v4l2-input: /dev/video0: Stopped capture after 54 frames
info: v4l2-input: Start capture from /dev/video0
info: v4l2-input: Input: 0
info: v4l2-input: Resolution: 800x448
info: v4l2-input: Pixelformat: YUYV
info: v4l2-input: Linesize: 1600 Bytes
info: v4l2-input: Framerate: 30.00 fps
info: v4l2-input: /dev/video0: select timeout set to 166666 (5x frame periods)
error: v4l2-input: /dev/video0: select timed out
error: v4l2-input: /dev/video0: failed to log status
error: v4l2-input: /dev/video0: select timed out
error: v4l2-input: /dev/video0: failed to log status
info: User added source 'Image' (image_source) to scene 'Scene'
[swscaler @ 0x7fb424b269c0] deprecated pixel format used, make sure you did set range correctly
[swscaler @ 0x7fb424b2ea00] deprecated pixel format used, make sure you did set range correctly
Error executing command as another user: Request dismissed
info: [Media Source 'Media Source']: settings:
	input:
	input_format:            (null)
	speed:                   100
	is_looping:              no
	is_linear_alpha:         no
	is_hw_decoding:          no
	is_clear_on_media_end:   yes
	restart_on_activate:     yes
	close_when_inactive:     no
info: User added source 'Media Source' (ffmpeg_source) to scene 'Scene'
info: [Media Source 'Media Source']: settings:
	input:                   /home/novaterata/Downloads/vecteezy_klepon-is-indonesian-popular-traditional-snack-made-from_16172485_432.mp4
	input_format:            (null)
	speed:                   100
	is_looping:              no
	is_linear_alpha:         no
	is_hw_decoding:          yes
	is_clear_on_media_end:   yes
	restart_on_activate:     yes
	close_when_inactive:     no
[AVHWDeviceContext @ 0x7fb44000e980] libva: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[AVHWDeviceContext @ 0x7fb44000e980] Failed to initialise VAAPI connection: -1 (unknown libva error).
info: [Media Source 'Media Source']: settings:
	input:                   /home/novaterata/Downloads/vecteezy_klepon-is-indonesian-popular-traditional-snack-made-from_16172485_432.mp4
	input_format:            (null)
	speed:                   100
	is_looping:              yes
	is_linear_alpha:

I found this problem on Debian 12 Bookworm amd64 too.
Solution to the first problem of the plugin not being found is to sym-link it into the correct location for Debian/Ubuntu and derivative distros expected location as dictated by the obs-studio package itself.
$ sudo ln -s /usr/lib/obs-plugins/obs-virtualbg.so /usr/lib/x86_64-linux-gnu/obs-plugins/

(the Debian .deb package should install to this location).
OBS now sees the plugin and can add it to a source as a Filter but as soon as we try to add the Effect by pressing on the Effects + button OBS crashes with:
...
info:   Loaded Modules:
...
info:     obs-virtualbg.so
...
info: [Virtual BG detector] detecter_create version:v1.2.0
info: User added filter 'Virtual Background Detector' (virtualbg) to source 'HD PTZ Cam (Inside-Out)'
info: [Virtual BG detector] frame size or format change detected
info: [Virtual BG detector] video_scaler_create success. 1920x1080 -> 256x144
Illegal instruction (core dumped)

Thanks!
On Sat, Jul 22, 2023, 3:00 AM TJ @.***> wrote:

I found this problem on Debian 12 Bookworm amd64 too.
Solution to the first problem of the plugin not being found is to sym-link
it into the correct location for Debian/Ubuntu and derivative distros
expected location as dictated by the obs-studio package itself.
$ sudo ln -s /usr/lib/obs-plugins/obs-virtualbg.so /usr/lib/x86_64-linux-gnu/obs-plugins/
(the Debian .deb package should install to this location).
OBS now sees the plugin and can add it to a source as a Filter but as
soon as we try to add the Effect by pressing on the Effects + button OBS
crashes with:
...
info:   Loaded Modules:
...
info:     obs-virtualbg.so
...
info: [Virtual BG detector] detecter_create version:v1.2.0
info: User added filter 'Virtual Background Detector' (virtualbg) to source 'HD PTZ Cam (Inside-Out)'
info: [Virtual BG detector] frame size or format change detected
info: [Virtual BG detector] video_scaler_create success. 1920x1080 -> 256x144
Illegal instruction (core dumped)
—
Reply to this email directly, view it on GitHub
https://github.com/kounoike/obs-virtualbg/issues/95#issuecomment-1646510848,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMUMHNVV3MZEUNQ65KSSKDXRN3ALANCNFSM6AAAAAAYQK7ORI
.
You are receiving this because you authored the thread.Message ID:
@.***>

https://github.com/kounoike/obs-virtualbg/issues/95#issuecomment-1646510848
As said above, or at the link. I find that the video render filter works, but not the detector filter.  I also get a crash with OBS.

I found this problem on Debian 12 Bookworm amd64 too.
Solution to the first problem of the plugin not being found is to sym-link it into the correct location for Debian/Ubuntu and derivative distros expected location as dictated by the obs-studio package itself.
$ sudo ln -s /usr/lib/obs-plugins/obs-virtualbg.so /usr/lib/x86_64-linux-gnu/obs-plugins/

(the Debian .deb package should install to this location).
OBS now sees the plugin and can add it to a source as a Filter but as soon as we try to add the Effect by pressing on the Effects + button OBS crashes with:
...
info:   Loaded Modules:
...
info:     obs-virtualbg.so
...
info: [Virtual BG detector] detecter_create version:v1.2.0
info: User added filter 'Virtual Background Detector' (virtualbg) to source 'HD PTZ Cam (Inside-Out)'
info: [Virtual BG detector] frame size or format change detected
info: [Virtual BG detector] video_scaler_create success. 1920x1080 -> 256x144
Illegal instruction (core dumped)

Tried that on LInux Mint 21.2. The plugin shows up in the terminal output when starting obs, but it doesn't show up in the filters.
`$ obs
Attempted path: share/obs/obs-studio/locale/en-US.ini
Attempted path: /usr/share/obs/obs-studio/locale/en-US.ini
Attempted path: share/obs/obs-studio/locale.ini
Attempted path: /usr/share/obs/obs-studio/locale.ini
Attempted path: share/obs/obs-studio/locale/de-DE.ini
Attempted path: /usr/share/obs/obs-studio/locale/de-DE.ini
info: Using preferred locale 'de-DE'
Attempted path: share/obs/obs-studio/themes/Dark.qss
Attempted path: /usr/share/obs/obs-studio/themes/Dark.qss
info: CPU Name: AMD Ryzen 9 5900X 12-Core Processor
info: CPU Speed: 2200.000MHz
info: Physical Cores: 12, Logical Cores: 24
info: Physical Memory: 31995MB Total, 11084MB Free
info: Kernel Version: Linux 5.15.0-78-generic
info: Distribution: "Linux Mint" "21.2"
info: Session Type: x11
info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.21.1
info: Qt Version: 5.15.3 (runtime), 5.15.2 (compiled)
info: Portable mode: false
Attempted path: share/obs/obs-studio/themes/Dark/no_sources.svg
Attempted path: /usr/share/obs/obs-studio/themes/Dark/no_sources.svg
QMetaObject::connectSlotsByName: No matching signal for on_tbar_position_valueChanged(int)
QMetaObject::connectSlotsByName: No matching signal for on_actionShowTransitionProperties_triggered()
QMetaObject::connectSlotsByName: No matching signal for on_actionHideTransitionProperties_triggered()
info: OBS 27.2.3+dfsg1-1 (linux)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
samples per sec: 48000
speakers:        2
info: ---------------------------------
info: Initializing OpenGL...
info: Loading up OpenGL on adapter NVIDIA Corporation NVIDIA GeForce RTX 3080/PCIe/SSE2
info: OpenGL loaded successfully, version 3.3.0 NVIDIA 535.86.05, shading language 3.30 NVIDIA via Cg compiler
info: ---------------------------------
info: video settings reset:
base resolution:   1920x1080
output resolution: 1920x1080
downscale filter:  Bicubic
fps:               60/1
format:            NV12
YUV mode:          709/Partial
info: NV12 texture support not available
info: Audio monitoring device:
name: Standard
id: default
info: ---------------------------------
warning: Failed to load 'en-US' text for module: 'decklink-captions.so'
warning: Failed to load 'en-US' text for module: 'decklink-ouput-ui.so'
libDeckLinkAPI.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden
warning: A DeckLink iterator could not be created.  The DeckLink drivers may not be installed
info: No blackmagic support
info: NVENC supported
info: FFMPEG VAAPI supported
warning: Failed to load 'de-DE' text for module: 'obs-virtualbg.so'
info: [OBS Virtual BG plugin] obs_module_load. version=v1.2.0
warning: obs_register_source: Tried to register obs_source_info with size 400 which is more than libobs currently supports (392)
warning: obs_register_source: Tried to register obs_source_info with size 400 which is more than libobs currently supports (392)
info: [vlc-video]: VLC 3.0.16 Vetinari found, VLC video source enabled
info: ---------------------------------
info:   Loaded Modules:
info:     vlc-video.so
info:     text-freetype2.so
info:     rtmp-services.so
info:     obs-x264.so
info:     obs-virtualbg.so
info:     obs-transitions.so
info:     obs-outputs.so
info:     obs-filters.so
info:     obs-ffmpeg.so
info:     linux-v4l2.so
info:     linux-pulseaudio.so
info:     linux-jack.so
info:     linux-decklink.so
info:     linux-capture.so
info:     linux-alsa.so
info:     image-source.so
info:     frontend-tools.so
info:     decklink-ouput-ui.so
info:     decklink-captions.so
info: ---------------------------------
info: ==== Startup complete ===============================================
info: All scene data cleared
info: ------------------------------------------------
info: pulse-input: Server name: 'pulseaudio 15.99.1'
info: pulse-input: Audio format: s16le, 44100 Hz, 2 channels
info: pulse-input: Started recording from 'alsa_output.pci-0000_0a_00.4.analog-stereo.monitor'
info: [Loaded global audio device]: 'Desktop-Audio'
info: pulse-input: Server name: 'pulseaudio 15.99.1'
info: pulse-input: Audio format: s16le, 48000 Hz, 1 channels
info: pulse-input: Started recording from 'alsa_input.usb-046d_0825_5C21ACE0-02.mono-fallback'
info: [Loaded global audio device]: 'Mikrofon-/AUX-Audio'
info: v4l2-input: Start capture from /dev/video0
info: v4l2-input: Input: 0
info: v4l2-input: Resolution: 1280x720
info: v4l2-input: Pixelformat: MJPG
info: v4l2-input: Linesize: 0 Bytes
info: v4l2-input: Framerate: 30.00 fps
info: v4l2-input: /dev/video0: select timeout set to 166666 (5x frame periods)
info: Switched to scene 'Szene'
info: ------------------------------------------------
info: Loaded scenes:
info: - scene 'Szene':
info:     - source: 'Webcam' (v4l2_input)
info: ------------------------------------------------
Attempted path: share/obs/obs-studio/images/overflow.png
Attempted path: /usr/share/obs/obs-studio/images/overflow.png
error: v4l2-input: /dev/video0: select timed out
error: v4l2-input: /dev/video0: failed to log status
error: v4l2-input: /dev/video0: select timed out
error: v4l2-input: /dev/video0: failed to log status
info: adding 21 milliseconds of audio buffering, total audio buffering is now 21 milliseconds (source: Desktop-Audio)
error: v4l2-input: /dev/video0: select timed out
error: v4l2-input: /dev/video0: failed to log status
error: v4l2-input: /dev/video0: select timed out
error: v4l2-input: /dev/video0: failed to log status
error: v4l2-input: /dev/video0: select timed out
error: v4l2-input: /dev/video0: failed to log status
error: v4l2-input: /dev/video0: select timed out
error: v4l2-input: /dev/video0: failed to log status
`


WRP-26288: Passed noAnimation prop to Popup inside sandstone/colorPicker

Checklist

[x] I have read and understand the contribution guide
[ ] A CHANGELOG entry is included
[ ] At least one test case is included for this feature or bug fix
[x] Documentation was added or is not needed
[x] This is an API breaking change

Issue Resolved / Feature Added
Added noAnimation prop to sandstone/colorPicker
Resolution
Passed noAnimation prop to Popup inside sandstone/colorPicker
Additional Considerations
Links
WRP-26288
Comments
Enact-DCO-1.0-Signed-off-by: Daniel Stoian<EMAIL_ADDRESS>

I checked codecov results and it looks okay.


Allow failures on ppc64le linux travis jobs

In recent weeks we've seen a spike in job timeouts and other spurious
failures for the ppc64le CI. It looks like the travis ppc64le
environment is facing some issues. Since none of the recent failures
have caught any real code issues when running or building on ppc64le
and are all caused by infrastructure issues, this commit adds it to
the allowed failure list. We can remove it when and if the ppc64le ci
environment stabilizes.

Pull Request Test Coverage Report for Build 850093840

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 96.646%

Totals

Change from base Build 843040433:
0.01%

Covered Lines:
7060

Relevant Lines:
7305

💛  - Coveralls


Added cast for signed integers.

Stack:

#3543
#3542
#3500 ⬅
#3499
#3498
#3490
#3489
#3486
#3475
#3474
#3473
#3462
#3487

⚠ Part of a stack created by spr. Do not merge manually using the UI - doing so may have unexpected results.


bug in minimize_scalar when bounds are equal

when the function scipy.optimize.minimize_scalar is called with two bounds both being equal to 0.0, the code crashes with
File "/software/zis2rng/anaconda/envs/lat_graph_dyn/lib/python3.7/site-packages/scipy/optimize/optimize.py", line 1880, in _minimize_scalar_bounded
    if np.isnan(xf) or np.isnan(fx) or np.isnan(fu):
UnboundLocalError: local variable 'fu' referenced before assignment

this is due to the fact, that he never enters the optimization loop. Maybe one would like to check for equal bounds in the beginning, give out a warning and return the bound as the solution.

I think this particular bug was dealt with in #11208


fix: remove explicit import from "url"

It makes ts-japi compatible with edge runtimes like Cloudflare where importing from built-in node modules is not supported.

Thank you for the quick merging this PR @jun-sheaf ! Will a new release be published soon? Trying to get zenstack to run cloudflare 😄.

Thank you for the quick merging this PR @jun-sheaf ! Will a new release be published soon? Trying to get zenstack to run cloudflare 😄.

Yes, right now release-please seems to be down for some reason.

Thank you for the quick merging this PR @jun-sheaf ! Will a new release be published soon? Trying to get zenstack to run cloudflare 😄.

Done.


Handle trio.WouldBlock when incoming buffer full

fixes #157
What was wrong?
When we are in the process of handshaking with another node, there are times when we need to buffer a message due to UDP packets not being ordered and thus being able to arrive out of order.  When this buffer is full.. a trio.WouldBlock exception ends up causing the node to crash
How was it fixed?
In this case, we can just silence the exception.
Cute Animal Picture

Test fialure is flaky test. merging.


Dark Mode and Tail wind assistance

Hello,
I am trying to get the dark mode working for my web applications.
Currently some of the components are not displaying as dark mode.
I think this might be because of the way I am including my tailwind and bladewind-ui CSS
I am wondering how you go about setting up a new laravel project with tail wind and bladewind so that they compile in the correct order and it all works as expected.
Here is a screenshot of what I am experiencing:

As you can see the app is currently rendering in dark mode but some of the components are not and some are
This is my app.css
@import "/node_modules/select2/dist/css/select2.css";
@import "/resources/css/select2-theme.css";
@import "/public/vendor/bladewind/css/bladewind-ui.min.css";

@tailwind base;
@tailwind components;
@tailwind utilities;

tailwind.config.css
import defaultTheme from 'tailwindcss/defaultTheme';
import forms from '@tailwindcss/forms';

/** @type {import('tailwindcss').Config} */
export default {
    darkMode: 'media',
    content: [
        './vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php',
        './storage/framework/views/*.php',
        './resources/views/**/*.blade.php',
        './node_modules/flowbite/**/*.js',
    ],

    theme: {
        extend: {
            fontFamily: {
                sans: ['Figtree', ...defaultTheme.fontFamily.sans],
            },
        },
    },

    plugins: [
        forms,
        require('flowbite/plugin')
    ],
};

vite.config.css
import { defineConfig } from 'vite';
import laravel from 'laravel-vite-plugin';

export default defineConfig({
    plugins: [
        laravel({
            input: [
                'resources/css/app.css',
                'resources/js/app.js',
            ],
            refresh: true,
        }),
    ],
});

If I place the css file in the app.blade.php as mentioned in the installation guide like so:
  @vite(['resources/css/app.css', 'resources/js/app.js'])
  <link href="{{ asset('vendor/bladewind/css/animate.min.css') }}" rel="stylesheet" />
  <link href="{{ asset('vendor/bladewind/css/bladewind-ui.min.css') }}" rel="stylesheet" />
  <script src="{{ asset('vendor/bladewind/js/helpers.js') }}"></script>

The blade wind CSS overrides some of the tailwind and I get something like this:

Thank you @mkocansey, You are correct! Sorry for not spotting that issue before.
I needed to add this to my tailwind.config.js
import colors from 'tailwindcss/colors';

...

colors: {
    primary: colors.blue,
    secondary: colors.slate,
    green: colors.emerald,
    dark: colors.slate,
    success: colors.emerald,
    error: colors.red,
    warning: colors.amber,
    info: colors.blue
}


Review bundled dependencies from #559

We want to do small and fast PR but that was not the case of #559 who grew to be too big and stale.
So I merged it and created this issue so that @LouisCAD can check a posteriori whether the following dependencies are OK

Jetbrains.exposed.*
Ktor2.*
KotlinX.lincheck.*
KotlinX.multik.*
KotlinX.dataframe.*
KotlinX.deeplearning.*
Koin.navigation
Kotlinx.dataframe
Testing.cucumber
Testing.assertj
Testing.jsonAssert
Testing.powermock
Testing.restAssured

Arrow: review if missing dependencies https://search.maven.org/search?q=a:arrow-stack
KotlinX: remove dataframe.gradlePlugin
KotlinX: remove import
Spring: remove boms.springclmoud
Square.okhttp3: move comments to Kdoc
Ktor: remove Ktor1 vs Ktor2, use built-in mechanism, add this comment // TODO: Migrate to ktor2. See https://ktor.io/docs/migrating-2.html
Testing.kotest.kotestExtensions => move to kotestProperty and check if version is the same for both dependencies. I think it's not
Remove val jsonAssert = DependencyNotation("org.skyscreamer", "jsonassert")
Remove Testing.cucumber because too many dependencies/versions available at https://search.maven.org/search?q=g:io.cucumber
Remove Testing.powermock

Not for now
how to handle third party DN like for Ktor2 plugins?

I think Ktor2 version key rules were also forgotten. I'm adding them back.


ERROR: cannot load remote service names: server error (Internal Server Error)

docker-compose -f docker-compose.yml -f docker-compose-cassandra.yml up
ERROR: cannot load remote service names: server error (Internal Server Error)
i find
host:9411/zipkin/api/v2/remoteServices?serviceName=all
500 Internal Server Error

the url is strange as it shouldn't attempt to load names for service 'all's
can you try zipkin lens to see if same?

fwiw I did the following and no error. maybe you can try latest pull?
docker-compose -f docker-compose.yml -f docker-compose-cassandra.yml pull
docker-compose -f docker-compose.yml -f docker-compose-cassandra.yml up
# then in another window
curl -s localhost:9411/zipkin/api/v2/remoteServices?serviceName=all
[]

thanks


Fixed blog translation on EN

Fixed translation for blog and blogs words
Solving https://github.com/elcodi/bamboo/issues/192

Will be merged after travis OK


Added test to check that length of data is the same before and after …

…feature union

Pull Request Test Coverage Report for Build 85

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 98.138%

Totals

Change from base Build 83:
0.0%

Covered Lines:
432

Relevant Lines:
434

💛  - Coveralls


Clustering fails when cluster size is less than 5 samples

If cluster size is less than 5 we can't split the data into testing and training because we ask for test set to be 20% of total cluster size.

Closed with #24.


Work around ThreadPool error when targeting HashLink in Haxe 4.0-4.1.

Fixes #1851, at least for Haxe 4.0.5. I couldn't reproduce the issue in Haxe 4.1.5, possibly because I'm using Linux rather than Mac. But since it pointed to the same two lines, I think it's safe to assume it's the same bug.

I confirm that this fixes the issue for both Haxe 4.0.5 and 4.1.5 on my machine.


Frequency axis incorrect for FFTA, FFTP

Reported by Ansley B Manke on 18 Jun 2003 15:49 UTC
The axis definition really needs to be done in
double precision.  There's a kludge in ffta.F
and fftp.F which gives the wrong axis length
for long time axes.
yes? DEFINE AXIS/t=1:10000:1 dayt
yes? DEFINE GRID/T=dayt  tgrid
yes? let tpts = t[gt=dayt]
yes? LET sample_function = sin(0.5tpts - 6.)/2. - cos(0.3tpts)
yes? LET days_fft = ffta(sample_function)
yes? PLOT days_fft
yes? ! FFT_nf SHOULD BE HALF the number of pts in the input time series, rounded
down
yes? LET FFT_nf = days_fft,return=lend
!-> DEFINE VARIABLE FFT_nf = 5005
yes? list FFT_nf
VARIABLE : 5005
5005.
Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/566

Comment by<EMAIL_ADDRESS>on 23 Jun 2003 20:54 UTC
new utility routine ef_set_freq_axis.F, computes parameters
for the frequency axis within the C code.


Issue with flashed plug - Wifi showing Vtrust-recovery?

Hi all,
I tried flashing a plug some time ago and for some reason it didn't flash completely.
I tried to sort it today and when i start the flash script it will pick up the device without me trying anything and try and pull the current firmware for a backup but it fails and then gives me the options to flash / restore etc.
I've tried flashing a file to it but it states that the device is not available on port 80.
as well i've noticed that there is a vtrust-recovery SSID showing up.
Is there anyway to recover this device?

Make sure you can access the vtrust-flash AP, then reconnect your device. You should then be able to curl http://<IP_ADDRESS>/flash3 or whatever you'd like to do.

What model of plug is causing you issues? You can try some of the solutions I have prepared in this document, and let us know if any of them help. Note the document mentions ProxMox but most information is valid for normal tuya-convert processes.
[-=SrZ=-]
tuya-convert-help.pdf

This plug thats causing the issue is an AISIRER plug. I've got another one of the same plug that i flashed yesterday without an issue.
Since i originally tried to flash this plug i've changed the device that i used to sit on the vtrust wifi. It's gone from a Android tablet to a Windows laptop. I've also flashed 2 other plugs yesterday with no issues and managed to recover one as well.
I've tried this plug again and i'm still getting timeout errors on screen. It is seeing that the device is connected.
"curl: (7) Failed to connect to <IP_ADDRESS> port 80: Connection timed out"
Does anyone know what the recovery SSID is and what it can be used for?

My experience is the plug has been placed in to 'Stage 1' and is now waiting for firmware to be pushed to it. If I am not mistaken, you DO NOT NEED a device to connect to Vtrust at this point, the hack has already been performed - you might find success rapidly proceeding through the steps (as if you had connected to vtrust) the device will come online, backup, and allow flashing. You will have to delete the failed backup file matching this device (it uses the chipset ID) - best to rename it, and keep it.
Did the backup 'freeze' on you? Did you try plugging the device in to a different outlet -- perhaps a picky power supply?
[-=SrZ=-]

I've tried 2 different outlets and get the same result.
It did freeze when i did the initial backup some time ago and since then i've re-installed the OS so i don't have the original backup file.

I had that exact issue with SP20 plugs, some were picky -- I was able to recover all of them following the tips I have provided in the help document. I was able to use a UPS device to recover a stubborn unit, I blamed dirty power/bad powerbars+filtering.

I've tried everything in the help document with no change.
I have moved it to a different power strip and still the same.
The only difference between what i'm doing and the document is that i'm doing it through a RPI3 and not Proxmox.
I'll give it another go on a different power strip but otherwise i'll have to pull it apart and see if i can easily get to the pins

I am sorry that it didn't help!
The key thing I keep hearing about is the device being used to connect to Vtrust really does matter. Some people have reported 2 devices not working (that might have worked previously) and trying a 3rd then Boom. they get it. Not sure why this happens, but I have heard about it numerous times.
Good luck!
[-=SrZ=-]

Closing due to inactivity, feel free to open a new issue if you have any concerns.


create instead of throw in Exception producer

Situation
In
https://github.com/exasol/release-robot/blob/4c32ce7b53cfe21729fb10af94c40c36b5d35f57/src/main/java/com/exasol/repository/maven/MavenPomParser.java#L84
the message that produces an exception, only creates it, but does not throw it. Please rename the message accordingly.

Closed with #40


Typescript and Javascript Language Feature crashes

Type: Bug
Typescript and Javascript Language Feature crashes when i am opening jsx file on vs code .... i had already restart vs code so many time and even i had reinstall vs code but it won't work..
 We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.
Happy Coding!

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Deployment: Agent Disk Size

Describe the bug
The aksAgentOsDiskSizeGB.metadata.description in https://github.com/Azure/application-gateway-kubernetes-ingress/blob/1997096de11119f6ac8a29602d53ad1fe5e3ce7d/deploy/azuredeploy.json#L57 says that 0 would set the disk size to the default size of the agentVMSize. But the minimum size is 30 GB.

@florianrusch yes, the AKS cluster doesn't support VM size under 30 GB. I will update aksAgentOsDiskSizeGB minimum to reflect that. Thanks.

Fixed as part of #86


Storing authentication information between middlewares

Currently, after calling node-oauth2-server handlers, some results are exposed via req.app.locals. As stated here, this persists throughout the lifetime of the application. res.locals only persists throughout the lifetime of the current request. It seems to me the second option should be used, since authentication is request specific. Is this an intentional decision?

Not intentional at all. Nice catch :)
You can submit a PR if you'd like. Otherwise I'll fix it soon.


Fix arm resource extension

Fixes https://github.com/Azure/autorest.csharp/issues/2790
Depends on https://github.com/Azure/autorest.csharp/pull/3257
Description
We previously have a bug that all scope method (the methods that are not detected to be on a resource) will not be generated, for instance /{scope}/providers/Microsoft.Monitor/doSomething
This PR fixes this issue, and methods like this will be generated as extension methods following the same pattern as ArmResourceExtensions, like
public partial static class RPExtensions
{
// this method will always be generated
public static Response<DoSomethingResult> DoSomething(this ArmClient client, ResourceIdentifier scope, /* other parameters if any */ CancellationToken cancellationToken = default)
{
}

// this method is only generated when we have the corresponding entries in the `generate-arm-resource-extensions` configuration
public static Response<DoSomethingResult> DoSomething(this ArmResource armResource, /* other parameters if any */ CancellationToken cancellationToken = default)
{
}
}

Checklist
To ensure a quick review and merge, please ensure:

[ ] The PR has a understandable title and description explaining the why and what.
[ ] The PR is opened in draft if not ready for review yet.

If opened in draft, please allocate sufficient time (24 hours) after moving out of draft for review

[ ] The branch is recent enough to not have merge conflicts upon creation.

Ready to Land?

[ ] Build is completely green

Submissions with test failures require tracking issue and approval of a CODEOWNER

[ ] At least one +1 review by a CODEOWNER
[ ] All -1 reviews are confirmed resolved by the reviewer

Override/Marking reviews stale must be discussed with CODEOWNERS first

@m-nash @ArthurMa1978 could you take a look?

Yes.

Approving as long as the answer to this question is true.
Are all the diffs in the regen preview that added new APIs things that were missing due to the bug that is linked? Meaning they are extensions on non resources?

Yes. We will polish all the new apis introduced by this change and then merge this PR


djxl does not output extra channels

Describe the bug
--output_extra_channels does not work and only a single PNG is written
To Reproduce
djxl suz-multichannel-800px.jxl --output_extra_channels multichannel.png

Environment

OS: Windows 10
CPU type: x86_64
cjxl/djxl version string: JPEG XL decoder v0.10.2 e148959 [AVX2,SSE2]

Working on a fix. Note that this already works for decoding to ppm and pfm.


Feature Request: Include image URL's and/or a link in the "image" key in Frontmatter

I think only being able to use images that have exactly the same name as the current note is a bit too stringent. Having the option to include image links would make including images more flexible, and doesn't require you to have the image saved on disk.

Hi @Pachtjuilaard
You have a good point. Will add this requirement to the upcoming v1.3
Ciao

Released in v1.3


fix: search results floor & unit continuously loading

Thank you for your contribution to the KodaDot - One Stop Shop for Polkadot NFTs.
👇 __ Let's make a quick check before the contribution.
PR Type

[x] Bugfix
[ ] Feature
[ ] Refactoring

Context

[x] Bugfix #7375
[ ] Requires deployment <snek/rubick/worker>

Did your issue had any of the "$" label on it?

[ ] My DOT address: Payout

Comments

When searching in the search bar on collections the floor price and units is stuck in loading state.
Make object reactive so that updates on the object are displayed on the UI.

Screenshots
Problem:

Fix:

Copilot Summary

🤖 Generated by Copilot at 64b8712
Improved the code structure and reactivity of SearchSuggestion.vue by using the composition API and reactive objects.

🤖 Generated by Copilot at 64b8712

To improve the code quality
And the reactivity
They refactored SearchSuggestion.vue
With the composition API
And used reactive objects for the view

I could not test it on preview env due to CORS setting

yeas, quite annoying. should we open an issue to change these settings?

yeas, quite annoying. should we open an issue to change these settings?

https://github.com/kodadot/workers/pull/161


Add status endpoint

To get last modification time of each graph and possibly more metadata such as provenance.

An additional LOD endpoint to list terminologies should be enough as everything is available via SPARQL or Cypher anyway.


Some thoughts on the sample app

I've been going through this, and I wanted to offer some input on a few things.
https://github.com/mantrajs/mantra-sample-blog-app/blob/master/libs/collections.js
I can see the benefit of using import/export in general, but I think it's problematic with Mongo collections, because I use meteor shell quite often to debug and test things, and so now I wouldn't be able to access Posts in the meteor shell. Though maybe this is more an issue for MDG to solve.
https://github.com/mantrajs/mantra-sample-blog-app/blob/master/client/configs/routes.jsx#L11-L41
I've already mentioned this on the Meteor forum, but this is rather intimidating, and IMO is a step backwards from simply being able to do:
FlowRouter.route('/', {
  name: 'posts.list',
  action() {
    mount(MainLayoutCtx, {
      content: () => (<PostList />)
    });
  }
});

FlowRouter.route('/post/:postId', {
  name: 'posts.single',
  action({postId}) {
    mount(MainLayoutCtx, {
      content: () => (<Post postId={postId}/>)
    });
  }
});

Speaking of the above code, why does the content passed to mount have to be a function? With react-layout, we can just do:
ReactLayout.render(MainLayout, {content: <Post postId={postId} />});

So would it not be possible to have the syntax be like this:
mount(MainLayoutCtx, {
  content: <Post postId={postId} />
});

I know Mantra is in a super early stage, but I wanted to provide just a few thoughts.
Thanks!

Okay, I get the issue with Meteor shell. I think it's a more meteor specific issue.
Okay, you need to pass a function to the layout because, we use React Context for our dependency injection system. To do that, you must render the component inside the layout. Not inside the route.
That's why are passing a function.

Hope we can close this. Feel free to discuss.

Sounds good.. minor stuff. Looking forward to seeing Mantra progress!


Redgate: Azure Explorer not available

Unfortunately Redgate's product is no longer available

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

ID: 08d5d605-63a1-1388-59b9-2ec6d5b40766
Version Independent ID: 11230eca-a134-fa35-63d8-7b195f0ca37a
Content: Tools for working with Azure Storage
Content Source: articles/storage/common/storage-explorers.md
Service: storage
Sub-service: common
GitHub Login: @tamram
Microsoft Alias: tamram

@DavidVCooper Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.


tfsec: 0.38.3 -> 0.38.4

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/tfsec/tfsec/releases.
meta.description for tfsec is: "Static analysis powered security scanner for your terraform code"
meta.homepage for tfsec is: "https://github.com/tfsec/tfsec"
meta.changelog for tfsec is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 0.38.4 with grep in /nix/store/jkv8hjrjc8igjhj1yhjr2kg0ccm3mp6m-tfsec-0.38.4

directory tree listing: https://gist.github.com/d047e1f9e41e03cf3ba4cc17c7b33804

du listing: https://gist.github.com/9f6f297a48dfbb8c53581fb438cda60f

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
tfsec

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/jkv8hjrjc8igjhj1yhjr2kg0ccm3mp6m-tfsec-0.38.4 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A tfsec https://github.com/r-ryantm/nixpkgs/archive/329b71aeb69ea075c6e262ba87eb58e15d32b1a3.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/jkv8hjrjc8igjhj1yhjr2kg0ccm3mp6m-tfsec-0.38.4
ls -la /nix/store/jkv8hjrjc8igjhj1yhjr2kg0ccm3mp6m-tfsec-0.38.4/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

tfsec

Maintainer pings
cc @marsam for testing.

Result of nixpkgs-review pr 113617 at 329b71ae run on aarch64-linux 1

1 package built:

tfsec

1 suggestion:

error: no-flags-array
buildFlagsArray is only intended to be used in Bash, not as a Nix attribute.
Near pkgs/development/tools/analysis/tfsec/default.nix:16:3:
   |
16 |   buildFlagsArray = [ "-ldflags=-s -w -X ${goPackagePath}/version.Version=${version}" ];
   |   ^

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

1 package built:

tfsec


Fix external libswoc builds

This fixes builds against external libswoc rather than the local ATS lib/swoc code.

Cherry-picked to v10.0.x


Link to Traceur in README file

Added link to Traceur in README file.

@rbuckton: Added a link to Traceur since I never heard of it, and was wondering if it was just a word or a library of some sort.


Improve compatibility and consistency between Python REPL and terminal commands in the Command Palette

TLDR: Streamline the Python REPL experience by unifying REPL and terminal commands, and adding customization options for IPython integration.
(This is a mix of feature request and bug report)
Suppose one has a python script open.
There are (at least) three methods to use a "vanilla python interface" (not using the Interactive Mode or the Debugger)  using the Command Palette:

Run the whole file in a terminal using  Python: Run File in Terminal.
Select part of the file (or all of it), and run the command Python: Run Selection/Line in Terminal (which has the default shortcut command Shift+Enter).
Use the command Python: Start REPL and then copy and paste the code.

Unfortunately, none of these commands seems to be compatible with each other in several ways:

If one does Python: Start REPL and then selects part of the script and runs Python: Run Selection/Line in Terminal (or use the keyboard shortcut), it creates a new terminal instead of opening in the current REPL.
Same behavior as above if one runs  Python: Run File in Terminal
If one has run some code using Python: Run Selection/Line in Terminal and then selects  Python: Run File in Terminal, one gets an error as the IDE tries to run /path/to/python/bin "/path/to/file" inside the Python terminal, which obviously does not work.
There is no way to start the REPL associated to Python: Run Selection/Line in Terminal without actually selecting a code and running it.

My suggestion is to clean up all of these commands: The command Python: Start REPL should start the same REPL as the one started with Python: Run Selection/Line in Terminal.  The command Python: Run File in Terminal should run the code in the REPL if it is open, and to run in a new REPL, the command should be the Python: Run File in Dedicated Terminal. Running the command Python: Start REPL  several times should create new REPLs, so the code can be run in different ones.
A bonus would be that the REPL is chosen to be IPython if the user wants. This is already possible by modifying the settings.json and including the entry
    "python.terminal.launchArgs": [
        "-m",
        "IPython",
        "--no-autoindent",
        "--matplotlib",
        "-i",
    ],

but it would be better if this has some more support, including have custom launch arguments to be able to include %load_ext autoreload \n %autoreload 2
The issue #22674 is already acknowledging that there are a lot of people in the community (like me) asking for a better REPL experience, with a variable explorer and a plots plane, like the Julia extension or Spyder (and that is not based on the Interactive Mode, which has several issues). While I agree that it would be great if these features were made available, I think that what I report above would be an easier fix and also a first step in the right direction.
Finally, I know that there are some extensions that are supposed to provide IPython integration. However, these are small projects, several of them seem to be effectively abandoned. At least one is in current development, but seems to be a one person effort. Moreover, any extension does not fix the issues above and only creates yet another method to run python files.

Hi @raphaelchinchilla  Thank you much for the bug report and suggestion on better integration across different ways of triggering REPL. I agree that there should be more unified experience in regards to Python: Start REPL and the shift+enter inside a Python file that triggers command being sent to the REPL.
In terms of native IPython support, we do not have plan to ship IPython in box for multiple reason including the size of it and existence of interactive window. See related here: https://github.com/microsoft/vscode-python/issues/17172
Good news is there is investigation for VS Code Native REPL that will provide some of the main features that people have been desiring such as autocomplete, syntax highlighting, command history. This native REPL will potentially be able to leverage Jupyter's variable viewer feature that is behind notebook at the current moment.
In terms of variable explorer, Jupyter extension just launched a variable viewer that nicely goes on the side var that you can check it out if you wish.
Is there any specific reason for your preference towards IPython? I would love to take some of the nice things that attracted you with IPython and Spyder's interactive mode.

Thank you @anthonykim1 for taking the time to look at this.

In terms of native IPython support, we do not have plan to ship IPython in box for multiple reason including the size of it and existence of interactive window. See related here: https://github.com/microsoft/vscode-python/issues/17172 and https://github.com/microsoft/vscode-python/discussions/19955

It is a shame to hear that. I will go on later in why I don't like the interactive window.

Good news is there is investigation for VS Code Native REPL that will provide some of the main features that people have been desiring such as autocomplete, syntax highlighting, command history. This native REPL will potentially be able to leverage Jupyter's variable viewer feature that is behind notebook at the current moment.

This sounds promising, interested to see what it happens out of it.

In terms of variable explorer, Jupyter extension just launched a variable viewer that nicely goes on the side var that you can check it out if you wish.

Is there any specific reason for your preference towards IPython? I would love to take some of the nice things that attracted you with IPython and Spyder's interactive mode.

For me, IPython is better than the regular Python REPL as it supports all of the magic commands. But a particular application that I really like about IPython is that I can just go to my code and set a breakpoint by writing breakpoint() without having to go to a have heavy debugger that slows my code. IPython also supports post mortem execution with the command %pdb on which is very useful for me.
VS Code's Interactive Mode is similar enough to Spyder that I use it when I need to use Python on VS Code. However, it has the fundamental flaw that one cannot use it for debugging https://github.com/microsoft/vscode-jupyter/issues/1278. This might be solved one day but as it has been almost 5 years and there is no solution yet, I figured I might just use IPython.
I believe that the fundamental flaw is that ipykernels do not seem to work very well with debugging pipelines. Writing breakpoint() never sets a breakpoint, and post mortem execution is not great either.
Anyway, if these would be fixed by VS Code's REPL (which if I understand well, will be different than the Interactive Mode), then great. Otherwise, I would rather just continue to use IPython and have a nice way to start a kernel...


choosing hackrf as device for examples?

Hi Everyone,
Do I need to choose or set hackrf as my device for the examples?
I get an error,
FutureSDR: ERROR - Source_0: Error during initialization. Terminating.
FutureSDR: ERROR - Source_0: Error in Block.run() Soapy (StreamError: RtAudio init error 'RtApiDs::probeDeviceOpen: error (Invalid parameter) creating input buffer (Default Device)!)
Richard

I'll add that I'm on windows 10, and I can connect to my hackrf using CubicSDR.

I guess I do have the other error,
←[1m←[33m[WARNING] SoapyVOLKConverters: no VOLK config file found. Run volk_profile for best performance.←[0m

Soapy considers your sound card as SDR. Most applications have CLI parameters to select the soapy driver.
 cargo run --release --bin [...] -- -a soapy_driver=hackrf

Thanks Bastian. That works fine.
I am receiving 'Seify Source Overflow' with the keyfob and adsb examples, but confirmed I'm headed in the right direction by connecting error free to the fm-receiver example.  Always nice to hear the sdr radio...
Cheers, Richard


Balance asset sum differs form balance header - off by 0.01

Current behavior
The total balances screen header and the sum of the total balances items differs by 0.01.
Desired behavior
The sum of the individual items should match the total balance displayed in the header.
Steps to Reproduce

On a wallet with cUSD, cUSD, and CELO.
Navigate to the total balances screen.
Sum the balances and compare to the balances header.

Screenshot - Balance sum is +0.01 than header

Versions
1.22.0

Hi @MuckT we have verified the above issue on latest iOS TestFlight Build V:1.22.0 and latest Android Internal build V:1.22.0 and issue is not repro for us
Observation : We are not getting +0.01 balance difference if we calculate the amount by adding it , it shows same as seen in balances
Attachments : 1466.jpg
Verified on devices : OnePlus 7T(11.0) , iPhone 12(15), Redmi Note 8(9.0)


fix compatibility with macOS

Resolve #29

Somehow it looks like the same commit but with a different hash has ended up in master.

I've dropped LICENSE with a rebase-and-force-push. (Maybe force-pushing should be limited to administrators, as organization members like me might make mistakes.)

So, did the macOS fix end up in master accidentally?

Maybe force-pushing should be limited to administrators, as organization members like me might make mistakes.

We could protect the master branch from force-pushing. I'm not sure there's a way to make this apply to everyone but admins, but force-pushing on public branch is rarely a good idea anyway.

So, did the macOS fix end up in master accidentally?

Yes I messed up with my local branches, and this fix is on master branch now.

Maybe force-pushing should be limited to administrators, as organization members like me might make mistakes.

We could protect the master branch from force-pushing. I'm not sure there's a way to make this apply to everyone but admins, but force-pushing on public branch is rarely a good idea anyway.

Or we could be more restricting, that only admins can push to master without a maintainer-reviewed PR.

BTW, @liyishuai I've sent you a message on Zulip asking whether you wanted to become an official maintainer of this repo but I now realize that you probably don't use Zulip yet. Please see this message regarding how to get access to your account that was migrated from Gitter.


Update compare-report-server-service.md

Removed R Visuals row in the comparison table.

@ManuSQLGeek : Thanks for your contribution! The author, @maggiesMSFT, has been notified to review your proposed change.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

powerbi-docs/report-server/compare-report-server-service.md
:white_check_mark:Succeeded

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

@ManuSQLGeek : Thanks for your contribution! The author, @maggiesMSFT, has been notified to review your proposed change.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

powerbi-docs/report-server/compare-report-server-service.md
:white_check_mark:Succeeded

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

When does this gets updated on the page? Is there something I need to do? Sorry I am new to git and not sure what needs to be done.

@ManuSQLGeek Your pull request has been assigned to the article author for review.

Hi, @ManuSQLGeek -- Thanks for your interest! Question: why are you suggesting that we remove this line about R visuals from the table? I have confirmed with the product team that it's still true.

Hi Maggies,
Thanks for checking with product team. I was confused because the Power BI Desktop Optimised for Report Server allowed me to create an R Visual. When I uploaded that report then it says "R visuals are currently disabled in your organisation" and the help link takes to the Power BI Service related R visuals page - https://docs.microsoft.com/en-us/power-bi/desktop-r-visuals.
I am thinking one the following three actions should be helpful to clear this confusion or people wasting time to create the R visuals in the desktop and fianlly realising it doesn't work after uploading the report to the Report Server.

The desktop should not allow to create the R visual.
If it allows, the visual should be enabled in Power BI Report Server.
Worst case, the help link should be directed to a right page which contains related info.

Thanks,
Manu

Oh, thanks for clarifying, @ManuSQLGeek! I get it now. OK, I'll update the language in the table to make that clearer.