Added integration for DevDocs.io

Track the time for learning!

The pull request will be evaluated and merged after the end of the toggl developer challenge deadline (https://toggl.com/toggl-developer-challenge) on February 14th. Thank you for your contribution.

@IndrekV Any schedule for evaluation? It seems like there's not much activity in the repo.

Integration merged, thank you for your input and the integration. Release of new Toggl Button with the integration is planned to the end of this week.


change TextEditingController.clear() behavior

Description
I have changed the TextEditingController.clear(), after calling this function, the selection will be collapsed at zero offset instead of an invalid selection.
There are two reasons for this:
1, The initial selection state of the IME is collapsed at zero offset.
2, TextCapitalization.sentences behavior is only valid when the selection starts at 0 offset.
Related Issues
Fixes #66316
Tests
I added the following tests:
See files.

@justinmc please review, thanks :)

@xu-baolin This is apparently causing an internal failure with the message: "A TextEditingController was used after being disposed."
I'm not sure exactly how that could be caused by this, but I'm looking into it.

Here's what's going on:
An internal Flutter user is calling .clear on a TextEditingController after it has already been disposed.  Previously, this didn't matter, because the TextEditingController already had the default value of TextEditingValue.empty, and so the value was not changed when .clear was called.  Now, however, .clear sets the value to TextEditingValue(selection: TextSelection.collapsed(offset: 0)), which is different and triggers a change in the disposed TextEditingController.
While the user probably shouldn't be calling .clear after it has been disposed, is there anything we should consider?  Is it ok that clear now no longer resets to the default value used when creating a TextEditingController (see code)?

 Previously, this didn't matter, because the TextEditingController already had the default value of TextEditingValue.empty
when did the controller value set to empty?

When did the user called clear()?
The also some warning information for the method:
https://github.com/flutter/flutter/blob/95909c2a04ef62cc72aab61ac26157b8a8ad7a20/packages/flutter/lib/src/widgets/editable_text.dart#L236-L241

TextEditingController's TextEditingValue is empty if it's not passed into the TextEditingController constructor: https://github.com/flutter/flutter/blob/9951638f3bf3c0458779ddb3a89d8f8d9cee5bdb/packages/flutter/lib/src/widgets/editable_text.dart#L131
The user called clear inside of an addPostFrameCallback.
I'm going to try to get in touch with the author of that addPostFrameCallback and see if we can improve that code so it can't call clear after disposal.

@xu-baolin The test has been changed to no longer use addPostFrameCallback, so we should be all good to reland this as-is.  Would you be able to open a new PR that reverts https://github.com/flutter/flutter/pull/68920 so we can merge this again?


How can I change the pro audio pipewire profile?

I have no idea how and am stuck

Can't really offer general desktop support here, check whatever Ubuntu specific documentation exists. On KDE you just do it from the audio settings.

i mean for kde, i tried going to pulseaudio settings but the only option other than [off] was [n/a (unplugged)]


How to test on new sound file?

Hello, how to use the trained model on new sound file?

I mean the inference, and how to save the trained model after training?


Navigating back to last page doesn't work with router = false

Describe the bug
If a page has specified the page option router = false, you cannot navigate back to a previous page using the browser's back button.
Reproduction
https://github.com/probablykasper/sveltekit-router-false-bug
Logs
No response
System Info
System:
    OS: macOS 10.15.7
    CPU: (8) x64 Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz
    Memory: 712.65 MB / 32.00 GB
    Shell: 3.5.1 - /usr/local/bin/fish
  Binaries:
    Node: 16.15.0 - ~/Library/Caches/fnm_multishells/41321_1661559717152/bin/node
    npm: 8.12.1 - ~/Library/Caches/fnm_multishells/41321_1661559717152/bin/npm
  Browsers:
    Chrome: 104.0.5112.101
    Firefox: 103.0.2
    Safari: 15.6
  npmPackages:
    @sveltejs/adapter-auto: next => 1.0.0-next.66
    @sveltejs/kit: 1.0.0-next.443 => 1.0.0-next.443
    svelte: ^3.44.0 => 3.49.0
    vite: ^3.0.4 => 3.0.9

Severity
serious, but I can work around it
Additional Information
No response

The router option is no longer supported (replaced with csr https://kit.svelte.dev/docs/page-options#csr) so I'll close this issue


Webview Process Terminated

I am attempting to embed a Unity WebGL game with my react-native application and serve the game via this react-native-webview. The game runs pretty well at first, but them I get the Webview Process Terminated message and I need to restart the process using the onContentProcessDidTerminate prop. The event sent to that function doesn't have any information about what caused the crash. Is there a way to understand what's happening to cause this crash? Running on iOS. Thanks.

Ill never understand why issues are simply closed with no resolution.
Having the same problem when embedding a SPA

While this topic is closed, hopefully this helps anyone that stumbles in.
I was finding the same thing with an app I was working on however what I discovered was this only affected simulators and only certain ones. When using a physical device it would work as expected. I managed to find this by having a physical device of a simulator that was causing this issue and having the physical device work perfectly.

Facing the same issue


Add SASL_LIBRARY link to all sub projects.

Currently, if SASL_LIBRARY is needed, several sub projects cannot be built because SASL_LIBRARY is not added to the these targets' linked libraries list, and linking will fail.

The modern-cpp-kafka is just a header-only C++ wrapper, and the user applications/projects should decide whether to link sasl lib in, or not.
Besides tools, there're also binaries built for tests, while we don't need it for CI.
So, do you mind providing more details about your failure? I.e, are you include the complete modern-cpp-kafka directory in your project?

Hi @kenneth-jia,
I am not trying to include modern-cpp-kafka in my project for this, instead, I would like to add some new APIs for modern-cpp-kafka, and would like to build the project, including unit tests, tools and examples. But when I try to do some development for this project, my local env happens to have a librdkafka with sasl. Since currently, modern-cpp-kafka's unit test doesn't enable sasl, in this case, if developers would like to build this project, they have to have two envs, which is not convenient.
In this PR, I added ${SASL_LIBRARY} to unit tests and examples modules, but since this ${SASL_LIBRARY} is optional (it will be empty if not specified), so for users not using this feature, they won't be affected, and I hope this makes it easier to develop for this project if SASL is used by the developer.

I see your points, and it also makes sense to test Kafka with sasl enabled.
Let's merge it into a feature branch (i.e. Feature-EnableCIForTestWithSASLConnection) as the first step, I'll refine the CI to enable some test with sasl enabled, and merge the feature branch to main when all is ready.


Support basic filesystem information

There is an earlier chat about sonatype s3 size. I thought it was good to know the size for Indy 'filesystem'.
I add a table to store the file count and total size. Not sure how useful for now. Maybe PNC can tell users the total disk they have consumed and clean something old.
I am not sure how to set the initial size for old repos. Listing and counting a repo is heavy for big ones. So this feature is useful only for the new repos.
Updating the size info is in async threads. I also move some code to async mode, like updating the reverse-map, mkdir, etc.
If you think this is good feature, I'll merge it.

Yeah, looks good to have this.

I don't remember exactly this filesystem means in indy, is it package type (maven or npm)?

In indy, It is sth like "maven:remote/hosted:abc".

In indy, It is sth like "maven:remote/hosted:abc".

Cool. Like this idea to collect repo files information. :+1:

Thanks guys!


Support capture directly from ALSA

Not everyone uses PulseAudio.
Bonus: just let us add arbitrary ffmpeg flags.

Bonus: just let us add arbitrary ffmpeg flags.

What APIs can be used for this?

Bonus: just let us add arbitrary ffmpeg flags.

What APIs can be used for this?

Ah, I guess libav doesn't really provide a good way. Neat idea for a new library, though, ffmpeg args to libav config.

Ah, I guess libav doesn't really provide a good way. Neat idea for a new library, though, ffmpeg args to libav config.

@ammen99 is there any progress on this?

how to use pipewire instead of pulseaudio or pure alsa if possible ????


feat: add PolicyStatus for EnvoyPatchPolicy

What type of PR is this?

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #2631

/retest

/retest


[Bug] Control Ordering of Keys when JSON Marshaling the Order Field

According to the cubejs docs, the Order field on the query model has this behavior:

an object, where the keys are measures or dimensions to order by and their corresponding values are either asc or desc. The order of the fields to order on is based on the order of the keys in the object.

However, this client currently models the Order field as a simple map[string]string. When JSON marshaling such a map, golang does not guarantee any particular order of keys in the output document. This can cause unexpected and incorrect behavior when requesting results to be ordered by multiple keys in a particular priority.

See https://github.com/TernaryInc/cubejs-go/pull/3/files

Resolved in #3


[dvc][server] Added safeguard in LFSIT::updateOffsetsFromConsumerRecord

There seems to be a race condition where the RT offset gets persisted into the VT offset field of the PCS. This change guards against this bookkeeping error, and logs information if it happens.
How was this PR tested?
CI
Does this PR introduce any user-facing changes?

[x] No. You can skip the rest of this section.
[ ] Yes. Make sure to explain your proposed changes and call out the behavior change.

Should we also log current role of replica?

It is included in the PCS::toString 🤝


OOP school library: set up associations

In this milestone of the project, I did the following:

Created a class Classroom.
Created the has-many/belongs-to relationship between Classroom and Student.
Created a class Book.
Created a class Rental.
Created the many-to-many (also has-many-through) relationship between Person and Book using the intermediate class Rental.

@codecaiine 👍


Wrong Per-domain counters

The per-domain counters in the Statistics section seems to be off. All my values are greater than the actuals. Adding a new simpleuser seems to increase the counter for that domain by 2.
modoboa==1.3.5
modoboa-admin==1.1.2

Thanks for your feedback but you could please create your issue into the appropriate repository:
https://github.com/modoboa/modoboa-admin

Sorry, my bad!


is there android client apk/app for scrcpy? thx

is there android client apk/app for scrcpy? thx

No. There is a scrcpy-server (which is technically an apk, but not to be installed).


Add support for fine-tuned models in encoding_for_model

Issue
When trying to call encoding_for_model providing a fine-tuned model as input, the following error occurs:
KeyError: 'Could not automatically map davinci:ft-personal:finetunedmodel-2023-05-23-20-00-00 to a tokeniser. Please use `tiktok.get_encoding` to explicitly get the tokeniser you expect.'

Analysis
See https://platform.openai.com/docs/models/model-endpoint-compatibility
See https://github.com/openai/openai-cookbook/blob/main/examples/How_to_count_tokens_with_tiktoken.ipynb
The following models are allowed for fine-tuning:

davinci
curie
babbage
ada

All of them use the encoding r50k_base.
Fine-tuned models names always follow this format:
model:ft-personal:name:date
where

model is the base model from which the fine-tuned one has been created
ft-personal is a fixed string that tells that the model is fine-tuned
name is a custom name that the user can give to the new model
date is the date of fine-tuning in the format  yyyy-MM-dd-hh-mm-ss

Solutions
Map the models prefixes in MODEL_PREFIX_TO_ENCODING, so that when encoding_for_model calls model_name.startswith, it can also identify all models starting with "davinci", "ada", etc... and, so, identify fine-tuned models.

Rebased & synced with main branch


MSTest v4 TestContext properties should not be nullable

Describe the bug
MSTest 3.0.0-preview-20221122-01
TestContext.TestName is nullable, which is technically correct, but makes no sense to me.
Expected behavior
"All" (those which make sense) Properties of TestContext should not be nullable and throw an exception if the underlying property dictionary has those properties removed or replaced by nulls.
Example:
public virtual string TestName => GetProperty<string>("TestName") ?? throw new InvalidOperationException("Missing TestName");
Having nullable on all those properties just makes tests much more verbose. And when I expect a TestRunDirectory, havin null there is an exceptional case anyway. Plus if I really needed an optional TestRunDirectory I could retrieve it via GetProperty().
Actual behavior
https://github.com/microsoft/testfx/blob/8161dfbba093957e2cd1e6aabaf099a10e2915d3/src/TestFramework/TestFramework.Extensions/TestContext.cs#L122

Hi @Mertsch. I have changed labels to be an improvement because current implementation does return null sometimes but I agree with you that given my current knowledge of the codebase there is no good reason not to make it non-null and throw if property is not found in the bag.
Codebase needs a good cleanup and consolidation that we are planning to do.

I am not sure, but isn't string? breaking? We are getting null ref warnings all over the place for TestName which is new in 3.x compared to 2.x where we optimistically assumed those were NotNull.
If you plan on keeping the code as is shouldn't the class be excluded from nullable ref types feature. To not break existing customers.
I personally would still be using v3 and just "bang" ! everything, but I guess there may be quite a few people annoyed by suddenly being confronted with compiler warnings which they may (like me) treat as errors.

That's a good suggestion. I need to double check if the well-known property could be somehow overridden and if not it might be safer to assume they are not null. Let me think about it.

I had a quick look and we need to do another good refactoring because having this abstract class uninitialized forces us to assume null values. Looks like some properties are also set later in the process, I am not sure if we could change the shape and time to ensure this is not null too.
We will work on this for MSTest v4 as you suggested, this would help signaling "breaking change" for users.


people find "Did you forget to add [] around it?" confusing

There are a couple issues that mention that the "Did you forget to add [] around it?" hint is confusing. Just want to organize them all in one place:

#292
#283
#270

Ended up removing the message. Seems like it's actively confusing in some cases, and in general, probably very rarely the real problem.


Commands are failed to send

Describe The Bug
The logs indicate that some commands cannot be sent
Expected behavior
No errors
Logs
[02/01/2024, 16:10:01] [Levoit Air Purifiers] Failed to send command setLevel to Office Purifier Error: Converting circular structure to JSON
    --> starting at object with constructor 'ClientRequest'
    |     property 'res' -> object with constructor 'IncomingMessage'
    --- property 'req' closes the circle
[02/01/2024, 16:10:01] [Levoit Air Purifiers] Failed to send command setSwitch to Office Purifier Error: Converting circular structure to JSON
    --> starting at object with constructor 'ClientRequest'
    |     property 'res' -> object with constructor 'IncomingMessage'
    --- property 'req' closes the circle
[02/01/2024, 19:00:02] [Levoit Air Purifiers] Failed to send command setSwitch to Office Purifier Error: Converting circular structure to JSON
    --> starting at object with constructor 'ClientRequest'
    |     property 'res' -> object with constructor 'IncomingMessage'
    --- property 'req' closes the circle

Plugin Config
    {
        "name": "Levoit Air Purifiers",
        "email": "",
        "password": "",
        "experimentalFeatures": [
            "Humidifiers"
        ],
        "_bridge": {
            "username": "",
            "port":
        },
        "platform": "LevoitAirPurifiers"
    },

Plugin Version
v2.0.0
Homebridge Version
v1.7.0
Node.js Version
v20.10.0
NPM Version
NA
Operating System
Debian GNU/Linux Bullseye (11)

What unit do you have?

It's a Core200S

Seeing these errors for a Core200S as well.

[11/16/2024, 1:36:31 AM] [Levoit Air Purifiers] Failed to send command setSwitch to Core 200S Error: Converting circular structure to JSON
    --> starting at object with constructor 'ClientRequest'
    |     property 'res' -> object with constructor 'IncomingMessage'
    --- property 'req' closes the circle
[11/16/2024, 6:22:43 AM] [Levoit Air Purifiers] Failed to send command setChildLock to Core 200S Error: Converting circular structure to JSON
    --> starting at object with constructor 'ClientRequest'
    |     property 'res' -> object with constructor 'IncomingMessage'
    --- property 'req' closes the circle

Yes, I'm still getting them. And these:
This plugin generated a warning from the characteristic 'Active': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info.


Allow :primary_key in Table to hold options

In response to the discussion at https://groups.google.com/g/elixir-ecto/c/jWBShTQzK7M
Allows the following:
defmodule MyMigration do
  defmacro __using__(_opts) do
    quote do
      use Ecto.Migration
      import Ecto.Migration, except: [table: 1, table: 2]
      import MyMigration
    end
  end

  def table(name, opts \\ []) do
    {id_length, opts} = Keyword.pop(opts, :id_length, 3)
    {_primary_key, opts} = Keyword.pop(opts, :primary_key)

    primary_key = [
      name: :id,
      type: :string,
      autogenerate: false,
      read_after_writes: true,
      default: {:fragment, "generate_random_id(current_schema(), '#{name}', 'id', #{id_length})"}
    ]

    opts = Keyword.put(opts, :primary_key, primary_key)

    Ecto.Migration.table(name, opts)
  end
end

:primary_key is stored into Table and is then used by Ecto.Migration.__primary_key__/1 to determine the properties of the primary key to add to the migration.

@josevalim tests added and passing!

Added a raise as well as a corresponding test

:green_heart: :blue_heart: :purple_heart: :yellow_heart: :heart:


Ignore error when visiting apps page

Signed-off-by: Feng Xiang<EMAIL_ADDRESS>Issue:
https://github.com/stolostron/backlog/issues/25284

Add flag to ignore 403 error when visiting apps page

/test e2e-cluster


Survey Page 1 Q1 displays inline to headers on larger screens

Prerequisites

[x] Put an X between the brackets on this line if you have done all of the following:

Reproduced the problem in QA
Followed all applicable steps in the TROUBLESHOOTING guide: TODO
Checked for relevant discussions on Discord: https://discord.gg/pPERUuv
Checked that your issue isn't already filed: https://github.com/COVID-19-electronic-health-system/Corona-tracker/issues

Description

We probably just need an additional <Grid> to solve something like this!
Steps to Reproduce

Login on a large monitor
Navigate to survye

Expected behavior:
Survey displays the same as on all screen sizes
Actual behavior:
The question is inline with other components
Reproduces how often:
100% on larger screens
Versions
0.3.9

Fixed in this PR.

on the suggestion from @acthelemann I also prevent it the slider from stretching all the width in this PR


feat: added metric data pulls

Correctly does pull data and lines up columns. This really needs to be wired up with the redux store though holding off on that for now. This page is unadvertised at the moment, but will:

need a back button
need a link to get here as it is done by service (and there can be multiple containers per service)

Adhere closely to initial mocks

Data was corrected and cols updated:


docs: add homebrew and arch aur

Adds instructions on how to install Reth via Homebrew/Linuxbrew and Arch AUR helpers

Should this RUSTFLAGS="-C target-cpu=native" also be included?

I'm not sure how that would work with the Bottles workflow so I left it out.

We don't want to be installing from the binaries to make it faster right? Or maybe we should do brew install paradigmxyz/brew/reth-bin?

Homebrew folks say that is a big no no. For x86 users the workflow builds a bottle (a binary) that is installed by default instead of building from source. We could also have a bottle for m1 if GitHub had m1 runners... but they don't, ofc.
I wanted to override the Bottles thing to download from our releases, but it's not possible - brew expects the bottles to live in a specific place with a specific file name etc., sort of annoying


The Admin menu is not enough, administrative users need a Dashboard

Please complete the following fields as applicable:
What version of the DMPRoadmap code are you running? (e.g. v2.2.0)
V3.0.2
Expected behaviour:
Administrative users expect to be provided with a good overview of all functionality of the tool, and what functions are available to the user with administrative rights.
Actual behaviour:
For all administrative functions (e.g. adding/editing templates, adding/editing guidance, usage statistics, etc,), org admins are expected to use the drop-down Admin menu at the top right of the screen.
DMPRoadmap has increased in complexity, new functionality has been added and there are several levels of administrative rights. Although the Admin menu is a very useful shortcut to all administrative functions, it does not provide a clear indication of what each menu does, particularly for new org admins who have no prior experience of the tool. The names of the various menu items don't make it clear what function they perform. One of the tasks during the usability tests was to edit guidance. Testeed users would often click on the Help menu item on the main menu. 'Guidance could be anything, including general help on how to use the tool' said one tested user. Another task was to add questions to a template on which users' plans were based and tested users would often click on Plans. One said 'everything to do with plans must be under plans'.
We should be able to make use of the existing 'My Dashboard' facility, which at the moment contains the user's plans. For administrative users, this could be expanded so that underneath the plans, the dashboard displays the full list of administrative functions available, together with brief explanations, for example:
Templates
All plans written by users within your organisation are based on templates. Edit your organisation's templates'
(and maybe even list a few templates, plus a 'view full list of templates' button, it wouldn't be wise to list all templates on the dashboard, it would become too cluttered)
Guidance
Guidance is information that helps your users answer questions, as opposed to a general user guide for DMPonline which is available under Help. There is some generic guidance provided by the DCC or by funders. As an administrative user, you can add institutional guidance. Edit guidance
Usage
Here you can view the number of DMPonline users and plans within your institution, the most popular templates.
and so on..
Steps to reproduce:
It's difficult to examine the Admin menu with a first-time user mindset so it may be worth asking someone who has never used the tool to describe what they think the various menu items mean.

This issue arose out of the 2020 Usability Testing exercise


"initialSlide" breaks slider if slide cannot be first slide to be shown

The "initialSlide" functionality breaks the slider if

centerMode=false
and: infinite=false
and: slidesToShow > 1
and: initialSlide > numberOfSlides - slidesToShow

Then it will not be possible anymore to drag the slides (the slider immediately returns to its initial position) and "next" and "prev" links are not working either.
see:

http://jsfiddle.net/w3t1wztc/2/

Steps to reproduce the problem

create a new slider
add multiple slides
configure the slider with centerMode, infinite, slidesToShow and initialSlide settings as described above

What is the expected behaviour?

the slide with "initialSlide" number should be visible
the slider should work as usual, allowing the user to navigate to other slides

What is the observed behaviour?

it is not possible to navigate to another slide, neither by drag nor by click on buttons

I have the same problem. Maybe somebody have some workaround solution for it ?

Don't use slick for your projects, is the workaround.

You can handle the situation yourself, just ensure that you don't exceed the limit:
initialSlide = initialSlide > numberOfSlides - slidesToShow
    ? numberOfSlides - slidesToShow
    : initialSlide;

Ok, thanks. Already did something similar, but just used slickGoTo instead of initialSlide, like:
initialSlide = initialSlide > numberOfSlides - slidesToShow
    ?  initialSlide - ((slidesToShow - 1))
    : initialSlide
$('.slider).slick('slickGoTo', initialSlide, true );

and active slide  visible.


Styles defined in layout omitted from the server-rendered HTML, when Client- and Lazy component use the same package in their code

Environment
[1:52:12 PM] Nuxi 3.6.5
[1:52:12 PM]
[1:52:12 PM] RootDir: /home/freek/projects/the-july-frontend
[1:52:12 PM] Nuxt project info:

------------------------------
- Operating System: Linux
- Node Version:     v18.16.1
- Nuxt Version:     3.6.5
- Nitro Version:    2.5.2
- Package Manager<EMAIL_ADDRESS>- Builder:          vite
- User Config:      extends, telemetry, ssr, fontMetrics, nitro, routeRules, runtimeConfig, build, modules, image, components, bugsnag, devtools, i18n, pwa, app, dnGraphqlClient, vite, plugins
- Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>- Build Modules:    -
------------------------------

Reproduction
https://stackblitz.com/edit/github-tqq5me?file=app.vue,layouts%2Fdefault.vue,pages%2Findex.vue,nuxt.config.ts,package.json
(run npm build, npm preview, then open the preview in a new window with JS disabled)
Describe the bug
When a client-only component is defined within a layout somewhere (it can be nested) it seems to be removing all the CSS styles from any components defined in the layout (page-level components eg. within NuxtPage are fine!) in a very specific use case;
I had a LOT of trouble reproducing this issue, but it seems to only occur if a Lazy component is included within a Client component, and both of those are using the same npm library (in the repro - date-fns).
This is only observed in the server-rendered version of the page. Eg. we're getting a short burst of some unstyled layout-level components like the menu, then their CSS is only added upon hydration -- even though these are not client-only components! Their templates are rendered but their CSS is not added to the <head>
This further only seems to occur in the optimized production build -- not on nuxt dev, only on build && preview
No errors are shown, and hydration works fine, just the CSS is not being rendered in the HTML before hydration for some reason.
Additional context
No response
Logs
No response

I can't reproduce the issue in your StackBlitz. When running npm run build && node .output/server/index.mjs there, the correct style is shown on server-side (inlined).

Sorry, I accidentally linked a wrong reproduction, I later decided to move it to CodeSandbox but linked the older StackBlitz one.
The issue should be reproducable here;
https://codesandbox.io/p/sandbox/elastic-paper-dxmfc5?file=/components/MyClientComponent.client.vue:1,1

Kill the default yarn dev
Run yarn run build && yarn run preview
Open the preview window in a new tab, and use devtools or some other method to disable JS

^This should make the issue reproducable, but let me know if more info is still needed :)

Hi! Instead of creating a new issue, I'm gonna take a gamble and assume that my issue is the same even tho the parameters are not exactly the same. They are similar enough I think!
We have noticed in our big e-commerce application that we are migrating to nuxt3 that when built, unstyled content flashes for a second before the actual styling is shown. The culprit to this stems from using a component in both a lazy-loaded component and a non-lazy-loaded component.
I have created a minimal reproduction version of this issue where I have recreated our setup to the best of my ability, without adding unnecessary stuff to make it easier to analyze. Here is the stackblitz: https://stackblitz.com/edit/nuxt-starter-rhcahb
When loading the app with two instances of the component we get this:

Before the lazy loaded component is rendered the styling is completely missing and only starts showing correctly when both instances are fully loaded and rendered.
When loading only with the instance that is NOT lazy loaded:

In the big app, it is obviously a lot more noticeable. In the reproduction you have to do a recording in chrome and it also helps to use slow 3G. Here is an example run from the big app.

Sadly cant share much code from the big one!
The issue is happening with a very specific case where we need two layers of lazyloading it seems. If i remove it in [...slug].vue (or switch from defineAsyncComponent) or if i remove it from compontents/pages/Default.vue it seems to stop.
Sadly for a few different reasons the setup and the way the components are located is a requirement for our app that would require a much bigger rewrite than we are currently ready to do.
@danielroe let me know if this example is completely irrelevant or if it is more suited for a new stand alone issue.

Would it be possible to increase the priority on this somehow? This is currently fully stopping us from releasing our upgrade since we require the smaller bundle size before releasing.

Would you try with experimental.inlineSSRStyles turned off? 🙏

Updated my repro with this change as well, after updating to the latest version, and still does not work for me either.
Updated reproduction: https://codesandbox.io/p/sandbox/morning-silence-vjkv29?file=%2Fnuxt.config.ts%3A6%2C1-8%2C5
(works in dev, make sure to run with build & preview comds)

I have also updated my repro with the change and it didnt help their either :(

Investigating this, the reason is the same for both of your situations. Layouts are dynamic imports so, just like a lazy-loaded component, their CSS can be included in a separate chunk rather than directly.
This behaviour isn't directly produced by Nuxt, but by Vite, which in the cases you've shown, such as when an auto-import is shared between a lazy component and the rest of the app, moves the CSS file out of the entrypoint CSS in the manifest it produces and into a dynamic chunk.
The result is that the stylesheet is not included in the initially rendered HTML.
As a workaround, you might try adding some code to force-include it, such as adding the below in your app.vue:
// ... rest of SFC

<script setup>
import './layouts/default.vue'
</script>

@danielroe Maybe I'm missing something (as always), but is that workaround really applicable for me when the styling is coming from the components and not from the layout? In my repro example the layout is completely empty except for the template with a slot.

@SebbeJohansson The workaround is to add that import to the app.vue, not to your components.

@danielroe I dont have an app.vue but i removed it for each of them except for the page slug component, but it didn't help either.

So I still dont think that work around is applicable for me. Feel free to make a fork of my repro and let me know what works!

@danielroe

Would you try with experimental.inlineSSRStyles turned off? 🙏
I have the same problem. Disabling inlineSSRStyles helped me.

Please tell me, how to disable inlineSSRStyles only for some components. I would be grateful, if you could write a small example

resolved in https://github.com/nuxt/nuxt/pull/25455


Add getHeader api call

https://github.com/input-output-hk/ouroboros-network/issues/1309

The TestBlock has still many hard-coded parts. Except for that, review addressed.

:tada:

bors r+

bors r+


Spyder fails to start when trying to set language on Windows

I have install anaconda and trying to open spyder, but i am getting the below error.
Traceback (most recent call last):
File "C:\Users\admin\Anaconda3\Scripts\spyder-script.py", line 6, in
from spyder.app.start import main
File "C:\Users\admin\Anaconda3\lib\site-packages\spyder\app\start.py", line 25, in
from spyder.config.base import get_conf_path, running_in_mac_app
File "C:\Users\admin\Anaconda3\lib\site-packages\spyder\config\base.py", line 362, in
_ = get_translation("spyder")
File "C:\Users\admin\Anaconda3\lib\site-packages\spyder\config\base.py", line 336, in get_translation
os.environ["LANG"] = language # Works on Windows
File "C:\Users\admin\Anaconda3\lib\os.py", line 675, in setitem
self.putenv(key, value)
ValueError: embedded null character
I had install-re-install anaconda couple of times.
tried --reset command too, but nothing is working as of now.
Thanks for the help.

I am not sure if this is related but I am unable to open up the Spyder IDE from Windows. I have uninstalled and installed Anaconda, added the path to environment variables during installation also.
It was working fine 12 hours back. I am not being able to grasp what has happened but found this issue.
The attached image shows the status when I click on spyder within anaconda.

@shuvayan Possible, but unlikely, unless you are getting the error traceback specified above.
Thanks for reporting. Please try the steps listed in the Spyder Troubleshooting Guide, specifically the Basic First Aid and Emergency CPR sections, which resolve the great majority of Spyder installation issues.

HI ! i got the same problem !
spyder --reset / anaconda clean uninstall and reinstall doesn't work ;)
Traceback (most recent call last):
File "C:\Users\admin\AppData\Local\Continuum\anaconda3\Scripts\spyder-script.py", line 6, in
from spyder.app.start import main
File "C:\Users\admin\AppData\Local\Continuum\anaconda3\lib\site-packages\spyder\app\start.py", line 25, in
from spyder.config.base import (get_conf_path, running_in_mac_app,
File "C:\Users\admin\AppData\Local\Continuum\anaconda3\lib\site-packages\spyder\config\base.py", line 383, in
_ = get_translation("spyder")
File "C:\Users\admin\AppData\Local\Continuum\anaconda3\lib\site-packages\spyder\config\base.py", line 357, in get_translation
os.environ["LANG"] = language # Works on Windows
File "C:\Users\admin\AppData\Local\Continuum\anaconda3\lib\os.py", line 675, in setitem
self.putenv(key, value)
ValueError: embedded null character

Thanks for the information; seems to be a pretty critical error then. Can you try the other steps listed in the Spyder Troubleshooting Guide, specifically the Basic First Aid and Emergency CPR sections, which resolve the great majority of Spyder installation issues.

I'll take a look at this one.

Traceback (most recent call last):
File "C:\Users\hp\Anaconda3\lib\site-packages\spyder\app\mainwindow.py", line 3285, in main
mainwindow = run_spyder(app, options, args)
File "C:\Users\hp\Anaconda3\lib\site-packages\spyder\app\mainwindow.py", line 3140, in run_spyder
main.setup()
File "C:\Users\hp\Anaconda3\lib\site-packages\spyder\app\mainwindow.py", line 824, in setup
self.workingdirectory = WorkingDirectory(self, self.init_workdir, main=self)
File "C:\Users\hp\Anaconda3\lib\site-packages\spyder\plugins\workingdirectory.py", line 149, in init
wdhistory = self.load_wdhistory(workdir)
File "C:\Users\hp\Anaconda3\lib\site-packages\spyder\plugins\workingdirectory.py", line 221, in load_wdhistory
wdhistory = [name for name in wdhistory if os.path.isdir(name)]
File "C:\Users\hp\Anaconda3\lib\site-packages\spyder\plugins\workingdirectory.py", line 221, in
wdhistory = [name for name in wdhistory if os.path.isdir(name)]
ValueError: _isdir: embedded null character in path
I am also getting this same error please help

@sonusingh99, that's a different problem from the one reported here. So please open a new issue about it.

Traceback (most recent call last):
File "D:\Software\Academy\Anaconda\lib\site-packages\spyder\app\mainwindow.py", line 3285, in main
mainwindow = run_spyder(app, options, args)
File "D:\Software\Academy\Anaconda\lib\site-packages\spyder\app\mainwindow.py", line 3140, in run_spyder
main.setup()
File "D:\Software\Academy\Anaconda\lib\site-packages\spyder\app\mainwindow.py", line 824, in setup
self.workingdirectory = WorkingDirectory(self, self.init_workdir, main=self)
File "D:\Software\Academy\Anaconda\lib\site-packages\spyder\plugins\workingdirectory.py", line 149, in init
wdhistory = self.load_wdhistory(workdir)
File "D:\Software\Academy\Anaconda\lib\site-packages\spyder\plugins\workingdirectory.py", line 221, in load_wdhistory
wdhistory = [name for name in wdhistory if os.path.isdir(name)]
File "D:\Software\Academy\Anaconda\lib\site-packages\spyder\plugins\workingdirectory.py", line 221, in
wdhistory = [name for name in wdhistory if os.path.isdir(name)]
ValueError: _isdir: embedded null character in path
I got this problem, too! Please HELP!

See the comment right above yours, responding to a user who reported an identical issue:

@sonusingh99, that's a different problem from the one reported here. So please open a new issue about it.

This appears to be a duplicate of #10676 , which can be solved by running the following in Anaconda prompt:
spyder --reset


Warning using pre-commit and uv

I'm running ruff on the pre-commit job on the GitHub CI.
      - id: ruff
        name: Ruff
        entry: uv run ruff
        args: ["check", "--fix"]
        types: [python]
        language: system
      - id: ruff-format
        name: Ruff Format
        entry: uv run ruff
        args: [format]
        language: system
        types: [python]

But it causes this:

Using uvx doesn't solve the issue, it just changes the message to get the tools cache.
How can I not see the warning?

I don't think this message should be user-facing \cc @zanieb

We do use the --verbose flag on pre-commit. FYI

Yeah idk why this is user-facing, maybe because it could take a while?


[WIP]fix(patchProperty): fix when property is function with property

property patch may cause some other libary that use function with property as property.
see https://github.com/ReactiveX/rxjs/blob/master/src/observable/dom/AjaxObservable.ts#L357
and simple example:
http://plnkr.co/edit/oX1v8tTjTog1T57Z0JnI?p=preview

Couldn't pass test in android and safari

I'm trying fix this issue in https://github.com/ReactiveX/rxjs/pull/2025
here is an example about this issue if you guys are interested
http://plnkr.co/edit/oX1v8tTjTog1T57Z0JnI?p=preview


adding new docker image with mock

Status
Ready/In Progress/In Hold (Reason for hold)
Related Issues
related: link to the issue
Description
A few sentences describing the overall goals of the pull request's commits.

I understand that you managed. Closing this.


Feature request - attach image as file

Hi!
The plugin is working really well. But I am lacking one thing and that is to attach an image as a file instead.
An example is the use of camera.snapshot in Homeassistant, it saves the image as a file. I would like to ad that file as a payload instead of the Base64 string that is needed now for images.
I have not yet found a way in homeassistant to encode camera.snapshot to a base64 string so the bot can accept it.

I agree, adding the image as a file would be much better than using a base64 string.


Integration with Spring Cloud AWS SQS

Hi,
I was just wondering if there is currently any planned integration between Spring Cloud Sleuth and Spring Cloud AWS SQS.
We have what I think would be a fairly common use case to publish a message onto an SQS queue and would like for the Trace information to propagate across this hop.
We are currently solving this by implementing the following on each queue publisher / consumer but was thinking that this sounds like a great enhancement for the platform.
  ...
	queueMessagingTemplate.convertAndSend(url, payload, createTraceHeaders(spanAccessor.getCurrentSpan()));
	...

    private Map<String, Object> createTraceHeaders(Span span) {
        Map<String, Object> map = Maps.newHashMap();
        map.put(Span.SPAN_ID_NAME, span.getSpanId());
        map.put(Span.TRACE_ID_NAME, span.getTraceId());
        map.put(Span.SPAN_NAME_NAME, span.getName());
        if (span.getParents().size() != 0) {
            map.put(Span.PARENT_ID_NAME, span.getParents().get(0));
        }
        return map;
    }

Consumer:
  @SqsListener(value = "${SQS." + Queues.QUEUE_NAME + ".QUEUE.URL}", deletionPolicy = NEVER)
  public void receiveMessage(Request request,
  				   @Header("Acknowledgment") Acknowledgment acknowledgment,
                         @Header("message_id") String id,
                         @Header(Span.TRACE_ID_NAME) long traceId,
                         @Header(Span.SPAN_ID_NAME) long spanId) {

    Span span = Span.builder()
            .spanId(spanId)
            .traceId(traceId)
            .build();

    tracer.joinTrace(span.getName(), span);
    ...

I would be happy to help to get a PR raised if this sounds like a worthwhile feature.
Thanks

This seams really interesting but actually if you used Spring Cloud Integration - https://github.com/spring-projects/spring-integration-aws#spring-integrations-extensions-to-aws to integrate with AWS SQS then this should work out of the box: http://cloud.spring.io/spring-cloud-sleuth/spring-cloud-sleuth.html#_messaging

Can we close this @patrickbray ?

Yes happy to close this we will take a look at spring integration for our SQS interactions. Thanks for the quick feedback

@marcingrzejszczak taking a closer look at the link you posted I can't see any recent releases of spring-integration-aws in maven central. Last one seems to date back to 2014 am I missing something?

@patrickbray - you'll have to go the https://github.com/spring-projects/spring-integration-aws and file an issue there. The guys there are awesome and more than willing to answer any of your questions :)

How to make the Span builder with spring sleuth and brave?

I don't understand your question nor  what it has to do with this issue


Add Barbarian Mixes

🚀 Feature Proposal
https://oldschool.runescape.wiki/w/Barbarian_Training#Enhancing_potions
Players can cut leaping salmon and leaping trout to obtain roe, and can cut leaping sturgeon to obtain caviar. Roe/caviar can be used with a 2-dose potion from the list in the link above to create a mix.
Cutting salmon and trout for roe grants 10 cooking xp, cutting sturgeon for caviar grants 15 cooking xp.
Cutting and mixing potions can both be comfortably done at a rate of ~5.5k cuts/mixes an hour.

Added with #4741


feat: asyncronous initial fetching, redux fetching stages, actions files

Added all actions to store/actions. Added async loading of initial data to home container. Added redux loading stages to each state:
status = "unloaded" (we havent fetched yet)
status = "loading"  (we have fetched but haven't recieved a response yet)
status = "failure" (we have fetched but got a 400+ status)
status = 200 (data available)

// Defined and imported from somewhere shared
const STATUS_NO_DATA = 0;
const STATUS_LOADING = 1;
const STATUS_FAILURE = 2;
const STATUS_OK = 200;

// AsyncList.js
class AsyncList extends React.Component {
	renderAsyncList = (status, arr, render) => {
      switch (status) {
        case STATUS_NO_DATA:
          return No Data;
        case STATUS_LOADING:
          return Loading;
        case STATUS_FAILURE:
          return Not able to connect to server;
        case STATUS_OK:
          return arr.map(el => render(el));
      }
    }
}

// TagCloud.js
class TagCloud extends AsyncList {
  render() {
    return (

        {this.renderAsyncList(
          this.props.categories.status,
          this.props.categories.body,
          (el) => (

              {elem.name}

          )
        )}

    );
  }
}


frame-src not working

frame-src was deprecated and then undeprecated, and while this is supported in the upstream, the frame-src config key is completely ignored in this plugin.

Nevermind this, the issue was me using the origins directly instead of under the allow key. Closing.


Node20 support

Description
Updates node runtime to from currently deprecated version 16 to 20.

Motivation and Context
Context for the change was provided here: https://github.com/PaloAltoNetworks/prisma-cloud-scan/issues/49

How Has This Been Tested?

Screenshots (if appropriate)

Types of changes

Bug fix (non-breaking change which fixes an issue) -> fixes warnings for the action users

Checklist

[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes if appropriate.
[ ] All new and existing tests passed.

please merge this!

Unfortunately I we don't get any attention from the contributors :(


Test middleman build on a CI service

It's just an idea and suggestion for now, I wanted to check if it was
doable to at least test the build on an external CI service.
Later of course we could add a real test suite, but I think having the
build tested is a nice first step.
I used travis CI service here just because it's easy to use and our
license permits it as far as I know. Later we could also setup
automated deployment after test like we do for other projects (ie:
with Codeship).

I love the idea, I'd be happy to help addressing the LocaleApp issue if needed :+1:

Closing because I've setup Codeship for this :+1:


👌 IMPROVE: Consistent font size in navigation

Toward #144

I think this generally looks good. Though the sidebar feels a little bit cramped now that they're all the same size. I wonder what you think about slightly growing the vertical space between top-level left sidebar sections. So something like:

(which I added with this rule)
ul.sidenav_l1 > li {
    margin-bottom: 0.2em;
}

Definitely! Lemme wrap up dinner and I'll add the .2em to the elements. I think we already set margin/padding on li elements, so this should fit right in.

Done!

nice - OK I'm gonna merge this, though perhaps these changes will also relate to the conversation in #160 and we can always iterate further

thanks @pradyunsg !! 🎉


feat: added readme file

fixes #154
README.md file in the root folder -done
basic information about the project- done
link to the live website (not available)
Other tags or marks- done
guidelines for people interested in participating or using the project- done

Wow! Many thanks @codewithsonyy that is amazing, I was definitely not expecting that. I'll add more information about the configuration and overall architecture when I get some time, many thanks once again, and Welcome to the project

Most welcome ji :) and thanks for approving it! I was awarded a badge for this. I am really happy and grateful :)

Wow! Many thanks @codewithsonyy that is amazing, I was definitely not expecting that. I'll add more information about the configuration and overall architecture when I get some time, many thanks once again, and Welcome to the project

Most welcome ji :) and thanks for approving it! I was awarded a badge for this. I am really happy and grateful :)

Sure, if you need help with anything related to software engineering I'm glad to help. Sorry for taking so long to answer, I was on vacation.
Have a nice week!


Feature : Logo Search API

Summary
This PR implements Logo Search API for the Logo Executive platform, addressing Issue #361. This API allows users to retrieve logos based on a search key (initial characters), with separate endpoints for public and internal use.
Description:
Two separate endpoints have been implemented for Public & Internal Use.
Endpoint 1 (Public Use): /api/business/search?domainKey={KEY}&API_KEY={YOUR_API_KEY}
Method: GET

Parameter
Type
Description
Required

domainKey
string
The initial character(s) that the logo URLs should begin with.
Yes

API_KEY
string
The API Key generated from the dashboard.
Yes

Endpoint 2 (Internal): /api/public/search?domainKey={KEY}
Method: GET

Parameter
Type
Description
Required

domainKey
string
The initial character(s) that the logo URLs should begin with.
Yes

Key Features:

Fetches logo URLs based on the starting characters of domain names.
business/search endpoint requires an API_KEY for authentication.
Error handling for missing or invalid parameters (domainKey, API_KEY).
Comprehensive Unit test cases have been written to cover various scenarios, including successful logo search, missing or invalid domainKey and API_KEY parameters.
Tests also verify proper functionality for both public and internal APIs, confirming that logo URLs are returned correctly based on the search key.

How to Test the Changes

Start the server with yarn start:server
Hit any of the two endpoints with proper query params (domainKey / API_KEY). And you can expect response as shown in the below screenshot.

Screenshots or Recordings
https://github.com/user-attachments/assets/00a816fd-96bc-41e3-89c2-fc88f9d3c912
Test Results : Server

Test Results : Client

Checklist

[x] I have added/updated tests that cover the changes.
[x] I have updated the documentation to reflect the changes.

API response:


Run the remaining tests using Mockito extension concurrently:

Overview
The concurrency issue in Mockito JUnit 5 extension
(mockito/mockito/1630) has been resolved.

Definition of Done

[ ] There are no TODOs left in the code
[ ] Change is covered by automated tests
[ ] The coding guidelines are followed
[ ] Public API has Javadoc
[ ] Method preconditions are checked and documented in the Javadoc of the method
[ ] Changelog is updated if needed (in case of notable or breaking changes)
[ ] The continuous integration build passes

It's already been updated in master #1148 .

And why update just core and not other modules as well?
These are the only usages added in dynamic-services. Are there any other usages?

Coverage remained the same at 85.884% when pulling 392414d036c0add4ef0bd49eb3da981a64523a94 on dmitry-timofeev:remove-obsolete-test-restrictions into f4561defa8d1bc98b9bfb1231c9ade0dc48f2c08 on exonum:master.


Endpoints.Filter does not work

Hello! I've been using Fastendpoints for some personal project, and I love it! But I think I found a bug with .UseFastendpoints and DI. Here's the current setup

API 1: API.Admin
-- This API has services A, B and C registered. The API works as expected and does the work perfectly.

API 2: API
-- This API has services D and E registered. The API works as expected and does the job perfectly.

Integration Test project
-- Two fixtures: public class PublicFixture : AppFixture<API.Startup> and public class AdminFixture : AppFixture<API.Admin.Startup>

The Configure method on API 1 looks like this:
        builder.UseFastEndpoints(c =>
        {
            c.Endpoints.Filter = ep => ep.EndpointType.Namespace.StartsWith("API.Admin");
        });

The Configure method on API 2 looks like this:
        builder.UseFastEndpoints(c =>
        {
            c.Endpoints.Filter = ep => !ep.EndpointType.Namespace.StartsWith("API.Admin");
        });

In short, each Configure has that filter that should only register the endpoints for that particular assembly. However, even when we get the expected true/false from the ep.EndpointType.Namespace.StartsWith("API.Admin"); call, I get a DI error that Service A is not registed in API 2. It will never be registered because API 2 does not use or need Service A
I believe having the filter should not register the dependencies in DI.
I can build a small ZIP sample with the example, if needed.
Thanks!

are you spinning up 2 different web apps (WebApplications) inside the same .net application domain?
if that's the case, there might be some potential for trouble with integration testing as you're experiencing, as FE was not designed to be used that way. however, you might be able to work around that by doing keyed service registrations.
may i know why you're putting everything in a single assembly and booting up multiple web applications in the same process? ideally, you'd be building a separate binary/assembly per each API and using something like aspire/docker compose for local testing/debugging.
if i've misunderstood your use case, please attach a debuggable repro project so i can get a better understanding of what's happenning.
cheers!


Config Loading/Creation

Two things.
in ledfxcontroller\devices_init_.py", line 151, in create_from_config
name = device_config.get('type'))
AttributeError: 'str' object has no attribute 'get'
Changed to:
name = type(device_config))
Now error is:
ledfxcontroller\utils.py", line 196, in create
name, self._cls.name.lower()))
AttributeError: Couldn't find '<class 'str'>' in the device registry
Which I imagine is linked to what you mentioned about the config file needing fixing.

name = device_config.get('type')) is correct. The issue here is the before devices was just are array. I moved it to be a dict with the key being the devices id. You need to update the config.yaml to be something like:
devices:
test_device:
type: e131
name: Sample Device
host: <IP_ADDRESS>
pixel_count: 100
max_brightness: 0.25

Works like a charm.


Error

/notebooks/stable-diffusion-webui
Error loading script: wildcards.py
Traceback (most recent call last):
File "/notebooks/stable-diffusion-webui/modules/scripts.py", line 166, in load_scripts
compiled = compile(text, scriptfile.path, 'exec')
File "/notebooks/stable-diffusion-webui/scripts/wildcards.py", line 1
See the ReadMe!
^
SyntaxError: invalid syntax
Checkpoint v1-5-pruned-emaonly.ckpt [81761151] not found; loading fallback stableckpt/animefull-latest/model.ckpt [e3b0c442]
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
making attention of type 'vanilla' with 512 in_channels
Working with z of shape (1, 4, 32, 32) = 4096 dimensions.
making attention of type 'vanilla' with 512 in_channels
Loading weights [e3b0c442] from /notebooks/stable-diffusion-webui/models/Stable-diffusion/stableckpt/animefull-latest/model.ckpt
Error verifying pickled file from /notebooks/stable-diffusion-webui/models/Stable-diffusion/stableckpt/animefull-latest/model.ckpt:
Traceback (most recent call last):
File "/notebooks/stable-diffusion-webui/modules/safe.py", line 76, in check_pt
with zipfile.ZipFile(filename) as z:
File "/usr/lib/python3.9/zipfile.py", line 1266, in init
self._RealGetContents()
File "/usr/lib/python3.9/zipfile.py", line 1333, in _RealGetContents
raise BadZipFile("File is not a zip file")
zipfile.BadZipFile: File is not a zip file
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/notebooks/stable-diffusion-webui/modules/safe.py", line 97, in load
check_pt(filename)
File "/notebooks/stable-diffusion-webui/modules/safe.py", line 89, in check_pt
unpickler.load()
_pickle.UnpicklingError: persistent IDs in protocol 0 must be ASCII strings
-----> !!!! The file is most likely corrupted !!!! <-----
You can skip this check with --disable-safe-unpickle commandline argument, but that is not going to help you.
Traceback (most recent call last):
File "/notebooks/stable-diffusion-webui/webui.py", line 157, in
webui()
File "/notebooks/stable-diffusion-webui/webui.py", line 116, in webui
initialize()
File "/notebooks/stable-diffusion-webui/webui.py", line 77, in initialize
modules.sd_models.load_model()
File "/notebooks/stable-diffusion-webui/modules/sd_models.py", line 237, in load_model
load_model_weights(sd_model, checkpoint_info)
File "/notebooks/stable-diffusion-webui/modules/sd_models.py", line 172, in load_model_weights
if "global_step" in pl_sd:
TypeError: argument of type 'NoneType' is not iterable

You messed up the models somehow. Delete stable-diffusion-webui and recreate it then redownload the models using the blocks in the notebook.


[] build failure

Host Environment

OS: [Windows10 professional ]
Compiler: Microsoft Visual Studio Professional 2019, Version 16.6.2

To Reproduce
Steps to reproduce the behavior:
./vcpkg install boost-log:x64-windows
Failure logs
Computing installation plan...
The following packages will be built and installed:
boost-log[core]:x64-windows
Starting package 1/1: boost-log:x64-windows
Building package boost-log[core]:x64-windows...
-- Using cached E:/vcpkg/downloads/boostorg-log-boost-1.73.0.tar.gz
-- Using source at E:/vcpkg/buildtrees/boost-log/src/ost-1.73.0-3d57ed4a83
-- Building x64-windows-rel
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:72 (message):
Command failed: E:/vcpkg/installed/x64-windows/tools/boost-build/b2.exe --stagedir=E:/vcpkg/buildtrees/boost-log/x64-windows-rel/stage --build-dir=E:/vcpkg/buildtrees/boost-log/x64-windows-rel --user-config=E:/vcpkg/buildtrees/boost-log/x64-windows-rel/user-config.jam -j4 --debug-configuration --debug-building --debug-generators --disable-icu --ignore-site-config --hash -q -sZLIB_INCLUDE=E:/vcpkg/installed/x64-windows/include -sBZIP2_INCLUDE=E:/vcpkg/installed/x64-windows/include -sLZMA_INCLUDE=E:/vcpkg/installed/x64-windows/include -sZSTD_INCLUDE=E:/vcpkg/installed/x64-windows/include threading=multi threadapi=win32 runtime-link=shared link=shared address-model=64 architecture=x86 toolset=msvc -sZLIB_BINARY=zlib -sZLIB_LIBPATH=E:/vcpkg/installed/x64-windows/lib -sBZIP2_BINARY=bz2 -sBZIP2_LIBPATH=E:/vcpkg/installed/x64-windows/lib -sLZMA_BINARY=lzma -sLZMA_LIBPATH=E:/vcpkg/installed/x64-windows/lib -sZSTD_BINARY=zstd -sZSTD_LIBPATH=E:/vcpkg/installed/x64-windows/lib variant=release debug-symbols=on
Working Directory: E:/vcpkg/buildtrees/boost-log/src/ost-1.73.0-3d57ed4a83/build
Error code: 1
See logs for more information:
E:\vcpkg\buildtrees\boost-log\build-x64-windows-rel-out.log
Call Stack (most recent call first):
installed/x64-windows/share/boost-build/boost-modular-build.cmake:296 (vcpkg_execute_required_process)
ports/boost-log/portfile.cmake:25 (boost_modular_build)
scripts/ports.cmake:73 (include)
Error: Building package boost-log:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with .\vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: boost-log:x64-windows
Vcpkg version: 2020.02.04-nohash
Additional context
Error information in 'build-x64-windows-rel-out.log':
compile-c-c++ E:\vcpkg\buildtrees\boost-log\x64-windows-rel\boost\build\f7648d467bd0eca359a8f1c09d34fcab\threadsafe_queue.obj
threadsafe_queue.cpp
E:\vcpkg\buildtrees\boost-log\src\ost-1.73.0-3d57ed4a83\include\boost/log/detail/adaptive_mutex.hpp(29): fatal error C1083: Cannot open include file: 'boost/assert/source_location.hpp': No such file or directory
call "E:\vcpkg\buildtrees\boost-log\x64-windows-rel\boost\standalone\msvc\999faa3b40e90a2a5abbbc32b31cdb11\msvc-setup.bat" amd64 >nul

cl @"E:\vcpkg\buildtrees\boost-log\x64-windows-rel\boost\build\f7648d467bd0eca359a8f1c09d34fcab\threadsafe_queue.obj.rsp"
...failed compile-c-c++ E:\vcpkg\buildtrees\boost-log\x64-windows-rel\boost\build\f7648d467bd0eca359a8f1c09d34fcab\threadsafe_queue.obj...
Is there anything other I should provide?

There don't have the file "source_location.hpp" in my computer, and not be downloaded by vcpkg either.
So I remove the '#include <boost/assert/source_location.hpp>' and the following corresponding code in 'E:\vcpkg\buildtrees\boost-log\src\ost-1.73.0-3d57ed4a83\include\boost\log\detail\adaptive_mutex.hpp',  the 'boost-log' can be built now.
There should be a better solution somewhere I think.

@alimai, could you please try the below solution and see if the issue still occur for you?

Remove all boost related components with following command and rebuild boost again.

 ./vcpkg remove boost-vcpkg-helpers --recurse
 ./vcpkg remove boost-modular-build-helper
 ./vcpkg remove boost-build

Or you can get clean vcpkg source and try to build boost again.

When upgrade the boost to new revision, we need rebuild all related components and sync up all new files in new revision.

BTW, I double confirmed, boost-log:x64-windows built successfully for me.
Starting package 7/7: boost-log:x64-windows
Building package boost-log[core]:x64-windows...
-- Using cached E:/vcpkg/boost_173/vcpkg/downloads/boostorg-log-boost-1.73.0.tar.gz
-- Using source at E:/vcpkg/boost_173/vcpkg/buildtrees/boost-log/src/ost-1.73.0-3d57ed4a83
-- Building x64-windows-rel
-- Building x64-windows-rel done
-- Building x64-windows-dbg
-- Building x64-windows-dbg done
-- Packaging x64-windows-rel
-- Packaging x64-windows-rel done
-- Packaging x64-windows-dbg
-- Packaging x64-windows-dbg done
-- Packaging headers
-- Packaging headers done
-- Using cached E:/vcpkg/boost_173/vcpkg/downloads/boost_LICENSE_1_0.txt
-- Installing: E:/vcpkg/boost_173/vcpkg/packages/boost-log_x64-windows/share/boost-log/copyright
-- Performing post-build validation
-- Performing post-build validation done
Building package boost-log[core]:x64-windows... done
Installing package boost-log[core]:x64-windows...
Installing package boost-log[core]:x64-windows... done
Elapsed time for package boost-log:x64-windows: 2.773 min
Total elapsed time: 5.056 min

@PhoebeHui Thanks,
It works when we do follow your first suggestion,Remove all boost related components and rebuild them.
The most boost components are update from V1.72 to V1.73, and the "source_location.hpp" appear.
So the reason may be that, boost-log V1.73 need the file "source_location.hpp" which kept in another boost component, and it just exist in V1.73.


Ignore Entry Field when Visibility is False

Change will ignore the entry field, when creating the children collection, if the visibility is set to false.

👍 Merged. Once again, thanks! :)

Anytime, and thanks for updating nuget so quickly.
On Mon, Jan 23, 2017, 14:34 Daniel Luberda<EMAIL_ADDRESS>wrote:

👍 Merged. Once again, thanks! :)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/daniel-luberda/DLToolkit.Forms.Controls/pull/62#issuecomment-274608513,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AYBNmHqkXb25SuE4HipXz8NR2sKgpXz3ks5rVQ7OgaJpZM4LrSQv
.

--
v/r
Rob Oller
Sent from my Moto X


#1444 break download loop if stopPosition reached

fixes the exit on stopPosition scenario in DownloadFileInternalAsync method
not sure if this is the right fix, as i had to set earlySuccess = true; otherwise i would get 550 error

oh right, on it

yes i have tested this :)
we have here two while loops, if you managed to download entire file without interruptions - you will exit inner loop in the end of file.
Hmm, if you are saying downStream should prevent us from reading more than fileLen - that would be the actual problem.
Any ideas for a better fix?

yes i have tested this :)

Of course.
I see it now. You are right to leave the inner loop before it reads a potentially HUGE file to the end.
The outer loop needs to be terminated and earlySuccess is a good idea, since no success response from the server is to be expected.

Someone might complain that "progress" will now report a wrong percentage, but duh. Better to get this to work at all.

I'll merge this and we can take it onwards from that.

Thanks for this.


Upgrade SQLAlchemy

Description
This implements an (incomplete) set of changes in order to upgrade to SQLAlchemy 1.4.29. There's an outstanding issue that I'll explain further down. Briefly, the changes are:

The core/util/init.py's fast_query_count() method has been updated to remove a six year old performance hack which appears to be incorrect in the 1.4 SQLAlchemy branch. This method is only used in one place in the code outside of the test suite, but there may be performance implications there as the method is no longer "fast"; it's just a standard SELECT count()
query now.

Adjusts some tests to use explicit byte strings rather than plain strings. The newer versions of the packages we're using seem to have gotten stricter with this, and will result in exceptions being raised somewhere inside SQLAlchemy such as: TypeError: can't escape str to binary

The _distinct property has been removed and replaced with the _distinct_on property, so some tests that were using the old property were broken. Additionally, the SQLCompiler API no longer has a compile method; the constructor does the work instead.
See: sqlalchemy/sqlalchemy#4643

Switch to using 'select()' instead of the old-style Select class.

The remaining issue may require some architectural work to fix. Essentially, the old 1.3 API discouraged (but allowed) listeners added with @validates and annotations such as @event.listens_for(Work.license_pools, "append") to cause collections to be loaded during event processing. The 1.4 API does not allow this anymore, and you'll get an assertion failure if you try to do it.
The good news is that it seems like this only happens for code in the test suite and, even then, only seems to affect four tests. A good example of this is this test:
https://github.com/ThePalaceProject/circulation/blob/main/tests/core/test_lane.py#L3260
The pool.work = work assignment will, indirectly, trigger this code:
https://github.com/ThePalaceProject/circulation/blob/main/core/model/listeners.py#L190
This will cause this code to be executed:
https://github.com/ThePalaceProject/circulation/blob/90ad5afea73fa8b998b5ffbcbe10426a7153e508/core/model/work.py#L1217
... and in the process, the _reset_coverage method will cause a collection of coverage records to be loaded by the ORM. This is specifically disallowed by the 1.4 API, because it could potentially lead to an infinitely-recursing disaster of collections being loaded in response to events.
The error you'll actually see is this line inside SQLAlchemy:
https://github.com/sqlalchemy/sqlalchemy/blob/main/lib/sqlalchemy/orm/attributes.py#L1416
There's some discussion on it here:
https://github.com/sqlalchemy/sqlalchemy/discussions/7605
As far as I can make out, this problem is limited to the test suite; code isn't normally operating such that coverage records haven't already been loaded.
We might be able to circumvent this by just updating coverage records using the Core API instead of the ORM.
We could also disable the ~four~ six affected tests.
Ideally, updating external indices wouldn't happen this way. We might want to move to some form of asynchronous work queue.
Unfortunately, this is more than I know how to do right now on this codebase!
Motivation and Context
This may help with some deadlock and performance issues.
How Has This Been Tested?
I've executed all of the docker tests locally. I've maintained a list of which tests should fail in each commit.
Checklist

[x] I have updated the documentation accordingly.
[ ] All new and existing tests passed.

I think I'm going to close this one 😢, since we need some architectural work to do this upgrade, and this PR is fairly far out of date at this point.
Will leave the branch here, so we can reference it when we make the needed changes.


Eg/add sheilds to indicate build status

Added shields to indicate the status of nix CI.
Mac builds only run after a merge. This lets us see at a glance whether something has gone wrong.

After speaking with @j-baker, it seems that it is fine to proceed in the presence of the cargo deny issue as buffrs does not use the bits of libgit2 with the vulnerability

NB: I have set myself a slack reminder to see if 1.7.2 is in nixpkgs for one week from now. So, I will remove the ignore when nixpkgs ship the latest version of libgit2


Tank name issue?

I'm not sure if this a bug in the name or the logic, but when the red tank wins, the pop up says that the blue tank won:

Before creating a tank, you should set a name for it through the TankName box. This case means that you set the same name to both red and blue tank.


[FIRECERT-2042] Suspended performance. Initial commit

Performance metrics validation for lifecycle suspended
Support for custom validation
Misc bug fixes

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.ppavit606 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


v1.10: Update Go to 1.16.13

/test-backport-1.10

/test-backport-1.10

/test-backport-1.10

/mlh new-flake Cilium-PR-K8s-1.16-net-next

GKE failure is #18285, opened #18466 for the net-next failure. Other tests passed and reviews are in, marking as ready to merge.

/test-backport-1.10

/test-1.17-4.9


MGDOBR-669: Generate errors SDK

Task: https://issues.redhat.com/browse/MGDOBR-669
Note that this PR is strictly dependent on https://github.com/5733d9e2be6485d52ffa08870cabdee0/sandbox/pull/794. It means, that the script will not work until https://github.com/5733d9e2be6485d52ffa08870cabdee0/sandbox/pull/794 gets merged and API re-deployed.
In the meantime, if you want to test the script, you can change the URL to https://demo1514255.mockable.io/v1/errors

@jomarko @sjamboro we need another approval for merging this PR. Who is available for reviewing it? Thanks


Whenever available, variable names should be matched with BIDS keywords to facilitate conversions.

Noted by Guiomar, let's go through the table with her to see if we can do it.
important note: this is something that the article says and should be removed if we give up

Note that there are items, such as triggers, where BIDS keys have already been added, but they have been flagged with comments to be checked.


Sony Bravia TV not adjusting volume

Brilliant work, thank you.
Please assist, I am unable to change volume up/down on a Sony Bravia TV. Using the following code
http://<IP_ADDRESS>:667/msg?code=490:SONY:12
Alexa responds correctly, and the volume icon appears to increase volume, however the same code needs to be repeated for it to work. My guess is the that the repeat Url is not being added to the end of the command. Any suggestions? Ive tried asking Alexa to increase/decrease volume by increments, but no joy.
Thanks for your wonderful project.

Looks like you're using a local IP address, you need to use your external IP address


admin adds parent company to non-division branch subsidiary applications

 QAE Support: Successful Business Winners Press Book Entry Screens


Treasury Withdrawal Effect

#46
Currently this effect checks

if outputs matches the given list of receivers and corresponding value
if number of total transaction matches to that of given datum
if anything is paying to the effect itself.
if input is exactly minAda

Later,

[x] it can replace some functions with utility functions added in connor/governor.
[x] I'm not sure if I want to add a part checking if minAda is paid back correctly; I think its already covered.

You can rebase to my branch but I am not ready to open a pr yet - the governor script itself need to be implemented first.

@chfanghr I'm not sure if I really want to rebase. I was planning on changing it after the branch get merged. I don't want to fight with git again 😄

Just realized that I really should have make those util functions cherry-pickable😢

Do you want me to make a separate branch for those utility functions? @chfanghr @emiflake We can just merge those utility quickly

Do you want me to make a separate branch for those utility functions? @chfanghr @emiflake We can just merge those utility quickly

Yeah, I would say this is probably a good idea, especially if you are both using it.

Ah, sorry, miss click on mobile app.

I made #58, I changed isScriptAddress to pisScriptAddress to match the naming scheme.

TODO:
[ ] Write test
[ ] See if I can optimize validator script

@emiflake I added very fundamental test. Currently it fails with

@emiflake I think its a good time for a review now :) I finished making testings.

@emiflake I added treasuries in the datum and now it only checks over the specified treasuries. Ready for another review I guess.

How are you explicitly preventing the spending of, say, a governor? Or a Liqwid market? A transaction should have no auxiliary inputs.

Okay I'll make a constraint that explicitly checks the inputs as well.


main to alpha

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


feat(mutant-matcher): lower memory usage

Don't fill an array with all test references
when all tests need to run for a mutant.
Instead, use the runAllTests flag on a mutant.
Might fix #1779

@simondel please take a good look.

@nicojs npm run lint:fix :x

@simondel I've resolved all issues. The implementation didn't work yet because of the line in Sandbox.ts (see remark).
I think we can merge this, if you agree.


Training time and TQDM

Hi,
Before all, thank you for your inspiring work !
I'm trying to process some custom data (that I preprocessed with COLMAP as indicated in the original NeuS repository) and compare the result with plain NeuS but I feel like the training process takes much more time than it should be (actually ~5*training time of plain NeuS).
I have strange outputs from TQDM in the logs. It seems that it cannot estimate the true duration of an iteration. I get 7 digits it/s which is obviously wrong and consequently the remaining time metric is wrong as well (0 s. remaining).
Obviously training an additional MLP for the second SDF should make it slower to train but I didn't expect such drawback...
I was wondering if it was 'normal' as in you're aware of the situation or should I consider this as unusual and investigate my data ?
Thank you in advance!

I just provided pre-trained models for better inference. For custom data, not sure if it is caused by the hardware environment, moreover it is hard to judge the impact of the size of the data on time efficiency.


NamedTuple

I cannot convert a python namedtuple to a julia NamedTuple. Here a minimal example:
from juliacall import Main as jl
from collections import namedtuple

t = namedtuple('test', 'a b')
x = t(a=1, b=2)
jl.convert(jl.NamedTuple, x)

which results in the Error:
TypeError                                 Traceback (most recent call last)
<ipython-input-245-c2a0b5ab7412> in <module>
      3 x = t(a=1, b=2)
      4
----> 5 jl.convert(jl.NamedTuple, x)

~/anaconda3/lib/python3.8/site-packages/juliacall/__init__.py in __call__(self, *args, **kwargs)
    199             return ValueBase.__dir__(self) + self._jl_callmethod($(pyjl_methodnum(pyjlany_dir)))
    200         def __call__(self, *args, **kwargs):
--> 201             return self._jl_callmethod($(pyjl_methodnum(pyjlany_call)), args, kwargs)
    202         def __len__(self):
    203             return self._jl_callmethod($(pyjl_methodnum(pyjlany_op(length))))

TypeError: Julia: MethodError: Cannot `convert` an object of type
  Tuple{Int64, Int64} to an object of type
  NamedTuple
Closest candidates are:
  convert(::Type{NamedTuple}, !Matched::ShapedAsNT) at /home/peller/.julia/packages/ValueShapes/03j48/src/named_tuple_shape.jl:362
  convert(::Type{T}, !Matched::T) where T at essentials.jl:205
  NamedTuple(::Any) at namedtuple.jl:107```

I have just added conversion from Python named tuples to Julia named tuples on the main branch, it will be in the next release.
BTW your code is wrong, you need to call juliacall.convert not jl.convert. The difference between these is that jl.convert is just a generic wrapper around Julia's Base.convert function, but such wrappers already automatically convert their inputs. Previously, a Python named tuple would have been converted to a Julia tuple, so jl.convert(jl.NamedTuple, x) would end up calling convert(NamedTuple, (1, 2)), which is not what you want. Instead, juliacall.convert(jl.NamedTuple, x) ends up calling pyconvert(NamedTuple, x), which is what you do want.
Python named tuples will now be converted to Julia named tuples by default (instead of tuples) so in the future you should not even need to do this conversion yourself in most situations.

Awesome, thank you!


V11.5.0

Update changelogs

Also added missing changlogs for STABLE update on 16th April 2020
Added missing workshop links to recent changelogs

Bump mod version to 11.5.0

Fixed: NetSegment.CalculateCorner() exception for unsubbed roads (#883, #881)

Are we going to mention the bugs the we fixed before it was even released?

Added: Bulk customisation buttons on road info panel (#631, #691, #557, #542, #541, #539, #537)
Added: While toolbar visible, click road = show info panel; right-click = hide (#631, #822, #557, #29)

Are we going to mention the bugs the we fixed before it was even released?

Yes, I try to mention everything, even if users haven't encountered it. We may be looking to see what changed some time in the future and having a full list in changelogs helps with that.

people don't know what the following terms mean: road info panel means | Bulk customisation | toolbar visible

Some peopole call it 'toolbar' others call it 'menu'... the wiki generally refers to it as 'toolbar'. It's generally not a problem for that aspect of the UI.
Road info panel will be clarified with content in release announcements (reddit / discord). I'll upload proposed screenshots / vid to discord this evening(ish).

I've updated changelogs to include missing translation contirbutors list from 11.3.0 release:
- Updated: British translations (charlco, kvakvs, kian.zarrin) (#726)
- Updated: Chinese Simplified translations (wxf26054) (#726)
- Updated: Dutch translations (CaptainKlums) (#726)
- Updated: English translations (kian.zarrin, kvakvs) (#726)
- Updated: French translations (mjm92150, Stuart) (#726)
- Updated: German translations (eilmannhenrik, BanditBloodwyn, Rodirik, Cirez) (#726)
- Updated: Hungarian translations (szekely.david9) (#726)
- Updated: Italian translations (emiliomacchione, DelvecchioSimone) (#726)
- Updated: Korean translations (TwotoolusFLY_LSh.s, neinnew) (#726)
- Updated: Polish translations (krzychu1245, dom.kawula)
- Updated: Portuguese translations (BS_BlackScout) (#726)
- Updated: Russian translations (kvakvs) (#726)
- Updated: Turkish translations (revolter00, Koopr) (#726)
- Updated: Ukranian translations (kvakvs) (#726)

@krzychu124 Might want to update the changelog (description and changes tabs) in STABLE workshop page with that; I'll do same for LABS.

I'll upload proposed screenshots / vid to discord this evening(ish).

Which time zone?

The real name of the Panel that lets you change the roads name is "Road World Info Panel"

Are you sure its a good idea to change the name of the panel to Road Info Panel? I know I called it that in that chat but I was being lazy because I did not want to write the whole name.
The Panel that lets you Adjust the road is called "Adjust Road" Tab

which is contained in the "Traffic routes Info View Panel"

In the code I have contained by bulk adjust buttons in a UI that I have called Road Selection Panel. I suggest we use this name or something like bulk edit panel (assuming that we TMPE is not going to have a bulk edit tool in the future).

I doubt most users will know or care about the internal name of the UI component. I think maybe just "Road panel" or "Road info panel" is sufficient - it's the panel that appears when you click a road.
The green bar button on that panel is generally known as "adjust roads", which goes to Routes info view with the Adjust Roads tab selected. Althrough as discussed elsewhere, CO made some weird changes in SH update that now there can be multiple connected roads of same name but with different green bars defining their 'road routes'.

I hope this will not be confused with wiki because there I have use the name Road Selection Panel to refer to the panel containing my buttons but I doubt people can tell the difference.

Yes, I try to mention everything, even if users haven't encountered it. We may be looking to see what changed some time in the future and having a full list in changelogs helps with that.

I hope that this does not confuse users.


Update Disable-SPBusinessDataCatalogEntity.md

Format example

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-server/Disable-SPBusinessDataCatalogEntity.md
:white_check_mark:Succeeded
View (sharepoint-ps)

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.


Fix web extension action install label in webide #182946

in web for web ui extension,  no localExtensionManagementServer,  "Install in Browser" maybe more accurate than "install locally"

https://github.com/microsoft/vscode/issues/182928

https://github.com/microsoft/vscode/issues/182946

It had been fixed


[todo-mvvm-live-kotlin] Espresso idle counter gets corrupted

In todo-mvvm-live-kotlin in Util/ViewExt.kt, in the callback of the showSnackbar function there gets the EspressoIdlingResource incremented and decremented.
The problem is, that if onDismissed is called before onShown, the counter gets corrupted.
This case may happen if showSnackbar is called two times in a really short period of time.

Yeah we fixed this in the testing codelab, which will be merged soon with this project.

Actually let's keep this one open until we merge.

@JoseAlcerreca hi, can u please provide the reason this branch ( maybe all) using full of activity and inside activity have only 1 fragment ( which i remember that google recommended to use 1 activity 1 fragment )


docs: removed twitter from footer

Closes: #353
Removed twitter from footer as the twitter account is not seem active

Hi @dtantsur 👋
can you please review it?

/lgtm


Error out on incomplete multi-byte tag.

This PR replaces #41.
@dovreshef, do you have any objection to this alternative strategy?

No. Not at all.
Sorry for not responding, was away for a while.

No worries. Thanks for doing this work!


Updating last stable 1.0. 4 to 1.3.3 or higher

Someone can explain to me how to update esp-rfid to new firmware, actually I run on 1.0.4 and want to update to 1.3.3, so I use the upload button but esp-rfid still on 1.0.4 after reboot, there is another way to update? Thanks in advance

At least you should be able to flash it with esptools via serial link. I Don't know if you can backup your data from 1.0.4 and restore it in 1.3.3, but you better make the backups before trying. If it fails you can fall back to 1.0.4
Also consider to make a flash erase if simple overwriting with esptool fails.

@ingeninge can i get your email, or at least send me one at<EMAIL_ADDRESS>i would like to pass you some message.

Problem seems to occur when you don't erase the flash ahead of the fresh push.
Tasmotizer (https://github.com/tasmota/tasmotizer) makes it nice and easy, but 'Flash.bat' in the utils works also

In Linux you can do:
esptool.py --port /dev/ttyUSB0 erase_flash and flash with the new version.

thanks for your help

With Tasmotizer abd the 1.3.3.bin file i try to update firmware , i use a TDI232 as UART serial connection , but a c'ant acces to esp , is  a special thing to do ?
here picture how a connect :
https://ibb.co/w6RpNP7
https://ibb.co/jgR1kpF
thanks if you can help me on this

@pol-henri standard programming procedure as for any other ESP8266:

Press and hold FLASH button
Power Up the board or if it was already powered press RESET
Release the FLASH button

The blue led on the ESP-12F module should not be blue at that point. The module should be ready for uploading the sketch.

thanks a lot i will try it  👍

back to trying, this time i use the right precedure , but again..can't access to the Esp , i use only the VCC , GND RX, and TX from "UART" connector , i try with easyesp too , same result, so on my new "BLUE" version i try the update via UI , and this time it work !?, so lucky i try to the older RFID "GREEN" and this time after trying ..6Times or more  via UI.. it work!? perfect ! after all is what i want , now see if it solve the loosing connection MQTT after some day , i tell you

hey @pol-henri not sure if it's still interesting, but sometimes this can happen if you have the pins of the ESP connected to something while flashing. Try running the procedure again on the ESP alone, only connected to the PC via USB.
I'm closing this for now, but feel free to reopen if necessary.


Fix warning in new package.swift

We have created two new Package.swift manifests for landing the SPM plugin on the 1.x branch. While doing this we introduced a new warning, since the manifest now uses executableTarget for executable targets.

Fixes #1280


Allow passing of of object to  to specify contents

Feature request
It would be nice if we could pass a spread object to <Head /> (<Head {...meta} />), like react-helmet allows for

For me, it provides a cleaner interface to using and updating Head. Helps reduce boilerplate too
For comparison, react-helmet allows for this (as i mentioned above), as does vue-head

You could create a wrapper on top of it, eg:
// <HeadWrapper {...meta} />

import Head from 'next/head'

const HeadWrapper = ({title, description, ...rest}) => <Head>
{title && <title>{title}</title>}
...
</Head>

Yes, I'm aware that i can write a component/wrapper that can do that

Creating a wrapper component seems like the way to go. Like I said it's not worth making the next/head runtime bigger for this when it won't be used by all users.

Its a quality of life feature for people coming from these other solutions that do use it this way. Doesn't seem like you guys will budge on this though. Re-open if you change your mind.

Feel free to create a wrapper for it and release it on npm though.


CustomHeaders not set on delete feature

Type of issue
Bug
Uploader type
Azure
Bug details
Fine Uploader version
5.11.7
Browsers where the bug is reproducible
Any
Operating systems where the bug is reproducible
Any
Exact steps required to reproduce the issue
Setup the plugin for working with Azure Storage.
Use a SAS endpoint that requires an header to respond properly (eg, Authorization: Bearer ..)
Upload a file and then try to delete it.
All of your Fine Uploader initialization JavaScript code
var uploader = new qq.azure.FineUploader({
        element: document.getElementById('uploader'),
        deleteFile: {
            enabled: true
        },
        request: {
            endpoint: 'https://...'
        },
        signature: {
            endpoint: 'http://...',
            customHeaders: {
                Authorization: 'Bearer ' + getApiToken()
            }
        }
});

Detailed explanation of the problem
customHeaders are not set on delete function.
My endpoint that provides the SAS uri requires the Authorization header to respond properly.
In case of upload the process works because the header is set.
In case of delete the customHeaders are not set and so the retrieving the SAS uri fails.
I think the bug is here https://github.com/FineUploader/fine-uploader/blob/master/client/js/azure/uploader.basic.js#L195 and can be resolved in this way
https://github.com/danielebriggi/fine-uploader/blob/fix-missing-customHeaders-on-delete/client/js/azure/uploader.basic.js#L195

Thanks for the report. Please open up a pull request with your proposed fix. Also, reference this issue in that PR.

Fixed in 5.11.8 - released today.


feat: Support for ciris

I was using a generic implicit to use iron with ciris. It works fine for me.  I have added a test, which is mostly a smoke test to see that it works. It does however perform a proper summon of a ciris.ConfigDecoder
let me know what else to do/change.

Looks good to me but wouldn't it be better to be added to the Ciris repository?
For example, this is already the case of Refined support.

That's also possible, however i thought it fitted nice with ciris support. But you're right it might be better suited over there. Let' me check

I'm leaving this PR open in case Ciris maintainers can't or don't want to support Iron in their repository.

https://github.com/vlovgr/ciris/pull/692

@rparree I think we will finally merge your PR in this repository because of the encountered issues. I will just wait for #175 to be merged first.
Sorry for the delay :sweat_smile: