Korean words being seperated after ios 17 updates

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
Write Korean words in Flutter TextFields
Expected results
검색이 안됨
It is supposed to be like this.
Actual results
ㄱㅓㅁㅅㅐㄱㅇㅣ ㅇㅏㄴㄷㅗㅣ
If you type korean words to flutter textfield words doesn't combine and you cannot use flutter app..
It happens after ios 17 updates.
Code sample

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[Paste your output here]

Please help..

Reproduced this issue on iPhone 14 Pro, iOS 17.0 whilst it works as expected on iPhone 7, iOS 15.7.9. Thanks for the report!

Demo

iOS 17.0
iOS 15.7.9

flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.13.6, on macOS 14.0 23A344 darwin-x64, locale en-VN)
    • Flutter version 3.13.6 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ead455963c (5 days ago), 2023-09-26 18:28:17 -0700
    • Engine revision a794cf2681
    • Dart version 3.1.3
    • DevTools version 2.25.0

[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 32.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio Giraffe.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A240d
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.3)
    • Android Studio at /Applications/Android Studio Giraffe.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

[✓] Android Studio (version 2022.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] VS Code (version 1.82.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.72.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 14.0 23A344 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 117.0.5938.132

[✓] Network resources
    • All expected network resources are available.

• No issues found!

[!] Flutter (Channel master, 3.15.0-13.0.pre.40, on macOS 14.0 23A344 darwin-x64, locale en-VN)
    • Flutter version 3.15.0-13.0.pre.40 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    ! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 71acf24201 (3 hours ago), 2023-10-02 01:45:02 +0200
    • Engine revision 10b930ad1a
    • Dart version 3.2.0 (build 3.2.0-220.0.dev)
    • DevTools version 2.28.1
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 32.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio Giraffe.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A240d
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.3)
    • Android Studio at /Applications/Android Studio Giraffe.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

[✓] Android Studio (version 2022.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] VS Code (version 1.82.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.72.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 14.0 23A344 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 117.0.5938.132

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

/cc @hellohuanlin

@YoungrakSon are you seeing this on a real device or simulator? This appears to be an iOS keyboard bug since the jamos aren't composing in UIKit apps either.

Currently, users of our service are experiencing the same thing. We developed the app with flutter version 3.13.1, and the users are all real device users and their OS is either ios 17.0 or 17.0.3.
@LongCatIsLooong

Currently, users of our service are experiencing the same thing. We developed the app with flutter version 3.13.1, and the users are all real device users and their OS is either ios 17.0 or 17.0.3.

Could you confirm that the Korean virtual keyboard is working in UIKit apps (for example apps that came with the os like reminder)? It has the same problem for me when I tried using a simulator running iOS 17.0.

@LongCatIsLooong I checked this on iOS native app (Reminder) and a pure native TextField, the issue also appears there on iOS 17 simulator:

Demo
https://github.com/flutter/flutter/assets/104349824/21c81785-e822-4fb1-a7f6-addb4fba05c9

@YoungrakSon are you seeing this on a real device or simulator? This appears to be an iOS keyboard bug since the jamos aren't composing in UIKit apps either.

It was both on simulator and real device.
my real device is Iphone 14 pro and using simulator Iphone 14 pro as well.
I tried Iphone 15 simulator and same problem.
Thank you for your generous help.

I see the same issue on Safari.app
Not sure if the issue has been reported to Apple but It doesn't seem Flutter issue.

This is fixed on iOS 17.1. Closing.


page width setting

Setting the page width during export doesn't appear to work anymore. The html results in expanded space between the content and the sidebar with the header list but the width of the actual content remains the same as when it is set to default, there is now an empty column of space between the content and the document outline. I've tried adjusting numerous settings with no effect. Seeing the same results in both firefox & safari.

Hey I am unable to reproduce this, it works for me. Could you export a document with a width of 300px (or any other specific width that you tell me) and send me the exported html that isn't working?

Hey, all of these files work for me! I am testing in both Firefox and Chrome
300px

1200px

Btw the weird spacing a uncentered document when the page width is high should be fixed in the next release. Is that the problem you are having where the page won't get larger than a certain amount?

yeah, it's that blank column when the width is set higher where the content section doesn't expand but the full width of the document does but if that's fixed in the next release that's awesome, for some reason I remember it behaving differently on a previous release which is why I submitted it as a bug but that could also just be my memory...

This is fixed in update 1.6.0, and layout options have been added. Let me know if you have any more problems! And thanks for the report :)


CHAOS ZORK!

Allow users to input zork commands and respond appropriately.
Either re-implement OG Zork (there are implementations out there we could use), and/or create our own new USS Hood Text Adventure.

can steal ideas from here!  https://github.com/ava-cassiopeia/discord-text-adventure-bot

Implemented with #271


Amended icons

Slight amendment to the icons. (very small but its there).

This will cause a conflit with the previously added icons in the dev branch because you're merging to the main branch. But this is not a big problem, I would just have to overwrite the old commits. Just remember to always work on the dev branch to avoid this, it can become a total mess when it comes to code.


Milestone: Refactor to hooks

In this milestone:
I have refactored my code in Calculator.js to use hooks and make use of the state method inside a function.

@Olamarx  Thank you for your review. I have made the requested change and submitted it for review.

@omarsalem7  Thank you for reviewing my PR  and approving it.  👍


[docs] Add instruction to start docker on Ubuntu

I just tried the installation but docker didn't start automatically. So I had to execute the newly added command in order to get the hello-world verification running.

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "docs-docker-start" git@github.com:jengeb/docker.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

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

Debian (and ubuntu) services are supposed to auto-start on install. If they do not, the issue is the install script.
See #14576 #14883 #12429 #12427

Obviously, the auto-start doesn't work for a lot of people (including me) – tested today. Perhaps the new packages mentioned in #14576 don't solve it?
The extra line in the documentation doesn't do any harm if docker is already running. It would just print start: job is already running: docker. But if you're new to docker, the extra line can save you time and frustration.
Therefore, I think the PR should be merged until the auto-start issue is actually resolved.

@andrenarchy +1

ping @jfrazelle @moxiegirl I'm a bit unsure here; this works out of the box for most, but we do get this reported now and then; any ideas why this doesn't work for some?

this is no longer the case w the new debs and if it is happening it is a bug

closing, but let me know if you are having to start docker manually with the new debs

I just made a clean install on a machine with Ubuntu 14.04 according to the docs. The issue remains:
$ wget -qO- https://get.docker.com/ | sh
[...]
$ sudo docker run hello-world
Cannot connect to the Docker daemon. Is 'docker -d' running on this host?
$ sudo service docker start
docker start/running, process 30126
$ sudo docker run hello-world
[...]
Hello from Docker.
This message shows that your installation appears to be working correctly.

I suggest that this PR is merged until the issue is actually fixed.
@jfrazelle is there an issue/PR for the deb packages? And have you explicitly tested Ubuntu 14.04?

you can open a new issue i do not think there is one currently and i will
try to reproduce
On Mon, Aug 10, 2015 at 11:56 PM, André Gaul<EMAIL_ADDRESS>wrote:

I just made a clean install on a machine with Ubuntu 14.04 according to
the docs
https://docs.docker.com/docker/installation/ubuntulinux/#installation.
The issue remains:
$ wget -qO- https://get.docker.com/ | sh
[...]
$ sudo docker run hello-world
Cannot connect to the Docker daemon. Is 'docker -d' running on this host?
$ sudo service docker start
docker start/running, process 30126
$ sudo docker run hello-world
[...]
Hello from Docker.
This message shows that your installation appears to be working correctly.
I suggest that this PR is merged until the issue is actually fixed.
@jfrazelle https://github.com/jfrazelle is there an issue/PR for the
deb packages? And have you explicitly tested Ubuntu 14.04?
—
Reply to this email directly or view it on GitHub
https://github.com/docker/docker/pull/15368#issuecomment-129730669.

@jfrazelle it can be reproduced with a vanilla Ubuntu 14.04.3 (64 bit), see #15620.

Is there any doubt that this PR is useful? I suggest to merge it until #15620 is fixed – hopefully we all agree that we don't want to waste the valuable time of docker users. :smiley:

After two hours of struggle, I just found the corresponding bug and this PR. Why isn't this merged yet?

Are you using the new apt-repo at apt.dockerproject.org?
On Wed, Aug 26, 2015 at 10:13 AM, Nico Schlömer<EMAIL_ADDRESS>wrote:

After two hours of struggle, I just found the corresponding bug
https://github.com/docker/docker/issues/15620 and this PR. Why isn't
this merged yet?
—
Reply to this email directly or view it on GitHub
https://github.com/docker/docker/pull/15368#issuecomment-135111061.

Also we are humans, we are far from perfect, a fix will be found and merged
but we need to make sure of a few things first. We get a high volume of
issues and PRs so being patient helps...
On Wed, Aug 26, 2015 at 10:15 AM, Jessie Frazelle<EMAIL_ADDRESS>wrote:

Are you using the new apt-repo at apt.dockerproject.org?
On Wed, Aug 26, 2015 at 10:13 AM, Nico Schlömer<EMAIL_ADDRESS>wrote:

After two hours of struggle, I just found the corresponding bug
https://github.com/docker/docker/issues/15620 and this PR. Why isn't
this merged yet?
—
Reply to this email directly or view it on GitHub
https://github.com/docker/docker/pull/15368#issuecomment-135111061.

Detailed investigation has been done by @andrenarchy in #15620. And adding the following line
$ sudo service docker start
to docs/installation/ubuntulinux.md (as suggested by others before) is no modification of docker code and would help many users.

a fix will be found and merged

Until this happens, I'm sure this will cost many more people a fair share of their time unless the heads-up in this PR is merged.

I suggest to move the discussion of the deb issue to #15620. This PR is for fixing the docs until #15620 is resolved.
@jfrazelle Nobody questioned that the docker team is human. ;) I'm sure you'll find and fix issue #15620 in the future. All we ask for is that this PR is merged now. Can you do this?

@jfrazelle Really, is there a reason why this documentation PR is not being merged?  Look at how many people are running into this issue and how much time could be saved by simply merging this small change to the docs.  Once the deeper issue is resolved, then you can roll this back, but until then, please help people save hours of their time by simply adding this one instruction. :)

ill leave it to the docs team to decide fine by me either way
On Thu, Sep 3, 2015 at 8:00 AM, Anthony F<EMAIL_ADDRESS>wrote:

@jfrazelle https://github.com/jfrazelle Really, is there a reason why
this documentation PR is not being merged? Look at how many people are
running into this issue and how much time could be saved by simply merging
this small change to the docs. Once the deeper issue is resolved, then you
can roll this back, but until then, please help people save hours of their
time by simply adding this one instruction. :)
—
Reply to this email directly or view it on GitHub
https://github.com/docker/docker/pull/15368#issuecomment-137476914.

I'm good with reopening this PR, after all, it won't do anything if the daemon is already started.
(Still interested to know what is causing this to fail for some but not all users).

One comment, but LGTM once that's addressed, thanks!

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

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

@thaJeztah I added the new comment.

Thanks! LGTM
ping @SvenDowideit for review

LGTM

This change is not yet live on https://docs.docker.com/installation/ubuntulinux/#installation. Can you deploy the documentation?

@andrenarchy last thing I heard is that the next docs publish will be done along with the 1.9 release, so unfortunately, not yet.
We're also in the process of rewriting the docs to move away from the curl/sh installation (see  https://github.com/docker/docker/pull/16662)

This is silly, wasting lots of people's time with a bug like this that just needs easy documentation

@davetcoleman This PR has been merged.

Yes, but it is not live on the website so its as if it wasn't merged

This PR makes me sad. So much wasted time for nothing. Why can't the docs be updated?


PhantomJS2 build dependent on libicu-devel

Copying my built PhantomJS2 executable to another machine errors on start with the following:
phantom stderr: /data/prerender/node_modules/phantomjs/lib/phantom/bin/phantomjs: error while loading shared libraries: libicudata.so.42: cannot open shared object file: No such file or directory

Linux builds are broken right now. You can solve it by installing libicu on your target machine.
Please see this issue #12948


feat: introduce version in runtime loader

Closes #1266

This PR was deployed with mocked data in the following URLs for your appreciation:

Frontend: https://fabric8-launcher-frontend-pr-1275-app.surge.sh
Welcome App: https://fabric8-launcher-frontend-pr-1275-welcome-app.surge.sh
Storybook: https://fabric8-launcher-frontend-pr-1275-storybook.surge.sh


wxpython 4.0.0a1 and Python 3

I have updated Gooey to wxpython 4.0.0.a1 and Python 3. Wxpython 4.0.0.a1 is just in an alpha release. The changes are not compatible to wxpython 3 anymore, but they are still compatible to Python 2.
I have tested it with Python 2.7 and 3.5
All examples from https://github.com/chriskiehl/GooeyExamples and the unittests run fine (except for the presentation tests).
@chriskiehl I know it is planned to change the backend to PyQt5. So I understand if this PR is not merged, but nevertheless these changes might be useful for everyone who has to update their software to Python 3.
Relevant issue: https://github.com/chriskiehl/Gooey/issues/65

Great job!

This is awesome. I'm surprised how little wx code had to change. Actually, the changes are so minimal I'd wager both 3 & 4 could be supported with some clever importing and fallbacks.
Full disclosure, the next major version of Gooey will still be going Qt, but I like the idea of pulling this into the current version of the project so that people who want to use Python 3 and stay in the Wx ecosystem can do so.
Awesome work!
Note: my standard "sorry for the delay" notice applies here.. Will get to the actual review merge bit as soon as I can.

This would be a awsome improvement.

Is this going to be merged sometime soon ?

yes,

Merged in dc6386c3a!


BRATS_152_img3D.gif generation

could you please explain how did you make the BRATS_152_img3D gif?

Once you save the prediction masks as a Nifti file, then you can import them into any 3D medical imaging viewer (e.g. Mango, InVesalius, RadiAnt, etc) to create the 3D animated GIF.


change code and fix docs about checkpoint

- What I did
This pr did:

change create checkpoint response code to StatusCreated;
fix some comments;
update checkpoint docs;
change a little bit in func CheckpointList

- How I did it
- How to verify it
- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)
Signed-off-by: allencloud<EMAIL_ADDRESS>

LGTM


documentation: fix Kundera link in drivers.rst

Originally reported via hackerone #1369005 to Aiven

closing as it will be included in https://github.com/apache/cassandra/pull/2062


bp: Remove nodes with read-only filesystems

https://github.com/elastic/elasticsearch/commit/46c8d00852d3cf614220c678a9c154fd58195d6f
Summary of the changes / Why this improves CrateDB
Checklist

[x] Added an entry in CHANGES.txt for user facing changes
[x] Updated documentation & sql_features table for user facing changes
[x] Touched code is covered by tests
[x] CLA is signed
[x] This does not contain breaking changes, or if it does:

It is released within a major release
It is recorded in CHANGES.txt
It was marked as deprecated in an earlier release if possible
You've thought about the consequences and other components are adapted
(E.g. AdminUI)

retest this please


Removed English Course from Hindi File

What does this PR do?
Add resource(s) | Remove resource(s) | Add info | Improve repo
Improve Repo
For resources
Description
Why is this valuable (or not)?
How do we know it's really free?
For book lists, is it a book? For course lists, is it a course? etc.
Checklist:

[x] Read our contributing guidelines.
[x] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[x] Put lists in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction).
[x] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

Why?

@eshellman It would be nice to have the English Course in the English  File Right I will manually update the English file so that navigation would be much better dont you think so?


Update component when it's children have changed

Proposed fix for issue https://github.com/ianbjorndilling/react-typewriter/issues/3.

@ianbjorndilling @frostney Could this get merged please?

@frostney I have added a temporary commit to show when when the component will be updated and it seems to me it is working as I intended. Please correct me if I'm wrong.

@frostney I just realise the children in my code are just text (in which case my solution works fine) but react-typewriter supports having any kind of children which makes my solution problematic as you pointed out indeed. I'll try to have another look at it soon.

Hi @yn5, I'm sorry, I should have clarified that more specifically. (That's the default case for me when I'm using react-typewriter.)
May I suggest something: I would love to this merged if there's a check in place that makes sure that both children and nextProps.children are strings. Then you could add the case for non-text children in a separate pull request at a later date if you would be willing to work on that.

@frostney Nice suggestion! I have amended it into the original commit.

Thank you again for your contribution. This is now part of 0.4.0.


Connection error handling

Currently the library does no attempt to detect, handle or recover from errors. That should probably change.

a sudden disconnect will be presented as the completion event on the output flow. errors during exception will propagate to the call site, cognigy errors will show up as events, packet parsing errors will be reported as BrokenPacket instances carrying the input verbatim for debugging and logging. Assuming #7 is fully solved, there is nothing more to do here.


[MDTextField][Angular] (ANDROID) :  Calling js method on CreateView Failed

Which platform(s) does your issue occur on?

Android
Android version: 11
emulator

Please, provide the following version numbers that your issue occurs with:

CLI: 7.1.2
Cross-platform modules: version:  7.0.9,
tns-android and tns-ios properties does not exist in the package.json file
Plugin(s):

  "dependencies": {
    "@angular/animations": "~11.0.0",
    "@angular/common": "~11.0.0",
    "@angular/compiler": "~11.0.0",
    "@angular/core": "~11.0.0",
    "@angular/forms": "~11.0.0",
    "@angular/platform-browser": "~11.0.0",
    "@angular/platform-browser-dynamic": "~11.0.0",
    "@angular/router": "~11.0.0",
    "@nativescript-community/ui-material-textfield": "^5.2.3",
    "@nativescript/angular": "~11.0.0",
    "@nativescript/core": "~7.1.0",
    "@nativescript/theme": "~3.0.0",
    "reflect-metadata": "~0.1.12",
    "rxjs": "^6.6.0",
    "zone.js": "~0.11.1"
  },
  "devDependencies": {
    "@angular/compiler-cli": "~11.0.0",
    "@nativescript/android": "7.0.1",
    "@nativescript/types": "~7.0.0",
    "@nativescript/webpack": "~4.0.0",
    "@ngtools/webpack": "~11.0.0",
    "typescript": "~4.0.0"
  },

To reproduce it:
used everything as the documentation says, even created a separate project to test it, but still give an error, so there is no library collision
An uncaught Exception occurred on "main" thread.
Calling js method onCreateView failed
Error: android.view.InflateException: Binary XML file line #18 in org.nativescript.DemoMaterial:layout/material_text_field_filled: Binary XML file line #18 in org.nativescript.DemoMaterial:layout/material_text_field_filled: Error inflating class com.google.android.material.textfield.TextInputLayout

StackTrace:
createNativeView(file:///data/data/org.nativescript.DemoMaterial/files/app/vendor.js:93895:53)
	at _setupUI(file:///data/data/org.nativescript.DemoMaterial/files/app/vendor.js:118776:31)
	at (file:///data/data/org.nativescript.DemoMaterial/files/app/vendor.js:118816:19)
	at eachChildView(file:///data/data/org.nativescript.DemoMaterial/files/app/vendor.js:129435:28)
	at eachChild(file:///data/data/org.nativescript.DemoMaterial/files/app/vendor.js:120975:14)
	at _setupUI(file:///data/data/org.nativescript.DemoMaterial/files/app/vendor.js:118815:14)
	at (file:///data/data/org.nativescript.DemoMaterial/files/app/vendor.js:118816:19)
	at eachChildView(file:///data/data/org.nativescript.DemoMaterial/files/app/vendor.js:129435:28)
	at eachChild(file:///data/data/org.nativescript.DemoMaterial/files/app/vendor.js:120975:14)
	at _setupUI(file:///data/data/org.nativescript.DemoMaterial/files/app/vendor.js:118815:14)
	at (file:///data/data/org.nativescript.DemoMaterial/files/app/vendor.js:118816:19)
	at eachChildView(file:///data/data/org.nativescript.DemoMaterial/files/app/vendor.js:116355:13)
	at eachChildView(file:///data/data/org.nativescript.DemoMaterial/files/app/vendor.js:130864:15)
	at eachChild(file:///data/data/org.nativescript.DemoMaterial/files/app/vendor.js:120975:14)
	at _setupUI(file:///data/data/org.nativescript.DemoMaterial/files/app/vendor.js:118815:14)
	at _addViewCore(file:///data/data/org.nativescript.DemoMaterial/files/app/vendor.js:118680:18)
	at _addView(file:///data/data/org.nativescript.DemoMaterial/files/app/vendor.js:118669:14)
	at onCreateView(file:///data/data/org.nativescript.DemoMaterial/files/app/vendor.js:125228:19)
	at onCreateView(file:///data/data/org.nativescript.DemoMaterial/files/app/vendor.js:123088:40)
	at com.tns.Runtime.callJSMethodNative(Native Method)
	at com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:1302)
	at com.tns.Runtime.callJSMethodImpl(Runtime.java:1188)
	at com.tns.Runtime.callJSMethod(Runtime.java:1175)
	at com.tns.Runtime.callJSMethod(Runtime.java:1153)
	at com.tns.Runtime.callJSMethod(Runtime.java:1149)
	at com.tns.FragmentClass.onCreateView(FragmentClass.java:55)
	at androidx.fragment.app.Fragment.performCreateView(Fragment.java:2699)
	at androidx.fragment.app.FragmentStateManager.createView(FragmentStateManager.java:320)
	at androidx.fragment.app.FragmentManager.moveToState(FragmentManager.java:1199)
	at androidx.fragment.app.FragmentManager.moveToState(FragmentManager.java:1368)
	at androidx.fragment.app.FragmentManager.moveFragmentToExpectedState(FragmentManager.java:1446)
	at androidx.fragment.app.FragmentManager.moveToState(FragmentManager.java:1509)
	at androidx.fragment.app.BackStackRecord.executeOps(BackStackRecord.java:447)
	at androidx.fragment.app.FragmentManager.executeOps(FragmentManager.java:2181)
	at androidx.fragment.app.FragmentManager.executeOpsTogether(FragmentManager.java:2004)
	at androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute(FragmentManager.java:1959)
	at androidx.fragment.app.FragmentManager.execPendingActions(FragmentManager.java:1861)
	at androidx.fragment.app.FragmentManager$4.run(FragmentManager.java:413)
	at android.os.Handler.handleCallback(Handler.java:938)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loop(Looper.java:223)
	at android.app.ActivityThread.main(ActivityThread.java:7656)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
Caused by: android.view.InflateException: Binary XML file line #18 in org.nativescript.DemoMaterial:layout/material_text_field_filled: Binary XML file line #18 in org.nativescript.DemoMaterial:layout/material_text_field_filled: Error inflating class com.google.android.material.textfield.TextInputLayout
Caused by: android.view.InflateException: Binary XML file line #18 in org.nativescript.DemoMaterial:layout/material_text_field_filled: Error inflating class com.google.android.material.textfield.TextInputLayout
Caused by: java.lang.reflect.InvocationTargetException
	at java.lang.reflect.Constructor.newInstance0(Native Method)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
	at android.view.LayoutInflater.createView(LayoutInflater.java:852)
	at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:1004)
	at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:959)
	at android.view.LayoutInflater.inflate(LayoutInflater.java:657)
	at android.view.LayoutInflater.inflate(LayoutInflater.java:532)
	at android.view.LayoutInflater.inflate(LayoutInflater.java:479)
	at com.tns.Runtime.callJSMethodNative(Native Method)
	at com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:1302)
	at com.tns.Runtime.callJSMethodImpl(Runtime.java:1188)
	at com.tns.Runtime.callJSMethod(Runtime.java:1175)
	at com.tns.Runtime.callJSMethod(Runtime.java:1153)
	at com.tns.Runtime.callJSMethod(Runtime.java:1149)
	at com.tns.FragmentClass.onCreateView(FragmentClass.java:55)
	at androidx.fragment.app.Fragment.performCreateView(Fragment.java:2699)
	at androidx.fragment.app.FragmentStateManager.createView(FragmentStateManager.java:320)
	at androidx.fragment.app.FragmentManager.moveToState(FragmentManager.java:1199)
	at androidx.fragment.app.FragmentManager.moveToState(FragmentManager.java:1368)
	at androidx.fragment.app.FragmentManager.moveFragmentToExpectedState(FragmentManager.java:1446)
	at androidx.fragment.app.FragmentManager.moveToState(FragmentManager.java:1509)
	at androidx.fragment.app.BackStackRecord.executeOps(BackStackRecord.java:447)
	at androidx.fragment.app.FragmentManager.executeOps(FragmentManager.java:2181)
	at androidx.fragment.app.FragmentManager.executeOpsTogether(FragmentManager.java:2004)
	at androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute(FragmentManager.java:1959)
	at androidx.fragment.app.FragmentManager.execPendingActions(FragmentManager.java:1861)
	at androidx.fragment.app.FragmentManager$4.run(FragmentManager.java:413)
	at android.os.Handler.handleCallback(Handler.java:938)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loop(Looper.java:223)
	at android.app.ActivityThread.main(ActivityThread.java:7656)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
Caused by: java.lang.IllegalArgumentException: The style on this component requires your app theme to be Theme.MaterialComponents (or a descendant).
	at com.google.android.material.internal.ThemeEnforcement.checkTheme(ThemeEnforcement.java:243)
	at com.google.android.material.internal.ThemeEnforcement.checkMaterialTheme(ThemeEnforcement.java:217)
	at com.google.android.material.internal.ThemeEnforcement.checkCompatibleTheme(ThemeEnforcement.java:145)
	at com.google.android.material.internal.ThemeEnforcement.obtainTintedStyledAttributes(ThemeEnforcement.java:115)
	at com.google.android.material.textfield.TextInputLayout.<init>(TextInputLayout.java:460)
	at com.google.android.material.textfield.TextInputLayout.<init>(TextInputLayout.java:419)
	... 34 more

Code Below in Attachaments
DemoMaterial.zip

@NavruzbekNoraliev the error is in the log:
Caused by: java.lang.IllegalArgumentException: The style on this component requires your app theme to be Theme.MaterialComponents (or a descendant).

@NavruzbekNoraliev the error is in the log:
Caused by: java.lang.IllegalArgumentException: The style on this component requires your app theme to be Theme.MaterialComponents (or a descendant).

I shared error myself) I dont ask for error, I'm asking how to solve it(

I shared error myself) I dont ask for error, I'm asking how to solve it(

@NavruzbekNoraliev you did not ask for help you posted a bug report. very different. if you have question it would be best to ask first on slack. I would be happy to help you.
I answered that way here because it is not a bug and a usual android error. I pointed the error so that you could search for yourself.
now that being said you need to change your android app style like explained here https://medium.com/over-engineering/setting-up-a-material-components-theme-for-android-fbf7774da739

@NavruzbekNoraliev you did not ask for help you posted a bug report. very different. if you have question it would be best to ask first on slack. I would be happy to help you.
I answered that way here because it is not a bug and a usual android error. I pointed the error so that you could search for yourself.
now that being said you need to change your android app style like explained here https://medium.com/over-engineering/setting-up-a-material-components-theme-for-android-fbf7774da739

I know that it is an android error,  but it is being raised while compiling native script to an android file, I think it should be solved with native script code, somewhere in config or other. thanks for your answer. I did not find it useful. My issue still remains open as it is a bug, others who want to answer first create a new project with a native script and material text field, you will understand what is happening

I know that it is an android error,  but it is being raised while compiling native script to an android file, I think it should be solved with native script code, somewhere in config or other. thanks for your answer. I did not find it useful. My issue still remains open as it is a bug, others who want to answer first create a new project with a native script and material text field, you will understand what is happening

@NavruzbekNoraliev you don't understand how it works. it is not a N issue. it is an android issue. please move this to slack If you Ned more help

@NavruzbekNoraliev you don't understand how it works. it is not a N issue. it is an android issue. please move this to slack If you Ned more help

Ok send me a slack invite, coz i cant  login to nativescript community slack

Ok send me a slack invite, coz i cant  login to nativescript community slack


Error possibly caused by SystemNavigationBarModule.setNavigationColor

My React Native (not Expo) app is reporting several crashes (via Firebase Crashlytics) which appear related to this module (1.0.2):
Fatal Exception: java.lang.NullPointerException
Attempt to invoke virtual method 'android.view.Window android.app.Activity.getWindow()' on a null object reference

com.reactnativesystemnavigationbar.SystemNavigationBarModule.setNavigationColor (SystemNavigationBarModule.java:105)

This error never occurred before using this module. It's happening across Android versions 10, 11, 12.
From reading that error log it kind of sounds like setNavigationColor is being called too soon?
I'm calling it like SystemNavigationBar.setNavigationColor("#FDF7F5", false) from inside a useEffect where I'd assume it should be fine to do so.

Hi @nickmcmillan , this issue should be resolved, can you check again in the latest version(1.0.3)? https://github.com/kadiraydinli/react-native-system-navigation-bar/releases/tag/v1.0.3

Ah brilliant, I didn't see that PR. I'll upgrade to 1.0.4, thanks.

Happened for me on 1.0.4 (received logs via Sentry).
Seems like getCurrentActivity() could return null as well. According to the logs it seems that the user started the app and quite quickly minimized it (e.g. by pressing Home button on the phone). Though, I wasn't able to reproduce it
Attempt to invoke virtual method 'android.view.Window android.app.Activity.getWindow()' on a null object reference
com.reactnativesystemnavigationbar.SystemNavigationBarModule in setNavigationColor at line 123
java.lang.reflect.Method in invoke
com.facebook.react.bridge.JavaMethodWrapper in invoke at line 372
com.facebook.react.bridge.JavaModuleWrapper in invoke at line 188
com.facebook.react.bridge.queue.NativeRunnable in run
android.os.Handler in handleCallback at line 938
android.os.Handler in dispatchMessage at line 99
com.facebook.react.bridge.queue.MessageQueueThreadHandler in dispatchMessage at line 27
android.os.Looper in loop at line 246
com.facebook.react.bridge.queue.MessageQueueThreadImpl$4 in run at line 226
java.lang.Thread in run at line 9233


Update logo

Context: https://twitter.com/ryngonzalez/status/1650908246373449728
Forked Figma: https://www.figma.com/file/HCSfD5k4J3qs3lLYL0jpkP/react-resizable-panels-log

[I made an animated SVG logo for react-resizable-panels (props to @ryngonzalez on Twitter for creating the original Figma mock)
](https://codesandbox.io/s/youthful-brahmagupta-w1zl7t?file=/src/Logo.tsx)

https://codesandbox.io/s/animated-logo-forked-zhmb4c


[CI-NO-BUILD] Add 'input validation' to CollectSystemInfo and hot-fix for 'interruption handler'

Input parameters that are missing, no mechanism for handling
abnormal input, for now, if user type .\CollectSystemInfo.ps1 -?  (-help, --help) or .\CollectSystemInfo.ps1 noniput , script
always runs without any warning output to the users.
It's not what we expected.

If user operate 'ctrl+c' or exit powershell to break the
script-running, the Collecting_Status.txt would be opened and
cause the folder couldn't be removed/cleaned.

Solves: https://issues.redhat.com/browse/RHEL-50330
Solves: https://issues.redhat.com/browse/RHEL-50169
Signed-off-by: Dehan Meng<EMAIL_ADDRESS>

@6-dehan @kostyanf14 Time to add tools/debug directory to trigger file, no?
Then we can drop "[CI-NO-BUILD]" from PR titles.

@6-dehan @kostyanf14 Time to add tools/debug directory to trigger file, no?
Then we can drop "[CI-NO-BUILD]" from PR titles.

No, CI-NO-BUILD disable build step too. trigger file are checked only by HCK-CI, jenkins does not check it.


chromium: 94.0.4606.54 -> 94.0.4606.61

Motivation for this change
Note: No release notes yet...
Edit: Arch did just update as well: https://github.com/archlinux/svntogit-packages/commit/4ae7acb85637c74064cd73cb164f703313404bc7
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

https://chromereleases.googleblog.com/2021/09/stable-channel-update-for-desktop_24.html


Pass correct asset to GetAssetSpotPrice, i.e. underlying instead of option

We the correct asset to GetAssetSpotPrice (code ref). Right now we are passing the action itself, instead of passing the underlying.

Addressed by PR https://github.com/Waifod/quant_finance_models/pull/46.

Closing per above comment.
CC: @Waifod


My song has no voice track, yet its still checking for a voice track despite the fact that i said no voice track

Describe your bug here.
title.
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
Added 3 songs in story menu, and a character, plus a stage.

explain if there is an error pop up or something? because leaving the option unchecked works fine

that's not the game looking for vocals, that's the game not being able to read your Inst file because you exported it incorrectly

close this since the frantastic individual explained the thing to you


Camera2D offset is blocked by limit

Godot version:
3.1
OS/device:
Windows 8.1, Toshiba Satellite
Issue description:
The offset of a Camera2D is blocked by the camera's limit.
If a camera is up against one of its limits and you adjust the camera's offset in the direction of the limit, nothing happens. Because altering offset is primarily used for camera effects like screen shake, it should ignore the camera's limits. Otherwise, you won't be able to do these effects when the camera is at the limit.
Steps to reproduce:

Create a 2D scene with a Camera2D and a Sprite.
Set the limits of the camera to the limits of the window.
Change the camera's offset while running the scene and observe that the camera does not change.

Minimal reproduction project:
TestProject.zip

The shaking problem could be solved simply by a temporary readjustment of the camera limits. This solution over-complicates use cases where the camera is not the child of a character node.


[DONT MERGE] feature: add json authentication view

First off, I am not sure why this doesnt already exist, maybe it was intentional but anyway here it is.
This is allows a json request with username and password to be sent to an endpoint instead of using Basic HTTP Authentication.
For now this is simply disabled by default, ive added some tests but I reckon more is required since it aims to authenticate a user -- even though it relies on the authenticate() from django to do it.

[ ] This PR does not incorporate another PRs Ive sent just yet, because they are still pending an answer: https://github.com/James1345/django-rest-knox/pull/109
[ ] docs are not updated yet

Thank you for your work. Can you explain the need for it? Are there clients that do not support Basic Auth or in what way is sending the credentials via json better?
If there is big support for this addition I'm not against it, but at the moment I'm unsure how this makes django-rest-knox more useful.

Hello,
Thank you for replying.
django-rest-knox documentation does state that it is based on or is similiar to TokenAuthentication from the django-rest-framework -- which makes use of a json payload to authenticate. The django-rest-framework-jwt project does the same thing and supports http basic auth aswell -- whereas django-rest-knox just support http basic auth. Coming from both of those frameworks, I was surprised to
learn that django-rest-knox only uses http basic auth which I have come to expect with this batteries included concept of the Python world.
However in terms of the actual difference between http basic auth via header vs. doing it with a json payload -- there are no differences in terms of security or performance, heck one could argue that http basic auth is the most widely supported one in terms of libraries.
So my main motivation for this PR was more or less just because other frameworks support it and I wanted to even the gap between those.
Reference documentation

DRF -- TokenAuthentication
DRF-JWT -- Usage

I understand your reasoning. I do use this implementation though in my own project. Though I have to maintain a homebrew version of this project to accomplish that currently, but its okay :)

You cannot use basic auth in your project or would it be significantly harder to use?

Sorry, I cannot use basic auth because it would mean breaking my own API which other services depend on. I recently switched to drf-knox since drf-jwt seem abandoned and have a bunch of glaring issues. So its less work to maintain a homebrew version with this feature, than to actually implement basic auth and deprecate an api etc..

I may be missing a huge point here, and I apologize if that's the case but I'm going to ask anyway because I'm puzzled:
How does this differ from the LoginView override recommended in the doc?
Django Rest Framework will handle JSON if you specify Content-Type: application/json.
Cheers 😄

@johnraz afaik the LoginView still requires base64 encoded strings to be sent though in a json format no? I might be in the wrong here too. This PR allows a payload {"username": "user", "password": "secrets"} to be sent to the endpoint. Or am I missing something?

I'm currently building a new project and discovering knox and with the above mentioned LoginView override I can definitely login with the following request:
POST /api/auth/login/ HTTP/1.1
Host: localhost:8000
Content-Type: application/json
Cache-Control: no-cache

{
"username":"foo",
"password":"bar"
}

And I get back
{
    "user": {
        "username": "foo",
        "first_name": "John",
        "last_name": "Doe"
    },
    "token": "sometoken"
}

@johnraz thats awesome but I wonder what happens if you have a custom user object? In my case im not using username, im just using email.

I believe you should be able to customize the LoginView override to suits your custom user model.
It's using the AuthTokenSerializer from DJRF which in turns uses the authenticate method from Django itself.
I never really played that much with custom user model but I think it should work, it may even work "as-is", best chance is to give it a shot 😉

@johnraz alright I am gonna test that on my end and get back to you and if that works there is no need for this PR. Just to be clear tho -- when you say just specify Content-Type: application/json you mean on the incoming request? and then DRF will handle it appropriately as that content type?

@sphrak yes, so in the example I gave above:
POST /api/auth/login/ HTTP/1.1
Host: localhost:8000
Content-Type: application/json
Cache-Control: no-cache

{
"username":"foo",
"password":"bar"
}

The important bit is Content-Type: application/json.
Another very important bit is to override the LoginView ofc.
Also you need to make sure that DJRF has the JSON parser active but I guess it's already the case.
From there it should work, let me know what comes out of your testing.

@sphrak any news? I'm curious if I missed a spot here or not 😄

@johnraz I had forgot about the method you brought up, when I tested this library out some months ago I did exactly that. But I will have to re-visit this once my other PR is merged so I can start to use this library.

@sphrak: I think you should close this and re-open if it doesn't work, I'm really using it in my new project and it works /cc @belugame

@sphrak


Test Semantic Release

Test Semantic Release

:tada: This issue has been resolved in version 2.1.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Kafka KRaft (3.1.0 ) mode without zookeeper. How to config Kafka Eagle (EFAK)

Hi Dear owner.
As Kraft mode without zookeeper. so how to do the config in system-config.properties??  seems can not find them in docs.
thanks

me too, wish for a kraft connection solution @smartloli

同问，最近有考虑这块吗，还有SSO接入


standard less 1.1.5 not working with Java/Rhino, 1.1.4 was working

Using the standard less 1.1.4 dist I could use Java/Rhino to compile a less source.
When I use the latest less-1.1.5.js dist than I get the following error:
org.mozilla.javascript.EcmaError: TypeError: Cannot read property "tree" from undefined (less.js#13)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3785)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3763)
at org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3791)
at org.mozilla.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3810)
at org.mozilla.javascript.ScriptRuntime.undefReadError(ScriptRuntime.java:3823)
at org.mozilla.javascript.ScriptRuntime.getObjectElem(ScriptRuntime.java:1457)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1428)
at script.require(less.js:13)
at script(less.js:1252)
at script(less.js:8)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:854)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:426)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3178)
at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:175)
at org.mozilla.javascript.Context.evaluateReader(Context.java:1142)
when trying to:
cx.evaluateReader(scope, new InputStreamReader(lessJs.openConnection().getInputStream()), "less.js", 1, null);
(Where cx is the Mozilla Rhino Context object).
It seems Rhino is unable to compile the latest less.js...
Any ideas?

This might be related to the new platform checks in less.js:
if (typeof environment === "object" && ({}).toString.call(environment) === "[object Environment]") {
    // Rhino
    // Details on how to detect Rhino: https://github.com/ringo/ringojs/issues/88
    less = {};
    tree = less.tree = {};
    less.mode = 'rhino';
} else if (typeof(window) === 'undefined') {
    // Node.js
    less = exports,
    tree = require('./tree');
    less.mode = 'rhino';
} else {
    // Browser
    if (typeof(window.less) === 'undefined') { window.less = {} }
    less = window.less,
    tree = window.less.tree = {};
    less.mode = 'browser';
}

The error says that less is undefined, therefore it seems likely that there is a problem with the platform check. Try adding a debug statement in the rhino check.

ok, but I guess this is a bug in the latest less release related to the platform checks?

Yes, the check for Rhino evaluates to true
if (typeof environment === "object" && ({}).toString.call(environment) === "[object Environment]") {
    console.log("rhino");
    // Rhino
    // Details on how to detect Rhino: https://github.com/ringo/ringojs/issues/88
    less = {};
    tree = less.tree = {};
    less.mode = 'rhino';
}

as it prints out 'rhino'.
But I wonder what this means? What is changed compared to the previous version.
Note that I'm using Env.js to simulate the browser.
But when I remove Env.js I get the error: org.mozilla.javascript.EcmaError: ReferenceError: "window" is not defined. (less.js#8)

Actually I don't know the code of less.js, I just noticed your issue and thought I might know what was causing it.
I assume you are already using the 'less-rhino-1.1.5.js' instead of 'less-1.1.5.js'?
Maybe someone else who is using Rhino with less.js can help?

I also tried less-rhino-1.1.5 without any success.
Frustrating to notice have it working with 1.1.4 and replacing it with 1.1.5 it fails...

OK thanks. In the meantime I will check out if it would be better to switch to less-rhino.

I am not able to get less working on rhino. Is there a guide/docs? I see there is a special build in dist - what is the difference between that and less-rhino @marceloverdijk is talking about?

I had 1.1.4 running on rhino as well, but can not get any newer versions running, with 1.1.5 and 1.2.0 I get the same errors as @marceloverdijk, with less-rhino-1.1.5.js the error is slightly different: org.mozilla.javascript.EcmaError: ReferenceError: "arguments" is not defined.  I'm not going to look any further at the less-rhino, but I will try to get 1.2.0 working.

The problem is related to how Rhino is being treated when the less environment is being set up.  rhino does have a window object, so adding the code if (typeof(window.less) === 'undefined') { window.less = {} } into the first line of the rhino check seems to work.

@kmchugh Thanks, your fix also works for me!
@cloudhead What do you think about this fix? Could this be added to future releases?
Besides that I wonder what the future is for the less-rhino dist.. More people have problems with this and it is causing confusion. I noticed that for 1.2.0 there is also no less-rhino dist, is it discontinued?

No problem @marceloverdijk I've created pull request #557 for this.


Remove wodge-button container background color on hover

This will solve codeforamerica/codeforamerica.org#1017.
With this commit, we're now developing/shipping v2.1 of the pattern-library.
What this solves
We treat every class with -button in the name as a button due to a star selector ([class=*"-button"]). .wodge-button isn't a button, but a container for buttons. However, .wodge-button inherited the button styles, and on hover the whole container div was getting a blue background color.

I'm using !important to override that behavior because the *button class has a very high degree of specificity. In the future, we should consider renaming wodge-button to something else, and reserving the button namespace for buttons alone.

@norrishung Up for you to review and merge.

Oh man, yeah the [class*="button"] is not a good way to write CSS. This override works for now, but let's definitely come up with a better method in V3 to namespace this CSS. I imagine we would want to get rid of the [class*="button"] all together and try and achieve this with a mixin/extend in the future.
A shame file would have be useful here =)

Agreed, let's look at a better way to architect this in the future.


Experimental

Changes included for generating yang files vlanfc,vlanfd,ltpaugment,macfc and macfd.

Changes included for generating yang files vlanfc,vlanfd,ltpaugment,macfc and macfd.(signed the Contributor License Agreement as mentioned by the ONF bot)


[Bug] Order/Invoice Due date

Describe the bug
I feel that this field should be common between orders and invoices so if the due date is changed in one it should be changed in the other as well
How to reproduce
go to order, select and order and change the due date and update. Go to invoices and check the associated invoice and the due date has not changed.
Expected behavior
When due date is updated in one (order or invice, it is also updated in the other)
Screenshots
No response
FOSSBilling version
5.0
Module version
No response
Device
Desktop
Information
No response
Additional context
No response

Sorry, but those are two separate things.
Orders don't have due-dates, they have renewal dates.
Depending on your configuration, FOSSBilling will create an invoice a certain number of days before an order's expiration / renewal and give the client a certain amount of time for it to be paid from it's creation date. The day the invoice is created is based on when the order is set to renew, but they aren't the same and under no situation should an existing invoice be automatically updated by the system.
In fact, an invoice shouldn't ever be updated unless there is an issue with something on the invoice and if it is updated the client should be informed that it was updated and what was changed on it.


Module names cannot contain _, but the Elm compiler will accept names with _

This issue has been created to track adding _ to module names, as described here:
https://github.com/elm/project-metadata-utils/issues/12

It is closed? Is this repo deprecated?

Repo not deprecated, its purpose is to track and feed bug fixes to elm/.
====
Fixed in elm/project-metadata-utils  by:
https://github.com/elm/project-metadata-utils/pull/13
Release as version 1.0.2:
https://github.com/elm/project-metadata-utils/blob/1.0.2/src/Elm/Module.elm#L75


Add lit-mobx-vaadin starter

Adds new starter kit
Summary of change
Adds a new starter kit using Lit-Mobx-Vaadin.
start
https://github.com/thisdot/starter.dev/assets/11986564/399175df-8c50-4325-9652-246a8bc6cf71
tests (unit + integration)
https://github.com/thisdot/starter.dev/assets/11986564/013f8309-21d7-4c4b-a87b-271a9c84f3d5
storybook
https://github.com/thisdot/starter.dev/assets/11986564/b7f29619-527f-4136-b4e3-0ba2dc3f01f8
Checklist

[x] These changes follow the contributing guidelines
[x] This starter kit has been approved by the maintainers
[x] All dependencies are version locked

@lindakatcodes can you add more information on the browser you are using on how are you testing the starter? I tried a fresh install and things look properly positioned on my side.

I used npm to install, and running on Chrome (v114 looks like). I do use a 27" monitor so perhaps that's too wide / past the current styles?


Add support for Classic 480i

Hello,
With the retirement of the other BlueAir HA Integration from HACS (https://github.com/aijayadams/hass-blueair) I found your integration.
As the title states, I have a Classic 480i.  The BA login was successful and I can control the fan speed.  Having the filter status is a nice new touch.
However, I don't have any of the sensor readings.  The Temperature, Humidity, VOC, PM1, PM2.5, and PM10 are all missing.  I'm not sure if I've done something wrong with it just being freshly installed.
I've also noticed that the other integration had CO2 and Total Pollution readouts but the official app doesn't have those sensors displayed so it might've been bogus.
I can help test new code or provide logs if desired.  I looked under Settings -> System -> Logs and didn't find anything saying that your integration was having an error and that's why the sensor data wasn't appearing.

I have the Classic 680i and I would love to see the sensors get added also. They worked previously with the Ajay Adams repo, but I think I broke something and now I can't get that repo working again. I tried adding some debugging to the code in this repo, and it seems like the devices and entities aren't listed through the BlueAir AWS API if that's possible...?

+1 for Classic 680i

Hi,
We have 480i and 280i
the integration currently supports fan speed (0,1,2,3) but doesn't seems to show the fan mode (auto, manual)
I've had a quick look at the code and it may be because the api is returning a slightly different name for the attribute?
'mode' instead of 'fan_mode' ?
Here's the logs.
2024-05-06 15:48:41.226 DEBUG (MainThread) [blueair_api.util_http] response headers:<CIMultiDict('Content-Encoding': 'gzip', 'Content-Type': 'application/json;charset=UTF-8', 'Date': 'Mon, 06 May 2024 14:48:41 GMT', 'Server': 'nginx/1.12.1', 'Vary': 'Accept-Encoding,Accept-Encoding', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive')>
2024-05-06 15:48:41.227 DEBUG (MainThread) [blueair_api.util_http] response status: 200
2024-05-06 15:48:41.227 DEBUG (MainThread) [blueair_api.util_http] response raw: [{"userId":44876,"uuid":"","scope":"device","name":"auto_mode_dependency","currentValue":"pm_voc","defaultValue":"pm_voc"},{"userId":44876,"uuid":"","scope":"device","name":"brightness","currentValue":"1","defaultValue":"1"},{"userId":44876,"uuid":"","scope":"device","name":"child_lock","currentValue":"0","defaultValue":"1"},{"userId":44876,"uuid":"","scope":"device","name":"fan_speed","currentValue":"1","defaultValue":"2"},{"userId":44876,"uuid":"","scope":"device","name":"fan_usage","currentValue":"0;16670;2312;15;19017;32823","defaultValue":""},{"userId":null,"uuid":"","scope":"device","name":"filterType","currentValue":"cn","defaultValue":""},{"userId":44876,"uuid":"","scope":"device","name":"filter_status","currentValue":"OK","defaultValue":""},{"userId":44876,"uuid":"","scope":"device","name":"mode","currentValue":"auto","defaultValue":"manual"},{"userId":44876,"uuid":"","scope":"device","name":"wifi_status","currentValue":"1","defaultValue":""}]
2024-05-06 15:48:41.228 DEBUG (MainThread) [blueair_api.device] result: {'auto_mode_dependency': 'pm_voc', 'brightness': '1', 'child_lock': '0', 'fan_speed': '1', 'fan_usage': '0;16670;2312;15;19017;32823', 'filterType': 'cn', 'filter_status': 'OK', 'mode': 'auto', 'wifi_status': '1'}
2024-05-06 15:48:41.228 DEBUG (MainThread) [blueair_api.callbacks] 480i publishing updates
2024-05-06 15:48:41.228 DEBUG (MainThread) [custom_components.ha_blueair.blueair_data_update_coordinator] Finished fetching ha_blueair-480i data in 0.058 seconds (success: True)

for ref:
"auto_mode_dependency" in the api has values "pm" and "pm_voc" which are the two choices of 'Triggers for Auto mode' in the Blueair app for the 280i/480i models.

"filterType" in the api has values "row" for Particle Filter and "cn" for SmokeStop Filter which has an additional charcoal layer

The 280i, 480i and 680i should work the same.
I have the 680i, any chance @dahlb would do a remote session and have a look?

Really nice integration! I also have a Classic 280i and would appreciate having the fan auto and sensor readings added.

@SoccerCore11 that error was discussed in https://github.com/dahlb/ha_blueair/issues/151 and should be resolved now

Is this enough from the logs to be able to include the Temperature, Humidity, VOC, PM1, PM2.5, and PM10 sensors? Otherwise what else would I need to gather?
2024-12-05 09:37:12.732 DEBUG (MainThread) [blueair_api.util_http] response status: 200 2024-12-05 09:37:12.732 DEBUG (MainThread) [blueair_api.util_http] response json: {'devices': []} 2024-12-05 09:37:12.732 DEBUG (MainThread) [blueair_api.http_aws_blueair] response 200 2024-12-05 09:37:12.732 DEBUG (MainThread) [blueair_api.device] Requesting current attributes... 2024-12-05 09:37:12.733 DEBUG (MainThread) [blueair_api.util_http] sending https://api-us-east-1.blueair.io/v2/device/UUID/attributes/ requestheaders: {'X-API-KEY-TOKEN': 'TOKEN', 'X-AUTH-TOKEN': 'TOKEN'} 2024-12-05 09:37:12.834 DEBUG (MainThread) [blueair_api.util_http] response headers:<CIMultiDict('Content-Encoding': 'gzip', 'Content-Type': 'application/json;charset=UTF-8', 'Date': 'Thu, 05 Dec 2024 14:37:12 GMT', 'Server': 'nginx/1.12.1', 'Vary': 'Accept-Encoding,Accept-Encoding', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive')> 2024-12-05 09:37:12.834 DEBUG (MainThread) [blueair_api.util_http] response status: 200 2024-12-05 09:37:12.834 DEBUG (MainThread) [blueair_api.util_http] response raw: [{"userId":USERID,"uuid":"UUID","scope":"device","name":"auto_mode_dependency","currentValue":"pm","defaultValue":"pm"},{"userId":USERID,"uuid":"UUID","scope":"device","name":"brightness","currentValue":"2","defaultValue":"2"},{"userId":USERID,"uuid":"UUID","scope":"device","name":"child_lock","currentValue":"0","defaultValue":"0"},{"userId":USERID,"uuid":"UUID","scope":"device","name":"fan_speed","currentValue":"2","defaultValue":"2"},{"userId":USERID,"uuid":"UUID","scope":"device","name":"fan_usage","currentValue":"5557;11990;39802;41;51841;0","defaultValue":""},{"userId":USERID,"uuid":"UUID","scope":"device","name":"filterType","currentValue":"cn","defaultValue":"cn"},{"userId":USERID,"uuid":"UUID","scope":"device","name":"filter_status","currentValue":"DEAD","defaultValue":""},{"userId":USERID,"uuid":"UUID","scope":"device","name":"mode","currentValue":"manual","defaultValue":"auto"},{"userId":USERID,"uuid":"UUID","scope":"device","name":"wifi_status","currentValue":"1","defaultValue":""}] 2024-12-05 09:37:12.834 DEBUG (MainThread) [blueair_api.device] result: {'auto_mode_dependency': 'pm', 'brightness': '2', 'child_lock': '0', 'fan_speed': '2', 'fan_usage': '5557;11990;39802;41;51841;0', 'filterType': 'cn', 'filter_status': 'DEAD', 'mode': 'manual', 'wifi_status': '1'} 2024-12-05 09:37:12.834 DEBUG (MainThread) [blueair_api.device] refreshed blueair device: Device(api=<blueair_api.http_blueair.HttpBlueair object at 0x7f76d1091310>, uuid='UUID', name='Upstairs Air Purifier', timezone=None, compatibility=None, model=None, mac='34EAE701452C', firmware=None, mcu_firmware=None, wlan_driver=None, room_location=None, brightness=2, child_lock=True, night_mode=None, fan_speed=2, fan_mode='manual', filter_expired=True, wifi_working=True) 2024-12-05 09:37:12.834 DEBUG (MainThread) [blueair_api.callbacks] Upstairs Air Purifier publishing updates 2024-12-05 09:37:12.834 DEBUG (MainThread) [custom_components.ha_blueair.blueair_data_update_coordinator] Finished fetching ha_blueair-Upstairs Air Purifier data in 0.102 seconds (success: True)

if you update to v1.14.1 and post your updated logs I should be able to add your sensors (that version makes the api call but I don't know how to map the response yet)

Classic 680i
2024-12-05 22:33:11.957 DEBUG (MainThread) [blueair_api.device] Requesting current attributes... 2024-12-05 22:33:11.957 DEBUG (MainThread) [blueair_api.util_http] sending https://api-us-east-1.blueair.io/v2/device/UUID/attributes/ requestheaders: {'X-API-KEY-TOKEN': 'TOKEN', 'X-AUTH-TOKEN': 'TOKEN'} 2024-12-05 22:33:12.018 DEBUG (MainThread) [blueair_api.util_http] response headers:<CIMultiDict('Content-Encoding': 'gzip', 'Content-Type': 'application/json;charset=UTF-8', 'Date': 'Fri, 06 Dec 2024 03:33:12 GMT', 'Server': 'nginx/1.12.1', 'Vary': 'Accept-Encoding,Accept-Encoding', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive')> 2024-12-05 22:33:12.019 DEBUG (MainThread) [blueair_api.util_http] response status: 200 2024-12-05 22:33:12.019 DEBUG (MainThread) [blueair_api.util_http] response raw: [{"userId":USERID,"uuid":"UUID","scope":"device","name":"auto_mode_dependency","currentValue":"pm","defaultValue":"pm"},{"userId":USERID,"uuid":"UUID","scope":"device","name":"brightness","currentValue":"2","defaultValue":"2"},{"userId":USERID,"uuid":"UUID","scope":"device","name":"child_lock","currentValue":"0","defaultValue":""},{"userId":null,"uuid":"UUID","scope":"device","name":"fan_speed","currentValue":"2","defaultValue":"2"},{"userId":USERID,"uuid":"UUID","scope":"device","name":"fan_usage","currentValue":"6413;27066;24218;550;51841;0","defaultValue":""},{"userId":null,"uuid":"UUID","scope":"device","name":"filterType","currentValue":"row","defaultValue":""},{"userId":USERID,"uuid":"UUID","scope":"device","name":"filter_status","currentValue":"DEAD","defaultValue":""},{"userId":USERID,"uuid":"UUID","scope":"device","name":"mode","currentValue":"manual","defaultValue":"auto"},{"userId":USERID,"uuid":"UUID","scope":"device","name":"wifi_status","currentValue":"248","defaultValue":""}] 2024-12-05 22:33:12.019 DEBUG (MainThread) [blueair_api.util_http] sending https://api-us-east-1.blueair.io/v2/device/UUID/datapoint/0/last/0/ requestheaders: {'X-API-KEY-TOKEN': 'TOKEN', 'X-AUTH-TOKEN': 'TOKEN'} 2024-12-05 22:33:12.121 DEBUG (MainThread) [blueair_api.util_http] response headers:<CIMultiDict('Content-Encoding': 'gzip', 'Content-Type': 'application/json;charset=UTF-8', 'Date': 'Fri, 06 Dec 2024 03:33:12 GMT', 'Server': 'nginx/1.12.1', 'Vary': 'Accept-Encoding,Accept-Encoding', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive')> 2024-12-05 22:33:12.121 DEBUG (MainThread) [blueair_api.util_http] response status: 200 2024-12-05 22:33:12.121 DEBUG (MainThread) [blueair_api.util_http] response json: {'uuid': 'UUID', 'start':<PHONE_NUMBER>, 'end':<PHONE_NUMBER>, 'sensors': ['time', 'pm', 'pm1', 'pm10', 'voc', 'co2', 'tmp', 'hum', 'allpollu'], 'units': ['s', 'ugm3', 'ugm3', 'ugm3', 'ppb', 'ppm', 'C', 'pc', '%'], 'datapoints': [[1733455961, 0.0, 0.0, 0.0, 12, 410, 17.007, 36.889, 0.0]]} 2024-12-05 22:33:12.121 DEBUG (MainThread) [blueair_api.device] result: {'auto_mode_dependency': 'pm', 'brightness': '2', 'child_lock': '0', 'fan_speed': '2', 'fan_usage': '6413;27066;24218;550;51841;0', 'filterType': 'row', 'filter_status': 'DEAD', 'mode': 'manual', 'wifi_status': '248'} 2024-12-05 22:33:12.121 DEBUG (MainThread) [blueair_api.device] refreshed blueair device: Device(api=<blueair_api.http_blueair.HttpBlueair object at 0x7f9467253110>, uuid='UUID', name='Family Room', timezone='America/Denver', compatibility='classic_680i', model='1.0.9', mac='98D863FFCC4A', firmware='1.1.38', mcu_firmware='1.0.35', wlan_driver='V10', room_location='kitchen', brightness=2, child_lock=True, night_mode=None, fan_speed=2, fan_mode='manual', filter_expired=True, wifi_working=False) 2024-12-05 22:33:12.121 DEBUG (MainThread) [blueair_api.callbacks] Family Room publishing updates 2024-12-05 22:33:12.121 DEBUG (MainThread) [custom_components.ha_blueair.blueair_data_update_coordinator] Finished fetching ha_blueair-Family Room data in 0.164 seconds (success: True) 2024-12-05 22:33:12.124 DEBUG (MainThread) [custom_components.ha_blueair] integration setup completed

I haven't been able to dig out the response out of the HA logs yet for my 480i as I can't seem to get it to output the response to the logs or I'm (most likely) looking in the wrong place.  I'm already on 1.14.1 but no luck yet.
In the mean time, I managed to run a test against the API and when I hit https://{home_host}/v2/device/{device_uuid}/datapoint/0/last/0/ I get the following cleaned up JSON response for my Classic 480i:

{
'start':<PHONE_NUMBER>,
'end':<PHONE_NUMBER>,
'datapoints': [[1733478677, 2.0, 2.0, 3.0, 537, 689, 23.167, 37.648, 46.75]],
'sensors': ['time', 'pm', 'pm1', 'pm10', 'voc', 'co2', 'tmp', 'hum', 'allpollu'],
'units': ['s', 'ugm3', 'ugm3', 'ugm3', 'ppb', 'ppm', 'C', 'pc', '%'],
'uuid': '---redacted---'
}

Classic 680i
Not sure why the pm/pm1/pm10 is showing as '0.0' for all datapoints, since these are showing correctly in the BlueAir app.
 2024-12-06 09:24:45.616 DEBUG (MainThread) [blueair_api.util_http] response json: {'uuid': 'UUID', 'start':<PHONE_NUMBER>, 'end':<PHONE_NUMBER>, 'sensors': ['time', 'pm', 'pm1', 'pm10', 'voc', 'co2', 'tmp', 'hum', 'allpollu'], 'units': ['s', 'ugm3', 'ugm3', 'ugm3', 'ppb', 'ppm', 'C', 'pc', '%'], 'datapoints': [[1733495005, 0.0, 0.0, 0.0, 142, 495, 19.572, 37.351, 2.4285715]]}

Classic 680i ~Not sure why the pm/pm1/pm10 is showing as '0.0' for all datapoints, since these are showing correctly in the BlueAir app.~ EDIT: Actually, the app is showing '0.0' for these three across all three units I own, so there must be a data issue on BlueAir's side. These worked correctly previously. 2024-12-06 09:24:45.616 DEBUG (MainThread) [blueair_api.util_http] response json: {'uuid': 'UUID', 'start':<PHONE_NUMBER>, 'end':<PHONE_NUMBER>, 'sensors': ['time', 'pm', 'pm1', 'pm10', 'voc', 'co2', 'tmp', 'hum', 'allpollu'], 'units': ['s', 'ugm3', 'ugm3', 'ugm3', 'ppb', 'ppm', 'C', 'pc', '%'], 'datapoints': [[1733495005, 0.0, 0.0, 0.0, 142, 495, 19.572, 37.351, 2.4285715]]}

please try 1.14.3 to see if the other endpoint from https://github.com/aijayadams/hass-blueair provides better datapoints

With 1.14.3, here is the results and corresponding values from the app:
PM1: 26 (seems to match debug log)
PM2.5: 29 (seems to match debug log)
PM10: 32 (seems to match debug log)
tVOC: (non-numeric, shows the following options with no indication of how this is scaled from the API's qualitative value: [Very Polluted, Polluted, Moderate, Good, Excellent])
Temperature: 66 (looks like the app has converted C to F for me)
Humidity: 36 (seems to match debug log)
Two things that are interesting:

The API seems to pull additional sensors that don't exist in the app (co2 and allpollu) that would be really helpful to expose in Home Assistant.
Only one of my 3 units is showing values in the debug log for PM1/PM2.5/PM10. The other two units show '0.0' for these sensors.

2024-12-06 11:30:12.476 DEBUG (MainThread) [blueair_api.util_http] response json: {'uuid': '2C0C576F0EB090F2', 'start':<PHONE_NUMBER>, 'end':<PHONE_NUMBER>, 'sensors': ['time', 'pm', 'pm1', 'pm10', 'voc', 'co2', 'tmp', 'hum', 'allpollu'], 'units': ['s', 'ugm3', 'ugm3', 'ugm3', 'ppb', 'ppm', 'C', 'pc', '%'], 'datapoints': [[1733502594, 23.0, 23.0, 24.0, 1470.0, 491.0, 17.822, 37.794, 145.5]]}

added sensors in 1.16.0 for 680i

Sensors are showing up now for Classic 680i, but still seems to have a bug "object has no attribute" for each of the new sensors ->

2024-12-06 21:44:36.305 ERROR (MainThread) [homeassistant.components.sensor] Error adding entity sensor.upstairs_air_purifier_pm1 for domain sensor with platform ha_blueair Traceback (most recent call last):   File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 608, in _async_add_entities     await coro   File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 927, in _async_add_entity     await entity.add_to_platform_finish()   File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1384, in add_to_platform_finish     self.async_write_ha_state()     ~~~~~~~~~~~~~~~~~~~~~~~~~^^   File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1023, in async_write_ha_state     self._async_write_ha_state()     ~~~~~~~~~~~~~~~~~~~~~~~~~~^^   File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1148, in _async_write_ha_state     self.__async_calculate_state()     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^   File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1084, in __async_calculate_state     available = self.available  # only call self.available once per update cycle                 ^^^^^^^^^^^^^^   File "/config/custom_components/ha_blueair/sensor.py", line 148, in available     return self.native_value is not None            ^^^^^^^^^^^^^^^^^   File "/config/custom_components/ha_blueair/sensor.py", line 141, in native_value     if self._device.pm1 is None:        ^^^^^^^^^^^^^^^^ AttributeError: 'BlueairDataUpdateCoordinator' object has no attribute 'pm1'

sorry I forgot a layer of plumbing, 1.16.1 should fix that

Bingo, thanks so much for adding this functionality! I opened a ticket with BlueAir since the 0.0 on all the PM sensors seems to be a bug, but matches what is shown in the app.

Looks almost perfect to me.  Since I have a 480i I had to add "classic_480i" to line 22 of sensor.py.  Once I did that the new sensors all showed up as expected.  Well done!

classic_280i" and "classic_290i" also work by adding a description to "sensor.py"!
("classic_280i" does not have the pm1 and pm10 values originally)
Thanks!

I think I got all the issues mentioned in 1.17.0, please open a new issue if there are more changes you want to help me keep track of what's been done.


Add service dependency on authentication service (hold on until role feature is completed)

Description and Motivation
...
Change type

[ ] Bug fix
[x] New feature
[ ] Enhancement
[ ] Breaking change (breaks backward compatibility)

Checklist:

[x] All tests passed
[x] The code follows the code style and conventions of this project
[ ] The change requires a change to the documentation
[ ] I have updated the documentation accordingly

This change is

@ppathan , please help merge since I don't have permission.


Sample not Working

Sample in http://food-coach.mybluemix.net/ doesn't generate answers.

It works for me


Pricing protocol update - communicate prices

The aim of this PR is to communicate our node's price table upon connecting to other nodes, and to store price tables received upon connecting on a per peer basis, to be used for the purposes of accouting. The prices for accounting done in the retrieval and pushsync protocols are read from the stored price tables, or if they are missing, substituted with default price tables based on currently known neighborhood depth.
(these functions are facilitated by the pricer pkg, along with the change of the pricing protocol definition)

/run beekeeper

/run beekeeper

/run beekeeper

/run beekeeper

/run beekeeper

/run beekeeper

/run beekeeper

/run beekeeper


Salesforce - Social Studio API

It's possible to use this library for the Salesforces API, I'm trying to authenticate using
`POST /oauth/token HTTP/1.1
Host: api.socialstudio.radian6.com
Cache-Control: no-cache
Content-Type: application/x-www-form-urlencoded
grant_type=password&client_id={clientKey}&client_secret={clientSecret}&username={username}&password={password}`
Thank you advance.

I am not sure. Have you tried? You can set a custom domain when configuring the client (https://github.com/stevenmaguire/oauth2-salesforce#authorization-code-flow). If the authorization paths are different than the ones configured in this package, I would suggest creating a local child class that extends this one as a proof of concept. If, in fact it is possible, I am happy to consider modifying this package to accommodate this new use case; I'd like to understand its feasibility first.


WIP ENH add censored quadratic df

closes #249

I have an issue with the datafit update step, because the gradient of 0.5 || Xw - y + a 1_n|| with respect to a is n a - (Xw - y)^t 1_n, so to compute it one needs y.sum()
@shz9 do people usually fit an intercept with such models ? How do they do it ?

We usually assume $y$ is centered. So, you could go with the implementation with y_mean, but set it to 0 by default?

I just added a way to load the design matrix in a sparse scipy format from magenpy.
Would show us how to load X.T y from magenpy @shz9 ?

Sure, here's a snippet that you can easily integrate for the purposes of testing:

import magenpy as mgp

# Initialize simulator object:
g_sim = mgp.PhenotypeSimulator(mgp.tgp_eur_data_path(), h2=0.5, pi=0.1)
# Simulate outcome (phenotype):
g_sim.simulate()

# Access X:
X_csr = g_sim.genotype[22].to_csr()
# Convert to csc:
X_csc = X_csr.tocsc()
# Access y:
y = g_sim.to_phenotype_table()['phenotype'].values

# Sample size:
n = X_csr.shape[0]

# To get X'y (you may need to standardize both X and y before this step):

Xty = X_csr.T.dot(y)

# For a more general case that will be useful for GWAS settings:

# (1) Perform GWAS:
g_sim.perform_gwas()

# (2) Extract marginal betas (Xty, assumes both x and y are standardized column-wise):
g_sim.sumstats_table[22].standardized_marginal_beta

Thanks a lot for the code snippet!

Would it be possible to have the interface take X.T X instead of X in some instances?

This should take more time because we will have to implement a new solver.
We will start with making the code work for X, and then X.T X.

OK, thanks. By the way, I found some interesting statistics literature on losses of the form that we're working on here, going back to Loh and Wainwright (2012):

High-dimensional regression with noisy and missing data: Provable guarantees with nonconvexity
CoCoLasso for high-dimensional error-in-variables regression
An Investigation of Methods for Handling Missing Data with Penalized Regression

These papers were focused on the regime of missing/noisy data in $X$ and they proposed losses similar to the ones we're discussing. So, the work here could have wide applicability if we manage to provide efficient and robust solvers for these losses.
This literature also provides some important caveats and considerations to keep in mind, for example, the fact that $X^\top X$ has to be positive (semi-)definite.


Create proper spacy_sklearn pipeline template that doesn't use spacy NER training

Issue:
current spacy NER training is broken and the training functionality should be removed (not the whole component, we still want to use the build in trained spacy model to recognize default entities e.g. names or places)
Solution:

remove training capability from ner_spacy (and corresponding configuration flags)
add ner_crf to spacy pipeline (and to any other pipeline that uses ner_spacy)
implement output merging (related to #310 and #300)

this should also resolve #284


Think about the components needed for the frontend

Components:

Headerbar (with user account management)
Pokéball
PokéMart
Pokémon-Overview
Item-Overview


Added print subarrays with zero sum in cpp

Have you read the Contributing Guidelines on Pull Requests?
Yes
Description
Added the problem in cpp - Printing the index of all the subarrays which have their sum as zero
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
#5376

@ankitaggarwal23 Can you tell what is the conflict and how it can be resolved?


"exclude_self_edges" in "broadcast_sender_nodes_to_edges" and "SentEdgesToNodesAggregator" etc

Hello,
I am currently working on a model to process Documents as graphs.
The idea is to use the resulting node embeddings from the graph convolution as a sequence on wich I can perform sequence labeling to extract certain labels.
Maybe I have an overcomplicated approach, so feel free to question it :)
But since I want to use end-to-end learning for the embedding-calculation and the sequence labeling aswell as be able to process batches of graphs, my input looks as follows:
nodes_input = keras.Input(shape=(512, node_shape), name = 'nodes_input')
edges_input = keras.Input(shape=(60000, edge_shape), name = 'edges_input')
senders_input = keras.Input(shape=(60000), dtype='int32', name = 'senders_input')
receivers_input = keras.Input(shape=(60000), dtype='int32', name = 'receivers_input')

output = some_output(...)

model = keras.Model([nodes_input, edges_input, senders_input, receivers_input], output)

I split the graphs into their components, since tensorflow wants specific shapes which a single graph cannot provide. Rebuilding the batched graph from these is no probem either. The issue that arises however is the following:
I need to pad my graphs to a fixed length of nodes, edges, senders and receivers. (in my example 512 nodes, 60000 edges)
For nodes and edges, that is no problem, I can fill them with 0-vectors. The problem are senders and receivers, since they need to be filled with an int and will therefore always link edges to nodes.
Padding senders and receivers with 0 will, for example, result in all of the added padding-edges becoming self edges for node 0.
This is unfortunate for methods like broadcast_sender_nodes_to_edges and SentEdgesToNodesAggregator
Having an argument like exclude_self_edges=True from utils_tf.fully_connect_graph_static would help immensly in this case.
Is there some other way to pad my graphs or ignore the added edges in senders/receivers?
Thank you in advance!

After some experimentation I figure that padding with -1 for receivers and senders would work. So I will stick with that for now.
That is, of course, if there ain't a more suitable solution.

Thanks for bringing this up. Padding GraphsTuples is indeed challenging I would recommend using utils_tf.pad_graphs_tuple available here. The docs also describe the padding strategy we use and possible caveats. Hopefully that is helpful!
Note this method is not yet on the latest library release from pypi, so you may have to install it directly from github if you want to get it.

Thank you, that is very helpful! I somehow didn't notice those function in the documentation. I feel pretty stupid now haha

Oh, no worries, this was only open sourced 12 days ago, and it does not have a demo yet. Glad this helped!
I will close this for now, but please feel free to re-open if necessary :)


🚀 Feature: make no-unused-variables more permissive

Bug Report Checklist

[X] I have pulled the latest main branch of the repository.
[X] I have searched for related issues and found none that matched my issue.

Overview
I would suggest the following changes:
'@typescript-eslint/no-unused-vars': [
	'error',
	{
		argsIgnorePattern: '^_',
		caughtErrors: 'all',
		ignoreRestSiblings: true,
		varsIgnorePattern: '^_',
	},
],

This can help in the common React case of const [_, setMyVar] = React.useState() where you want to do array restructuring but don't want to keep the first argument. The other cases apply to (myVar, ...rest) => ... and function(_, stuff) which is useful when composing functions.
Additional Info
No response

Heya thanks for the suggestion @sys13!

const [_, setMyVar] = React.useState()

Is there a reason you don't want to do const [, setMyVar] = React.useState()?
Also: I'm under the impression it's a bit of an antipattern / discouraged to set up state like this. Most React practices I've seen have encouraged keeping to simple state primitives and not relying on API details like "there's a rerender if I update this never-used state". Is there a reproduction case you can post for why you'd really want this?

The other cases apply to (myVar, ...rest) => ... and function(_, stuff) which is useful when composing functions.

Similar question here. My general impression has been that having to declare unused parameters is a symptom of confusing code styles. I worry that this is not a particularly common need - so might not make sense as the default in a general-purpose create-*-app?

Following up: no comments and I still very much like having all lint failures be the same. Thanks for posting!


Allow administrators to update Gitea configuration through Web UI

Feature Description
I made a mistake in my initial configuration, and I'd rather be able to fix it through the web UI than have to find and modify the correct entry in the ini file.
Screenshots
No response

Some configurations could be changed from UI in future PRs and some will not.

Most could be moved into the web UI but no one is working on it for long time.


[feature] Updates AnalyticsNode API

This change is part of the effort to improve using analytics in node.js. The goal is that this library should be able to replace the analytics-node library.
This PR focuses on 2 aspects:

Defines a node.js-specific analytics interface that represents the APIs available in node.js
Updates the Analytics class so that it can function without maintaining user/group state.

Node.js interface
The AnalyticsNodeJs interface exposes the analytics API that works in node.js. If we continued exporting Analytics from AnalyticsNode.load() directly then we'd have 2 issues:

Many APIs are either only supported in the browser (e.g. trackLink) or were included for backwards compatibility with analytics.js classic and have been deprecated (e.g. use).
Analytics assumes that 1 user/group is being used at a time.

This change addresses both these points by only exposing the APIs that work in node.js and enforcing that either a userId or anonymousId is provided in each operation that generates an event.
Analytics sans users
The Analytics class assumed that there would always be a single user (anonymous and/or known) at a time and would automatically keep track of the user details so our customers wouldn't have to. This causes an issue when using Analytics to a server environment because it's common to be handling multiple users concurrently.
The simplest way I found to handle this was to support disabling the User and Group objects so that they didn't store any state. This didn't require changing any method signatures. I thought of some alternatives such as:

creating a UserLike/GroupLike interface to pass to Analytics instead of classes so we can pass in a no-op implementation in node.js
Subclassing User/Group with NullUser and NullGroup
The 1st ended up leading to broader API changes that would leak into the browser usage unless we did our own type casting.
The 2nd option is safe but caused some extra work to be done in the constructor.

Notes
I've set this PR to target the feature-node-uplift branch. Since we are changing the API for the node.js Analytics, this is technically a breaking change and we should do a major version bump when we decide to ship this. I don't want to block releasing from the main branch while this work is ongoing.

Note: I believe some tests are sometimes timing out because validation errors are getting retried. I believe validation errors should fail without retries since the data being validated doesn't change between attempts. I'll update this PR with those changes.


Unable to generate Swagger spec

Unable to generate Swagger spec
Steps to reproduce
Added swagger meta to models and go functions to generate spec(swagger.json) using
swagger generate spec -mo ./swagger.json
Error after executing the command
$ swagger generate spec -mo ./swagger.json
/usr/local/go/src/net/C:18:32: expected type, found '=' (and 4 more errors)
/usr/local/go/src/crypto/x509/C:20:21: expected type, found '=' (and 2 more errors)
/usr/local/go/src/net/lookup_unix.go:54:24: undeclared name: cgoLookupHost
/usr/local/go/src/net/lookup_unix.go:69:24: undeclared name: cgoLookupIP
/usr/local/go/src/net/lookup_unix.go:81:23: undeclared name: cgoLookupPort
/usr/local/go/src/net/lookup_unix.go:97:24: undeclared name: cgoLookupCNAME
/usr/local/go/src/net/lookup_unix.go:164:23: undeclared name: cgoLookupPTR
/usr/local/go/src/crypto/x509/cert_pool.go:38:9: undeclared name: loadSystemRoots
/usr/local/go/src/crypto/x509/root.go:21:32: undeclared name: loadSystemRoots
couldn't load packages due to errors: net, crypto/x509
Environment
swagger version: dev
go version: go1.10 darwin/amd64
OS:   MAC
Help
Can you please anyone help to find what exactly the issue is?
Thanks in advance

I tried to install swagger command.
It worked. closing the issue


Please document the following error

When Running PowerShell DSC Configurations, reguarly I get a VMExtensionProvisioningTimeout error
Considering there is no documentation for this as and error code and the VM Extension points to this page as per the below this really should be added to the Error Codes and their meanings section of this page
Provisioning of VM extension DCdsc has timed out. Extension provisioning has taken too long to complete. The extension did not report a message. More information on troubleshooting is available at https://aka.ms/VMExtensionDSCWindowsTroubleshoot\

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

ID: c2e15d16-5405-f4e9-e899-d4c74e418cad
Version Independent ID: 00474e00-329e-772d-da02-c82c2c7a455a
Content: Azure Desired State Configuration Extension Handler
Content Source: articles/virtual-machines/extensions/dsc-windows.md
Service: virtual-machines-windows
GitHub Login: @bobbytreed
Microsoft Alias: robreed

Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

We are currently cleaning up old issues and closing out items that are greater than 90 days old. If an issue is still present, please open a new feedback item on the document so we can prioritize correctly.
#please-close


Adding a important button

I can add a important button on task( a star icon) which on getting select set the task as important.

@vaishnav-sh , hello can i do this issue? and 1 more thing -
Can i do "Adding a remove all button #12" (in that issue showing "This conversation has been locked and limited to collaborators."
so, can not talk to you there and of course if that issue is closed , that's ok but i do believe  Adding a remove all button is a nice feature.

Yeah go for it then!


Feature Suggestion: Basic file parsing to detect library usage

You mentioned you were interested in finding out what technology stacks people are using, but currently only have access to the file extension.
To detect the usage of React this is fine, but this doesn't help when you try to detect other technologies like Angular or Knockout.
I would like to suggest a feature where the file's contents would be parsed to try and sniff out some 'known thing' that strongly indicates the usage of the library.
For the initial version this could be as simple as a using regular expressions that sniffs for certain objects/methods. For example:
angular.module()
angular.controller()
angular.directive()

and
ko.computed()
ko.observable()
ko.applyBindings()

are strong indicators that Angular and Knockout are being used.
If you are interested, I'd be willing to write a start for it.

Hey @csrakowski! This suggestion would be great from a UX perspective but I have some concerns:

Parsing code is a pretty deep rabbit hole with lots languages and frameworks - I feel that it would be error prone and as brittle as scraping HTML from a web page. File extensions, as dumb as they are, are pretty stable, simple and fast to discern, at least at a basic level, what kind of code is in there.
We would only be able to parse the commit diff, which could be good enough or not, I'm not sure. For example here's the contents of a commit - https://api.github.com/repos/sedouard/gittrack/commits/113a24e788f63531910bcea8b1269394b4db6767. We already load this data today and it sits in-memory. Downloading the entire code file would obviously be costly and we'd probably want to avoid that.

I agree with the first one; scraping is always a 'way to get the answer', but never a preferable long-term solution. Unfortunately I am not sure how else to implement this at the moment. We could eventually leverage something like Roslyn to detect library usage in C# and ASP.NET, but that seems a bit overkill for a V1/proof of concept. ;-)
I would like to borrow a concept from Roslyn's architecture though, and that is it's plugable nature. The central 'engine' would have access to the source file and would run a collection of analyzers on it. Each analyzer would then report back whether or not the code it was told about 'sniffed' like it's language/library.
Using this kind of architecture allows for easy plugin-in access to the detection features, and will allow us to easily refactor each individual analyzer to make use of whatever underlying technology it wants. For now this could simple regular expressions, but in the long run this might be a shell out to a full fledged compiler/linter.
I think a git diff will typically be too small to provide a good/strong indication and will probably result in a lot of misses. To put a number to this, I have 1 call to angular.module in a 1000 line .ts file, and that line has not changed since it was originally written over a year ago.
For now, and definitely for the proof-of-concept/architecture, the diff will just have to do. We can always add some logic later to download the entire file that changed in the commit (using the raw_url of the file).
If you are interested, I can probably find some time this week to make a good start on the architecture I described above and add a few simple analyzers.
Whether or not we need to add full file downloading, and whether or not that significantly impacts performance, will be a concern for a later day.

Although you'll get some answers today by scraping, I don't like the idea since there isn't really anything in gittrack that wouldn't work in the future. Also, doing this kind of analysis within the GitTrack front-end isn't a very good idea.
As far as code analyzers go, there are plenty of sites that do in-browser interpretation of a variety of code. I'm not sure if there are any existing solutions. This would require running another backend service to do this work.
Using whole code files on the front-end (this repository) would be out of the question. Today, GitTrack is very XHR heavy. The github event stream and commits we analyze today already result in sometimes up to 100 xhr calls on startup. The load-time performance of the page is really important so that when you share the link it begins to work as soon as possible. To do this in a performant way would mean to generate this information on the back-end (ideally before the user even opens GitTrack.io) which would be much more work than I think it is worth.
And I agree, using the diffs really isn't that useful.
Another problem with using full code files is that the person doing the commit is not necessarily responsible for all the code in that file. Example: I modify a code a line in an angular javascript file. Now GitTrack would count all parts of that code which use a stack or framework and attribute it to that person which may not actually be true.
The purpose of GitTrack is to quickly - at a high level - answer is what you have been working on, and the language/frameworks you use is part of that but it is a smaller part of that answer.
Although I really appreciate the offer to get started with the implementation of this, in general I think it would be overkill to engineer & maintain a solution that would do this for the value it yields (enhanced information the GitTrack languages chart).


AutoRest: Explore alternative approaches for paged results

As present paged results are returned in PagedList (for sync) and rx.Observable<Page> (for async). This issue has been created to track the discussion around removing the concept of a page, instead enabling a developer to request more results using the standard backpressure mechanism found in recent reactive streams APIs (RxJava with Flowable, Reactor with Flux).
Is there a good argument against this approach?

@JonathanGiles please try to make it specific, with code example as snippet, etc. assuming Reactor.

This is now complete in track 2 codegen.