In bot builder dialog after successful login, login_step function is not getting called.

Github issues for Python /[Microsoft Bot Builder]](https://github.com/microsoft/BotBuilder-Samples/tree/main/samples/python/46.teams-auth)/ [Python]
Sample information

Sample type: [Microsoft Bot Builder]
Sample language: [Python]
Sample name: <46.teams-auth>

We are facing an issue after successful login to the team's bot. The issue is like in teams auth bot it's asking for the login through the sign-in button and on click of it, it opens the pop-up and gets the users details and gets successful login but gives the error "botbuilder/dialogs/prompts/oauth_prompt.py init() takes 1 positional argument but 2 were given"
This login was working fine a few days back. But even if we are trying to run the official solution given on-site it's not calling to login_step function. and directly sending the error from python packages.
To Reproduce
Steps to reproduce the behavior:

download https://github.com/microsoft/BotBuilder-Samples/tree/main/samples/python/46.teams-auth this sample
change the config.py file and put the APP_ID, APP_PASSWORD and CONNECTION_NAME
create virtual env of any python version either 3.6, or 3.7 or 3.8
Install the requirenment.txt file
run the code "python app.py"
start the MS bot emulator of version 4.12 or 4.8 also tried 4.4
connect to ng rock in settings
click on the open bot and enter http://localhost:3978/api/messages
send some messages to get the sign-in button
Click on sign in and then after successful sign in it does not go to login_step in the local emulator and when we deploy to teams bot service it gives the above error.

Expected behavior
After login, it should go to login_step in the main_dialog.py file and execute further code.
Screenshots

Additional context
we have tried the different versions of python also different version of bot builder packages but still not working.

@maheshpardeshi This is a sample for MS Teams, but you are using it in the Emulator. Does it work in Teams?

@maheshpardeshi This is a sample for MS Teams, but you are using it in the Emulator. Does it work in Teams?

Hi Dana, I deployed it to azure bot registration service and check in Teams app, but it did not work there also.

I am getting below error in app service for teams app. and error is coming from oauth_prompt.py in that environment where we do not have any control. We have tried the different versions of bot builder. Python 3.8 is running in that service.
2021-09-04T15:25:23.166832069Z: [ERROR]
2021-09-04T15:25:23.166836069Z: [ERROR]   [on_turn_error] unhandled error: init() takes 1 positional argument but 2 were given
2021-09-04T15:25:23.166839569Z: [ERROR]  Traceback (most recent call last):
2021-09-04T15:25:23.166842869Z: [ERROR]    File "/tmp/8d96f0e1d99a2bf/antenv/lib/python3.8/site-packages/botbuilder/dialogs/prompts/oauth_prompt.py", line 432, in _recognize_token
2021-09-04T15:25:23.166846469Z: [ERROR]      value=InvokeResponse(int(HTTPStatus.OK)),
2021-09-04T15:25:23.166849769Z: [ERROR]  TypeError: init() takes 1 positional argument but 2 were given
2021-09-04T15:25:23.166853169Z: [ERROR]
2021-09-04T15:25:23.166856269Z: [ERROR]  During handling of the above exception, another exception occurred:
2021-09-04T15:25:23.166859669Z: [ERROR]
2021-09-04T15:25:23.166862770Z: [ERROR]  Traceback (most recent call last):
2021-09-04T15:25:23.166866170Z: [ERROR]    File "/tmp/8d96f0e1d99a2bf/antenv/lib/python3.8/site-packages/botbuilder/core/bot_adapter.py", line 128, in run_pipeline
2021-09-04T15:25:23.166869770Z: [ERROR]      return await self._middleware.receive_activity_with_status(
2021-09-04T15:25:23.166873270Z: [ERROR]    File "/tmp/8d96f0e1d99a2bf/antenv/lib/python3.8/site-packages/botbuilder/core/middleware_set.py", line 69, in receive_activity_with_status
2021-09-04T15:25:23.166876970Z: [ERROR]      return await self.receive_activity_internal(context, callback)
2021-09-04T15:25:23.166880270Z: [ERROR]    File "/tmp/8d96f0e1d99a2bf/antenv/lib/python3.8/site-packages/botbuilder/core/middleware_set.py", line 79, in receive_activity_internal
2021-09-04T15:25:23.166883970Z: [ERROR]      return await callback(context)

@maheshpardeshi I am able to reproduce and am investigating the root cause. Thank you for your patience.

Hi Dana,
Thanks for looking into the issue. I feel this issue specifically comes in the team's app only. in web emulator, it works but does not work in teams app. It will be a great help if you can show the direction from here.

HI Dana, Any update on this?

@clearab, @tracyboehrer - We are also able to repro the issue raised by developer. Could you please look into it?


State change debounce and supression

For my understanding, state management in VanJS is event driven. The event is triggered by the state setter and prpagated to all event listeners:
s.listeners.forEach(l => l(v, curV))

For frequent updates this may cause too many calls. A common way to prevent this is a timeout, that prevents retriggering before the timeout has fired.
It may also be useful to have an option to globally disable all events (e.g. during page update or deletion) programmatically with frunctions like van.inhibitUpdate() and van.restoreUpdate().

I feel that the suppression logic can be implemented in event handlers instead of VanJS library.

Not sure how to do this. Any suggestion welcome.
Let assume, there are 50 state objects, each changed 500 times per second on an irregular basis. But we want the UI to update only once per second.  So we need to inhibit the event propagation, but still remember that the state object was changed. After one second, we want all state objects to fire, if the state was changed in the meantime.
I agree that it is not desired to put this in the core library, but maybe there could be an entry point to apply this kind of logic externally? Something like a event-function (onStateChanged)?

I think the following design pattern can solve your problem:
const appState = ...
const viewState = {
  prop1: van.state(...),
  prop2: van.state(...),
  ...
}

setInterval(() => {
  <Sync `appState` to `viewState`>
}, 1000)

const App = div(
  ...
  // Inside your application, we bind DOM nodes to `viewState`, but only mutate `appState`
  // to handle the state changes.
)

It seems, VanJS already contains all it needs:
18:  if (s.oldVal === curV)
19:     changedStates = addAndScheduleOnFirst(changedStates, s, updateDoms,  updateRate);

I added "updateRate" here with an initial value of zero. If I change this to a larger value, updates slow down, but are not skipped. So, adding this value and a setter could simply be enough to prevent event blocking.

I made a new demo to show the issue with state blocking.
Check out on flems.io

I don't know if this is relevant. In microcontroller programming, the best anti-debounce solution is a counter.
If the button is pressed counter++, if counter > 3000 => execute the event.


feat(new-codemod): MongoDB async methods

📚 Description
This codemod transforms insert, update, remove, find, findOne, upsert methods that no longer work in the server to their async counterparts in Meteor.js v3 as described here.
You can test/run the codemod using:
codemod meteor/v3/mongo-db-async-methods

Codemod Studio Link
Link to published codemod
🔗 Linked Issue
Resolves #1276

Resolved in #1322


CodeFormatter  Format error: [Errno 2] No such file or directory

I have found previous issues posted about this error but with no working solution.
CodeFormatter

Format error:
[Errno 2] No such file or directory

I receive this upon attempting to format a .php file.  Some info about this machine:
OSX 10.8.4
Sublime 2.0.2 build 2221
which php_beautifier
/opt/local/bin/php_beautifier

php_beautifier --version
(a bunch of PHP Strict standards notices)
PHP_Beautifier 0.1.15

which node
/opt/local/bin/node

which php
/opt/local/bin/php

php --version
PHP 5.4.24 (cli) (built: Jan 10 2014 17:09:49)

node --version
v0.10.25

I have tried removing the CodeFormatter and reinstalling via Package Control as well as installing via git clone; the problem remains persistent across installation methods.
I hope this is of use to someone.  Still trying to nail down the root of the problem.

I got the same probleme.
When i view the phpbeautifier file in:
~/.config/sublime-text-3/Packages/CodeFormatter/codeformatter/lib/phpbeautifier
I saw the firet line:
#!/usr/bin/php -Cq
Becaust my php isn't install in the "/usr/bin/php" path, so i do this:
sudo ln -s /usr/bin/php /usr/local/php/5.3.28/bin/php
And it's work now.

You can define php path manually in settings

Hi, I have the same problem, this is the output of my console
Format error:
[WinError 2] El sistema no puede encontrar el archivo especificado
reloading settings Packages/User/Preferences.sublime-settings
reloading settings Packages/User/Preferences.sublime-settings
Unable to open /C/Users/o-vesga/AppData/Roaming/Sublime Text 3/Packages/Default/Default (Windows).sublime-keymap

For those using XAMPP on windows, change path from
From
"codeformatter_php_options":
{
"syntaxes": "php",
"php_path": "",
"format_on_save": true,
To
"codeformatter_php_options":
{
"syntaxes": "php",
"php_path": "C:/XAMP/php/php-win.exe",
"format_on_save": true,


package com.kscs.util.jaxb as runtime dependecy

Hi Mirko,
I just discovered that your plugin adds static code to the com.kscs.util.jaxb package within the generated-source folder. I see problems arising when multiple schemas are using your plugin. IMO the code schould be a runtime dependency or should be placed in the same package as the xjc generated code.

Hi cachescrubber,
you can switch off the generation of this static code with the „-generate-tools=n“ option. Then you can add the jar (if repository configured like in your description!) to the runtime classpath of your code.
Please note that since version 1.5.0 the command-line options must be given AFTER the corresponding plugin activation option. Each of the plugin classes has its own „generate-tools“ option…

Am 2015-02-17 um 14:18 schrieb cachescrubber<EMAIL_ADDRESS>Hi Mirko,
I just discovered that your plugin adds static code to the com.kscs.util.jaxb package within the generated-source folder. I see problems arising when multiple schemas are using your plugin. IMO the code schould be a runtime dependency or should be placed in the same package as the xjc generated code.
—
Reply to this email directly or view it on GitHub.

Thanks Mirko,
generate-tools=n works as described. I should RTFM next time ;-)


Migrate to flit

Some pending items noted:

[x] No short description?
[x] Keywords cannot contain spaces?
[x] PEP 508 URL requirements not supported in extras?

cc @takluyver

I tried flit install and flit build locally and it seems to work! :tada:

Being hit by https://github.com/takluyver/flit/issues/75#issuecomment-290139035, supposedly fixed in https://github.com/tox-dev/tox/pull/954.

[ ] flit install --symlink does not install non-extra requirements? See https://circleci.com/gh/poliastro/poliastro/5423

Thanks! The short description is actually taken from the first line of the module's docstring - slightly strange, but it saves a bit of repetition.
I'd forgotten that there even was a keywords field in there. Assuming the metadata spec & PyPI allow spaces, it should be easy to allow a list for that.
I'll try to get to looking at the points about requirements.

Thanks a lot @takluyver!

The keywords field is a space-separated list in the standard metadata format, and no quoting rules are defined, so keywords with spaces aren't feasible.
It may be nice to allow specifying them as a toml list rather than a single string, anyway. I've opened an issue for that: https://github.com/takluyver/flit/issues/293

Looking at your released files, setuptools appears to create a comma separated list of keywords, not space separated. I'll bring it up on the distutils-sig mailing list - it might be the spec that gets changed.

Here's the thread I've started<EMAIL_ADDRESS>

Looking at your released files, setuptools appears to create a comma separated list of keywords, not space separated.

Hah, I've been wrong all this time :) Thanks for the leg work

distutils has been wrong all this time. Or possibly the spec has been 'wrong' :wink:

The issues with requirements are hopefully fixed in RC3, if you want to give it another try.
We seem to have agreed that the spec was wrong, and keywords should be comma separated. I think you can put them directly in like that.

Awesome, everything is working now! Thanks a lot @takluyver, merging this when the tests pass :heart:

Thanks :-)


upgrade to client-go 4.0.0-beta.0

In order to start using 1.7 features like rolling deployments we need to upgrade to latest client-go.
While I know this compiles I wanted to open this PR to trigger the tests on a "real" Kubernetes cluster.
@Gouthamve @mxinden @fabxc

@coreosbot test this please

👍

I'm preparing a fix for https://github.com/coreos/prometheus-operator/issues/516 right now, and would like to release after that, and only then merge this.


Return Promise.reject if agent not found

If you send a message to non-existing agent, it will throw an error instead of catching it using Promise.catch.
This patch allows you to chain the .send function using Promise.

Thanks Ian, good find.
For future pull requests, can you please do them to the develop branch?
Thanks!


refactor!: v1.2.0

This PR introduces a brand new episode of the Vuex ORM Soft Delete plugin.
While the architecture and codebase has undergone a major transplant, the existing scope is left intact to serve existing users. See the deprecations list for more detail.
Type of PR:

[x] Bugfix
[x] Feature
[x] Code style update
[x] Refactor
[x] Build-related changes
[x] Documentation
[ ] Other, please describe:

Breaking changes:

[x] No
[ ] Yes

TODO:

[x] Documentation
[x] BC testing for backward compatibility

New features

Global and model level option configurations.

softDeleteConfig can be defined on models to override global options/defaults.

Composite Primary Key support.
Single and batch delete models.
Restore deleted models.
Model state indicator through instance.$trashed().

A unified method edition of instance.$isDeleted since it's an interchangeable property.

User-defined mutator for the key attribute.

Intersect the date value passed as argument or simply return any value to be stored.
Global and per-model configuration.

Typescript support.
Comprehensive coverage tests.

Improvements

key attribute uses Date.now() instead of new Date.

Enables better conditional treatment over string representation and prevents an empty object persisting to the store.

Deleting instance updates reference.

Removes the habit of fetching the same record after it's trashed.

Allows forceful hydration after deleting and restoring.
Eloquent-esque naming conventions for query builder.

withTrashed and onlyTrashed are consistent with other ORM's.

Fixes model serializing that'd ceased functioning since it changed in @vuex-orm/core.
Compatible with recent releases of @vuex-orm/core.
Better alignment with @vuex-orm/core codebase and API.
Utilises some existing typings from @vuex-orm/core for consistency and support.

Deprecations

Query chain method onlyTrashed supersedes trashed.
Model instance method $softDelete supersedes softDelete.

All deprecations come with warnings outside production mode.
Resolves #2
Resolves #3
Resolves #6

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@7f79a6d). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             master        #7   +/-   ##
==========================================
  Coverage          ?   100.00%
==========================================
  Files             ?         5
  Lines             ?       104
  Branches          ?        11
==========================================
  Hits              ?       104
  Misses            ?         0
  Partials          ?         0

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7f79a6d...f1d8e5f. Read the comment docs.

This branch is now stable and ready for review.
Extensive testing has been focused on existing scope to avoid breakages for existing users.
The build, environment, and coverage tests are consistent with core and other plugins recently updated.
@kiaking is there any special requirements to be configured for docs to be deployed to gh-pages?
When this PR is approved, it is suggested the PR is merged into master and time allowed for community testing before releasing. Does this sound plausible?

Truly wonderful job @cuebit! Thank you so much! This is sooo great.


Compiling with nw-gyp?

Hey Nate!
I have no experience with using node-gyp or building a node module. I'm confused as to if there is a source that isn't in the repo.
I attempted to rebuild NodObjC but I kept running into errors (no binding.gyp file).
Anyway! In order to get a module osx-background working with node-webkit I need a version of NodObjC that is compiled with https://github.com/rogerwang/nw-gyp.
This should fix the issue I'm having https://github.com/rogerwang/node-webkit/issues/1277#issuecomment-61324540.
Rodger the maintainer of both nw-gyp and node-webkit states that NodObjC needs to be built for node-webkit natively.
https://github.com/rogerwang/node-webkit/wiki/Build-native-modules-with-nw-gyp
But this is still an icky issue because then I'll have to create a new versions of both modules webkit-NodObjC and webkit-osx-background or is their some way during npm install that I can specify which to use node-gyp or nw-gyp?
Sorry to bug you with this, I saw somewhere that you stated this should be fixed on the node-webkit end of things?

@reggi Sorry for late response. Did you ever get this figured out?

No, I never had any luck with the (current) version of node-webkit when I tried recently. There has been some movement over in the other thread though: https://github.com/nwjs/nw.js/issues/1811#issuecomment-68829397 I don't know if this will help though, I'll check as soon as I can get to it. Looks like a fork of node-ffi to help?

@TooTallNate @MarcFowler I never figured out a solution for using the module I needed I just made another script (a workaround) for setting the background in osx using node-osascript. Plus I moved to atom-shell, which had the issue as well.
var osascript = require('node-osascript');

module.exports = osxBackgroundGet;

function osxBackgroundGet(callback) {
  osascript.execute([
    'tell application ``System Events"',
    'tell current desktop',
    'get picture',
    'end tell',
    'end tell'
  ].join("\n"), callback);
}

But I could still see this being an issue with some modules & node-webkit / atom-shell.

Just felt like I need to say that NodObjC builds fine with nw-gyp using nwjs 0.12.2. Only ref and ffi need to be rebuilt. The example "Hello World" application then works. Seems like  $.NSApplication('sharedApplication') returns a new application; I was not able to get nwjs's own NSApp.


Added pt-BR Lang File

Hello!
Here is my translated version of you mod. I figured out that I need this to completly translate the Industrial Foregoing mod, so... I did it!
Could you consider using it in future releases?

sure thing mate... will do.
thanks!


Color input in  export image box requires hex

The input box could have a label indicating that a hex value is required, or better still be able to use rgb / rgba values and or color names
I think if you try to set a color of a ui object with an invalid string it goes to white it think.
Also, I haven't checked the code, but I think you do the major processing and then try and use the color. I would be better checked first to see if the background color is valid.

I'll put a note about how hex values are required. It would be  more sensible than allowing users to type in RGB tuples to present a color picking dialog, eventually.
I don't think any major processing is done before the color. I think it stores the text of the ASCII art, then the first thing it does is create a new PIL image of that color, before it draws the text onto it. But all the major processing is done before the background image is actually changed.
The way to avoid this would be to have a clear image with text, and then change background color behind it. Then when render and export is selected, actually create the image.

But for the color, look at this simple code...
import ui
not a good way but relying on pythonista parser
to make a color
def color_check(the_colour):
temp = ui.Button()
temp.background_color = the_colour
return temp.background_color
if name == 'main':
print color_check((255, 0, 0, .9))
print color_check((0,255,0))
print color_check('yellow')
print color_check('#915c83')
print color_check('#915c')
print color_check('crapyyyyyyyy')
But it works. Does not fail. I would not sat the best, but it's ok!

Fixed your formatting for you. But also, only the last 4 examples would work, because the text box returns a string.

Closed. I pass values through ImageColor now.


Test jQuery plugin more extensively

Currently the plugin only works with jQuery and it has been tested with jQuery v3.x.
Create a Karma config to instance the jQuery plugin test suite with:

jQuery v1.x
jQuery v2.x
Zepto

VulcanVal now supports jQuery v1.x, v2.x and v3.x.
Tested versions: 1.7.0, 1.11.3, 2.0.0, 3.0.0, 3.1.0.
Peding test: Zepto version 1.x.

Support for Zepto is not a priority now.


F#118 Granularity is not set properly

Description

Granularity is not set into datasource have been imported by Metatron engine.
Related Issue :

#118
How Has This Been Tested?

Create datasource with druid api
Import datasource into Metatron discovery app.
Show granularity and seg granularity are set properly

Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My code follows the code style of this project. it will be added soon
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document. it will be added soon
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Additional Context

run build
deploy to 2


When using convert_to_openai_function, if a type hint of field is an Enum, its description will be lost.

Checked other resources

[X] I added a very descriptive title to this issue.
[X] I searched the LangChain documentation with the integrated search.
[X] I used the GitHub search to find a similar question and didn't find it.
[X] I am sure that this is a bug in LangChain rather than my code.
[X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

Example Code
from enum import StrEnum

from langchain_core.utils.function_calling import convert_to_openai_function
from pydantic import BaseModel, Field

class WithDesciptionModel(BaseModel):
    foo: str = Field(..., description="This is a foo field")

class MyEnum(StrEnum):
    NAME = "name"
    AGE = "age"

class WithoutDesciptionModel(BaseModel):
    foo: MyEnum = Field(..., description="This is a foo field")

# The description of foo will be kept.
print(convert_to_openai_function(WithDesciptionModel))
# The description of foo will be lost.
print(convert_to_openai_function(WithoutDesciptionModel))

# print(WithDesciptionModel.model_json_schema())
# print(WithoutDesciptionModel.model_json_schema())

Error Message and Stack Trace (if applicable)
{'name': 'WithDesciptionModel', 'description': '', 'parameters': {'properties': {'foo': {'description': 'This is a foo field', 'type': 'string'}}, 'required': ['foo'], 'type': 'object'}}
{'name': 'WithoutDesciptionModel', 'description': '', 'parameters': {'properties': {'foo': {'enum': ['name', 'age'], 'type': 'string'}}, 'required': ['foo'], 'type': 'object'}}

Description
If the type hint in a BaseModel includes an Enum, its description will be lost.
System Info
langchain-core==0.3.5
pydantic==2.9.2
python-version==3.12.6

@gbaian10 do you use this together with the open ai chat model? did this arise while using with_structured_output

@eyurtsev Using with_structured_output still has this issue.
Although it's currently known that modifying the __doc__ of the Enum class itself can solve it, this doesn't seem like a good approach.
from enum import StrEnum, auto

from dotenv import load_dotenv
from langchain_openai import ChatOpenAI
from pydantic import BaseModel, Field

load_dotenv()

class NameEnum(StrEnum):
    ALICE = auto()
    BOB = auto()

class NewNameEnum(StrEnum):
    CHARLIE = auto()
    DAVID = auto()

description = "Name of the person"
NewNameEnum.__doc__ = description

class EnumModel(BaseModel):
    name: NameEnum = Field(..., description=description)

class StrModel(BaseModel):
    name: str = Field(..., description=description)

class FixEnumModel(BaseModel):
    name: NewNameEnum

inputs = "Hello, I am Alice."
model = ChatOpenAI(model="gpt-4o-mini")
model.with_structured_output(EnumModel).invoke(inputs)
model.with_structured_output(StrModel).invoke(inputs)
model.with_structured_output(FixEnumModel).invoke(inputs)

Hey, we're a group of UTSC students looking to work on this issue!
Would it be acceptable for our team of five to investigate this?

Hello, this comment is from the UTSC group of students mentioned above.
We developed the following solution to one of the helper functions for convert_to_openai_function that seems to solve this issue + pass the existing unit tests.
def _dereference_refs_helper(
    obj: Any,
    full_schema: dict[str, Any],
    skip_keys: Sequence[str],
    processed_refs: Optional[set[str]] = None,
) -> Any:
    if processed_refs is None:
        processed_refs = set()

    if isinstance(obj, dict):
        obj_out = {}
        for k, v in obj.items():
            if k in skip_keys:
                obj_out[k] = v
            elif k == "$ref":
                if v in processed_refs:
                    continue
                processed_refs.add(v)
                ref = _retrieve_ref(v, full_schema)
                full_ref = _dereference_refs_helper(
                    ref, full_schema, skip_keys, processed_refs
                )
                processed_refs.remove(v)

                # Merge the referenced object with the current one (keeping existing fields)
                obj_out.update(full_ref)
                obj_out.update({key: val for key, val in obj.items() if key != "$ref"})
                return obj_out
            elif isinstance(v, (list, dict)):
                obj_out[k] = _dereference_refs_helper(
                    v, full_schema, skip_keys, processed_refs
                )
            else:
                obj_out[k] = v
        return obj_out
    elif isinstance(obj, list):
        return [
            _dereference_refs_helper(el, full_schema, skip_keys, processed_refs)
            for el in obj
        ]
    else:
        return obj

Could we get some input on the above? Would this be okay to merge into Langchain?


Adding sass modules to the CMS custom preview breaks the project.

Summary
The project works without issues with SASS modules.
Trying to use SASS inside src/cms/cms.js for the purposes of customizing the CMS admin preview panel breaks the project.
Using regular CSS or CSS modules works without any problem for the admin preview panel.
I've checked for this issue on GitHub, the Netlify CMS forums and documentation, Stack Overflow, and everywhere that Google has led me.
Describe the bug
My project uses Netlify CMS and Gatsby. I have no issues with SASS when working on the project. The issue only comes up when I try to use SASS inside components that I want to use as custom preview with CMS.registerPreviewTemplate() for the CMS Admin panel at http://localhost:8000/admin/.
I've setup up everything without any issues and there are no problems when I use CSS modules.
The problem is that my project uses SASS and when I just rename import * as styles from PreviewTesting.module.css to import * as styles from './PreviewTesting.module.scss' inside PreviewTesting.jsx I get this error:
 ERROR  Failed to compile with 1 error                                                                                6:03:26 PM

 error  in ./src/templates/previewTesting/PreviewTesting.module.scss

Module parse failed: Unexpected token (1:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See
https://webpack.js.org/concepts#loaders
> .previewTestingDescription {
|   background-color: lightgoldenrodyellow;
|   font-family: 'Montserrat-Regular', sans-serif;

Also, just adding import '../styles/global.scss'  inside the src/cms/cms.js file causes the same error that prevents the build from happening.
I've tried updating and downgrading any package I could think of and this did not help. I've also tried to register the files as preview styles with CMS.registerPreviewStyle(file); and I've tried Raw CSS with https://www.netlifycms.org/docs/beta-features/#raw-css-in-registerpreviewstyle. None of these solved the issue.
To Reproduce
Steps to reproduce the behavior. For example:

Create a React component.
Import a SASS module component into the React component.
Register that component as a preview component with CMS.registerPreviewTemplate('name', PreviewTesting) inside src/cms/cms.js

An alternative way to reproduce:

Add import '../styles/global.scss'  inside the src/cms/cms.js. global.scss hold regular SASS things like imports for fonts, variable and other such things.

Expected behavior
The project should run and apply the CSS styling to the preview panel at http://localhost:8000/admin/
Screenshots

Applicable Versions:

"gatsby": "^4.9.0"
"gatsby-plugin-netlify-cms": "6.25.0"
"gatsby-plugin-sass": "5.25.0"
"netlify-cms-app": "^2.15.72"
"sass": "1.49.9"
"gatsby": "^4.9.0" (updated to the latest version "4.25.1")

Node.JS version:
Did not work on v16, updated to v18.12.1, still does not work.

CMS configuration
collections:
  - name: "name"
    label: "names"
    label_singular: "name"
    description: >
      Test
    create: true
    slug: "{{category}}-{{slug}}"
    fields:
      - { name: title, label: Title }
      - { name: subtitle, label: Subtitle, required: false }

Additional context
Any help would be very appreciated.
EDIT1: Small edit for clarity. No context has been changed.

A friend of mine provided me with a solution:
The plugin order in gatsby-config.js actually matters in this case. gatsby-plugin-sass must come before gatsby-plugin-netlify-cms
The plugin segment in gatsby-config.js should look like this:
    {
      resolve: 'gatsby-plugin-sass',
      options: {
        additionalData: '@use "/src/styles/global" as *;',
        sassOptions: {
          includePaths: ['src/styles'],
        },
      },
    },
    {
      resolve: 'gatsby-plugin-netlify-cms',
      options: {
        modulePath: `${__dirname}/src/cms/cms.js`,
      },
    },


ionic2 ion-input at footer hidden by   keyboard

when  setting Keyboard.disableScroll(true); when keyboard show ,the input hidden by Keyboard
the code is
<ion-footer>
   <ion-input type="text"> </ion-input>
<ion-footer>

Ionic Framework Version: 2.0.0-beta.11
Ionic CLI Version: 2.0.0-beta.37
Ionic App Lib Version: 2.0.0-beta.20
ios-deploy version: 1.8.6
ios-sim version: 5.0.8
OS: Mac OS X El Capitan
Node Version: v6.3.1
Xcode version: Xcode 7.3.1 Build version 7D1014

keyHiddenInput 2.zip
#you should npm install#
#I use ios emulator test#
#thanks!!  I hope ionic team can resolve this issue#

You can get the element the by call and decrease height on focus
Like
let elem = document.getElementsByClassName('show-page')[0];
elem.style.height = "62%";
Then on blur
let elem = document.getElementsByClassName('show-page')[0];
elem.style.height = "100%";

this function experience is very poor, sometimes the screen appear black zone

i make a chat app, the input must at footer, and when keyboard appear i want the input above keyboard

Hmm I am encounter same issue and the same solution that above ... But not fully succeed ... For now we can wait if IONIC team will reply with some good solution

I've created a directive for this functionality and posted it here.

@Manduro nice solution! Can you tweak it a little more to use the same animation as the keyboard opening animation.

@NoNameProvided Unfortunately it's impossible to exactly match the keyboard animation. You can use your own animation in whatever way you like it.


Why is traefik connecting to a remote host by default

Do you want to request a feature or report a bug?

What did you do?
Started a clean install with the example config file and a few local backend

What did you expect to see?
traefik listening on some local ports maybe connecting to the local backends
What did you see instead?
traefik connecting to a remote host
from netstat -tanp
tcp        0      0 <IP_ADDRESS>:45410         <IP_ADDRESS>:443      ESTABLISHED 19503/traefik
tcp6       0      0 2601:645:c100:71f:33686 2400:cb00:2048:1::6:443 ESTABLISHED 19503/traefik

Output of traefik version: (What version of Traefik are you using?)
->> traefik version
Version:      v1.3.5
Codename:     raclette
Go version:   go1.8.3
Built:        2017-08-01_03:55:31PM
OS/Arch:      linux/amd64

(paste your output here)

What is your environment & configuration (arguments, toml, provider, platform, ...)?
################################################################
# Global configuration
################################################################

# Duration to give active requests a chance to finish before Traefik stops.
# Can be provided in a format supported by [time.ParseDuration](https://golang.org/pkg/time/#ParseDuration) or as raw values (digits).
# If no units are provided, the value is parsed assuming seconds.
# Note: in this time frame no new requests are accepted.
#
# Optional
# Default: "10s"
#
# graceTimeOut = "10s"

# Enable debug mode
#
# Optional
# Default: false
#
debug = true

# Periodically check if a new version has been released
#
# Optional
# Default: true
#
# checkNewVersion = false

# Traefik logs file
# If not defined, logs to stdout
#
# Optional
#
traefikLogsFile = "/var/log/traefik/traefik.log"

# Access logs file
#
# Optional
# Deprecated - see [accessLog] lower down
#
accessLogsFile = "/var/log/traefik/access.log"

# Log level
#
# Optional
# Default: "ERROR"
#
# logLevel = "ERROR"

# Backends throttle duration: minimum duration in seconds between 2 events from providers
# before applying a new configuration. It avoids unnecessary reloads if multiples events
# are sent in a short amount of time.
# Can be provided in a format supported by Go's time.ParseDuration function or
# as raw values (digits). If no units are provided, the value is parsed assuming
# seconds.
#
# Optional
# Default: "2s"
#
# ProvidersThrottleDuration = "5s"

# Controls the maximum idle (keep-alive) connections to keep per-host. If zero, DefaultMaxIdleConnsPerHost
# from the Go standard library net/http module is used.
# If you encounter 'too many open files' errors, you can either increase this
# value or change the `ulimit`.
#
# Optional
# Default: 200
#
# MaxIdleConnsPerHost = 200

# If set to true invalid SSL certificates are accepted for backends.
# Note: This disables detection of man-in-the-middle attacks so should only be used on secure backend networks.
# Optional
# Default: false
#
# InsecureSkipVerify = true

# Register Certificates in the RootCA. This certificates will be use for backends calls.
# Note: You can use file path or cert content directly
# Optional
# Default: []
#
# RootCAs = [ "/mycert.cert" ]

# Entrypoints to be used by frontends that do not specify any entrypoint.
# Each frontend can specify its own entrypoints.
#
# Optional
# Default: ["http"]
#
# defaultEntryPoints = ["http", "https"]

# Constraints definition
#
# Optional
#
# Simple matching constraint
# constraints = ["tag==api"]
#
# Simple mismatching constraint
# constraints = ["tag!=api"]
#
# Globbing
# constraints = ["tag==us-*"]
#
# Backend-specific constraint
# [consulCatalog]
#   endpoint = "<IP_ADDRESS>:8500"
#   constraints = ["tag==api"]
#
# Multiple constraints
#   - "tag==" must match with at least one tag
#   - "tag!=" must match with none of tags
# constraints = ["tag!=us-*", "tag!=asia-*"]
# [consulCatalog]
#   endpoint = "<IP_ADDRESS>:8500"
#   constraints = ["tag==api", "tag!=v*-beta"]

# Enable ACME (Let's Encrypt): automatic SSL
#
# Optional
#
[acme]

# Email address used for registration
#
# Required
#
email =<EMAIL_ADDRESS>
# File or key used for certificates storage.
# WARNING, if you use Traefik in Docker, you have 2 options:
#  - create a file on your host and mount it as a volume
#      storageFile = "acme.json"
#      $ docker run -v "/my/host/acme.json:acme.json" traefik
#  - mount the folder containing the file as a volume
#      storageFile = "/etc/traefik/acme/acme.json"
#      $ docker run -v "/my/host/acme:/etc/traefik/acme" traefik
#
# Required
#
storage = "/etc/traefik/acme.json" # or "traefik/acme/account" if using KV store

# Entrypoint to proxy acme challenge/apply certificates to.
# WARNING, must point to an entrypoint on port 443
#
# Required
#
entryPoint = "https"

# Use a DNS based acme challenge rather than external HTTPS access, e.g. for a firewalled server
# Select the provider that matches the DNS domain that will host the challenge TXT record,
# and provide environment variables with access keys to enable setting it:
#  - cloudflare: CLOUDFLARE_EMAIL, CLOUDFLARE_API_KEY
#  - digitalocean: DO_AUTH_TOKEN
#  - dnsimple: DNSIMPLE_EMAIL, DNSIMPLE_OAUTH_TOKEN
#  - dnsmadeeasy: DNSMADEEASY_API_KEY, DNSMADEEASY_API_SECRET
#  - exoscale: EXOSCALE_API_KEY, EXOSCALE_API_SECRET
#  - gandi: GANDI_API_KEY
#  - linode: LINODE_API_KEY
#  - manual: none, but run traefik interactively & turn on acmeLogging to see instructions & press Enter
#  - namecheap: NAMECHEAP_API_USER, NAMECHEAP_API_KEY
#  - rfc2136: RFC2136_TSIG_KEY, RFC2136_TSIG_SECRET, RFC2136_TSIG_ALGORITHM, RFC2136_NAMESERVER
#  - route53: AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_REGION, or configured user/instance IAM profile
#  - dyn: DYN_CUSTOMER_NAME, DYN_USER_NAME, DYN_PASSWORD
#  - vultr: VULTR_API_KEY
#  - ovh: OVH_ENDPOINT, OVH_APPLICATION_KEY, OVH_APPLICATION_SECRET, OVH_CONSUMER_KEY
#  - pdns: PDNS_API_KEY, PDNS_API_URL
#
# Optional
#
# dnsProvider = "digitalocean"

# By default, the dnsProvider will verify the TXT DNS challenge record before letting ACME verify
# If delayDontCheckDNS is greater than zero, avoid this & instead just wait so many seconds.
# Useful if internal networks block external DNS queries
#
# Optional
#
# delayDontCheckDNS = 0

# If true, display debug log messages from the acme client library
#
# Optional
#
acmeLogging = true

# Enable on demand certificate. This will request a certificate from Let's Encrypt during the first TLS handshake for a hostname that does not yet have a certificate.
# WARNING, TLS handshakes will be slow when requesting a hostname certificate for the first time, this can leads to DoS attacks.
# WARNING, Take note that Let's Encrypt have rate limiting: https://letsencrypt.org/docs/rate-limits
#
# Optional
#
onDemand = true

# Enable certificate generation on frontends Host rules. This will request a certificate from Let's Encrypt for each frontend with a Host rule.
# For example, a rule Host:test1.traefik.io,test2.traefik.io will request a certificate with main domain test1.traefik.io and SAN test2.traefik.io.
#
# Optional
#
# OnHostRule = true

# CA server to use
# Uncomment the line to run on the staging let's encrypt server
# Leave comment to go to prod
#
# Optional
#
# caServer = "https://acme-staging.api.letsencrypt.org/directory"

# Domains list
# You can provide SANs (alternative domains) to each main domain
# All domains must have A/AAAA records pointing to Traefik
# WARNING, Take note that Let's Encrypt have rate limiting: https://letsencrypt.org/docs/rate-limits
# Each domain & SANs will lead to a certificate request.
#
# [[acme.domains]]
#   main = "local1.com"
#   sans = ["test1.local1.com", "test2.local1.com"]
# [[acme.domains]]
#   main = "local2.com"
#   sans = ["test1.local2.com", "test2x.local2.com"]
# [[acme.domains]]
#   main = "local3.com"
# [[acme.domains]]
#   main = "local4.com"

# Enable access logs
# By default it will write to stdout and produce logs in the textual
# Common Log Format (CLF), extended with additional fields.
#
# Optional
#
[accessLog]

# Sets the file path for the access log. If not specified, stdout will be used.
# Intermediate directories are created if necessary.
#
# Optional
# Default: os.Stdout
#
filePath = "/var/log/traefik/log.txt"

# Format is either "json" or "common".
#
# Optional
# Default: "common"
#
format = "common"

# Entrypoints definition
#
# Optional
# Default:
# [entryPoints]
#   [entryPoints.http]
#   address = ":80"
#
# To redirect an http entrypoint to an https entrypoint (with SNI support):
# [entryPoints]
#   [entryPoints.http]
#   address = ":80"
#     [entryPoints.http.redirect]
#       entryPoint = "https"
#   [entryPoints.https]
#   address = ":443"
#     [entryPoints.https.tls]
#       [[entryPoints.https.tls.certificates]]
#       CertFile = "integration/fixtures/https/snitest.com.cert"
#       KeyFile = "integration/fixtures/https/snitest.com.key"
#       [[entryPoints.https.tls.certificates]]
#       CertFile = "integration/fixtures/https/snitest.org.cert"
#       KeyFile = "integration/fixtures/https/snitest.org.key"
#
# To redirect an entrypoint rewriting the URL:
# [entryPoints]
#   [entryPoints.http]
#   address = ":80"
#     [entryPoints.http.redirect]
#       regex = "^http://localhost/(.*)"
#       replacement = "http://mydomain/$1"
#
# To enable basic auth on an entrypoint
# with 2 user/pass: test:test and test2:test2
# Passwords can be encoded in MD5, SHA1 and BCrypt: you can use htpasswd to generate those ones
# Users can be specified directly in the toml file, or indirectly by referencing an external file; if both are provided, the two are merged, with external file contents having precedence
# [entryPoints]
#   [entryPoints.http]
#   address = ":80"
#   [entryPoints.http.auth.basic]
#   users = ["test:$apr1$H6uskkkW$IgXLP6ewTrSuBkTrqE8wj/", "test2:$apr1$d9hr9HBB$4HxwgUir3HP4EsggP/QNo0"]
#   usersFile = "/path/to/.htpasswd"
#
# To enable digest auth on an entrypoint
# with 2 user/realm/pass: test:traefik:test and test2:traefik:test2
# You can use htdigest to generate those ones
# Users can be specified directly in the toml file, or indirectly by referencing an external file; if both are provided, the two are merged, with external file contents having precedence
# [entryPoints]
#   [entryPoints.http]
#   address = ":80"
#   [entryPoints.http.auth.basic]
#   users = ["test:traefik:a2688e031edb4be6a3797f3882655c05 ", "test2:traefik:518845800f9e2bfb1f1f740ec24f074e"]
#   usersFile = "/path/to/.htdigest"
#
# To specify an https entrypoint with a minimum TLS version, and specifying an array of cipher suites (from crypto/tls):
# [entryPoints]
#   [entryPoints.https]
#   address = ":443"
#     [entryPoints.https.tls]
#     MinVersion = "VersionTLS12"
#     CipherSuites = ["TLS_RSA_WITH_AES_256_GCM_SHA384"]
#       [[entryPoints.https.tls.certificates]]
#       CertFile = "integration/fixtures/https/snitest.com.cert"
#       KeyFile = "integration/fixtures/https/snitest.com.key"
#       [[entryPoints.https.tls.certificates]]
#       CertFile = "integration/fixtures/https/snitest.org.cert"
#       KeyFile = "integration/fixtures/https/snitest.org.key"

# To enable compression support using gzip format:
# [entryPoints]
#   [entryPoints.http]
#   address = ":80"
#   compress = true

# To bind to a particular IP address only:
# [entryPoints]
#   [entryPoints.http]
#   address = "<IP_ADDRESS>:80"

# To enable IP whitelisting at the entrypoint level:
# [entryPoints]
#   [entryPoints.http]
#   address = ":80"
#   whiteListSourceRange = ["<IP_ADDRESS>/32"]

# Enable retry sending request if network error
#
# Optional
#
[retry]

# Number of attempts
#
# Optional
# Default: (number servers in backend) -1
#
attempts = 3

# Enable custom health check options.
#
# Optional
#
# [healthcheck]

# Set the default health check interval. Will only be effective if health check
# paths are defined. Given provider-specific support, the value may be
# overridden on a per-backend basis.
# Can be provided in a format supported by Go's time.ParseDuration function or
# as raw values (digits). If no units are provided, the value is parsed assuming
# seconds.
#
# Optional
# Default: "30s"
#
# interval = "30s"

################################################################
# Web configuration backend
################################################################

# Enable web configuration backend
#
# Optional
#
[web]

# Web administration port
#
# Required
#
address = ":8484"

# SSL certificate and key used
#
# Optional
#
# CertFile = "traefik.crt"
# KeyFile = "traefik.key"
#
# Set REST API to read-only mode
#
# Optional
# ReadOnly = false
#
# Enable more detailed statistics
# [web.statistics]
#   RecentErrors = 10
#
# To enable Traefik to export internal metrics to Prometheus
# [web.metrics.prometheus]
#   Buckets=[0.1,0.3,1.2,5.0]
#

# To enable basic auth on the webui
# with 2 user/pass: test:test and test2:test2
# Passwords can be encoded in MD5, SHA1 and BCrypt: you can use htpasswd to generate those ones
# Users can be specified directly in the toml file, or indirectly by referencing an external file; if both are provided, the two are merged, with external file contents having precedence
#   [web.auth.basic]
#     users = ["test:$apr1$H6uskkkW$IgXLP6ewTrSuBkTrqE8wj/", "test2:$apr1$d9hr9HBB$4HxwgUir3HP4EsggP/QNo0"]
#     usersFile = "/path/to/.htpasswd"
# To enable digest auth on the webui
# with 2 user/realm/pass: test:traefik:test and test2:traefik:test2
# You can use htdigest to generate those ones
# Users can be specified directly in the toml file, or indirectly by referencing an external file; if both are provided, the two are merged, with external file contents having precedence
#   [web.auth.digest]
#     users = ["test:traefik:a2688e031edb4be6a3797f3882655c05 ", "test2:traefik:518845800f9e2bfb1f1f740ec24f074e"]
#     usersFile = "/path/to/.htdigest"

################################################################
# File configuration backend
################################################################

# Enable file configuration backend
#
# Optional
#
# [file]

# Rules file
# If defined, traefik will load rules from this file,
# otherwise, it will load rules from current file (cf Sample rules below).
#
# Optional
#
# filename = "rules.toml"

# Rules file
# If defined, traefik will load rules from .toml files in this directory.
#
# Optional
#
# directory = "/path/to/config/"

# Enable watch file changes
#
# Optional
#
# watch = true

################################################################
# Docker configuration backend
################################################################

# Enable Docker configuration backend
#
# Optional
#
# [docker]

# Docker server endpoint. Can be a tcp or a unix socket endpoint.
#
# Required
#
# endpoint = "unix:///var/run/docker.sock"

# Default domain used.
# Can be overridden by setting the "traefik.domain" label on a container.
#
# Required
#
# domain = "docker.localhost"

# Enable watch docker changes
#
# Optional
#
# watch = true

# Override default configuration template. For advanced users :)
#
# Optional
#
# filename = "docker.tmpl"

# Expose containers by default in traefik
#
# Optional
# Default: true
#
# exposedbydefault = true

# Enable docker TLS connection
#
# Optional
#
#  [docker.tls]
#  ca = "/etc/ssl/ca.crt"
#  cert = "/etc/ssl/docker.crt"
#  key = "/etc/ssl/docker.key"
#  insecureskipverify = true

################################################################
# Docker Swarmmode configuration backend
################################################################

# Enable Docker configuration backend
#
# Optional
#
# [docker]

# Docker server endpoint. Can be a tcp or a unix socket endpoint.
#
# Required
#
# endpoint = "tcp://<IP_ADDRESS>:2375"

# Default domain used.
# Can be overridden by setting the "traefik.domain" label on a services.
#
# Required
#
# domain = "docker.localhost"

# Enable watch docker changes
#
# Optional
#
# watch = true

# Use Docker Swarm Mode as data provider
#
# Optional
#
# swarmmode = true

# Override default configuration template. For advanced users :)
#
# Optional
#
# filename = "docker.tmpl"

# Expose services by default in traefik
#
# Optional
# Default: true
#
# exposedbydefault = true

# Enable docker TLS connection
#
# Optional
#
#  [swarm.tls]
#  ca = "/etc/ssl/ca.crt"
#  cert = "/etc/ssl/docker.crt"
#  key = "/etc/ssl/docker.key"
#  insecureskipverify = true

# Constraints
#
# Optional
#
# constraints = ["tag==api", "tag==he*ld"]
# Matching with containers having the label "traefik.tags" set to "api,helloworld"
# ex: $ docker run -d -P --label traefik.tags=api,helloworld emilevauge/whoami

################################################################
# Mesos/Marathon configuration backend
################################################################

# Enable Marathon configuration backend
#
# Optional
#
# [marathon]

# Marathon server endpoint.
# You can also specify multiple endpoint for Marathon:
# endpoint := "http://<IP_ADDRESS>:8080,<IP_ADDRESS>:8080,<IP_ADDRESS>:8080"
#
# Required
#
# endpoint = "http://<IP_ADDRESS>:8080"

# Enable watch Marathon changes
#
# Optional
#
# watch = true

# Default domain used.
# Can be overridden by setting the "traefik.domain" label on an application.
#
# Required
#
# domain = "marathon.localhost"

# Override default configuration template. For advanced users :)
#
# Optional
#
# filename = "marathon.tmpl"

# Expose Marathon apps by default in traefik
#
# Optional
# Default: true
#
# exposedByDefault = true

# Convert Marathon groups to subdomains
# Default behavior: /foo/bar/myapp => foo-bar-myapp.{defaultDomain}
# with groupsAsSubDomains enabled: /foo/bar/myapp => myapp.bar.foo.{defaultDomain}
#
# Optional
# Default: false
#
# groupsAsSubDomains = true

# Override DialerTimeout
# Amount of time to allow the Marathon provider to wait to open a TCP connection
# to a Marathon master.
# Can be provided in a format supported by Go's time.ParseDuration function or
# as raw values (digits). If no units are provided, the value is parsed assuming
# seconds.
#
# Optional
# Default: "60s"
# dialerTimeout = "60s"

# Enable Marathon basic authentication
#
# Optional
#
#  [marathon.basic]
#  httpBasicAuthUser = "foo"
#  httpBasicPassword = "bar"

# DCOSToken for DCOS environment, This will override the Authorization header
#
# Optional
#
# dcosToken = "xxxxxx"

# Set the TCP Keep Alive interval for the Marathon HTTP Client.
# Can be provided in a format supported by Go's time.ParseDuration function or
# as raw values (digits). If no units are provided, the value is parsed assuming
# seconds.
#
# Optional
# Default: "10s"
#
# keepAlive = "10s"

# By default, a task's IP address (as returned by the Marathon API) is used as
# backend server if an IP-per-task configuration can be found; otherwise, the
# name of the host running the task is used.
# The latter behavior can be enforced by enabling this switch.
#
# Optional
# Default: false
#
# forceTaskHostname: false

################################################################
# Mesos configuration backend
################################################################

# Enable Mesos configuration backend
#
# Optional
#
# [mesos]

# Mesos server endpoint.
# You can also specify multiple endpoint for Mesos:
# endpoint = "<IP_ADDRESS>:5050,<IP_ADDRESS>:5050,<IP_ADDRESS>:5050"
# endpoint = "zk://<IP_ADDRESS>:2181,<IP_ADDRESS>:2181,<IP_ADDRESS>:2181/mesos"
#
# Required
#
# endpoint = "http://<IP_ADDRESS>:8080"

# Enable watch Mesos changes
#
# Optional
#
# watch = true

# Default domain used.
# Can be overridden by setting the "traefik.domain" label on an application.
#
# Required
#
# domain = "mesos.localhost"

# Override default configuration template. For advanced users :)
#
# Optional
#
# filename = "mesos.tmpl"

# Expose Mesos apps by default in traefik
#
# Optional
# Default: false
#
# ExposedByDefault = true

# TLS client configuration. https://golang.org/pkg/crypto/tls/#Config
#
# Optional
#
# [mesos.TLS]
# InsecureSkipVerify = true

# Zookeeper timeout (in seconds)
#
# Optional
# Default: 30
#
# ZkDetectionTimeout = 30

# Polling interval (in seconds)
#
# Optional
# Default: 30
#
# RefreshSeconds = 30

# IP sources (e.g. host, docker, mesos, rkt)
#
# Optional
#
# IPSources = "host"

# HTTP Timeout (in seconds)
#
# Optional
# Default: 30
#
# StateTimeoutSecond = "30"

################################################################
# Kubernetes Ingress configuration backend
################################################################
# Enable Kubernetes Ingress configuration backend
#
# Optional
#
# [kubernetes]

# Kubernetes server endpoint
#
# When deployed as a replication controller in Kubernetes, Traefik will use
# the environment variables KUBERNETES_SERVICE_HOST and KUBERNETES_SERVICE_PORT
# to construct the endpoint.
# Secure token will be found in /var/run/secrets/kubernetes.io/serviceaccount/token
# and SSL CA cert in /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
#
# The endpoint may be given to override the environment variable values.
#
# When the environment variables are not found, Traefik will try to connect to
# the Kubernetes API server with an external-cluster client. In this case, the
# endpoint is required. Specifically, it may be set to the URL used by
# `kubectl proxy` to connect to a Kubernetes cluster from localhost.
#
# Optional for in-cluster configuration, required otherwise
# Default: empty
#
# endpoint = "http://<IP_ADDRESS>:8001"

# Bearer token used for the Kubernetes client configuration.
#
# Optional
# Default: empty
#
# token = "my token"

# Path to the certificate authority file used for the Kubernetes client
# configuration.
#
# Optional
# Default: empty
#
# certAuthFilePath = "/my/ca.crt"

# Array of namespaces to watch.
#
# Optional
# Default: ["default"].
#
# namespaces = ["default"]

# See: http://kubernetes.io/docs/user-guide/labels/#list-and-watch-filtering
# labelselector = "A and not B"

################################################################
# Consul KV configuration backend
################################################################

# Enable Consul KV configuration backend
#
# Optional
#
# [consul]

# Consul server endpoint
#
# Required
#
# endpoint = "<IP_ADDRESS>:8500"

# Enable watch Consul changes
#
# Optional
#
# watch = true

# Prefix used for KV store.
#
# Optional
#
# prefix = "traefik"

# Override default configuration template. For advanced users :)
#
# Optional
#
# filename = "consul.tmpl"

# Enable consul TLS connection
#
# Optional
#
# [consul.tls]
# ca = "/etc/ssl/ca.crt"
# cert = "/etc/ssl/consul.crt"
# key = "/etc/ssl/consul.key"
# insecureskipverify = true

################################################################
# Consul Catalog configuration backend
################################################################

# Enable Consul Catalog configuration backend
#
# Optional
#
# [consulCatalog]

# Consul server endpoint
#
# Required
#
# endpoint = "<IP_ADDRESS>:8500"

# Default domain used.
#
# Optional
#
# domain = "consul.localhost"

# Prefix for Consul catalog tags
#
# Optional
#
# prefix = "traefik"

# Default frontEnd Rule for Consul services
#  - The format is a Go Template with ".ServiceName", ".Domain" and ".Attributes" available
#  -- "getTag(name, tags, defaultValue)", "hasTag(name, tags)" and "getAttribute(name, tags, defaultValue)" functions are available
#  --- "getAttribute(...)" function uses prefixed tag names based on "prefix" value
#
# Optional
#
#frontEndRule = "Host:{{.ServiceName}}.{{Domain}}"

# Should use all Consul catalog tags for constraint filtering
#
# Optional
#
#allTagsConstraintFiltering = false

# Constraints
#
# Optional
#
# constraints = ["tag==api", "tag==he*ld"]
# Matching with containers having this tag: "traefik.tags=api,helloworld"

################################################################
# Etcd configuration backend
################################################################

# Enable Etcd configuration backend
#
# Optional
#
# [etcd]

# Etcd server endpoint
#
# Required
#
# endpoint = "<IP_ADDRESS>:2379"

# Enable watch Etcd changes
#
# Optional
#
# watch = true

# Prefix used for KV store.
#
# Optional
#
# prefix = "/traefik"

# Override default configuration template. For advanced users :)
#
# Optional
#
# filename = "etcd.tmpl"

# Use etcd user/pass authentication
#
# Optional
#
# username = foo
# password = bar

# Enable etcd TLS connection
#
# Optional
#
# [etcd.tls]
# ca = "/etc/ssl/ca.crt"
# cert = "/etc/ssl/etcd.crt"
# key = "/etc/ssl/etcd.key"
# insecureskipverify = true

################################################################
# Zookeeper configuration backend
################################################################

# Enable Zookeeperconfiguration backend
#
# Optional
#
# [zookeeper]

# Zookeeper server endpoint
#
# Required
#
# endpoint = "<IP_ADDRESS>:2181"

# Enable watch Zookeeper changes
#
# Optional
#
# watch = true

# Prefix used for KV store.
#
# Optional
#
# prefix = "/traefik"

# Override default configuration template. For advanced users :)
#
# Optional
#
# filename = "zookeeper.tmpl"

################################################################
# BoltDB configuration backend
################################################################

# Enable BoltDB configuration backend
#
# Optional
#
# [boltdb]

# BoltDB file
#
# Required
#
# endpoint = "/my.db"

# Enable watch BoltDB changes
#
# Optional
#
# watch = true

# Prefix used for KV store.
#
# Optional
#
# prefix = "/traefik"

# Override default configuration template. For advanced users :)
#
# Optional
#
# filename = "boltdb.tmpl"

################################################################
# ECS configuration backend
################################################################

# Enable ECS configuration backend
#
# Optional
#
# [ecs]

# ECS Cluster Name
#
# Optional
# Default: "default"
#
# Cluster = "default"

# Enable watch ECS changes
#
# Optional
# Default: true
#
# Watch = true

# Polling interval (in seconds)
#
# Optional
# Default: 15
#
# RefreshSeconds = 15

# Expose ECS services by default in traefik
#
# Optional
# Default: true
#
# ExposedByDefault = false

# Region to use when connecting to AWS
#
# Optional
#
# Region = "us-east-1"

# AccessKeyID to use when connecting to AWS
#
# Optional
#
# AccessKeyID = "abc"

# SecretAccessKey to use when connecting to AWS
#
# Optional
#
# SecretAccessKey = "123"

# Override default configuration template. For advanced users :)
#
# Optional
#
# filename = "ecs.tmpl"

################################################################
# Rancher configuration backend
################################################################

# Enable Rancher configuration backend
#
# Optional
#
# [rancher]

# Default domain used.
# Can be overridden by setting the "traefik.domain" label on an service.
#
# Required
#
# domain = "rancher.localhost"

# Enable watch Rancher changes
#
# Optional
# Default: true
#
# Watch = true

# Polling interval (in seconds)
#
# Optional
#
# RefreshSeconds = 15

# Expose Rancher services by default in traefik
#
# Optional
# Default: true
#
# ExposedByDefault = false

# Filter services with unhealthy states and inactive states
#
# Optional
# Default: false
#
# EnableServiceHealthFilter = true

# Enable Rancher metadata service configuration backend instead of the API
# configuration backend
#
# Optional
# Default: false
#
# [rancher.metadata]

# Poll the Rancher metadata service for changes every `rancher.RefreshSeconds`
# NOTE: this is less accurate than the default long polling technique which
# will provide near instantaneous updates to Traefik
#
# Optional
# Default: false
#
# IntervalPoll = true

# Prefix used for accessing the Rancher metadata service
#
# Optional
# Default: "/latest"
#
# Prefix = "/2016-07-29"

# Enable Rancher API configuration backend
#
# Optional
# Default: true
#
# [rancher.api]

# Endpoint to use when connecting to the Rancher API
#
# Required
# Endpoint = "http://rancherserver.example.com/v1"

# AccessKey to use when connecting to the Rancher API
#
# Required
# AccessKey = "XXXXXXXXXXXXXXXXXXXX"

# SecretKey to use when connecting to the Rancher API
#
# Required
# SecretKey = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

################################################################
# DynamoDB configuration backend
################################################################

# Enable DynamoDB configuration backend
#
# Optional
#
# [dynamodb]

# DynamoDB Table Name
#
# Optional
#
# TableName = "traefik"

# Enable watch DynamoDB changes
#
# Optional
#
# Watch = true

# Polling interval (in seconds)
#
# Optional
#
# RefreshSeconds = 15

# Region to use when connecting to AWS
#
# Required
#
# Region = "us-east-1"

# AccessKeyID to use when connecting to AWS
#
# Optional
#
# AccessKeyID = "abc"

# SecretAccessKey to use when connecting to AWS
#
# Optional
#
# SecretAccessKey = "123"

# Endpoint of dynamodb when testing locally
#
# Optional
#
# Endpoint = "http://localhost:8080"

################################################################
# Sample rules
################################################################
# [backends]
#   [backends.backend1]
#     [backends.backend1.circuitbreaker]
#       expression = "NetworkErrorRatio() > 0.5"
#     [backends.backend1.servers.server1]
#     url = "http://<IP_ADDRESS>:80"
#     weight = 10
#     [backends.backend1.servers.server2]
#     url = "http://<IP_ADDRESS>:80"
#     weight = 1
#   [backends.backend2]
#     [backends.backend2.LoadBalancer]
#       method = "drr"
#     [backends.backend2.servers.server1]
#     url = "http://<IP_ADDRESS>:80"
#     weight = 1
#     [backends.backend2.servers.server2]
#     url = "http://<IP_ADDRESS>:80"
#     weight = 2
#
# [frontends]
#   [frontends.frontend1]
#   backend = "backend2"
#     [frontends.frontend1.routes.test_1]
#     rule = "Host: test.localhost, other.localhost"
#   [frontends.frontend2]
#   backend = "backend1"
#   passHostHeader = true
#   entrypoints = ["https"] # overrides defaultEntryPoints
#     [frontends.frontend2.routes.test_1]
#     rule = "Host:{subdomain:[a-z]+}.localhost"
#   [frontends.frontend3]
#   entrypoints = ["http", "https"] # overrides defaultEntryPoints
#   backend = "backend2"
#     rule = "Path: /test, /other"

[backends]
  [backends.ibdev]
    [backends.ibdev.circuitbreaker]
      expression = "NetworkErrorRatio() > 0.5"
    [backends.ibdev.servers.server1]
    url = "http://<IP_ADDRESS>:80"
    weight = 10
  [backends.atdev]
    [backends.atdev.servers.server1]
    url = "http://<IP_ADDRESS>:80"
    weight = 10
#
[frontends]
  [frontends.frontend1]
  backend = "ibdev"
  passHostHeader = true
    [frontends.frontend1.routes.test_1]
    rule = "Host: test.localhost"
  [frontends.frontend2]
  backend = "atdev"
  passHostHeader = true
    [frontends.frontend2.routes.test_1]
    rule = "Host:{subdomain:[a-z]+}.localhost"

If applicable, please paste the log output in debug mode (--debug switch)
(paste your output here)

Thanks for your interest in Traefik !
Every question in the issues means features less 😉.
The issue tracker is for reporting bugs and feature requests only.
For end-user related support questions, refer to one of the following:

Stack Overflow using the "traefik" tag
the Traefik community Slack channel

Traefik periodically check if a new version has been released.
You can disable:
checkNewVersion = false


[ConstraintSolver] Apply explicit coercions early to prune search space

When dealing with explicit coercions apply their conversions
early to avoid searching for solutions with incorrect types,
and therefore prune search space.

Part 2 (of 3) - makes sure that explicit coercions are applied early if possible, let's in cases where there are multiple "as[!|?]" disjunctions present.

@swift-ci please smoke test

Could this technique be used to replace the LinkedExprAnalyzer?  We could walk using the preferred types of any literals in the expr in place of the contextual types here then propagate that through.

@CodaFi I think it's possible and desirable for the solver itself to find dependencies in the constraint as it solves, especially because we can generate new disjunctions on the fly, but I haven't tried doing that, pretty sure it's possible to replace LinkedExprAnalyzer though because it doesn't bind types anymore.

@swift-ci please smoke test

@swift-ci please smoke test

@rudkx I've added usage and removed representative checking.

@swift-ci please smoke test

@swift-ci please smoke test

@rudkx Made it so constraint lookup and binding is done on representative type variable, which covers even more cases, thanks!

@swift-ci please smoke test and merge

@swift-ci please smoke test and merge


Beginning of the docs

These are the docs currently on readthedocs.org.

@vepkenez, @anthonyalmarza: What do you guys think?

:+1:

Wait... where's the mkdocs file?

Ummm, yeah - it looks like there isn't one.  I guess readthedocs has sane
defaults?  mkdocs support is fairly new.  I don't recall whether I was
following a guide.
On Sun, Apr 5, 2015 at 11:14 PM, Anthony Almarza<EMAIL_ADDRESS>wrote:

Wait... where's the mkdocs file?
—
Reply to this email directly or view it on GitHub
https://github.com/hangarunderground/hendrix/pull/68#issuecomment-89901145
.

A great start!

Yeah mkdocs is pretty cool. I had a go at following the docs on a different repo but it didn't quite work. I found that having the mkdocs file on the same level as setup.py and the md files in a docs folder worked well for me. But yeah, I think that you're right about the rtd default settings.

So, are you ready to merge?  If so, please do so and then let me give you a
tour of the next merge: crosstown_traffic.
On Mon, Apr 6, 2015 at 10:43 AM, Anthony Almarza<EMAIL_ADDRESS>wrote:

Yeah mkdocs is pretty cool. I had a go at following the docs on a
different repo but it didn't quite work. I found that having the mkdocs
file on the same level as setup.py and the md files in a docs folder worked
well for me. But yeah, I think that you're right about the rtd default
settings.
—
Reply to this email directly or view it on GitHub
https://github.com/hangarunderground/hendrix/pull/68#issuecomment-90084022
.


Sketch measure is not working with New sketch version 55.1, Export Tool bar crashes or get hanged

I can second that. After clicking on Export the progress bar is stuck and nothing is exported:

Have u try this version？
https://github.com/ellunium/sketch-measure-latest

@amomonkey Will give it a try. Btw ... does this mean that this current repo is no longer maintained and I should watch this one you suggested?

me too. look to the comment. Export has duplicate your header and hangs. In your header there is object from the library and if you use it, it will hang.
So solve this, by my own redraw of the object, then it will be ok. (very frustrating, but it seems be working).


WellDefinedness of Loop Conditions

Currently, well-definedness of loop conditions is not checked properly.  For example, this fails as expected:
function count(int[] xs) -> (int r):
    nat i = 0
    //
    while xs[i] > 0:
        i = i + 1
    //
    return i

But, this slight variation currently passes:
function count(int[] xs) -> (int r)
requires |xs| > 0:
    nat i = 0
    //
    while xs[i] > 0:
        i = i + 1
    //
    return i

Clearly, it should not.

This is the kind of example it would be interesting to discuss in our paper.
If we expand while C to:
while df(C) && tr(C)
Then this would verify.
And perhaps do what the writer intended?
But if we expand it to:
while tr(C) when df(C)
Then we would have to verify the definedness on entry and every time around
the loop. Which seems more explicit and safer to me.
Cheers
Mark
On Fri, 19 Feb 2021, 13:01 David Pearce<EMAIL_ADDRESS>wrote:

Currently, well-definedness of loop conditions is not checked properly.
For example, this fails as expected:
function count(int[] xs) -> (int r):
nat i = 0
//
while xs[i] > 0:
i = i + 1
//
return i
But, this slight variation currently passes:
function count(int[] xs) -> (int r)
requires |xs| > 0:
nat i = 0
//
while xs[i] > 0:
i = i + 1
//
return i
Clearly, it should not.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Whiley/Whiley2Boogie/issues/82, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACLQHDRISNHWSWIFOJWREL3S7XIB5ANCNFSM4X3SNU5Q
.

Hey Mark,
The issue is that, at the moment, it doesn't yet translate it as this:
 while tr(C) when df(C)

This I think is the necessary fix.


Fix: Release PR failing Tests

Issue
Release PR are failing tests such as this one.
Expected
Release PR should pass test or skip unneeded tests.
Steps to reproduce
TBA: Needs further investigation.

Close due to settings in GitHub Actions. The fail runs were not meant to be run in this project but were for template user.


Performance on nuscenes test

Hi, thanks for your excellent work.
I have some questions about the result on nusenes test set. Our result of test set trained from train set is similar to the result from train+val set. But you result of the test is 2% mAP heigher when train on train+val. Is there anything different when train on train+val.
Thanks for your help.

I have a similar issue. When I evaluate the pretrained model provided the performance is mAP=0.6846 and NDS=0.7143 (same as the paper). However, when I train the model from scratch using the provided config and evaluate it, the performance is mAP=0.6440 and NDS=0.6933. So there is a gap of 4% mAP and 2% NDS when I try to reproduce the results.
Is there a different config file or an older version that should be used to reproduce the results?

We use the same schedule for models on val and models on test. The only difference is that we use the training set for models evaluated on the validation set and we use train+val set for models evaluated on the test set. As far as I know, CenterPoint, TransFusion and our method all have slightly higher test mAP (compared with val mAP), but the performance difference varies from model to model.

The Lidar pretrain model also use train+val? or only fusion use train+val?
when i use the train+val to train the lidar model, I find the performance on truck has twenty points lower campare to train on train set.

Thanks for your answer!
Another question is that the train+val you used is combine the train.pkl+val.pkl during create data?

@aurorasyu, Yes, you are right.

Closed due to inactivity.


add xlb_timeout_sec as a tf var

add XLB timeout secs as a configurable terraform variable

Thanks @galarragas for adding the link of Android-B&A explainer.


Nuxt>3.7.0 Client with deactivated "renderJsonPayloads" fails with "TypeError: Cannot read properties of undefined (reading 'baseURL')"

Environment

Operating System: Linux
Node Version:     v18.18.0
Nuxt Version:     3.7.0
CLI Version:      3.10.0
Nitro Version:    2.8.0
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      experimental
Runtime Modules:  -
Build Modules:    -

Reproduction
https://stackblitz.com/edit/github-1ck4gv-jlars8?file=nuxt.config.ts
Or:
(1) Install a new project with<EMAIL_ADDRESS>(or 3.8.2)
(2) Edit nuxt.config.ts
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
  experimental: {
    renderJsonPayloads: false,
  },
});

(3) Generate and serve
nuxt generate && nuxt start
(4) Open in browser
Describe the bug
In Chrome, the application crashes immediately and does not become interactive.
Uncaught TypeError: Cannot read properties of undefined (reading 'baseURL')
    at Lo (entry.6ea0d6d1.js:1:64338)
    at entry.6ea0d6d1.js:1:70997

Additional context
It seems, that the entry-file (entry.6ea0d6d1.js) is executed before window.__NUXT__ is defined.
const useRuntimeConfig$1 = () => {
  var _a2;
  return ((_a2 = window == null ? void 0 : window.__NUXT__) == null ? void 0 : _a2.config) || {};
};
const appConfig = useRuntimeConfig$1().app;
const baseURL = () => appConfig.baseURL;

appConfig is then undefined, leading to the observed error.
I would guess that this is caused by the changes in https://github.com/nuxt/nuxt/pull/22179/files#diff-db3a4ecfe5a4e5a379ed2f515a315f812ddc26b48ce80dd3f2cada3b75c06c12.
In 3.6.5 the script defining window.__NUXT__ was loaded right before the entry-file at the bottom of the <body>. In >3.7.0 the entry-file became part of the <head>. This seems to be incompatible with deactivating renderJsonPayloads.
Logs
No response

@johannes-wtfoxtrot Did you find any workaround for this?
I am currently seeing a similar issue after adding renderJsonPayloads: false in nuxt config.

+1 on this issue. Is there are a timeline for fixing it?

We test in nuxt/nuxt against renderJsonPayloads: false and haven't encountered the issue there, suggesting this is a race condition.

@danielroe  There is a reproduction link from the author: https://stackblitz.com/edit/github-1ck4gv-jlars8?file=README.md&issueNumber=24391&issueRepo=nuxt/nuxt
I can see the error there too. Can you confirm?

Is there any recommendation on how to deal with this? I think the reason we are having this in our code is because of this: https://github.com/nuxt/nuxt/issues/20889
So I assume we can't just use renderJsonPayloads: false at the moment with SSG?

Yes. Or you can wait until v3.12.

Awesome. Last question from my side: Do you know when you will release v.3.12? This would help me in my planning. Thank you very much for all your work by the way 👍 I am a big fan of nuxt.

should be quite soon: https://github.com/nuxt/nuxt/pull/26703


Change Background to Transparent or we can call it DarkMode.

Hi,
I would like to use this in my project, however i need to have all components with transparent color to fit it into my color scheme. How can i do it please ?

Do you use a style other than SimpleTheme, FluentTheme or AvaloniaFluent?
Markdown.Avalonia will use a style that supports Dark if any of the above three styles are used.
On the other hand, if not used, use a style that supports only Light.
If you want to use your own dark theme, you need to set the style from scratch.
To do so, use the MarkdownScrollViewer.MarkdownStyle property.
<md:MarkdownScrollViewer>
  <md:MarkdownScrollViewer.MarkdownStyle>
    <StyleInclude Source="/Styles/MarkdownStyle.axaml"/>
  </md:MarkdownScrollViewer.MarkdownStyle>
</md:MarkdownScrollViewer>

MarkdownStyleStandard.axaml may be a reference for available selectors and properties.


Accept full and partial component paths in resolver

For components to be able to call other components (composeable components) they need to use a component path that includes .raw (this is not a standard Rails format, but a convention
we use).
Example
Consider the following component:

  <%= partial: 'govuk_component/govspeak', locals: govspeak_locals %>

In this example, the application can make a request for the govspeak-html-publication component (govuk_component/govspeak-html-publication.raw.html.erb), and then a subsequent request for govspeak, both will work. Slimmer converts the component name into a filename.
When testing in static we don't use slimmer, so the test attempts to load govuk_component/govspeak.html.erb rather than govspeak.raw.html.erb version. That files doesn't exist and the tests fail.
Changing the nested component to one that works with tests:

  <%= render file: 'govuk_component/govspeak.raw', locals: govspeak_locals %>

This works locally, but when requested by an application through slimmer, slimmer would take govspeak.raw and request govspeak.raw.raw.html.erb.
The simplest approach is to allow apps to request components using the complete template filename, the raw variant, or just its name. This avoids bespoke template resolver logic.
There is a longer term plan to move component loading to its own API, rather than riding on the Rails template resolver magic.
cc @dsingleton @benlovell

Approach makes sense to me. :+1:

:+1: from me. It's a little messy, as noted, but the mess is behind the 'API' of Slimmer/Static.
Definitely agree it's a :plus: :one: for moving to an explicit component call approach (eg, <%= render_component(name, locals) %> in the near future.


Added messages rating(unstable), and running on GPU....

Colab for running on GPU:
https://cdn.discordapp.com/attachments/1070838609051144212/1092617824494698628/gpt4all_gpu.ipynb
Rest of the code is a RUFT DRAFT!!

Thanks. I'll look it up this evening (european time).

Specifying is gpu is simple, can do later

I can keep the old streaming too

Can you please update your code so that I can merge it.
Consider keeping the GPU part as We are moving to a new python binding library maybe tomorrow
Best regards

Okay

Hi there,
The project moved to nomic-ai's repo: https://github.com/nomic-ai/gpt4all-ui
Please use that repo from now on as this one will not be the official version.
I have made an issue about adding a ranking system there. If you want to contribute feel free to create a fork on that repo.
Best regards


bugs with mudatepicker size  and dialog titleformat

Bug type
Component
Component name
MudDatePicker
What happened?
the wtdth of the picker dialog box is not correct  eant the title format  is invisible

Expected behavior
the size must be not resize and the title format is diplayed
Reproduction link
https://try.mudblazor.com/snippet/wOweaVOHhhetHtZi
Reproduction steps
juste ru the sample
Relevant log output
No response
Version (bug)
7.00
Version (working)
No response
What browsers are you seeing the problem on?
Chrome, Edge
On which operating systems are you experiencing the issue?
Windows
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

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

Duplicate of https://github.com/MudBlazor/MudBlazor/issues/8971


CLI: downloaded pseudo archive can be corrupt for install sssp

Originally reported in #59 which was closed with just an addition to the docs how to circumvent the problem, but apparently it is possible that the download of the pseudo archive in aiida-pseudo install sssp finishes without an error but then the next unpacking step fails with the exception:
EOFError: compressed file ended before the end-of-stream marker was reached

This suggests that the archive was incomplete and in turn suggests that the download was never completed. However, this apparently didn't return an error as the download step was marked successful. This bug was encountered on a QM instance and I have not been able to reproduce it.

For this and for #65, I would be tempted to keep a small database of MD5 hashes of the files we use in the automatic installers. That way, we could check if the downloaded file is corrupted, has been changed on the server-side, or if the user has a conflicting (and incorrect) file for the --download-only flag.

Implementing should be easy, the only problem that I see is that aiida-pseudo can become outdated. At least for the SSSP we sometimes release updated version of the archive that fix minor things that do not change the actual important parts (so pseudos and metadata stay the same) but the md5 of the archive can change nonetheless. In this case, the installer would break and we would be forced to release a new version. Together with dependency requirements of packages using aiida-pseudo this may become a mess. I thought of maybe adding an override flag for this case, which would skip the md5 check, but the question is if we then don't nullify the whole concept. So in short, I am not sure what is best

I would say the canonical answer is that the MD5 hashes should not be stored by aiida-pseudo, but they should advertised together with an update of the SSSP archive.
I.e. wherever aiida-pseudo looks for downloading the archive, there should also be a place to look for the expected MD5 hash.


Documentation: what is this thing?

I stumbled upon this project and looked at the documentation, hoping to find out what it was. I expected that at the very top, there would be something like, "animegan2-pytorch is a _____________ that does ______________.
Nothing. There's usage information, and some weird sample images that don't say anything about what this project actually does. I suspect it has something to do with faces.
Seriously. The first thing someone should see when they visit this page is a sentence or two about what the project actually is and what it does.

The official project page gives more detail about the AnimeGAN models. HTH

The HuggingFace page helps as well: https://huggingface.co/spaces/akhaliq/AnimeGANv2


Please consider fixing issues detected by repository checker

Notification from ioBroker Check and Service Bot
Dear adapter developer,
I'm the ioBroker Check and Service Bot. I'm an automated tool processing routine tasks for the ioBroker infrastructure. I have recently checked the repository for your adapter icons-material-svg for common errors and appropiate suggestions to keep this adapter up to date.
Please see the result of the check below.
ioBroker.icons-material-svg
   -

ERRORS:

[ ] :heavy_exclamation_mark: [E021] "licenses" in package.json are deprecated. Please remove and use "license": "NAME" field.
[ ] :heavy_exclamation_mark: [E104] No "common.titleLang" found in io-package.json
[ ] :heavy_exclamation_mark: [E114] Admin support not specified. Please add "common.adminUI.config = json|materialize<|html|none"
[ ] :heavy_exclamation_mark: [E130] No "common.news" found in io-package.json
[ ] :heavy_exclamation_mark: [E162] js-controller dependency missing. js-controller 4.0.24 is required as minimum, 5.0.19 is recommended. Please add to dependencies at io-package.json.
[ ] :heavy_exclamation_mark: [E604] No ## License found in README.md
[ ] :heavy_exclamation_mark: [E606] Current adapter version 0.1.1 not found in README.md
[ ] :heavy_exclamation_mark: [E701] No actual year found in LICENSE. Please add "Copyright (c) 2024 bluefox<EMAIL_ADDRESS>at the start of LICENSE
[ ] :heavy_exclamation_mark: [E802] No topics found in the repository. Please go to "https://github.com/ioBroker/ioBroker.icons-material-svg", press the settings button beside the about title and add some topics.

WARNINGS:

[ ] :eyes: [W109] Missing suggested translation into pt,nl,fr,it,es,pl,uk,zh-cn of "common.desc" in io-package.json.
[ ] :eyes: [W170] "common.keywords" should not contain "iobroker, adapter, smart home" io-package.json
[ ] :eyes: [W172] "common.localLink" in io-package.json is deprecated. Please define object "common.localLinks": { "_default": "..." }
[ ] :eyes: [W181] "common.license" in io-package.json is deprecated. Please define object "common.licenseInformation"
[ ] :eyes: [W184] "common.title" is deprecated and replaced by "common.titleLang". Please remove from io-package.json.
[ ] :eyes: [W202] Version of package.json (0.1.1) doesn't match latest version on NPM (0.1.0)
[ ] :eyes: [W522] Please consider migrating to admin 5 UI (jsonConfig).
[ ] :eyes: [W523] "package-lock.json" not found in repo! Please remove from .gitignore!
[ ] :eyes: [W853] .npmignore found - consider using package.json object "files" instead.

Please review issues reported and consider fixing them as soon as appropiate.
Errors reported by repository checker should be fixed as soon as possible. Some of them require a new release to be considered as fixed. Please note that errors reported by checker might be considered as blocking point for future updates at stable repository.
Warnings reported by repository checker should be reviewed. While some warnings can be considered as a suggestion and be ignored due to good reasons or a dedicated decision of the developer, most warnings should be fixed as soon as appropiate.
Feel free to contact me (@iobroker-bot) if you have any questions or feel that an issue is incorrectly flagged.
And THANKS A LOT for maintaining this adapter from me and all users.
Let's work together for the best user experience.
your
ioBroker Check and Service Bot
@mcm1957 for evidence

This issue has been replaced by new isse #7
This issue can be closed.
your
ioBroker Check and Service Bot


Rename to ci.lbs

When I split this library out to its own project I settled on naming it ci.lbs instead of omnisci. This helps distinguish it from the overall omnis.ci project.
However, the library was never renamed to match and is still deployed as omnisci.lbs. I'd like to rename the library to ci.lbs. @teneruffian I know you're using this library. Would this rename be a breaking change for you?

This proposed change makes sense to me and will not adversely affect my use.

Excellent. I've made the change.


Slider stops short when allowOverlap=false

I noticed that I cannot go to the end of my slider when this is false. If I make it true, even when there is only one handler/marker, it will go to the end.
I need this "true" when in single mode and "false" when in double mode.
This seems like a bug or at the very best a confusing "thing you have to know".

Thanks! Can you create an example?


Is the documentation served somewhere ?

I was looking at the source code and there is a docs folder but i don't see any links to a readTheDoc page ?
Is it build somewhere ?

No, there is no documentation except for this notebook.


STORM-1865: update command line client document

This can be cherry-picked to 1.x-branch.

+1 nice job!

+1.

Nice work. +1


misc: added FiringSolution data class (#2)

FiringSolution data class combines targetEntity and targetPoint variables into one. That way passing the variables can be done without using Pair<>.
FiringSolution is supposed to be easily extendable with additional pre-calculated values used by tags, like timeToHit or simillar.
The changes are (almost, see comment below) only code refactor, not affecting the behavior.

FiringSolution data class combines targetEntity and targetPoint variables into one. That way passing the variables can be done without using Pair<>.
FiringSolution is supposed to be easily extendable with additional pre-calculated values used by tags, like timeToHit or simillar.
The changes are (almost, see comment below) only code refactor, not affecting the behavior.

Looks good, thank you!
Though I am afraid that the one logical change you made could possibly maybe cause issues xD