Unable to use tensorflow after installing

Please make sure that this is a build/installation issue. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:build_template
System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows 10
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary):
TensorFlow version:
Python version: 3.8.5
Installed using virtualenv? pip? conda?:
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory:

Describe the problem
I try to install tensorflow and it just says all of the requirements are already satisfied but it throws an error everytime I try to use tensorflow.
Provide the exact sequence of commands / steps that you executed before running into the problem
Any other info / logs
C:\Users\josep\Videos>pip3 install --user --upgrade tensorflow
Requirement already up-to-date: tensorflow in c:\users\josep\anaconda3\lib\site-packages (2.7.0)
Requirement already satisfied, skipping upgrade: absl-py>=0.4.0 in c:\users\josep\anaconda3\lib\site-packages (from tensorflow) (0.15.0)
Requirement already satisfied, skipping upgrade: flatbuffers<3.0,>=1.12 in c:\users\josep\anaconda3\lib\site-packages (from tensorflow) (1.12)
Requirement already satisfied, skipping upgrade: wrapt>=1.11.0 in c:\users\josep\anaconda3\lib\site-packages (from tensorflow) (1.12.1)
Requirement already satisfied, skipping upgrade: grpcio<2.0,>=1.24.3 in c:\users\josep\anaconda3\lib\site-packages (from tensorflow) (1.41.1)
Requirement already satisfied, skipping upgrade: gast<0.5.0,>=0.2.1 in c:\users\josep\anaconda3\lib\site-packages (from tensorflow) (0.4.0)
Requirement already satisfied, skipping upgrade: termcolor>=1.1.0 in c:\users\josep\anaconda3\lib\site-packages (from tensorflow) (1.1.0)
Requirement already satisfied, skipping upgrade: wheel<1.0,>=0.32.0 in c:\users\josep\anaconda3\lib\site-packages (from tensorflow) (0.37.0)
Requirement already satisfied, skipping upgrade: h5py>=2.9.0 in c:\users\josep\anaconda3\lib\site-packages (from tensorflow) (3.1.0)
Requirement already satisfied, skipping upgrade: tensorflow-estimator<2.8,~=2.7.0rc0 in c:\users\josep\anaconda3\lib\site-packages (from tensorflow) (2.7.0)
Requirement already satisfied, skipping upgrade: keras<2.8,>=2.7.0rc0 in c:\users\josep\anaconda3\lib\site-packages (from tensorflow) (2.7.0)
Requirement already satisfied, skipping upgrade: numpy>=1.14.5 in c:\users\josep\anaconda3\lib\site-packages (from tensorflow) (1.21.4)
Requirement already satisfied, skipping upgrade: libclang>=9.0.1 in c:\users\josep\anaconda3\lib\site-packages (from tensorflow) (12.0.0)
Requirement already satisfied, skipping upgrade: google-pasta>=0.1.1 in c:\users\josep\anaconda3\lib\site-packages (from tensorflow) (0.2.0)
Requirement already satisfied, skipping upgrade: protobuf>=3.9.2 in c:\users\josep\anaconda3\lib\site-packages (from tensorflow) (3.19.1)
Requirement already satisfied, skipping upgrade: tensorflow-io-gcs-filesystem>=0.21.0 in c:\users\josep\anaconda3\lib\site-packages (from tensorflow) (0.21.0)
Requirement already satisfied, skipping upgrade: six>=1.12.0 in c:\users\josep\anaconda3\lib\site-packages (from tensorflow) (1.16.0)
Requirement already satisfied, skipping upgrade: opt-einsum>=2.3.2 in c:\users\josep\anaconda3\lib\site-packages (from tensorflow) (3.3.0)
Requirement already satisfied, skipping upgrade: typing-extensions>=3.6.6 in c:\users\josep\anaconda3\lib\site-packages (from tensorflow) (<IP_ADDRESS>)
Requirement already satisfied, skipping upgrade: astunparse>=1.6.0 in c:\users\josep\anaconda3\lib\site-packages (from tensorflow) (1.6.3)
Requirement already satisfied, skipping upgrade: tensorboard~=2.6 in c:\users\josep\anaconda3\lib\site-packages (from tensorflow) (2.7.0)
Requirement already satisfied, skipping upgrade: keras-preprocessing>=1.1.1 in c:\users\josep\anaconda3\lib\site-packages (from tensorflow) (1.1.2)
Requirement already satisfied, skipping upgrade: tensorboard-data-server<0.7.0,>=0.6.0 in c:\users\josep\anaconda3\lib\site-packages (from tensorboard~=2.6->tensorflow) (0.6.1)
Requirement already satisfied, skipping upgrade: setuptools>=41.0.0 in c:\users\josep\anaconda3\lib\site-packages (from tensorboard~=2.6->tensorflow) (58.5.3)
Requirement already satisfied, skipping upgrade: tensorboard-plugin-wit>=1.6.0 in c:\users\josep\anaconda3\lib\site-packages (from tensorboard~=2.6->tensorflow) (1.8.0)
Requirement already satisfied, skipping upgrade: requests<3,>=2.21.0 in c:\users\josep\anaconda3\lib\site-packages (from tensorboard~=2.6->tensorflow) (2.24.0)
Requirement already satisfied, skipping upgrade: google-auth-oauthlib<0.5,>=0.4.1 in c:\users\josep\anaconda3\lib\site-packages (from tensorboard~=2.6->tensorflow) (0.4.6)
Requirement already satisfied, skipping upgrade: werkzeug>=0.11.15 in c:\users\josep\anaconda3\lib\site-packages (from tensorboard~=2.6->tensorflow) (1.0.1)
Requirement already satisfied, skipping upgrade: google-auth<3,>=1.6.3 in c:\users\josep\anaconda3\lib\site-packages (from tensorboard~=2.6->tensorflow) (2.3.3)
Requirement already satisfied, skipping upgrade: markdown>=2.6.8 in c:\users\josep\anaconda3\lib\site-packages (from tensorboard~=2.6->tensorflow) (3.3.4)
Requirement already satisfied, skipping upgrade: certifi>=2017.4.17 in c:\users\josep\anaconda3\lib\site-packages (from requests<3,>=2.21.0->tensorboard~=2.6->tensorflow) (2020.6.20)
Requirement already satisfied, skipping upgrade: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in c:\users\josep\anaconda3\lib\site-packages (from requests<3,>=2.21.0->tensorboard~=2.6->tensorflow) (1.25.11)
Requirement already satisfied, skipping upgrade: idna<3,>=2.5 in c:\users\josep\anaconda3\lib\site-packages (from requests<3,>=2.21.0->tensorboard~=2.6->tensorflow) (2.10)
Requirement already satisfied, skipping upgrade: chardet<4,>=3.0.2 in c:\users\josep\anaconda3\lib\site-packages (from requests<3,>=2.21.0->tensorboard~=2.6->tensorflow) (3.0.4)
Requirement already satisfied, skipping upgrade: requests-oauthlib>=0.7.0 in c:\users\josep\anaconda3\lib\site-packages (from google-auth-oauthlib<0.5,>=0.4.1->tensorboard~=2.6->tensorflow) (1.3.0)
Requirement already satisfied, skipping upgrade: rsa<5,>=3.1.4; python_version >= "3.6" in c:\users\josep\anaconda3\lib\site-packages (from google-auth<3,>=1.6.3->tensorboard~=2.6->tensorflow) (4.7.2)
Requirement already satisfied, skipping upgrade: pyasn1-modules>=0.2.1 in c:\users\josep\anaconda3\lib\site-packages (from google-auth<3,>=1.6.3->tensorboard~=2.6->tensorflow) (0.2.8)
Requirement already satisfied, skipping upgrade: cachetools<5.0,>=2.0.0 in c:\users\josep\anaconda3\lib\site-packages (from google-auth<3,>=1.6.3->tensorboard~=2.6->tensorflow) (4.2.4)
Requirement already satisfied, skipping upgrade: oauthlib>=3.0.0 in c:\users\josep\anaconda3\lib\site-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib<0.5,>=0.4.1->tensorboard~=2.6->tensorflow) (3.1.1)
Requirement already satisfied, skipping upgrade: pyasn1>=0.1.3 in c:\users\josep\anaconda3\lib\site-packages (from rsa<5,>=3.1.4; python_version >= "3.6"->google-auth<3,>=1.6.3->tensorboard~=2.6->tensorflow) (0.4.8)
C:\Users\josep\Videos>python -c "import tensorflow as tf; print(tf.reduce_sum(tf.random.normal([1000, 1000])))"
Traceback (most recent call last):
File "C:\Users\josep\anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 64, in
from tensorflow.python._pywrap_tensorflow_internal import *
ImportError: DLL load failed while importing _pywrap_tensorflow_internal: The specified module could not be found.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\josep\anaconda3\lib\site-packages\tensorflow_init_.py", line 41, in
from tensorflow.python.tools import module_util as module_util
File "C:\Users\josep\anaconda3\lib\site-packages\tensorflow\python_init.py", line 40, in
from tensorflow.python import pywrap_tensorflow as _pywrap_tensorflow
File "C:\Users\josep\anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 79, in
raise ImportError(
ImportError: Traceback (most recent call last):
File "C:\Users\josep\anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 64, in
from tensorflow.python._pywrap_tensorflow_internal import *
ImportError: DLL load failed while importing _pywrap_tensorflow_internal: The specified module could not be found.
Failed to load the native TensorFlow runtime.
See https://www.tensorflow.org/install/errors for some common causes and solutions.
If you need help, create an issue at https://github.com/tensorflow/tensorflow/issues and include the entire stack trace above this error message.

@josephcoveai ,
Can you please take a look at this comment from the issue with similar error.It helps.
Also in order to expedite the trouble-shooting process, could you please provide the following information
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary):
TensorFlow version:
Python version:
Installed using virtualenv? pip? conda?:
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory:
and the exact sequence of commands / steps that you executed before running into the problem.Thanks


Fix: Autocomplete turned off for Staff

Description: A staff user would attempt to add another staff user and experience a permissions error where an Autocomplete component would attempt to fetch user information that the staff role should not have access to. It rightly resulted in a back-end error being received by the user on the front-end UI.
Fix: Enable autocorrect for the admin user role, but only allow manual entries for the staff user role.
Original issue filed here: https://github.com/illinois/queue/issues/305

Any time! Thanks for accepting the fix :)


Cmake error

I tried building on arch, with #93's manual. This error occured. How can i fix this?
[ 58%] Linking C static library libXNNPACK.a
[ 87%] Built target XNNPACK
make: *** [Makefile:156: all] Error 2

I guess you'll have to build with VERBOSE=1 make and post the actual error before we can make any guess here.

Sorry, i think i missed one step in #93 . It now has build correctly.
I have this error now though :(
ERROR: Could not open 'models/segm_full_v679.tflite'.
error: unable to load model from file: 'models/segm_full_v679.tflite'.
Error: Could not create mask context

#101, Manually loading model works


Plugin Spamming Console and crashing Server

The Plugin spamming the console with nonsense and than the Server Crashes

What are your server logs?

And than it crashed

That's a watchdog error. See this FAQ for more information
https://github.com/Hex27/TerraformGenerator/wiki/FAQ#red-paper-watchdog-stack-trace

Doesn't work and pre generating still didn't work. I pre generated it but the chunks doesn't load because TerraformGenerator and keeps spamming errors

And Because of that plugin I can't use even normal commands

without the Server lagging

If it is still spamming, you didn't apply the fix provided in the FAQ link

I did

If you can still see the "DO NOT REPORT THIS TO PAPER" message, then it hasn't been applied. Is the message there? Attach your server logs (as a file, not an image) if you cannot see the message

If you aren't able to see the console as Picture so why you even programming such a low quality plugin ? next time programm something that is working and not crashing the server

Can't help if you don't send your logs. Logs are text based and can stretch thousands of lines long. No dev wants to receive a log in the form of an image, especially when many hosting panels cut off stack traces. The server will not crash if you've applied the right fix and pregenerated your world accordingly. Reconfirm if the fix was applied, and if the log did not contain that paper watchdog stack trace, send your log here

If you aren't able to see the console as Picture so why you even programming such a low quality plugin ? next time programm something that is working and not crashing the server

Uhh last time I checked these people use their spare time to develop these free plugins for everyone, so remind me again, how are you entitled to complain?
Also the plugin is in alpha, so you can't expect a finished plugin. Before you can make a finished plugin, it has to go through development which is the state this plugin is in right now.


Jetstack Helm repo not working

The Jetstack helm repo is not longer working:
helm repo add jetstack https://charts.jetstack.io
Error: looks like "https://charts.jetstack.io" is not a valid chart repository or cannot be reached: error unmarshaling JSON: while decoding JSON: json: unknown field "serverInfo"

It's a helm issue:
https://github.com/helm/helm/issues/8761

It's a helm issue:
https://github.com/helm/helm/issues/8761


[BEAM-13388] Update Cloud DLP after breaking changes.

Please add a meaningful description for your change here

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

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

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

run python 3.6 postcommit

Run Python 3.6 PostCommit

Run RAT PreCommit

Run Python 3.6 PostCommit

Run Python 3.6 PostCommit

Run Python 3.6 PostCommit

Run Python 3.6 PostCommit

R: @tvalentyn
It looks like this issue affects the 2.35.0 release branch, so we should cherry-pick if possible.

R: @tvalentyn
It looks like this issue affects the 2.35.0 release branch, so we should cherry-pick if possible.

I think it is fine to skip this and report it as a known issue if it will result in another RC.

Good catch, @ibzib , thanks for the fix.

I can CP

CP: https://github.com/apache/beam/pull/16268


[flash_ctrl] flash mem access type mismatch

@tjaychen
Not sure if I miss something. In hjson file, we set flash memory access to be "RW", while we set ErrOnWrite=1 in RTL. I think ErrOnWrite=1 is for "RO" memory
https://github.com/lowRISC/opentitan/blob/eea799259b26294891f0228f6d76e028404cbeac/hw/ip/flash_ctrl/data/flash_ctrl.hjson#L1381-L1387
https://github.com/lowRISC/opentitan/blob/eea799259b26294891f0228f6d76e028404cbeac/hw/ip/prim_generic/rtl/prim_generic_flash.sv#L125-L129

yeah this is a copy / paste error on prim_generic_flash, i'll fix it.
thanks,
On Thu, Jan 28, 2021 at 11:02 AM weicaiyang<EMAIL_ADDRESS>wrote:

Assigned #4999 https://github.com/lowRISC/opentitan/issues/4999 to
@tjaychen https://github.com/tjaychen.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/lowRISC/opentitan/issues/4999#event-4262670086, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAH2RSTBCZT44YEXFLZ6KQDS4GYC3ANCNFSM4WXSDR3A
.

yeah this is a copy / paste error on prim_generic_flash, i'll fix it.
thanks,
On Thu, Jan 28, 2021 at 11:02 AM weicaiyang<EMAIL_ADDRESS>wrote:

Assigned #4999 https://github.com/lowRISC/opentitan/issues/4999 to
@tjaychen https://github.com/tjaychen.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/lowRISC/opentitan/issues/4999#event-4262670086, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAH2RSTBCZT44YEXFLZ6KQDS4GYC3ANCNFSM4WXSDR3A
.

@tjaychen not sure if you have fixed this. If no, I can also make a PR if it's just to change to ErrOnWrite=0

o i'm sorry this completely skipped my mind.
let me do it now.
On Fri, Feb 5, 2021 at 2:49 PM weicaiyang<EMAIL_ADDRESS>wrote:

@tjaychen https://github.com/tjaychen not sure if you have fixed this.
If no, I can also make a PR if it's just to change to ErrOnWrite=0
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/lowRISC/opentitan/issues/4999#issuecomment-774330086,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAH2RSWWA7SVVRC7A3SUUTLS5RYYDANCNFSM4WXSDR3A
.

fixed via #5126


windows error 0x80070643 during install

On-screen messages were vague. Log file attached
Keybase_20180309125741.log

Do you also have any recent log files matching %temp%\Keybase_20180309*_000_KeybasePrograms.log? That will show why the applications package installation failed.


feat: add authorize func

Checklist

[x] npm test passes
[x] tests and/or benchmarks are included
[x] documentation is changed or added
[x] commit message follows commit guidelines

Affected core subsystem(s)

Description of change

enable authorization_code mode
enbale options for authenticate/token method
update document
update to 2.0.1

Codecov Report

Merging #9 into master will decrease coverage by 16.56%.
The diff coverage is 11.76%.

@@             Coverage Diff             @@
##           master       #9       +/-   ##
===========================================
- Coverage   92.75%   76.19%   -16.57%
===========================================
  Files           3        3
  Lines          69       84       +15
===========================================
  Hits           64       64
- Misses          5       20       +15

Impacted Files
Coverage Δ

lib/server.js
75.38% <11.76%> (-22.62%)
:arrow_down:

Continue to review full report at Codecov.

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


Doesnt work if properties are not in Application

Environment
compile 'com.microsoft.azure:azure-keyvault-secrets-spring-boot-starter:2.1.2'

OS Type: Windows/Linux/MacOS

1.8

Summary
Running this application works when the @Value is contained in the Application.class however if your @Value is located in a separate class then null is replaced in the property.
For example (groovy code):
@Component
@ConfigurationProperties
class MyProperties {

    @NotEmpty
    @Value("${myProperty}")
    String myProperty
}

In the above ode the property is not passed from AKV.

@jamie3 Thanks for reporting issue, could you provide a working simple sample to reproduce your issue?

Close due to no response, feel free to reopen with a working sample if the issue still exists.


podcast page

Please always provide the GitHub issue(s) your PR is for, as well as test URLs where your change can be observed (before and after):
Fix #3
Test URLs:

Before: https://main--investsec-revego--hlxsites.hlx.page/
After: https://sardan-podcasts--investsec-revego--hlxsites.hlx.page/podcast/

Regarding the Lighthouse Score we won't be to get it much higher without changing how the content is loading. Current with the iframe strategy we have no control.


Skin Disease Classification using Deep Learning Models

Deep Learning Simplified Repository (Proposing new issue)
:red_circle: Project Title : Skin Disease Classification using Deep Learning Models
:red_circle: Aim :  To build a model to classify various Skin diseases
:red_circle: Dataset : https://www.kaggle.com/datasets/pacificrm/skindiseasedataset/data
:red_circle: Approach : First  Analyze the dataset by checking image quality, class distributions, and visualization of sample images. Then I train various models to enhance the classification accuracy, I propose building and comparing various models to select the best one. The models to be used include:
VGG /(Custom model)
ResNet
SEResNet
EfficientNet
Vision Transformer (ViT)

📍 Follow the Guidelines to Contribute in the Project :

You need to create a separate folder named as the Project Title.
Inside that folder, there will be four main components.

Images - To store the required images.
Dataset - To store the dataset or, information/source about the dataset.
Model - To store the machine learning model you've created using the dataset.
requirements.txt - This file will contain the required packages/libraries to run the project in other machines.

Inside the Model folder, the README.md file must be filled up properly, with proper visualizations and conclusions.

:red_circle::yellow_circle: Points to Note :

The issues will be assigned on a first come first serve basis, 1 Issue == 1 PR.
"Issue Title" and "PR Title should be the same. Include issue number along with it.
Follow Contributing Guidelines & Code of Conduct before start Contributing.

:white_check_mark: To be Mentioned while taking the issue :

Full name :  Prashant Kumar Mishra
GitHub Profile Link : https://github.com/pacificrm
Email ID<EMAIL_ADDRESS>Participant ID (if applicable):
Approach for this Project :  Mentioned above.
What is your participant role? GSSOC-EXT  and Hacktoberfest

Happy Contributing 🚀
All the best. Enjoy your open source journey ahead. 😎

Assigning this issue to you @pacificrm. You can start working on it.


$cordovaPushV5.register() event not called on IOS.

Push notification features for ionic hybrid framework phonegap-plugin-push with version 1.8.2.
Plugins xml engine info

Plugin using sample  Link:
https://github.com/phonegap/phonegap-plugin-push/blob/master/docs/EXAMPLES.md
During my app start $cordovaPushV5.register() to be called on IOS and Android so I can capture the
registrationId and send it to my backend server.
Only one month ago (early month of september 2016) it was working fine for both of Android and Ios
but Now it is not working for IOS though working fine for android still now.
Actual Behaviour
On IOS don't see $cordovaPushV5.register() being called, but I do on Android.
Reproduce Scenario
Install push plugin and sample code on Cordova app and run on IOS device, startup app and look at
logs to confirm, do same on Android device and $cordovaPushV5.register() isn't called on IOS,
but works fine on Android.
Ionic info :
Locally installed version: 1.7.16
Xcode version is : 7.2.1
My Code gist link: https://gist.github.com/amadercode/c12fc43aeced05451bd086169e3abaae
Even i don't get error message from
$rootScope.$on('$cordovaPushV5:errorOcurred', function(event, e){
alert('ERROR'+e.message);
// e.message
});
Thank you

@amadercode some logs from Xcode when starting the app would really help.

the
push.on('registration', function(data)
is not working on iOS devices but Android is working fine.
this is the Xcode logs
2016-10-11 21:21:41.756146  [253:8938] Push Plugin register called
2016-10-11 21:21:41.756270  [253:8938] PushPlugin.register: setting badge to false
2016-10-11 21:21:41.756322  [253:8938] PushPlugin.register: clear badge is set to 0
2016-10-11 21:21:41.756362  [253:8938] PushPlugin.register: better button setup
2016-10-11 21:21:41.764408  [253:8938] GCM Sender ID (null)
2016-10-11 21:21:41.764496  [253:8938] Using APNS Notification
2016-10-11 21:21:41.779209  [253:8762] Push Plugin register failed
2016-10-11 21:21:42.770830  [253:8762] active
2016-10-11 21:21:42.771073  [253:8762] PushPlugin skip clear badge

@chansaikit well there you go:
2016-10-11 21:21:41.779209 [253:8762] Push Plugin register failed

The logs say the registration failed which is why you are not get the registration event handler called. Usual cause of something like this is your iOS certificates are expired or invalid.

Thanks for helping on this.
I found the issue is because the notification didn't set to "ON" on capability tab in Xcode after upgraded to latest version.

@chansaikit yeah, I'm tracking that annoyance in #1154


Chain 2 outdoor panels (P4 - 64x32 - 1/8)

for my next project I want to change two P4 indoor panels to outdoor panels (greater brightness).
On the current setting the two P4 indoor panels (1/16, 64x32 leds) works as expected.

I modified the code for the P4 outdoor panel (1/8, 64x32 leds) and conneced one panel in the same way. Everything looked good. Maybe a little bit ghosting on the running text, but it could be related to PIN D and E. They are not grounded on my pcb.

After that, I tryed to connect two outdoor panels and the problems got started. I get a lot of ghosting (4 leds in a row) and a strange offset behaviour.

Does an
ybody seen this before ...?
Thanks

Hello again,
pattern test looks like this:
Video
https://user-images.githubusercontent.com/93932748/141092608-66289327-9bcd-4700-8f1c-00f65ec830d4.mp4
Code pattern_test:
`#include <PxMatrix.h>
#define P_LAT 22
#define P_A 19
#define P_B 23
#define P_C 18
#define P_D 21    // 5
#define P_E 4     // 15
#define P_OE 2    // 16
hw_timer_t * timer = NULL;
portMUX_TYPE timerMux = portMUX_INITIALIZER_UNLOCKED;
// Pins for LED MATRIX
PxMATRIX display(128,32,P_LAT, P_OE,P_A,P_B,P_C);
//PxMATRIX display(64,32,P_LAT, P_OE,P_A,P_B,P_C,P_D);
//PxMATRIX display(64,64,P_LAT, P_OE,P_A,P_B,P_C,P_D,P_E);
void IRAM_ATTR display_updater(){
// Increment the counter and set the time of ISR
portENTER_CRITICAL_ISR(&timerMux);
//isplay.display(70);
display.displayTestPattern(70);
portEXIT_CRITICAL_ISR(&timerMux);
}
uint16_t myCYAN = display.color565(0, 255, 255);
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
display.begin(8);
display.setPanelsWidth(2);
display.flushDisplay();
display.setTextColor(myCYAN);
display.setCursor(2,0);
display.print("Pixel");
Serial.println("hello");
timer = timerBegin(0, 80, true);
timerAttachInterrupt(timer, &display_updater, true);
timerAlarmWrite(timer, 4000, true);
timerAlarmEnable(timer);
delay(1000);
}
void loop() {
delay(100);
}`

Hello again,
I solved the problem. Looks like the default SPI frequency of 20 MHz is to fast for this panel type. I tried different frequency between 10-20 MHz. All of them work fine. So I set SPI to 19.999.999 Hz.
Have to be define before "include <PxMatrix.h>
Header
`#include <Arduino.h>
#define PxMATRIX_MAX_WIDTH 128
#define PxMATRIX_MAX_HEIGHT 32
#define PxMATRIX_SPI_FREQUENCY 19999999 // DEFAULT: 20000000 = 20 MHz
#define matrix_width 128
#define matrix_height 32
#define P_LAT 22
#define P_A 19
#define P_B 23
#define P_C 18
#define P_D 21    // 5
#define P_E 4     // 15
#define P_OE 2    // 16
hw_timer_t * timer = NULL;
portMUX_TYPE timerMux = portMUX_INITIALIZER_UNLOCKED;
// This defines the 'on' time of the display is us. The larger this number,
// the brighter the display. If too large the ESP will crash
uint8_t display_draw_time=30; //30-70 is usually fine
#include <PxMatrix.h>
PxMATRIX display(matrix_width,matrix_height,P_LAT, P_OE,P_A,P_B,P_C);`
Setup:
  display.begin(8);   display.setMuxDelay(1,1,1,1,1);   display.setPanelsWidth(2);


Channels freeze at 2 or 4% buffering

Using Kodi on firestick
With latest plug-in
All my channel play for a minute or two and then they freeze at buffering
Only solution is i have to force stop Kodi and restart it to watch again
Earlier it was working like butter but now this issue is persistent

Please try to use kodi 19.5 version

same issue with the downgrade

Same issue I'm also facing. I didn't face it for sony bbc earth hindi but for rest it is same


Anti-affinity for OSE nodes

Hi,
I did not find any affinity rules for the OSE nodes in order to avoid for instance two PODs that must run on two different OSE nodes run on the same host.
Perhaps, two different OSE nodes should not run on the same compute node?
Best Regards,

We don't enforce (anti-)affinity for openshift nodes, only for master nodes - https://github.com/redhat-openstack/openshift-on-openstack/blob/master/openshift.yaml#L83 . We could add similar server group/policy for openshift_nodes too (but by default this policy should not be enforced).

I do not understand why you would not enforce this policy, simply because, without it, we cannot rely anymore on the POD affinity policy (as nothing ensure that two PODs with anti affinity policy will not run on the same physical host ; and I think this is the real expectation of putting such affinity rules).

The problem with anti-affinity rule is that if there are not enough compute nodes, whole deployment fails (IOW you can't scale up beyond compute node count), this is quite restrictive especially in situations where you have few nodes only, or in situations when you need to replace some nodes (because of maintenance) and migrate instances to another node. AFAIK anti-affinity is also not enforced on other cloud providers (for openshift deployment). So not enforcing policy seems like a better default value for now (we are talking about default value, nothing would block you to enable it).

Update: actually it seems that soft-anti-affinity policy has been already implemented - I think this is ideal default - if possible, use different host, but don't fail if no different host is available. Once this feature is available in Centos/RHEL, we can switch to this default. Makes sense?

Hi Jan,

Simple answer: as long as there is the possibility to enforce hard anti-affinity rule I think the job is done.
Complex answer: IMHO I prefer a deployment that fails because I do not have enough compute nodes than having a deployment working by hiding such important fact to me… and let me believe when I order to not host ≠ pods on the same host it will be the case (and it will not :-()

Thanks for your work btw ;-)
Best Regards,

Hi @romainsc @jprovaznik !
I added a servergroup for nodes, defaulting to 'soft-anti-affinity'. If it's fine for you I'll push the patch.
Thx++Peace,
R.

@markllama Once https://bugzilla.redhat.com/show_bug.cgi?id=1480338 is fixed and soft-anti-affinity made it into OCP10 we could update the heat templates and create a node   ServerGroup with soft-anti-affinity


Publish x:text text node constructor (formerly x:space)

This pull request derives from #413. So needs to be handled after that.

XSpec for XSLT has a rather hidden element x:space, but it has problems:

Has no test
Not defined in schema
Not documented
Nests itself inappropriately in x:gather-specs mode
Its name is misleading. (You can use it for non-space text.)

This pull request improves it and republish it explicitly as x:text:

Test (52ffe2842f5471f737c1452a2ad0a2afa49158e2)
Schema (0e8666cca206d4b595334b92c575d249f9031162)
We can document the feature based on the test and the schema
Inappropriate nesting is fixed (e32e57d79b4f366fc99f138702e60d12ffd43e13)
x:space is explicitly deprecated (5d097f0e92aecb4d73aa3f7ed2f9cf0ccf6d8956). So those who use x:space (if any; none found in GitHub) will be able to notice the deprecation immediately and migrate to x:text simply by renaming the existing elements.

Limitation
x:space didn't work on XQuery, and neither does x:text.
Further work
Following #352, document x:text, too, in Wiki.

A use case is https://www.oxygenxml.com/forum/topic12013.html .
The first x:expect can be rewritten as this:
            <x:expect label="inline items">
                <a href="mailto:info.london<EMAIL_ADDRESS>                <x:text> </x:text>
            </x:expect>

@cirulls
Merged this enhancement.

Further work
Following #352, document x:text, too, in Wiki.

Done.
@galtm
Can you merge the master into #475 and add some x:text scenarios to the x:variable tests in test/xspec-space_stylesheet.xspec?

Can you merge the master into #475 and add some x:text scenarios to the x:variable tests in test/xspec-space_stylesheet.xspec?

@AirQuick
Sure. I pushed commit d21e641cb61d0a9bd6a0c595c1808de12651f6b3 to PR #475.


fix: decouple search and feature flag [LESQ-494]

Description
Music year: 1962

removes dependancy on 2023 search API feature flag for perfoming a search, as this flag requires requesting to posthog which is behind the user consent agreement
there is now a delay when performing a search using the feature flag, initially only legacy api results show and then it should populate with the new search results
it is now not possible to use the new search api with the feature flag if you have not consented to tracking cookies

Issue(s)
Fixes #LESQ-494
How to test

Go to https://deploy-preview-2129--oak-web-application.netlify.thenational.academy
Don't accept cookies
Perform a search and you should get results

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


Issue: The langsmith UI is not scrollable

Issue you'd like to raise.
The UI of langsmith is not scrollable (see pic - the not scrollable area in red)

Suggestion:
No response

Reported! A fix is in flight

Should be fixed now FYI!


Furnish About Us

[x] Add a section for accomplishments
[x] Add a section for a detailed introduction
[x] Make the intro image more responsive (set specific sizes/crops for each breakpoint?)
[x] Fix the officer image crop issue

Done: #10


The updates broke the theme homepage on the Hugo Themes website

Hello @g1eny0ung
The pdemo homepage](https://themes.gohugo.io/theme/hugo-theme-dream/) currently renders empty.
You need to fix this.
Please have a look at the Hugo Themes README for instructions to check your theme with the Build Script.

@onedrawingperday
Yesterday and today I am rewriting the theme. Because I just updated the exampleSite in 741b27628e8d8ed26fc9d2f6c46e633f56849702.
So the demo is broken in the last build. The submodule of my theme still use old examples.

@g1eny0ung
As stated in the Hugo Documentation

This example could render a piece of content using the content view located at /layouts/_default/summary.html:

{{ range .Pages }}
    {{ .Render "summary"}}
{{ end }}

As you may have noticed demos hosted at the Hugo Themes showcase inherit their content from the hugoBasicExample that does not provide a posts section but instead a post section.
Therefore your theme's homepage renders empty on the website.
To fix this problem you need to move summary.html from the layouts/posts/ to layouts/_default/summary.html.
Also note that the requirements for maintaining a themes in the Hugo Showcase have been updated and you may want to read them: https://github.com/gohugoio/hugoThemes#theme-maintenance
Please let me know once you look into the above.
Thank you.

@onedrawingperday
Thanks for the help and the explanation. I already move the summary.html to the _default folder.
I also update the exampleSite folder, because I read this:

note that for security reasons the content directory on the Hugo showcase will still be published from the Hugo Basic Example repository.

So I remove the custom contents in the posts folder.

Thank you for providing the fixes @g1eny0ung
There is no need to remove the custom posts folder. You can keep it for the users who download your theme.
Your theme demo will be fixed at the next scheduled update of Hugo Themes on the 13th of November at 0:00 UTC

@onedrawingperday Thx. 😊


fix the non-sync of GPU data and CPU data

Thanks for the great simulator but I'm facing an issue in the sync mode. In the introduction in the sync mode, you mention:

Note that data coming from GPU-based sensors (cameras) is usually generated with a delay of a couple of frames respect to data coming from CPU-based sensors.

So when I'm trying to do some real-time work on it, the semantic segmentation information and the 3D bounding box are not synced. For example, the red bounding box is the edge of segmentation and the blue bounding box is the 2d projection of the current 3d-bounding box. The 3d-bbox is about 2 frames ahead of the segmentation information which is synced with the rgb camera information.

This issue is very tough for me. Is there some solution to fix it or to work around it? Thank you.

I have the same issue, and from what I've read it doesn't seem like there is any fix.
I ended up just "extracting" the bounding box from the semantic segmentation and depth map information. Granted its slow

Still haven't fixed this issue. Anyone has any suggestions on any version of CARLA?


Sort Fixed Expense Command

Allows for the fixed expense list to be sorted according to amount.
Might have to think of a better name for this
"High" -> Sorts with descending amount
"Low" -> Sorts with ascending amounts.

Dun merge first.

Made necessary changes, and implemented sorting for other fields for fixed expense.


Should prefix with this

https://github.com/stealthcopter/AndroidNetworkTools/blob/6f5ab3188846c59cf224b4783952edddc9254c03/library/src/main/java/com/stealthcopter/networktools/PortScan.java#L80
I'm creating a small app in order to play with home automation (see https://github.com/MBach/home-automation) and I have some troubles when I'm using this method. I think you should prefix with this otherwise you're just clearing the argument.
If I'm using the other method with formatted ports, like "80,3000,8080,10000" it's working fine.

@MBach awesome, thanks for spotting this! I've dropped the clear all together as it's unnecessary in that method. Will update and push out a new release shortly.
Thanks :+1:

Fixed in 0.2.2
https://github.com/stealthcopter/AndroidNetworkTools/releases/tag/0.2.2


Use of private scope for variables and methods

Hi :) ... I just wonder if it's possible to use the private scope for variables and methods with Butterknife.
I wanna do something like this:
@BindView(R.id.my_button)
private Button mMyButton;

Why I've to make this to public or default, which is protected, when I wanna use private? I wonder why this isn't supported.
Thanks for your answer in advance :) Cheers, Nikola

The generated code, doesn't use reflection. That's why the fields and methods, should be accessible from the same package.

Yeah I thought that could be the reason. Is it possible to request this as feature?

No. It is not possible to accomplish


Submitting Studio-CLI version 23.9.0

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.5 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Hello, who has time to help review and merge? Thank you very much


Add checklists for gitflow steps

The gitflow is too dam wordy.
Make some checklists for the major steps.
To wit: we have a release that isn't tagged!

https://git-scm.com/book/en/v2/Git-Basics-Tagging
To tag what's in master:

[ ] git tag -a v1.0.0 -m'First initial release'
[ ] git push origin v1.0.0
[ ] verify with git tag and git show v1.0.0 and check github

We should do the same for feature branches, hotfixes, etc.
And can we make these more visible? Or am I just being lazy?


[Feature] Sensors for Dates of last Key Moon Phases

Short summary
Add Sensors for dates of last Key Moon Phases
Detailed description
The integration already provides sensors for the dates of the next key phases. It would be convenient to have dates for the last key phases as well.
My use case
Most nights we like to see the sky and the stars while going to bed and sleep, but during the days before, on, and after full moon the moon illuminates our bed room too much, it's hard to get to sleep. Hence we close the blinds manually each evening and open them in the morning via the homeassistant companion app.
It would be very convenient to close the blinds automatically each evening (e.g. at sunset) during the days of full moon, means starting 3 days before and finishing 3 days later.
The first one is already possible with this integration, my feature request is about the second one: how many days have past since the last full moon.
Yes, I could calculate that myself and create a template sensor that I add to the lunar-phase device :)
having it our of the box would just me more convenient and could help others.
Examples 🖼
No response
Additional context 🗒
No response

I think I could achieve my goal using the illuminance sensor, nevertheless having the dates at hand would still be convenient.

I think you can do a simple automation using the next full moon sensor and combination with the illuminance sensor. Sensor next moon phase, shows only the next closest phase.

using the illuminance sensor is a far better option - thanks for the pointer.


Update the Tock submodule to the latest dev version.

I was having trouble getting QEMU to build with the Tock version that this submodule had pinned. Because libtock-rs is designed for the upcoming Tock 2.1 (it depends on the new Allow API guarantees), it makes sense to update this module to the latest master branch commit. With the new submodule commit, I can now build QEMU.

bors r+


Animation stops when scrolling

I have an APNGImageView in a collection view and whenever I start scrolling, the animation pauses.  Once I stop scrolling, the animations speeds up and appears to catch up to where it would have been.  How do I make it so the animation doesn't stop when scrolling?

AllowAnimationInscroll Found it. Wish I could delete issues!

@JGVB, What is AllowAnimationInscroll?


Local adapter clean user input before file access

This change is

Codecov Report

Merging #1037 (7155857) into master (1ec06d6) will decrease coverage by 0.07%.
The diff coverage is 77.67%.

@@            Coverage Diff             @@
##           master    #1037      +/-   ##
==========================================
- Coverage   47.02%   46.95%   -0.08%
==========================================
  Files         174      179       +5
  Lines       14028    14072      +44
==========================================
+ Hits         6597     6607      +10
- Misses       6579     6601      +22
- Partials      852      864      +12

Impacted Files
Coverage Δ

graveler/graveler.go
32.48% <66.66%> (-4.78%)
:arrow_down:

graveler/ref/revparse.go
93.75% <66.66%> (ø)

graveler/ref/commit_iterator.go
74.19% <74.19%> (ø)

graveler/ref/repository_iterator.go
74.54% <74.54%> (ø)

graveler/ref/tag_iterator.go
76.19% <76.19%> (ø)

graveler/ref/branch_iterator.go
77.27% <77.27%> (ø)

graveler/ref/resolver.go
71.42% <80.00%> (ø)

graveler/ref/manager.go
73.65% <80.48%> (ø)

block/local/adapter.go
50.82% <83.33%> (+0.82%)
:arrow_up:

cloud/aws/s3inventory/parquet_reader.go
76.78% <100.00%> (+0.42%)
:arrow_up:

... and 11 more

Continue to review full report at Codecov.

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


hnc-base:latest

where can I find the image hnc-base:latest

Hi, I recommend using the https://github.com/hashsploit/dnas-test repo instead, as it's the only one that is functional. The issue with this repo besides the missing hnc-base container (I'm slowly moving the infra to Open Source, but it's taking a while) DNAS is more complicated than I originally thought.


Need for opinions and suggestions from experienced developers

In the past I have used Brain.js and some other JavaScript based machine learning libraries but unfortunately I have found them not matching my needs. That's why, working on my personal projects, I have developed the idea of creating a different approach by myself. So, sorry to be here to talk about another project but I would really like to receive some opinions and suggestions from experienced people that, being into this specific field, could help me to set useful and shared expectations. By the way, thanks for the great support given to Brain.js so far. The library is called DN2A and is on https://github.com/dn2a/dn2a-javascript

Looks well thought out.  I see there is a lot of todo's yet to be do'ed, what is your goal with this library?

Closing for the time being.  Hope to hear more soon.


SampleApp failed to start

Hi,
I followed readme instructions. I'm building like that:
CC=gcc-4.8 CXX=g++-4.8 cmake ../avs-device-sdk -DPORTAUDIO=ON -DPORTAUDIO_LIB_PATH=/usr/local/lib/libportaudio.so -DPORTAUDIO_INCLUDE_DIR=/usr/local/include -DGSTREAMER_MEDIA_PLAYER=ON
Make ends without errors, next i'm trying to run SampleApp:
TZ=UTC ./SampleApp ../../Integration/AlexaClientSDKConfig.json DEBUG9
And get following error:

Running app with log level: DEBUG9
2017-08-21 10:17:37.422 [  1] I ConfigurationNode:initializeSuccess
2017-08-21 10:17:37.433 [  1] E AlertsCapabilityAgent:initializeAlertsFailed::could not load sqlite file path.
2017-08-21 10:17:37.433 [  1] E AlertsCapabilityAgent:initializeFailed::Could not initialize alerts.
2017-08-21 10:17:37.433 [  1] E AlertsCapabilityAgent:createFailed:reason=Initializion error.
2017-08-21 10:17:37.433 [  1] E RequiresShutdown:~RequiresShutdownFailed:reason=notShutdown,name=AlertsCapabilityAgent
2017-08-21 10:17:37.433 [  1] E DefaultClient:initializeFailed:reason=unableToCreateAlertsCapabilityAgent
2017-08-21 10:17:37.433 [  1] I DirectiveSequencer:doShutdown
Failed to create default SDK client!
(SampleApp:29946): GStreamer-CRITICAL **: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed
2017-08-21 10:17:38.405 [  2] E MediaPlayer:doStopFailed:reason=gstElementGetStateFailed
(SampleApp:29946): GStreamer-CRITICAL **: gst_object_unref: assertion 'object != NULL' failed
(SampleApp:29946): GLib-CRITICAL **: Source ID 14 was not found when attempting to remove it
(SampleApp:29946): GStreamer-CRITICAL **: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed
2017-08-21 10:17:38.405 [  2] E MediaPlayer:doStopFailed:reason=gstElementGetStateFailed
(SampleApp:29946): GStreamer-CRITICAL **: gst_object_unref: assertion 'object != NULL' failed
(SampleApp:29946): GLib-CRITICAL **: Source ID 18675600 was not found when attempting to remove it
Failed to initialize SampleApplication
Failed to create to SampleApplication!

Some tests also fails:

97% tests passed, 16 tests failed out of 473
Total Test time (real) = 184.11 sec
The following tests FAILED:
367 - MediaPlayerTest_test (Failed)
368 - MediaPlayerTest.testStartPlayWaitForEnd (Failed)
369 - MediaPlayerTest.testStartPlayForUrl (Failed)
371 - MediaPlayerTest.testConsecutiveSetSource (Failed)
372 - MediaPlayerTest.testStartPlayWaitForEndStartPlayAgain (Failed)
373 - MediaPlayerTest.testStopPlay (Failed)
374 - MediaPlayerTest.testStartPlayCallAfterStopPlay (Failed)
375 - MediaPlayerTest.testPauseDuringPlay (Failed)
376 - MediaPlayerTest.testPlayAfterPause (Failed)
377 - MediaPlayerTest.testStopAfterPause (Failed)
378 - MediaPlayerTest.testPauseAfterPause (Failed)
379 - MediaPlayerTest.testResumeAfterPause (Failed)
380 - MediaPlayerTest.testResumeAfterPlay (Failed)
381 - MediaPlayerTest.testGetOffsetInMilliseconds (Failed)
382 - MediaPlayerTest.testPlayingTwoAttachments (Failed)
383 - MediaPlayerTest.testUnsteadyReads (Failed)
Errors while running CTest

Resolved.
I have to insert paths to sounds and database in AlexaClientSDKConfig.json:
"alertsCapabilityAgent":{
        "timerShortSoundFilePath":"/home/med_system_alerts_melodic_02_short._TTH_.wav",
        "alarmSoundFilePath":"/home/med_system_alerts_melodic_01._TTH_.mp3",
        "databaseFilePath":"/home/alerts.db",
        "timerSoundFilePath":"/home/med_system_alerts_melodic_02._TTH_.mp3",
        "alarmShortSoundFilePath":"/home/med_system_alerts_melodic_01_short._TTH_.wav"
}

You can download sounds here: https://developer.amazon.com/public/solutions/alexa/alexa-voice-service/content/alexa-voice-service-ux-design-guidelines#attention
Database file will be created automatically if not exist.

how to enable debug9??


Extract service worker registration code

Judging by https://github.com/facebookincubator/create-react-app/pull/2551 and https://github.com/facebookincubator/create-react-app/pull/2426 we're going to make more changes to SW registration code. I think it means we should move a bulk of the implementation into the library but expose the necessary hooks for 80% use cases (e.g. for showing a custom toast).
How this could work:
import registerServiceWorker from 'react-scripts/registerServiceWorker';

registerServiceWorker({
  // some options?
});

On ejecting, we'll replace react-scripts reference with react-dev-utils. The file will exist as an extra entry point in both packages, so it will work both before and after ejecting.
Note: this also means react-scripts will move to dependencies from devDependencies. This actually seems fine and reasonable to me. The distinction doesn't really make sense anyway.
The exact naming is up for debate.

cc @viankakrisna @ro-savage would either of you be interested in tackling this?
We can then reevaluate #2426 or alternatives.

Played around with it on https://github.com/viankakrisna/create-react-app/blob/ServiceWorkerUtils/packages/react-dev-utils/ServiceWorkerUtils.js
Found a few questions:

It's outside ./src and written with es6 so UglifyJS will choke on npm run build
Choice of solutions:
a. setup build tools for it to compile to es5 in react-dev-utils
b. setup build tools for it and let lerna manage it like react-error-overlay (maybe name it react-service-worker-utils, but this module is quite general purpose, so react prefix may not be accurate)
c. add an exception in webpack config for this file in react-dev-utils
d. rewrite it in es5

Changing react-scripts to react-dev-utils on eject -> would need to check all .js file in the ./src and replace react-scripts to react-dev-utils -> scary, but doable -> slow in big project?
We can't be sure where the user import this module. Probably it's better to explicitly require a separate react-service-worker-utils module.

Isn't providing a runtime dependency is out of scope for CRA?
I still stand by my comment in https://github.com/facebookincubator/create-react-app/issues/2398#issuecomment-309285290. It's a userspace area...

a. setup build tools for it to compile to es5 in react-dev-utils

If you don't mind, a separate PR that moves everything to src but compiles it to the top level folder of react-dev-utils would be really handy. It's a bit exhausting to keep track of which syntax is safe to use there.

Changing react-scripts to react-dev-utils on eject -> would need to check all .js file in the ./src and replace react-scripts to react-dev-utils -> scary, but doable -> slow in big project?

That's a good point. I haven't thought about that. I'm not sure.

Isn't providing a runtime dependency is out of scope for CRA?

Kind of.. But the boundary is a bit blurred here. I was hoping to cheat a little bit.

how about option 1b? react-dev-utils is strictly for the node, webpack, and development tools related utility module, anything else goes to their own separate package. The init script needs to be updated to add react-service-worker-utils as a dependency though.

The init script needs to be updated to add react-service-worker-utils as a dependency though.

That's the part I'm not very happy about. If we can find any other useful stuff to go there though, maybe it's okay.

@viankakrisna option 1d seems to be easiest, if writing in es6 is causing issues.
Should be easy enough to do, happy to re-write it if you need.

@ro-savage In the long run I think setting up build tool for react-dev-utils is better. The browser that supports service-worker should support parts of es6 too right? we can use babel-preset-env for that.
Another option is to set registerServiceWorker as a global function, so we don't need to import it from src. No react-scripts to react-dev-utils renaming on eject.

The options could be callbacks for onupdatefound (executed here) and oninstall (executed here)

library should be imported inside application
import registerServiceWorker from './registerServiceWorker';

export default class App {
  constructor(props) {
    registerServiceWorker({
      handleUpdate: this.handleServiceWorkerUpdate
    })
  }

  handleServiceWorkerUpdate(registration) {
    if (window.confirm('New update has been installed, click to restart')) {
      window.location.reload()
    }
  }
}

I have side question about UX of New update has been installed, click to restart. Can we came up with something more friendly? Maybe:

reload code when user navigates to the next page
reload code in the manner of hot module reload https://github.com/facebookincubator/create-react-app/pull/2304
other ideas?


Checkbox not obeying parent fieldset disabled state

Bug, feature request, or proposal:
Bug: - but I am not sure it's a bug in your component or an incomplete accessor.
I have reported it here: https://github.com/angular/angular/issues/13856
I am just looking out for answer how to implement disabling a component upon fieldset disabled change and whether it can be achieved with current API (Angular 2.4.4)
What is the expected behavior?
Component should be notified of its parent fieldset disabled state.
What is the current behavior?
What are the steps to reproduce?
See this forked plunker of your checkbox - please refer to the new section I created "Fieldset test": https://plnkr.co/edit/MmQU0KLVUMFSzFgwTK9t?p=preview
What is the use-case or motivation for changing an existing behavior?
Provide compliance with w3 standards.
Which versions of Angular, Material, OS, browsers are affected?
Angular 2.4.4, all browsers
Is there anything else we should know?
I haven't tested whether the misbehavior afects also other controls but I would guess so. It's probably the matter of the NG_VALUE_ACCESSOR shape.

Not sure if related. But I encountered a bug when using FormControl.disable()
https://github.com/angular/material2/issues/4037
To reproduce it with material2 demo, I had to click the disabled check.
But in my own app with a ReactiveForm, the checkbox is broken after disable()/enable() even without interacting with it.

I am having a similar issue. Calling disabled() disables the checkbox and it is grayed out. Calling enable() darkens the checkbox and it looks enabled, but you can't actually click on it any more.

We are experiencing the same issue as well. Disabling the checkbox works as expected, but when it's enabled again it looks enabled but is not clickable. This is when using the FormControl.disable/enable(). Using the checkbox's [disabled]-binding works as expected though, so it is possible to use that as a workaround for now.

this is a feature that should probably live in @angular/forms

Seems to be tracked in https://github.com/angular/angular/issues/13856.

Closing this since the underlying issue is tracked on https://github.com/angular/angular/issues/35309


Breaking change in SwitchMap 6.3.3 -> 6.4.0

Documentation Related To Component:
SwitchMap
Please check those that apply

[ ] typo
[x] documentation doesn't exist
[ ] documentation needs clarification
[ ] error(s) in example
[ ] needs example

Description Of The Issue
Version 6.4.0 contains a breaking change when coming from 6.3.3 that is not mentioned in the CHANGELOG.md. The culprit is this change:

switchMap: support union type returns (32d35fd)

This introduced a breaking change if you used the generic types
Before:
switchMap<string, Foo[]>(...)

After:
switchMap<string, Observable<Foo[]>>(...)

I also spotted something odd here https://github.com/reactivex/rxjs/commit/32d35fd#diff-2890e8018eeca17541f08afe9bc0bc2eL9
The test says "should support a projector that takes an index" but the index parameter was removed. That doesn't look right to me. I'm assuming prettier or something like that removed the unused parameter 🤔

Stackblitz working in 6.3.3.
Same code failing type checking in 6.4.0.

Core Team Meeting Notes
SInce using the generic arguments to cast is really an anti-pattern in TypeScript in general, We will:

Document what to do when you need to cast an operator
Introduce a new type to make it more ergonomic to cast at various points in the pipe chain when developers encounter problems, for example:

source$.pipe(
  switchMap(fn) as RxOp<number>,     // effectivly OperatorFunction<any, number>
  map(n => n + n),                   // fine because of the cast above
)

It's an issue for people, but the generics changes were to fix other bugs with typings in the library, and we don't want to undo that, because we would be punishing people who were indeed using the library properly. So we'll prioritize getting this new type out there and documenting it.

@snebjorn
If you really need to provide an explicit type (instead of inferred) I suggest to specify it in the return type of the function:
instead of

Thanks for the tip.

does it affect people not using typescript?


[Bug]: Type hints for validate, validateUser, and setSession in App.Locals are all any for @lucia-auth/sveltekit

Package
@lucia-auth/sveltekit
Package version
0.6.1
Describe the bug
When hovering your mouse over validate, validateUser, and setSession, the type hint is any instead of the actual type.
System info
"@lucia-auth/adapter-prisma": "^0.4.0",
"@lucia-auth/sveltekit": "^0.6.1",
"lucia-auth": "^0.6.0"
Reproduction
https://github.com/Blastose/lucia-auth-issue-repro
Relevant log output
No response
Additional information
This issue seems to be caused by #309 on line 12 in packages/sveltekit/src/types.ts with the addition of & App.Locals. Removing this part and rebuilding the package no longer causes the types to be any. However, I am unsure if removing this will invalidate that PR.

Resolved with @lucia-auth/sveltekit 0.6.2


Adding p006 C# Softmax Activation

C# version for p006 video
In this version spiral dataset was moved as a separate class from the main code.

Will you update the spiral data function with the fix from #145?

Will you update the spiral data function with the fix from #145?

Yes, for sure.
Tanai
On Tue., Jan. 26, 2021, 11:35 a.m. Daniel Kukieła<EMAIL_ADDRESS>wrote:

Will you update the spiral data function with the fix from #145
https://github.com/Sentdex/NNfSiX/pull/145?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Sentdex/NNfSiX/pull/144#issuecomment-767666917, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AP2DYV5OAR6LORLN3HZWRC3S33VOHANCNFSM4WGP7P7Q
.

Yes, for sure.
Tanai
On Tue., Jan. 26, 2021, 11:35 a.m. Daniel Kukieła<EMAIL_ADDRESS>wrote:

Will you update the spiral data function with the fix from #145
https://github.com/Sentdex/NNfSiX/pull/145?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Sentdex/NNfSiX/pull/144#issuecomment-767666917, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AP2DYV5OAR6LORLN3HZWRC3S33VOHANCNFSM4WGP7P7Q
.

updated p006 and added p007 as well.

updated p006 and added p007 as well.


Merge sweeper code to develop

This is just some support code Mikael wrote for allowing tombstones in AAE trees, which prevents expired data from being accidentally resurrected. The code that uses this will be merged into riak_kv.

+1


Styling Identity Razor Pages to use default Blazor theme is insanely difficult

Issue description

I just added Identity to my existing Blazor Server project using Identity Scaffolding.
I followed this Microsoft learn guide here.
However, since Identity uses Razor pages instead of Razor components, the styling of the UI changes when a visitor navigates between Identity pages and components.
For eg: The page initially loads like this:

And when the user hits the Login link at the top right corner, the login page opens which looks so ugly 😩:

To fix that, I tried to follow this guide at Microsoft learn.
But I was hit with this error (code link here):
The name 'Engine' does not exist in the current context

After few days of pulling hair, I found the answer to my question here:
https://stackoverflow.com/a/74408719/8644294
Now, I'm hit with a different issue, i.e. _Layout.cshtml can't find the partial view.

As you can see, the _LoginPartial.cshtml is inside ~/Features/Shared/Layout/_LoginPartial.cshtml.

I tried it again by supplying .cshtml file name extension which should force it to look for partial views in the same folder as mentioned here.
It says it didn't even look at any locations 😳:

After spending hours upon hours on this, I removed the check altogether and just went like this:

Now the page loads, but the UI looks all messed up:

I thought the whole point of this was to make the layout look like the first picture.
Conclusion
I think the Identity documentation isn't organized properly and seriously lacking. To do something this simple, I've wasted days and still haven't been able to complete it.
If I can suggest something, how about Microsoft creates simple working code sample for all the Auth scenarios in the documentation? That way if the directions in the documentations don't work, we can take a look at the provided sample code.
Even though this has been mentioned a lot before, I still would like to reiterate it:
Please support Identity in Blazor without having to resort to these Razor Pages and all the added complexity.
Link to public reproduction project repository
https://github.com/affableashish/blazor-server-auth
Target framework

[x] .NET Core
[ ] .NET Framework
[ ] .NET Standard

dotnet --info output or About VS info
C:\Users\Ashish>dotnet --info
.NET SDK (reflecting any global.json):
 Version:   6.0.301
 Commit:    43f9b18481

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.19044
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\6.0.301\

Host (useful for support):
  Version: 6.0.6
  Commit:  7cca709db2

.NET SDKs installed:
  5.0.300 [C:\Program Files\dotnet\sdk]
  6.0.301 [C:\Program Files\dotnet\sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.All 2.1.28 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.30 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.App 2.1.28 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.30 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 3.1.15 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 3.1.26 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 5.0.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 5.0.17 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 6.0.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 2.1.28 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.30 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 3.1.15 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 3.1.26 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 5.0.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 5.0.17 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 6.0.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.WindowsDesktop.App 3.1.15 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 3.1.26 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 5.0.6 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 5.0.17 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 6.0.6 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

To install additional .NET runtimes or SDKs:
  https://aka.ms/dotnet-download

cc @danroth27


Improvements.

Fix some other special characters and correct an error that append with Longtusk Cub card.

Thanks for your help finding these special characters!  Is there a way you're looking for them other than just manual inspection?
Also, there seems to be a conflict with this branch, so I'm just going to make the changes manually since there aren't that many.


{@html} tag is broken during hydration so DONT USE IT! issue: https://github.com/sveltejs/svelte/issues/8213

Describe the bug
Dynamic icons (like menu etc...) dont update after hydration coz of {@html} tag.
Official svelte issue: https://github.com/sveltejs/svelte/issues/8213
so instead of this:
<svg>
  {@html svgpath}
</svg>

do something like this:
<svg>
  {#if variation == 'outlined'}
    <path d="M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z" />
  {:else if variation == 'filled'}
    <path d="M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z" />
    {...}
  {/if}
</svg>

Reproduction
examples in official issue...: https://github.com/sveltejs/svelte/issues/8213
Version and System Info
doesnt matter its coz of svelte.

Please try the latest (v1.0.4) and let me know

Yeah the original problem is solved by this, but your script failed in two-tone version of every svelte file:
{:else if variation === 'two-tone'}
    replace_svg_two <!-- No path tag!!! -->
{/if}

Please check it!

Thanks. Please check the latest. (v1.0.5)

Great, looks like all fine! Thank you!


In certain conditions midi instruments can crash the client

It appears that some combination of playing midi instruments, stopping and restarting playback, replaying songs, walking away from the instrument, playing 2 instruments at once and closing the midi window can cause a crash with a "System.ObjectDisposedException: Cannot access a disposed object." error.
I've caused the crash 5 times while trying to, however I've had no luck getting a reliable reproduction path, instead here's 2 videos that start with me logging on and end with the crash.
https://www.youtube.com/watch?v=YncB46_3ZKY
https://www.youtube.com/watch?v=nMFDJqxrnw4

Fixed since MIDI renderers are now disposed on the MIDI thread itself.


Remove document modification context

delete all the individual override event handlers if they don't change the parent signature
remove DocumentModificationContext and DocumentModificationOptions except from deprecated functions
for others, replace them with new DocumentXXOperation and DocumentOnXXOptions/DocumentPreXXOptions
Updated compendium-collection and document-collection.d.mts to match .js for v12 changes
Addresses parts of #2675 - including some updates to types.d.mts and the DocumentModificationContext stuff

Everything done at this point except tests


No module named 'neoteroi.markdown.tables'

Following the README, I've done pip install neoteroi-mkdocs, and then enabled both the mkdocsoad plugin, and the spantables extension. However, I'm getting:
ERROR    -  Config value: 'markdown_extensions'. Error: No module named 'neoteroi.markdown.tables'
Aborted with 1 Configuration Errors!

Is this required for generating the open API reference? Or is it entirely separate?

Hi @StarfallProjects,
Thank You for reporting this issue! It's a mistake I did in the setup.py file, I am fixing this immediately. Sorry for that.

This is now fixed, together with #7. Please try again with version 0.0.4 for the SpanTable extension.


Registration

@JuliaRegistrator register

Registration pull request created: JuliaRegistries/General/72998
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.0 -m "<description of version>" 507cdb97e746e9dbe38b11343330154753d7a3ef
git push origin v0.1.0


Allow custom debuggers from API

Moves DebuggerRunner setter to withDebuggerRunner
Modify withDebugger to accept Debugger implementations

I can't see anything wrong with these changes and I would give them a +1

Thanks.  :ok_hand:

for some reason the CI build is failing on Java 8 and 11 with this error while generating the javadocs

Yeah I kicked off a doc build locally and it worked.  Need to dig into it.  Will check out that other one too.
Looks like I need a test for the new method for codecov too.

We also should fix a javadoc warning:

[warn] /home/runner/work/daffodil/daffodil/daffodil-udf/src/main/java/org/apache/daffodil/udf/UserDefinedFunctionProvider.java:48:3: Could not find any member to link for "ReflectiveOperationException".

Looked at this some, not sure what is causing it but did exist prior to this PR.

Not sure what's going on with CI and Java 8 and 11.

Should be all good now.  Those earlier failures were doc related, from a comment referencing a type that should have been refactored but was not  due to the order in which I renamed/changed parameter type.  Intellij refactor got all the code points but missed the doc.


Context menus are getting wrongly clipped and constrained

Describe the bug
On win32 context menus behave in mysterious ways and get clipped wrongly or get constrained despite having plenty of space.
To Reproduce
Steps to reproduce the behavior:

Open ControlCatalog
Go to "ContextMenu" page
Move window so "Dynamically Generated" area is outside of the right screen edge
Be amused by a completely clipped window
Move window so "Dynamically Generated" area is outside of the bottom screen edge
Be even more amused by a constrained context menu that can't be used at all

Expected behavior
Context menus should be usable even around screen edges
Screenshots
Right

Bottom

Desktop (please complete the following information):

OS: Windows
Version: master

Additional context
Add any other context about the problem here.

@MarchingCube is it only overlay popups issue? Might be related to https://github.com/AvaloniaUI/Avalonia/issues/5628

Is control catalog using overlay popups by default?

@MarchingCube overlay popups disabled by default.
Ok, I can reproduce this problem.

For the second case taskbar should be automatically hidden. Depending on the place where user clicked right button, it could be weirdly cropped or not.

@kekekeks for popup-positioning on the cursor position, was it supposed to work in the past?
It seems to work fine for any other popup position modes.

IIRC Cursor positioning mode just sets a tiny anchor rect. It shouldn't break popup sizing and it worked fine when popup positioner was initially introduced.

Fixed in master.


✏Proposal: Allow extension of configurations

Hey there! I was recently thinking about a way to keep cra zero-config to begin with but also allow it to grow/override if/when needed (css-modules, typescript, lqip, etc etc)
My proposal would be to have a file at root level called react-scripts.config.js in which the template would look a bit like this:
module.exports = {
  devConfig: (config, webpack) => config,
  productionConfig: (config, webpack) => config,
  serverConfig: (config, webpack) => config,
}

In all of those cases they would take a function with the first argument being the opinionated config from cra and a second optional argument which would be the same webpack used for whatever script being used (for plugins or whatever)
So now the user can tweak that config or even make another one remembering that in the end he has to return a config object for webpack to consume.
Now on the scripts code we can run fs.existsFileSync to check for that file and then to check if the object has that prop which we care for depending on the case. Eg. on start script check for either devConfig or serverConfig
So now we can do something like:
  // react-scripts/scripts/start.js for example
  // defaultConfig would be the one living on `react-scripts/config/webpack.config.dev.js for example

  const userConfig = path.join(process.cwd(), ('react-scripts.config.js'))
  const hasCustomConfig = existsSync(userConfig) && require(userConfig).devConfig
  const config = hasCustomConfig
    ? require(userConfig).devConfig(defaultConfig, webpack)
    : defaultConfig
  // rest of normal code

This would make it still be zero-config, but extendable. That way users don't have to choose between no freedom or all the freedom, but rather get the right amount of freedom without losing on updates or forking the package.
Does this has potential? lmk and i could work on a PR to make this happen i don't think its a really big change on the codebase to achieve.
Cheers and thanks to everyone for this awesome package.
❤

@shelldandy have you checked react-app-rewired? It lets you modify your configurations without ejecting. I've been using it for a while and works fine.

Yeah I use that as well quite often (I'm using it right now), but then again wouldn't it be much better to have that "composability" from a first-party source?

Unfortunately react-app-rewired is not actively maintained :sob:
https://github.com/timarney/react-app-rewired/issues/162#issuecomment-417872507

Hi, why not getting inspired by Next.js success?

Because we're a completely different project (in terms of goals) than Next.js. 😄


⚠ Bofrost.at has degraded performance

In 10bc475, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1354 ms

Resolved: Bofrost.at performance has improved in 3bc8f2c after 20 minutes.


Compilation hangs if an error occurs

When the callback function gets called with an error int the tapAsync hook the compilation hags.

Should be fixed now by fd4afc3053cbcb8373d533ec74c997dd9be7eac1


Remove check for package json

Stumbled upon this strange issue here: https://codesandbox.io/s/qn1wVoor
Where the main of react-portal was not recognized. It now works if I remove this first check and change the other check.
I believe the other check is a small mistake, this will always return true if one of both doesn't exist. I believe it should return true if both does not exist.
I'm not sure what the first check is for, do you remember @christianalfoni?

Ah, yeah... actually this part of the codebase is to extract package.json files that are used for redirects... man, I should start commenting :-)
So the line you removed makes sure that no package.json related to the NPM package itself is used as "redirect logic".
Looking into react-portal now...

Hm, react-portal works fine in Webpackbin... there is nothing special about that project as I see it? Hm hm hm... sure there is nothing else going on here? :)

Bwah that's strange, I'll double check this evening.

That's strange, I still see the original error.
I see that the externals of the manifest don't contain react-portal:

Reproduced in WebpackBin: https://www.webpackbin.com/bins/-KkrKd53emU0LuCADd8M.


KeyError: 'loss' while trying out some examples

I was trying out for experiments from this  and this urls.
My transformer version is : 3.0.2
And I am getting error while trying to find the learning rate from the laerner :
`simulating training for different learning rates... this may take a few moments...
Train for 22326 steps
Epoch 1/2
0/22326 [..............................] - ETA: 0s

InvalidArgumentError                      Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/keras/engine/training_v2.py in on_batch(self, step, mode, size)
783       try:
--> 784         yield batch_logs
785       finally:
21 frames
InvalidArgumentError: 2 root error(s) found.
(0) Invalid argument:  logits and labels must be broadcastable: logits_size=[6,5] labels_size=[6,6]
[[node loss/output_1_loss/softmax_cross_entropy_with_logits (defined at /usr/local/lib/python3.6/dist-packages/ktrain/lroptimize/lrfinder.py:119) ]]
[[Reshape_415/_286]]
(1) Invalid argument:  logits and labels must be broadcastable: logits_size=[6,5] labels_size=[6,6]
[[node loss/output_1_loss/softmax_cross_entropy_with_logits (defined at /usr/local/lib/python3.6/dist-packages/ktrain/lroptimize/lrfinder.py:119) ]]
0 successful operations.
0 derived errors ignored. [Op:__inference_distributed_function_53893]
Function call stack:
distributed_function -> distributed_function
During handling of the above exception, another exception occurred:
KeyError                                  Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/ktrain/lroptimize/lrfinder.py in on_batch_end(self, batch, logs)
32
33         # Log the loss
---> 34         loss = logs['loss']
35         self.batch_num +=1
36         self.avg_loss = self.beta * self.avg_loss + (1-self.beta) *loss
KeyError: 'loss'`
Any guess what is the issue ?
It would be very grateful if you help me to solve it. Thank You.

it occured when the classes=[int_type, int_type, int_type].  Any way arround for it?

You provided URLs to two example notebooks.  Both of them have been verified to work on Google Colab, which suggests there something odd about your data.
It looks like there is a mismatch between the way the model is configured and the labels in your dataset.
Please provide more information on what your labels look like in your dataset.  What does y_train look like prior to supplying it to preprocess_train or texts_from_array?

My df.head()  looks like this:

and my df.info()  looks like this:

And my learner initialization  is as follows :
import ktrain
from ktrain import text
MODEL_NAME = 'distilbert-base-uncased'
t = text.Transformer(MODEL_NAME, maxlen=512,class_names=['1','2','3','4','5'])
trn = t.preprocess_train(TRAINING_X, TRAINING_Y)
val = t.preprocess_test(VALIDATION_X, VALIDATION_Y)
model = t.get_classifier()
learner = ktrain.get_learner(model, train_data=trn, val_data=val, batch_size=10)
My Training Code is :
learner.fit_onecycle(3e-5, 6)
Then after 1 epoch I am getting error :

Can you help me to resolve the issue?

The problem is that your labels must start with 0. So, if you have 5 labels, then the labels must be [0,1,2,3,4], instead of [1,2,3,4,5].
Assuming TRAINING_Y and VALIDATION_Y are NumPy arrays like [5,1,4,2,5], you should be able to simple do; TRAINING_Y = TRAINING_Y-1 to fix things, for example.
I will add a better error check for this situation in the next version of ktrain, so keeping this issue open.

Okay, but just one more concern :
My TRAINING_Y  is NumPy array of strings  like ['1']
Therefore, I have used class_names=['1','2','3','4','5']
So why do we need to convert it to [0,1,2,3,4] ?  I am bit confused here.

Are you sure that TRAINING_Y contains strings? Please check more closely.  The error isn't really possible when it contains strings.
The error you described can only occur when TRAINING_Y contains integers in which case the fix above works.  If TRAINING_Y contains strings, then everything works.  The example below replicates what you described (with 4 classes not 5) when Y contains integers in string format and, as you can see, everything works:
# load text data
categories = ['alt.atheism', 'soc.religion.christian','comp.graphics', 'sci.med']
from sklearn.datasets import fetch_20newsgroups
train_b = fetch_20newsgroups(subset='train', categories=categories, shuffle=True)
test_b = fetch_20newsgroups(subset='test',categories=categories, shuffle=True)
(x_train, y_train) = (train_b.data, train_b.target)
(x_test, y_test) = (test_b.data, test_b.target)

# transformations to replicate your dataset if `y_train` and `y_test` are strings
y_train = y_train+1
y_test = y_test+1
y_train = list(map(str, y_train))
y_test = list(map(str, y_test))

# build, train, and validate model (Transformer is wrapper around transformers library)
import ktrain
from ktrain import text
MODEL_NAME = 'distilbert-base-uncased'
t = text.Transformer(MODEL_NAME, maxlen=500, class_names=['1','2', '3', '4'])
trn = t.preprocess_train(x_train, y_train)
val = t.preprocess_test(x_test, y_test)
model = t.get_classifier()
learner = ktrain.get_learner(model, train_data=trn, val_data=val, batch_size=6)
learner.fit_onecycle(5e-5, 1)

The class_names parameter simply maps indices to string labels (e.g., 0->'negative', 1->'positive').  But, if  Y contains strings, then the labels are extracted from Y instead of class_names.
Also,if you're confused, I would recommend you look at STEP 1 of this tutorial, as everything is explained there.

Thanx a lot for your help, I am trying it again, and keep updated about this. Thanx Sir!

Hi, I have gone through the code and modified some changes.
But the problem is that, when I run the same code with smaller input size (Say, 50K rows from CSV), it works fine.
But when I am trying to load nearly 150K rows from CSV it gave an error after running the 1st epoch.
For more details, you can find my dataset here  and colab notebook here.
I have kept the error as it is so that you can see the logs.
Is it possible for you to go and check it there? Thanks.

Thanks for letting me know.  If you upgrade ktrain to v0.19.2, it will work.
A few other comments:

You can use the stratify argument to train_test_split to ensure the label distributions are consistent.  It seemed like validation set only contained two of the classes (1 and 2). so you should double-check this.
Since you are predicting numerical ratings, I would recommend treating this as a text regression problem instead of a classification problem.  Use integer values for labels but omit the class_names argument to treat as regression. Another user did this by transforming ratings from -2 to +2 instead of 1 through 5 for Yelp reviews. The pretrained model is available here.

I will close this issue for now, but feel free to reply (or open new issue) if you have further problems.


MM-T555 Notification Preferences do not save when modal is closed without saving

Summary
This test clicks on Account Settings -> Notifications -> Email Notifications -> Send Email Notifications -> Never without saving, closes the Account Settings Modal, reopens it, and verifies that the setting was not saved.
Test case: https://automation-test-cases.vercel.app/test/MM-T555

/update-branch


How do I build it?

The project has yet to start. I'm sorry. I'm not amazing like Poison_Metal. 🤣

lol. wow, there's a name i haven't heard in a lifetime. whatever happened to that fuqer? there was another kid that we knew, i forgot his nick but his name was mickey (michael) spears or something.

No clue. After BOA and his crew popped the IRC server, they all went on with their lives. It will take some effort to remember folks' handles from back then.

@arizvisa if you got $20k worth of bug bounties. pls, send them my way. i need cash for a telsa. thnx


Find My Mouse Activation Method

Description of the new feature / enhancement
It would be nice if there was a combination of the two existing activation methods, where you have to hold left control and shake the mouse. This would make it a lot harder to accidentally activate.
Scenario when this would be used?
Any time you have to double tap control or move the mouse rapidly, this would prevent unwanted activations.
Supporting information
I'm playing Powerwash Simulator and you double tap control and fling the mouse around a lot, so it was activating left and right. For some reason, the game mode exclusion wasn't working, so I had to exclude by exe.

/dup #16761


Suggestion: Using the shrink ray on enemies

I think the shrink ray should work on most enemies too, making dealing with them easier(dogs, thumper, giant, etc) or harder like for coilhead(pretty sure the size doesn't affect how it could kill you, making it smaller just makes it harder to spot)

It's a planned feature for the future, which we work towards. The code already detects if an enemy is hit and if which type it is, but we're currently working towards a 1.0 release, so the priorities are mainly on stability and reliability of features that "should" already work.
Once that's done, we'll work on shrinking items and enemies. Feel free to suggest any ideas you have here, or preferably in our discord forum post that's linked in the readme

Will be part of the full release in a few days.


Feature Request: Route mode in drill files does not render

Route mode (G00/G01) in drill files do not render as an actual slot/route, but instead appear as two individual drills at the start and end.
Not a high priority, just something I noticed

Finally getting around to implementing this via mcous/gerber-parser#6. @gadgetjunkie have you ever seen any of the arc routing (G02/3) used in drill files? I'm wondering how far I should go with this.

Hi Mike,
While I have only seen the linear routing (G01) in drill files so far, I would not be surprised to find one with arcs.   I have seen lots of odd shaped boards that would require arcs .
— Mike Williams
MacroFab, Inc.
From: Mike Cousins <notifications<EMAIL_ADDRESS>Reply-To: mcous/gerber-to-svg <reply<EMAIL_ADDRESS>Date: Monday, January 18, 2016 at 6:55 PM
To: mcous/gerber-to-svg <gerber-to-svg<EMAIL_ADDRESS>Cc: Mike Williams <mike<EMAIL_ADDRESS>Subject: Re: [gerber-to-svg] Feature Request: Route mode in drill files does not render (#24)
Finally getting around to implementing this via mcous/gerber-parser#6https://github.com/mcous/gerber-parser/issues/6. @gadgetjunkiehttps://github.com/gadgetjunkie have you ever seen any of the arc routing (G02/3) used in drill files? I'm wondering how far I should go with this.
—
Reply to this email directly or view it on GitHubhttps://github.com/mcous/gerber-to-svg/issues/24#issuecomment-172687190.

Drill routing (linear and arc) is supported in v1.0.0


feat: move notistack on picasso-shared from a dependency to peerDep

FX-3023
Description
We are moving notistack from picasso-shared dependencies to it's peerDeps
How to test

CI should be green

Development checks

[ ] Add changeset according to guidelines (if needed)
[x] Read CONTRIBUTING.md and Component API principles
[x] Make sure that additions and changes on design follow Toptal's BASE design, and it's been already discussed with designers at #-base-core
[x] Annotate all props in component with documentation
[x] Create examples for component
[x] Ensure that deployed demo has expected results and good examples
[x] Ensure the changed/created components have not caused accessibility issues. How to use accessibility plugin in storybook.
[x] Self reviewed
Covered with tests

Breaking change

codemod is created and showcased in the changeset
test alpha package of Picasso in StaffPortal

All development checks should be done and set checked to pass the
GitHub Bot: TODOLess action

PR commands

List of available commands:

@toptal-bot run all - Run whole pipeline
@toptal-bot run build - Check build
@toptal-bot run deploy:documentation - Deploy documentation
@toptal-bot run package:alpha-release - Release alpha version
@toptal-anvil ping reviewers - Ping FX team for review

PR Review Guidelines

When to approve? ✅
You are OK with merging this PR and

You have no extra requests.
You have optional requests.

Add nit: to your comment. (ex. nit: I'd rename this variable from makeCircle to getCircle)

When to request changes? ❌
You are not OK with merging this PR because

Something is broken after the changes.
Acceptance criteria is not reached.
Code is dirty.

When to comment (neither ✅ nor ❌)
You want your comments to be addressed before merging this PR in cases like:

There are leftovers like unnecessary logs, comments, etc.
You have an opinionated comment regarding the code that requires a discussion.
You have questions.

How to handle the comments?

An owner of a comment is the only one who can resolve it.
An owner of a comment must resolve it when it's addressed.
A PR owner must reply with ✅ when a comment is addressed.

Code looks good +1 do we need a changeset for this?

We do, I will add it


Missing info on libIntegrate requires sorted data

I played with the library and notice that missing info.

Thanks for the issue. I will add a note to the README.


Consider the version's previous ports as available

Without this, it's not possible to relocate just one port (eg. 8080/4380 -> 8080/443).

https://ocd.appscale.com:8080/job/Daily Build/4944/


[FIX-4104]fix sqoop task jdbc string contains special char

What is the purpose of the pull request
fix  #4104  sqoop import fail when jdbc string contains special char
Brief change log

modify sqoop mysql source and mysql target

Verify this pull request
(Please pick either of the following options)
This pull request is already covered by existing tests, such as SqoopTaskTests.

Codecov Report

Merging #4105 (4a7fef2) into dev (145314b) will decrease coverage by 0.05%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##                dev    #4105      +/-   ##
============================================
- Coverage     39.58%   39.52%   -0.06%
+ Complexity     2995     2990       -5
============================================
  Files           467      467
  Lines         22138    22138
  Branches       2714     2714
============================================
- Hits           8763     8750      -13
- Misses        12559    12577      +18
+ Partials        816      811       -5

Impacted Files
Coverage Δ
Complexity Δ

.../sqoop/generator/sources/MysqlSourceGenerator.java
57.69% <100.00%> (ø)
6.00 <0.00> (ø)

.../sqoop/generator/targets/MysqlTargetGenerator.java
71.42% <100.00%> (ø)
5.00 <0.00> (ø)

...he/dolphinscheduler/common/enums/SqoopJobType.java
0.00% <0.00%> (-88.89%)
0.00% <0.00%> (-3.00%)

...inscheduler/service/zk/CuratorZookeeperClient.java
56.09% <0.00%> (-9.76%)
6.00% <0.00%> (-2.00%)

...inscheduler/common/task/sqoop/SqoopParameters.java
74.00% <0.00%> (-2.00%)
25.00% <0.00%> (ø%)

Continue to review full report at Codecov.

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


[WIP] UI Test

UI Test
automated UI test with selenium
By Franziska Hutter and Aretina Iazzolino

This PR is maintained at https://github.com/eclipse/winery/pull/153, so I close this here.


POC checkbox stories for indeterminate to selected bug

Exploration to reproduce #1834 outside of Table.
✅ Pull Request Checklist:

[ ] Included link to corresponding React Spectrum GitHub Issue.
[ ] Added/updated unit tests and storybook for this change (for new code or code which already has tests).
[ ] Filled out test instructions.
[ ] Updated documentation (if it already exists for this component).
[ ] Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:
Three new stories:

isemphasized-true-isselected-true-isindeterminate-toggle - Changing state from indeterminate to selected - works
toggle-isindeterminate-isselected-true-isemphasized-true - Using toggle buttons to change indeterminate and selected state - works
master-selection-checkbox - simplistic replication of the select all checkbox which gets its state changed and reflected in children checkboxes and toggle buttons (which represent clicking on a row) - Clicking on the checkboxes and labels work, using the toggle buttons see the bug.

Do not see the issue in the table example in https://react-spectrum.adobe.com/react-aria/useTable.html
🧢 Your Project:
RSP

created a codesandbox


colorscheme lost  while use with import type... keyword in typescript

just use import ...

but  while using  import type ...

all colors become the same after the keyword type

This is a Vim syntax issue.
What Vim version are you using? Are you using a specific syntax plugin for TypeScript?

NVIM v0.10.0
I only used Tree-Sitter for TypeScript and did not use any other special extra plugins.

Quite strange, this issue still exists even if I remove the whole configuration ~/.config/neovim
mv ~/.config/nvim ~/.config/nvim.bak

I'm not surprised that you are seeing the same result without plugin.
Based on your screenshot, you are not using Tree-sitter for TypeScript files, but instead the native Vim syntax mechanism (it says "Syntax" instead of "Treesitter" on the first line). The built-in Vim syntax for TypeScript is probably outdated and/or inaccurate.
You can install the Tree-sitter syntax with:
:TSInstall typescript

I'm closing the issue because it isn't related to Everforest specifically, but feel free to continue the conversation in case you need more information about enabling Tree-sitter highlighting.

Thank you for your patient answer!


Number of actions and conditions - clarity needed.

Under Incidents limits (https://docs.microsoft.com/en-us/azure/sentinel/sentinel-service-limits#incident-limits) - it is not clear what is meant by Number of actions and Number of conditions. It should be stated that it is for Automation rules, or if it is for something else.

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

ID: fc50e485-e943-d5dd-180f-68ddd8326811
Version Independent ID: 856810e4-c13f-97f8-6d19-33c58041a871
Content: Microsoft Sentinel service limits
Content Source: articles/sentinel/sentinel-service-limits.md
Service: microsoft-sentinel
Sub-service: microsoft-sentinel
GitHub Login: @yelevin
Microsoft Alias: yelevin

@austinmccollum

@BenjiSec I am pretty sure the actions and conditions refer to the Sentinel Playbook triggered by an incident. I'm doing a bit more digging to confirm and I'll reply here when I get the answer.
https://docs.microsoft.com/en-us/azure/sentinel/automate-responses-with-playbooks#azure-logic-apps-basic-concepts

Hi @austinmccollum  - I still believe it is Automation rules since it's in numbers that we know. Logic App can handle more than 20 actions - https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-limits-and-config?tabs=azure-portal
Tagging @lior-tamir - Feature PM for Sentinel Automation.

It's most likely Automation rules. Let's ask PM @lior-tamir. Lior?

you're right @BenjiSec and @yelevin! I confirmed it's automation rules.

I updated the article to clarify the conditions and actions are for automation rules.

#please-close


view(rpc): add DelegationsByAddressIndex query

Describe your changes
Right now, the StakingService has a method, validatorInfo, that returns a series of ValidatorInfos.
As of https://github.com/penumbra-zone/web/pull/604, we've refactored the minifront staking page to treat validators as tokens that an address may have a balance of. To achieve that, we're fetching validator infos, then generating ValueViews from those validators that include the address's balance of those tokens.
This logic should be moved into a new RPC method on the ViewService called DelegationsByAddressIndex, since it's a common enough use case that clients shouldn't all have to do it themselves.
Relevant changes are to view.proto and ViewService; the rest is just codegen changes.
Issue ticket number and link
Closes https://github.com/penumbra-zone/web/issues/612
Checklist before requesting a review

[x] (n/a) If this code contains consensus-breaking changes, I have added the "consensus-breaking" label.

@erwanor I'd accidentally left this as a draft PR — that's prob why! :D


Grav 1.7.42 crashes in Grav\Common\Utils isDangerousFunction - strtolower

The following Twig expression leads to a crash in Utils.isDangerousFunction
 {% set first_image = p.media.images|filter(i => not(i.filename starts with '___'))|first %}

Grav 1.7.42
As a workaround I was able to install <IP_ADDRESS> via direct installation.

quick fix would be to wrap that higlighted line in a check:
if (is_string($name)) {
    $name = strtolower($name);
}


Big Divergence for Poland

Can you explain the divergence? Can it be fixed?

Hi, Poland is not the only country for which fitting is complicated. It's either because there's not enough points yet, or that the initial guess needs to be tweaked a little. You could try to tweak the x_n parameter as well

By tweaking the initial guess a little, I managed to get this fit.
Be aware though, that we don't have enough points yet in order to be accurate.

Hi, thank you for explanation.
What value did you take for x_n in above diagrams?
Can you explain default value x_n = 1e5 =100000. (comment says: initial healthy population - but why so small?)
Thanks in advance and good luck!

Ah yes, this is arbitrary really. Thing is most of these curves are  unfittable with the actual number of inhabitants for x_n. This means that we'll be able to fit the curve, and have an idea of when will the epidemic be over, but the contamination rate K_c will be physically meaningless.
If you have a better idea for improving this model I'm all ears 😃