Roll Engine from 564367b29781 to 9a6f09daf769 (21 revisions)

https://github.com/flutter/engine/compare/564367b29781...9a6f09daf769
2020-09-10<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from 9kiAbu3bd... to l8baHga4c... (flutter/engine#21071)
2020-09-10<EMAIL_ADDRESS>Roll Dart SDK from 66ca43504da0 to 72393cc698da (1 revision) (flutter/engine#21070)
2020-09-10<EMAIL_ADDRESS>Roll Skia from 917a2d741e92 to 3d41d509a6a9 (2 revisions) (flutter/engine#21067)
2020-09-10<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from K1oZWWtBn... to 5o9onBKYd... (flutter/engine#21066)
2020-09-10<EMAIL_ADDRESS>Roll Skia from 5eea6aea02d9 to 917a2d741e92 (1 revision) (flutter/engine#21065)
2020-09-10<EMAIL_ADDRESS>Roll Dart SDK from 325d9b628caa to 66ca43504da0 (1 revision) (flutter/engine#21064)
2020-09-10<EMAIL_ADDRESS>Annotate valuePublishedByPlugin with nullable (flutter/engine#19267)
2020-09-10<EMAIL_ADDRESS>Roll Dart SDK from 5e8b31a5fa48 to 325d9b628caa (1 revision) (flutter/engine#21063)
2020-09-10<EMAIL_ADDRESS>fuchsia: Compile disabled RasterThreadMerger code (flutter/engine#20984)
2020-09-10<EMAIL_ADDRESS>Adds increment/decrement actions to fuchsia accessibility bridge. (flutter/engine#21049)
2020-09-10<EMAIL_ADDRESS>Delete unused iOS test scripts after LUCI change (flutter/engine#18712)
2020-09-10<EMAIL_ADDRESS>Remove the type parameter from SkObjectFinalizationRegistry. (flutter/engine#21061)
2020-09-10<EMAIL_ADDRESS>Rename Registrar to PluginRegistrar in Win/GLFW C API (flutter/engine#21058)
2020-09-10<EMAIL_ADDRESS>Clarify that run.sh builds and runs the GLFW example
2020-09-10<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from eBus_y4DN... to 9kiAbu3bd... (flutter/engine#21056)
2020-09-09<EMAIL_ADDRESS>Update Androidx import (flutter/engine#19059)
2020-09-09<EMAIL_ADDRESS>Roll Skia from 215d2b0fa42d to 5eea6aea02d9 (11 revisions) (flutter/engine#21055)
2020-09-09<EMAIL_ADDRESS>Fixed ios layout change to not refocus semantics object if the focus … (flutter/engine#21029)
2020-09-09<EMAIL_ADDRESS>Fix usage of WeakPtr valid check (flutter/engine#20106)
2020-09-09<EMAIL_ADDRESS>Open a fresh dir during LoadSkSLs (flutter/engine#21050)
2020-09-09<EMAIL_ADDRESS>Roll Dart SDK from 2e838b7b4503 to 5e8b31a5fa48 (2 revisions) (flutter/engine#21054)
Also rolling transitive DEPS:
fuchsia/sdk/core/linux-amd64 from eBus_y4DNETQ to l8baHga4cRuF
fuchsia/sdk/core/mac-amd64 from K1oZWWtBnXpL to 5o9onBKYdvvP
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Commit queue failed; closing this roll.

Commit queue failed; closing this roll.


Correct file name for signing key

The file name microsoft.asc.gpg should not have prefix .asc because the file is binary.

Docs Build status updates of commit 13f6951:
:clock10: Full build: the average full build time is 7 min(s) 21 sec(s), this is based on the last 536 build(s) for this repository.

Docs Build status updates of commit 13f6951:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/install-azure-cli-apt.md
:white_check_mark:Succeeded
View (azure-cli-latest) View (azure-cli-2017-03-09-profile) View (azure-cli-2018-03-01-hybrid)

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

@fengzhou-msft , could you please review and approve this document change?  Thank you.

Thanks for submitting this PR, will check the impact and we may need to update the script as well.


Fix timezone for non-EST users

Was hitting problems running the script in the UK (didn't like the hardcoded (-04:00) timezone in the strptime), switched to dateutils which has decent timezone handling (surprised the standard libs lack decent support..) and it's working nicely.
Thanks for sharing the project, it's a great idea.

John, Thanks for the update. I knew I was being lazy with that -4, but I was just learning Python (this is my first app) and I struggled to find complete information about how to do what you did. I'm glad you like the project.

You're welcome, was surprised at how complicated it turned out to be to do something so simple. I understand the datetime lib in python 3.2+ is a lot better and handles this sort of stuff out of the box.


feat: fileListUnzip method

closes: https://github.com/cheminfo/filelist-from/issues/12

You forgot to export the function (add in in index.ts)

You forgot to export the function (add in in index.ts)

@jobo322 You didn't fix this. I will do it.


Doc suggestions

This PR contains the following changed to the RTD:

docs/index.rst: reformulation and spelling
docs/intro.rst: spelling

Furthermore, I was thinking about the following
**Getting Started**
- Installation
- Motivation  (place this above Installation)
- License

**Documentation**
- Data sources
- Git as data source  (make this part of 'Data sources')
- API Documentation

(Should we give another bullet point to the preprocessing scripts for analysis and visualisation?)

**Community**
- Contribution (add this, to info on communication channels, code formatting, etc.)
- Data Access
- Release notes

Merging this and moving your unimplemented ideas to an issue

#499


Inquiry on code and dataset release

Dear team,
First of all, congratulations and thank you for your fantastic work! I am curious if you have plans to release your code and dataset through this repository.
Cheers,
Hayley Son

We will upload it soon. Thanks for your patience!

Hello @hayleyson,
We have updated the data. Please let us know if you need more details on it.


orisa complete ow1 fusion cannon (example)

Created by: Wadetata
hi there! I have made an example of the ow1 fusion cannon, yes i know you got the ammo right, but thats only the ammo! the following video shows what the example has to offer, this is the code: Y4FXW, you can edit it if anything isnt good (known problem: the ammo is 100 instead of 150)
https://github.com/MaxwellJung/ow1_emulator/assets/107174676/adeb1cbc-c9a4-4f06-905a-eb47042e8579

mentioned in merge request ow1_emulator_backup!394

Created by: MaxwellJung
I really like ammo stopping. I'll def take a look and credit you on the PR.

moved from ow1_emulator_backup#540


Update documentation to use objstore.config-file

Changes
Updated documentation and example script to use --objstore.config-file
Update S3 signature, reporting that AWS now require signature-version2: false
Cleanup some whitespace in the end of line
Verification
Documentation mostly
the script, i did check with https://www.shellcheck.net/

Bit duplicate of https://github.com/improbable-eng/thanos/pull/645 ):

We can review each other PRs I guess and merge them somehow? :>

@bwplotka  well, i didn't check the pull-request list, so it's my fault! :smile:
you have made more changes, so merge your PR first and i will merge then back in my copy and update my PR for the other remaining changes.
Already checked  and approved your PR

Thanks! Merged. Let's see what I miss, once you rebase (:


Add tests for squashWhitespace utility

Add a file workspaces/util/src/__tests__/squashWhitespace-test.ts, for testing the squashWhitespace utility.
To see some PRs that add tests, take a look at #288 and #290 for inspiration.

Can you assign this to me ?

Sure, thank you for working on it! 😄


Correcting typo.  The NotFound route needs to be the last route in th…

…e Switch block, not the route block.

Thank you!


Fix elements 1600 position of the hyperlink tooltip in the html editor

https://jira.nuxeo.com/browse/ELEMENTS-1600

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Operator Softplus is not supported by the standard TensorFlow Lite runtime

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): a GNU/Linux system with Linux kernel 4.15.0 on 1 6-core 3.60GHz Intel Core CPU i7-6850K with 64 GB RAM equipped with a NVIDIA Corporation GP102 GPUs
TensorFlow installed from (source or binary): source
TensorFlow version (use command below): tensorflow2.1.0-GPU
Python version: 3.6

Describe the current behavior
When I converted the trained hdf5 model to tflite, the following operator non-support occurred ：Softplus
Describe the expected behavior
The hdf5 model should be successfully converted to the format of tflite.
Standalone code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate
the problem. If possible, please share a link to Colab/Jupyter/any notebook.
batch_size = 122
epochs = 148
num_classes = 10
import os
save_dir = 'model'
model_name = 'trained_model.h5'
import keras as keras
(x_train, y_train), (x_test, y_test) = keras.datasets.fashion_mnist.load_data()
img_rows, img_cols = x_train.shape[1], x_train.shape[2]

x_train = x_train.reshape(x_train.shape[0], img_rows, img_cols, 1)
x_test = x_test.reshape(x_test.shape[0], img_rows, img_cols, 1)
input_shape = (img_rows, img_cols, 1)
x_train = x_train.astype('float32')
x_test = x_test.astype('float32')
x_train /= 255
x_test /= 255
y_train = keras.utils.to_categorical(y_train, num_classes)
y_test = keras.utils.to_categorical(y_test, num_classes)

import keras as keras
model = keras.models.Sequential()
model.add(keras.layers.ThresholdedReLU(theta=0.3597445834106594))
model.add(keras.layers.MaxPooling2D(pool_size = (1, 1), strides = (1, 1), padding = 'valid'))

model.add(keras.layers.Flatten())
model.add(keras.layers.Dense(num_classes, activation='softplus'))
model.compile(loss=keras.losses.categorical_crossentropy,optimizer=keras.optimizers.Adadelta(), metrics=['accuracy'])
model.fit(x_train, y_train, batch_size=batch_size, epochs=epochs, verbose=1, validation_data=(x_test, y_test))

model_path = os.path.join(save_dir, model_name)
model.save(model_path)

Other info / logs Include any logs or source code that would be helpful to
diagnose the problem. If including tracebacks, please include the full
traceback. Large logs and files should be attached.
Exception: We are continually in the process of adding support to TensorFlow Lite for more ops. It would be helpful if you could inform us of how this conversion went by opening a github issue at https://github.com/tensorflow/tensorflow/issues/new?template=40-tflite-op-request.md
 and pasting the following:

Some of the operators in the model are not supported by the standard TensorFlow Lite runtime. If those are native TensorFlow operators, you might be able to use the extended runtime by passing --enable_select_tf_ops, or by setting target_ops=TFLITE_BUILTINS,SELECT_TF_OPS when calling tf.lite.TFLiteConverter(). Otherwise, if you have a custom implementation for them you can disable this error with --allow_custom_ops, or by setting allow_custom_ops=True when calling tf.lite.TFLiteConverter(). Here is a list of builtin operators you are using: CAST, FULLY_CONNECTED, GREATER, MAX_POOL_2D, MUL. Here is a list of operators for which you will need custom implementations: Softplus.

duplicate issue of https://github.com/tensorflow/tensorflow/issues/46626

duplicate issue of https://github.com/tensorflow/tensorflow/issues/46626


Add theme tomfran/typo

After you have read the instructions for adding a theme, please make sure:

[x] your theme.toml [is complete (https://github.com/gohugoio/hugoThemesSiteBuilder/blob/main/README.md#theme-configuration)

[x] name
[x] license
[x] licenselink
[x] description
[x] homepage
[x] demosite (if one exists)
[x] tags
[x] features
[x] authors/author (depending on whether the theme has multiple or a single author)
[x] original (if the theme is a fork)

[x] you're using absolute paths for images in your README
[x] you've got appropriate thumbnail and screenshot images
[x] your theme comes with an appropriate license

I made an error regarding paths, they are off in the Deploy Preview but I already fixed them in the main branch of the theme.


Filter out 'removed' mounts on container details

It seems we already do this?  https://github.com/rancher/ui/commit/500a33ffa3002a997fa8ac6165a887288fb50793

Steps to reproduce original problem:

Create a volume
Create two container that each use the volume
Delete one of the containers
In the other container's details page, the deleted container is still listed as sharing the volume

Version - master 7/8
Verified fixed


How to map Tuples to Entities?

My use case:
I have two models:Person and Cat. I have an intermediate class PersonWithCat:
data class(val person: Person, val cat: Cat?)

I'm using a leftJoin to query them from database, but what I can get is either a Person or a Tuple, so how can we map Tuples to entity classes?

I'd like to have a solution for this as well.


Location access pop-up

Description
The firefox pop-up asking "allow rapideditor.org to access your location?" that is triggered when you click the "show my location" button will not go away. The only wasy to get rid of it is to refresh the page, and it will re appear if you try to show your location again. Disabling my UBlock Origin plugin did not resolve the issue.
Screenshots

https://github.com/user-attachments/assets/33fcc5b4-6401-4e7c-9543-1714bc517cf5
Version
2.4.0-pre.0
What browser are you seeing the problem on? What version are you running?
Firefox v130.0
The OS you're using
mac
Steps to reproduce

Log into Rapid
Select "show my location" button in the right hand tool bar
When the firefox pop-up box appears in the top left corner of the screen asking "allow rapideditor.org to access your location?", select allow
if MacOS generates a dialog box asking if you want to allow the firefox app to access your location, select allow.
the pop-up box from step 3 will reappear.
every time you click allow, it will reappear a few seconds later.

The browser URL at the time you encountered the bug
https://rapideditor.org/canary#map=20.00/39.06760/-108.55991&background=Bing&datasets=fbRoads,msBuildings&disable_features=boundaries&id=n5089345141
The auto-detected useragent string for your browser (leave blank if you're manually filling this form out)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:130.0) Gecko/20100101 Firefox/130.0

Thanks, it does look like we could use the Geolocation API better, we can register a listener that will report the user's location as it moves around, rather than us just asking for the current position every few seconds.


Could not resolve @ng-toolkit/universal relative to app.module.ts..

I'm submitting a...

[x] Bug report
[ ] Feature request
[ ] Documentation issue or request

In package

[ ] @ng-toolkit/init
[ ] @ng-toolkit/serverless
[x] @ng-toolkit/universal
[ ] @ng-toolkit/pwa
[ ] @ng-toolkit/firebug

Current behavior
running ng add @ng-toolkit/universal will only create utils and serverless folders inside node_modules/@ng-toolkit on an existing project.
Expected behavior

running  ng add @ng-toolkit/universal should install all dependencies required in app.module.ts
Minimal reproduction of the problem with instructions

run ng add @ng-toolkit/universal on an existing angular 6 project
run npm run build:prod
This error will pop up:

ERROR in app/app.module.ts(121,1): Error during template compile of 'AppModule'
  Could not resolve @ng-toolkit/universal relative to /project/path/src/app/app.module.ts..
src/app/pages/post/post.component.ts(1,24): error TS2307: Cannot find module '@ng-toolkit/universal'.
src/app/layouts/header-nav/header-nav.component.ts(1,24): error TS2307: Cannot find module '@ng-toolkit/universal'.
src/app/layouts/slider-home/slider-home.component.ts(1,24): error TS2307: Cannot find module '@ng-toolkit/universal'.
src/app/layouts/header-nav-post/header-nav-post.component.ts(1,24): error TS2307: Cannot find module '@ng-toolkit/universal'.
src/app/directives/scrollable.directive.ts(1,24): error TS2307: Cannot find module '@ng-toolkit/universal'.
src/app/app.module.ts(1,36): error TS2307: Cannot find module '@ng-toolkit/universal'.

Example repository
I cannot provide this because company privacy policies, but i will send individual resources as requested
What is the motivation / use case for changing the behavior?
The simpliest workaround is to manually installing it with npm install --save @ng-toolkit/universal, but i think you should know this is happening.
Environment

Angular CLI: 6.2.3
Node: 8.11.3
OS: linux x64
Angular: 6.1.9
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, platform-server, router

Others:

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.7.5
@angular-devkit/build-angular     0.7.5
@angular-devkit/build-optimizer   0.7.5
@angular-devkit/build-webpack     0.7.5

@angular-devkit/core              0.7.5
@angular-devkit/schematics        0.8.3
@angular/cdk                      6.4.7
@angular/cdk-experimental         6.2.0
@angular/cli                      6.2.3
@angular/fire                     5.0.2
@angular/material                 6.4.7
@ngtools/webpack                  6.1.5
@schematics/angular               0.8.3
@schematics/update                0.8.3
rxjs                              6.3.3
typescript                        2.9.2
webpack                           4.9.2

i am getting the same issue, any leads will be helpful.

Yes.. we need a resolution quick

anyone got solution?

I started receiving this error after updating from 8.0.1 => 8.0.2
Is there some breaking change in the 8.0.2 version that would cause this?

the same here/ Any ideas?
Angular CLI: 8.3.17
Node: 10.15.3
OS: win32 x64
Angular: 8.2.13
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... platform-server, router

Package                                    Version
--------------------------------------------------------------------
@angular-devkit/architect                  0.803.17
@angular-devkit/build-angular              0.803.17
@angular-devkit/build-optimizer            0.803.17
@angular-devkit/build-webpack              0.803.17
@angular-devkit/core                       8.3.17
@angular-devkit/schematics                 8.3.17
@angular/cdk                               8.2.3
@angular/cli                               8.3.17
@angular/material                          8.2.3
@ngtools/webpack                           8.3.17
@nguniversal/common                        8.1.0
@nguniversal/express-engine                8.1.1
@nguniversal/module-map-ngfactory-loader   8.1.1
@schematics/angular                        8.3.17
@schematics/update                         0.803.17
rxjs                                       6.4.0
typescript                                 3.5.3
webpack                                    4.39.2

the same here/ Any ideas? Used only @ng-toolkit/universal
ERROR in src/app/app.module.ts(23,5): Error during te Could not resolve @ng-toolkit/universal relative to src/app/app.module.ts(23,5):
Angular CLI: 8.3.17
Node: 10.15.3
OS: win32 x64
Angular: 8.2.13
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... platform-server, router

Package                                    Version
--------------------------------------------------------------------
@angular-devkit/architect                  0.803.17
@angular-devkit/build-angular              0.803.17
@angular-devkit/build-optimizer            0.803.17
@angular-devkit/build-webpack              0.803.17
@angular-devkit/core                       8.3.17
@angular-devkit/schematics                 8.3.17
@angular/cdk                               8.2.3
@angular/cli                               8.3.17
@angular/material                          8.2.3
@ngtools/webpack                           8.3.17
@nguniversal/common                        8.1.0
@nguniversal/express-engine                8.1.1
@nguniversal/module-map-ngfactory-loader   8.1.1
@schematics/angular                        8.3.17
@schematics/update                         0.803.17
rxjs                                       6.4.0
typescript                                 3.5.3
webpack                                    4.39.2

Same here

Same here, any one has a solution. it worked fine 1 week ago, After updating. am getting error.

I just rolled back to 8.0.1 and everything is fine. Can’t imagine there are too many changes in 8.0.2, so if you need a working environment, just roll back to 8.0.1 until the issue is resolved.

I just rolled back to 8.0.1 and everything is fine. Can’t imagine there are too many changes in 8.0.2, so if you need a working environment, just roll back to 8.0.1 until the issue is resolved.

To be fair, there weren't changes on the 8.0.2 version as you can check #709. The version was more like a deployment fix but for some reason, you guys are getting those errors.
I am checking it right now in a fresh test project to check out what's going on.

UPDATE After making an quick check, looks like the module isn't properly resolved as I had to use /dist on the import statement as seen below;

@maciejtreder Any ideas what would be causing this behaviour?

UPDATE After making an quick check, looks like the module isn't properly resolved as I had to use /dist on the import statement as seen below;

@maciejtreder Any ideas what would be causing this behaviour?

I had tried with dist folder but it gives error while compiling, not in IDE

@psenechal @sudhir7890 @SwapnilSoni1999 A new version has been released, this should fix the build issue once for all 🙏

Awesome :tada:


pixels manipulated individually?

I think the "usually" was about games like Faceball and Qix and the Game Boy Camera accessory, which treat VRAM as a pseudo-APA plane.


Enable the new model serialization for hybirdaks

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

API change check
API changes are not detected in this pull request.


set ENABLE_MAX_NUM_REORDER_FRAMES_OUTPUT=true by default on Android O…

… and on
Enable feature with output decoded frames without latency regarding
SPS.VUI.max_num_reorder_frames on Android started from O
Signed-off-by: Ruan, Hongfu<EMAIL_ADDRESS>

Rebase, please, to fetch updates and satisfy clang CI build check.

submitted another PR with rebase & modification on the patch.


Conditional type only works if I inline it

Flow version: 0.222.0
I couldn't figure out why Flow is giving an error and inferring number here. (Sorry for the all the code; I tried to minimize it as much as I could. The intent of the set function is in the comment at the bottom: supposed to be equivalent to d[0].year = 1988).
At first I thought I made a typo somewhere, but after a couple hours playing with the code (:cry:), I found out the error goes away if I inline some of the conditional types.
In case it's not clear, I only changed the following in the type parameters of the set function overloads:
-K2: KeyType2<T, K1>
+K2: PropType<T, K1> extends $ReadOnlyArray<mixed> ? number : PropType<T, K1> extends {...} ? $Keys<PropType<T, K1>

which essentially expands the KeyType2 definition in-place.
I was hoping for a way to do all of this without overloads to begin with, but alas, my best attempt did not work.

I don't have to expand it within the set type parameters; it also works if expand it in the KeyType2 definition:
-type KeyType2<+T, +K1> = KeyType<PropType<T, K1>>;
+type KeyType2<+T, +K1> = PropType<T, K1> extends $ReadOnlyArray<mixed> ? number : PropType<T, K1> extends {...} ? $Keys<PropType<T, K1>> : empty;

The behavior seems expected to me. number is coming from KeyType<DatePeriods>. Conditional type is order sensitive. If you switch the order of two conditions in KeyType, it would work

@SamChou19815 Thanks for the pointer, but not sure I follow: in the expanded version the order of the conditions is the same, isn't it?
The error message suggests that K2: KeyType2<T, K1> should be number, but K1 is KeyType<DatePeriods>, which is also number. Indeed this works fine:
('year': KeyType2<DatePeriods, KeyType<DatePeriods>>);

@SamChou19815 Thanks for the fix!


SSL Error while trying to cut from cloud

I managed to flash a custom formware on s Smart Connect Moodlight 970743 sucessfully. Now I tried a second one - without success. Everything works fine, even the cloudcutterflash AP appears. But after
Aug  4 13:34:24 dnsmasq[15]: query[A] h3.iot-dns.com from <IP_ADDRESS>
Aug  4 13:34:24 dnsmasq[15]: config h3.iot-dns.com is <IP_ADDRESS>

the following message appears several times:
Using PSK v1 - Received PSK ID version 02
[W 220804 13:18:21 iostream:1406] SSL Error on 12 ('<IP_ADDRESS>', 50857): [SSL: DECRYPTION_FAILED_OR_BAD_RECORD_MAC] decryption failed or bad record mac (_ssl.c:1129)]

After that the LED is glowing static, and nothing more happenes.
Any idea how I could proceed? Maybe too young firmware? Any chance to get back to an older one?

Same issue here.Gave up on this and using tuya-local integration with Homeassistant .
Also disabled internet access and DNS queries for these devices ,so they are running completely local with Homeassistant + Tuya-local integration .

@beaune33 had another try and this time i used FLSNT BR30 WB2L profile....and it worked just fine,no more SSL errors,

@pretoriano80: I gave it a try, but unfortunately no success, same SSL error. Did you really manage to flash  Smart Connect Moodlight 970743 by using FLSNT BR30 WB2L profile? Why did you choose this special profile?

Mine is a different brand (https://www.ngs.eu/en/smart-home/lighting/gleam-1027c/SMARTHOME/SMT-ILLU-0015/ ) and it has WB2L module (BK7231T).
However ,i was getting the same errors while trying different profiles ,then i saw a discussion about FLSNT BR30 and decided to try that profile too (and it worked ).
But the quest it's still not over for me  because i flashed OpenBeken firmware which does not work good with this device -> https://github.com/openshwprojects/OpenBK7231T_App/issues/150

@beaune33 were you able to flash your device? I also tried the FLSNT without success.
I`m facing the same issue with a Moes Wall Switch that has WB2L module (BK7231T). For what I looked into the code, the psk variable is not fulfilled.

@brunohoff Unfortunately not, but I did not really expect either. The FLSNT contains another module than the LSC Moodlight. I also tried some other profles, but without no success.
In general I wonder, if it still makes sense to follow cloud cutter project. Are there still devices on the market, where I could use it? Or does it only work for old devices? I hoped that it could work for my second device, which I bought in august, because the test_device_exploitable.py succeeded. But as you know I got the SSL error. My first device which I bought last year worked fine, but that's old stuff. Probably I will have to open and flash by wire, as activities in this project seem to starve, sadly

@beaune33, for me, is the exact opposite. I have newer devices with WB3L that I was able to flash with the tuya-cloudcutter method and there is this MOES Wall Switch with the old WB2L chip that I coulnd flash. I already tried at least 10 different profiles reading other issues with no success.

@brunohoff I would appreciate it very much if cloud cutter would help also for newer devices, as it works in your case. Unfortunately I dont see how I could help. Maybe https://github.com/tuya-cloudcutter/tuya-cloudcutter/issues/140 does, as it looks very similar.

@beaune33, thanks, seems like a good idea on the surface. Do you know if there is a way to obtain these keys without opening the devices, soldering and reading the original firmware?
I mean, because this is an exploit that can run code on the device, maybe it`s possible to build an algorithm that obtains the keys on those different devices.

@brunohoff Unfortunately I have no idea how to obtain the keys, so I hope there is somebody else who could give us a clue. By the way, there is a new issue regarding SSL, which also seems to be the same problem: https://github.com/tuya-cloudcutter/tuya-cloudcutter/issues/141

The SSL keys are supposed to be generated & replaced by cloudcutter. There isn't a "list of keys" for a module/device - there's only a "profile" which is basically guiding Cloudcutter how to replace the keys.
SSL errors mean just that Cloudcutter failed to replace the keys - which is caused by a wrong profile being used.

@kuba2k2 Thanks for explaining what the SSL error means. In this case it means, that obviously there are two different versions of the LSC Moodlight in the market: the old one, we have a working profile for, and a new one which obviously is not supported now. So what is your proposal how to proceed? Is there anything I could try? Is it possible to manually modify the existing profile? What exactly needs to be discovered to create a new profile? Can this be done without opening the device? Thanks for your help!

To create a profile for a device we need a firmware dump. Currently there's no possibility to do it any other way. Additionally, if a device ever gets a software update from the vendor, it will very likely need a new profile.
Manually modifying profiles is not an option - there are two numbers (called offsets) that point to code functions in the firmware. Without a firmware dump, guessing these numbers is not possible at all.

An update has been pushed that should include a profile for this device.  Please update your repo and give it a try.  Please see the instructions page ( https://github.com/tuya-cloudcutter/tuya-cloudcutter/blob/main/INSTRUCTIONS.md ) for any command or input changes.
If the new profile does not work, please re-open this ticket with details (including logs) of the failure.
Any feedback is appreciated.


copy and pasting

Great tools, thanks for developing this, i have a few issue working with it tho

copy and pasting hex code for color does not apply
copy and pasting element reset some attribute, ie show boarder
would be great if there's a method for loading files so i can create a custom shelf that will load everything up

appreciate the work

Hi Sidchou,

I will take a look.
Can be a bit more precise and explain how to reproduce this ?
This is already possible with latest commit (not documented yet by the way)
dwpicker.show(editable=True, pickers=["file_name1", "file_name2" ...], ignore_scene_pickers=True):
editable = allow animator to edit the picker (only affect the scene)
pickers = path to json files
ignore_scene_pickers = doesn't load the picker self contained in the scene and flush the tabs.

to #2 i was using the advance editor, as is #1, i realized i might have changed the drop down while scrolling accidentally.
3. i did read the repo and try to use it, but i was passing the one path as string instead of array, so it parse the string as array, changing that does work.


[Feature] Export settings

Add export settings functionality.
Connected to the https://github.com/Storj/driveshare-gui/issues/48 issue

Not really in support of an export feature. There are only 3 fields to fill out.


Use RAFT communicator instead of a separate communicator in WholeMemory

PR #3 introduces include/whole_memory.h which currently seems to have its own communicator. In the future, we should be using the raft communicator handle instead.

still waiting on RAFT


Multiple Bubbles

Would it be possible to extend this library to support multiple bubbles or are there any limitations?
Adding a new bubble would return an id, and pressing/removing bubble includes this id in the event, so we can know which is the bubble related with the action.

Looking at https://github.com/txusballesteros/bubbles-for-android, it seems it supports more than 1 bubble, but I might be wrong.
@janakact What do you think?


Documentation for JSON schemas

I've managed to figure out some of the different types and properties that can be used in a JSON schema, but whenever I try to find some documentation about this tool, I find nothing, not even related to llama.cpp
Maybe I'm just very bad at searching, but is there any documentation regarding this tool? I find it incredibly useful and powerfull, but it is a handicap not having a proper documentation on the correct syntax, available properties and available types...
Btw thanks a lot for this library, it is amazing!

I also searched for this information, but didn't find anything #7

It uses a subset of schema which is documented here.
I agree that the documentation is not clear on llama.cpp. I also need to dive into the source code of llama.cpp to figure out how to use Json schema in my example. You are welcome to ask any question here though. I believe it will be clearer once we have multiple practical examples.

It uses a subset of schema which is documented here.
I agree that the documentation is not clear on llama.cpp. I also need to dive into the source code of llama.cpp to figure out how to use Json schema in my example. You are welcome to ask any question here though. I believe it will be clearer once we have multiple practical examples.

Thanks a lot! That's exactly what I was looking for, concretely the page https://json-schema.org/understanding-json-schema/reference/type is going to be super useful.


Mobile Vitals: Native Frames

:scroll: Description

Not in any way final, just some base work and first steps.
:bulb: Motivation and Context

:green_heart: How did you test it?
:pencil: Checklist

[ ] I reviewed submitted code
[ ] I added tests to verify changes
[ ] I updated the docs if needed
[ ] All tests passing
[ ] No breaking changes

:crystal_ball: Next steps

Codecov Report

Merging #772 (5108b46) into feat/mobile-vitals-native-app-start (9f4805d) will increase coverage by 5.81%.
The diff coverage is n/a.

@@                           Coverage Diff                           @@
##           feat/mobile-vitals-native-app-start     #772      +/-   ##
=======================================================================
+ Coverage                                89.83%   95.65%   +5.81%
=======================================================================
  Files                                      106        2     -104
  Lines                                     3364       46    -3318
=======================================================================
- Hits                                      3022       44    -2978
+ Misses                                     342        2     -340

Impacted Files
Coverage Δ

dart/lib/src/hub.dart

dart/lib/src/integration.dart

dart/lib/src/sentry_measurement.dart

dart/lib/src/sentry_tracer.dart

flutter/lib/src/sentry_native_wrapper.dart

dio/lib/src/tracing_client_adapter.dart

dart/lib/src/protocol/sdk_version.dart

flutter/lib/src/sentry_asset_bundle.dart

dio/lib/src/breadcrumb_client_adapter.dart

dart/lib/src/protocol/sentry_user.dart

... and 94 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 9f4805d...5108b46. Read the comment docs.

@denrase Just left a few minor comments, but the overall feature looks good, thanks for doing this.


feat: added global sitemap file

As requested @RobPasMue @Revathyvenugopal162. I also need your feedbacks incase the process I followed isn't correct for the PR as I do not know to what extent we are allowed to fiddle with creating new branches.

Thanks for adding this, @moe-ad. This is failing because the the pre-commit service is looking for a .pre-commit-config.yml file in the gh-pages branch, which does not exist. Merging.


Please make the package a design time reference

Like this (similar to EFCore.Design package), to avoid bloat during publish of production app.
https://github.com/ErikEJ/EFCorePowerTools/blob/master/test/ScaffoldingTester/ConsoleApp/ConsoleApp.csproj#L9

This is how it can be done: https://github.com/NuGet/Home/wiki/DevelopmentDependency-support-for-PackageReference

So, do you mean something like this?
<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <TargetFramework>netstandard2.1</TargetFramework>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="5.0.1">
      <PrivateAssets>all</PrivateAssets>
      <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
    </PackageReference>
    <PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="5.0.1" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="5.0.1" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="5.0.1" />
    <PackageReference Include="Microsoft.Extensions.Configuration" Version="5.0.0" />
    <PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="5.0.0" />
  </ItemGroup>

... rest left out

Yes, but for this package, by updating your .csproj like this:
https://github.com/dotnet/efcore/blob/main/src/EFCore.Design/EFCore.Design.csproj#L9

OK. I tried that but it won't compile. I get errors on
public static ServiceProvider GetDesignTimeProvider(this IDesignTimeServices designTimeService)
{
    // Add base services for scaffolding
    var serviceCollection = new ServiceCollection()
        .AddEntityFrameworkDesignTimeServices()                                              //COMPILE ERROR
        .AddSingleton<IOperationReporter, OperationReporter>()                      //COMPILE ERROR
        .AddSingleton<IOperationReportHandler, OperationReportHandler>();   //COMPILE ERROR

    designTimeService.ConfigureDesignTimeServices(serviceCollection);
    return serviceCollection.BuildServiceProvider();
}

I have created a PR :-)

OK - new version is out now.
BTW: I assume you are using this appoach to call EfCore.SchemaCompare as it works with any database provider.

I am not, actually, only SQL Server / SQLite supported for now then, I suppose.
I will wait for request for that before I do anything.

I will wait for request for that before I do anything.

Sounds good. I just wanted you to know its there. I have had some people use PostgreSQL.


Pass absolute path to directoryExists

As pointed out by @gretzkiy, the directoryExists call added to
matchFiles in #44710 should have been passing the absolute path (since
the current directory might not match currentDirectory).
Fixes #45990

Reported here.

@DanielRosenwasser @andrewbranch Do we want to include this in the next 4.4 patch?

The reason we thought there could be a mistake in getBasePaths is these lines:
// We also need to check the relative paths by converting them to absolute and normalizing
// in case they escape the base path (e.g "..\somedirectory")
const absolute: string = isRootedDiskPath(include) ? include : normalizePath(combinePaths(path, include));

which does not produce an absolute path if neither path nor include is absolute. What you’ve done is sufficient to fix the caller that we noticed is broken, and that may be sufficient—but the comments here do not give me confidence that this ever worked the way the author intended, and may be worth looking at more closely.

@typescript-bot perf test this

Added a test and moved the absolutification to where I think it should go. This allowed us to delete a parameter from the local visitDirectory function since patterns.basePaths is now guaranteed to be all-absolute.


Fix server stopping on ubuntu using trafficserver script

credit to Evan Zelkowitz eze@

[approve ci osx]


Allow multiple inputs

Example:
$ doxdox src/controllers/user.js src/controllers/auth.js --layout markdown --output docs/README.md

Reference: https://github.com/cloudfour/drizzle-builder/issues/7

This functionality has been released in the latest version of doxdox (v0.1.13).


removed buggy card from books section

Thanks for the PR!
Can you update your PR so that this code is commented out instead of deleted.
The blank entry acts as a template for people who may want to add an entry.... But I agree that it shouldn't be seen on the actual webpage.

For sure, will do it immediately.
Do check-out the issue i raised too.
On Sat, Oct 17, 2020, 00:34 David Fraser<EMAIL_ADDRESS>wrote:

Thanks for the PR!
Can you update your PR so that this code is commented out instead of
deleted.
The blank entry acts as a template for people who may want to add an
entry.... But I agree that it shouldn't be seen on the actual webpage.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/DavidMatthewFraser/easy-to-git/pull/237#issuecomment-710440652,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIGMCO3234RCP2TOXM6PKMDSLCKLPANCNFSM4STVMNSA
.


Fix expose originalConsole issue

The "originalConsole" expose is incorrect in the "polyfills/console.js"
Changelog:
[GENERAL] [Fixed] - Fixed originalConsole expose issue
Test Plan:
Visit "originalConsole" should get original console object.
Ex: Debug iOS in the Safari Debugger

Thank you for this pull request, you are right it seems like this code was broken before.


Irssi: unable to link perl with irssi on Windows 10

Hello, just wanted to ask - and I apologise if there is a simple solution, but I'm not an expert for sure.
I've done a pacman -Syu followed by exit and another pacman -Syu to fully update MSYS2 environment.
I then tried to build irssi from source, both 1.0.7 and 1.1.1 versions, with perl.
I've used all permutations of --with-perl=yes and --with-perl-staticlib and provided LDFLAGS=-L/path/to/libperl528.a/libperl528.dll
It looks like no matter how I specify the LDFLAGS it cannot find the library.
Also, simply using pacman -S irssi installs it, but I cannot run it, as it says the perl library is missing (when I've installed all versions, including the ones with mingw prefixes. I'm lost. Thank you for your hard work. I just came back to Windows from macOS after around 8 years, and I really love this project, but I'm a noob and need help! 🤣
Can someone please help?

Dont see any issue linking with perl. Will upload irssi 1.1.1 when have time


Added UTC offsets

When selecting or hovering on a zone it now also shows the UTC offset.

The underlying time zone picker has changed and this PR can no longer be merged. I am however still interested in adding more time zone data like UTC offset, current time, etc


Fix ComputeXdataSize samples for ARM/ARM64

The ARM version was logically correct; however, its text was badly broken.  The ARM64 version had a number of logical issues:

The Xdata parameter was typed incorrectly (the code would not compile).
An incorrect shift amount (27 instead of 22) was used to check whether the extension word is present.  That contradicted the textual description.
An incorrect mask (0x0f instead of 0x1f) was used to extract the 5-bit UnwindWords field.  That caused losing the most significant bit of UnwindWords and returning an incorrect size for .xdata records containing from 61 to 124 unwind byte codes.
Checking the E bit was missing.

See the implementation of the RtlpUnwindFunctionFull OS function for the source of truth.

@AntonLapounov : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Thank you for the super-fast approval!


Add support for adding new files to F# web project

This fixes the very long-standing issue where trying to add a new file to an F# Web project
opens a window with no file templates available.
See for example here for the workaround that was required for VS up to 2015:
http://bloggemdano.blogspot.fr/2013/11/adding-new-items-to-pure-f-aspnet.html

@Tarmil,
Thanks for having already signed the Contribution License Agreement. Your agreement has not been validated yet. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot


Add the possibility to setup public ELB to be accessed via HTTPS

This patch adds a CFN template parameter for the SSL certificate ARN
If one is specified, the public ELB will be configured to accept
requests via https on port 443
@satterly

👍


The icon of the action 'Connect to Azure Storage...' shows incorrectly

Storage Explorer Version: 1.29.0-dev
Build Number: 20230312.3
Branch: main
Platform/OS: Linux Ubuntu 22.04/MacOS Ventura 13.2.1 (Apple M1 Pro)
Architecture: x64/arm64
How Found: From running test cases
Regression From: Previous release (1.28.1)
Steps to Reproduce

Launch Storage Explorer -> Select the node 'Storage Accounts'.
Observe its 'Actions' panel.
Check whether the icon of the action 'Connect to Azure Storage...' shows well.

Expected Experience
The action icon shows well.

Actual Experience
The action icon shows incorrectly.

Additional Context
On Windows, no icon for the action 'Connect to Azure Storage...'.

Verified this issue on the build main 20230314.1. Fixed. So, we are going to close it.


cortana

Hi,
Does this remove windows spyware components such as cortana, etc,
Cheers,

This disables cortana and disables telemetry.


[openff-evaluator] 0.1.1 build 0 (label: main)

I have built this locally and uploaded to omnia. The new package passes tests on linux and OSX. It can be seen here: https://anaconda.org/omnia/openff-evaluator/files


Trust banner: clickable things within not tab-accessible

I can click into the banner and get a blue focus ring indicating keyboard focus but I cannot tab into the links or the close action inside.

//cc @isidorn

This is as designed. You can click and use left / right to navigate across actions. Just like the status bar does today. ANd how our other toolbars do.
The reason for this is that we do not want the banner to occupy too many tab stops.
I leave it up to @lszomoru to close this.
But I just double checked this and I think it behaves fine.

More details https://github.com/microsoft/vscode/issues/124165

Thanks @isidorn for sharing context. Closing this for now.


Failure of test "test_workflows.py" check WES4 model

I'm submitting a

bug report

Actual behavior
After error correction of the references in intervals.py, the test "test_workflows.py" fails. We suspect that the test is faulty. The WES4 model would have to be checked again manually.
Screenshot

@lenastroeer although we fixed a bug in the PR#139 this problem was semi solved by not using the automatic test anymore, is that correct? Should the issue be kept open or closed?

Yes, that is correct, we need to review test_workflows.py, so the issue should be kept open.


.background might be not the right QoS level for socket connection check

According to the table, it's either user initiated or utility, unless I'm missing something, because it's time sensitive and wouldn't like I/O throttling which is the case with background QoS as far as I'm aware.
https://github.com/pushy-me/pushy-sdk-ios/blob/86431348c00f23ff32258431c44cec4e3eed8ea6/PushySDK/PushyAPNs.swift#L32

Hi @nikolaykasyanov,
Thanks so much for bringing this to our attention.
Indeed, .userInitiated seems to be the best choice for avoiding throttling. This has fixed in https://github.com/pushy-me/pushy-sdk-ios/commit/45bc074aedb8ebc0e1a60a8a928e00206ddb4713.
Please let us know if you have anything to discuss further.

@pushy-me thanks for the quick reaction!


Why does sitewhere-java-agent always send data to default site?

Let's say I have 2 site, one is default, one is the new one which I created
I want to be able to specify which site the agent should submit data to

The agent sends data based on the unique device hardware id and a device can only be associated with a single site, so there is no need to specify the site. However, if you send data for a device while associated with one site, then change the site, the old event data will still show up under the original site. Any event data submitted after updating the site should show up under the new site.

Thank you for your help
May I ask a question why it’s design like this. I think it’s better to ask device to specify which site it should send data to


Support period separated format for rewriting date

According to the test case,  mozc may support 20XX-XX-XX and 20XX/XX/XX for date rewriting currently.
https://github.com/google/mozc/blob/7e8beed3ddad4f8d1065cbab52f24c16d31f5898/src/rewriter/date_rewriter_test.cc#L209-L217
How about adding period separated formatting like 20XX.XX.XX?

Hi SnO2WMaN,
Thank you for your feedback.
Would you tell us how you use the period separated format (YYYY.MM.DD)?
Doesn't it work with YYYY-MM-DD or YYYY/MM/DD ?
The reasons of why we have YYYY-MM-DD and YYYY/MM/DD are:

YYYY-MM-DD is the format of ISO 8601 standard.
YYYY/MM/DD is the most popular format in Japan (we believe so).

Thank you,

The main motivation for posting this issue is simply period-separated format would be just helpful for me personally. And I think it is also a common practice to write dates separated by periods in Japan, although it is minor.

Thanks. Because we have had similar requests but different formats each other, it might be worth making the format a little customizable.
I will investigate a good way when I have time.

a2d2b577993afb65d698f3ac936d9f13573109ef added a customizable feature.
Here's a quote from https://github.com/google/mozc/blob/master/docs/configurations.md
Date format converted from "きょう"
This is an EXPERIMENTAL feature. This feature may be changed or removed in
future.
The conversion from "きょう" returns the current date in some formats like
"2021年10月1日" and "2021-10-01".
You can add an extra format by adding an entry of "DATA_FORMAT" to the user
dictionary.

Reading
Word
Category

DATE_FORMAT
{YEAR}.{MONTH}.{DATE}
名詞

Any category is OK so far.

key
value

{YEAR}
4 digits year (2021)

{MONTH}
2 digits month (10)

{DATE}
2 digits date (01)

{{}
sinle { character

I'm going to close this issue next week, if it works or no issues are reported.
Thanks,

Wow it sounds great to me, thanks!


Feat: Support optional (nullable=true) for @PlanningListVariable elements

Make the infamous Vehicle.dummy=true workaround obsolete.
To be discussed: naming, annotation configuration, ...

To be discussed, but I think this is the feature that defines 1.1.0.


redpanda: hash mismatch in fixed-output derivation

When trying to install the redpanda package on macOS, it gives me the following error:
❯ devenv shell
Building shell ...
error: hash mismatch in fixed-output derivation '/nix/store/zvl76842036g5bmpbsx3wxj4vrs5clmm-source.drv':
         specified: sha256-pvOVvNc8lZ2d2fVZVYWvumVWYpnLORNY/3o1t4BN2N4=
            got:    sha256-izcyhnKNAGnntoIBlENH7mIoWtvUiNnjXmBV+AAxZgw=
error: 1 dependencies of derivation '/nix/store/ba069jiscprcza2i4ip9570xq7vjgkcv-redpanda-22.3.5.drv' failed to build
error: 1 dependencies of derivation '/nix/store/vwnhg0a8pjsvbjmfjw8246db13xyigfb-devenv-profile.drv' failed to build
error:
       error: 1 dependencies of derivation '/nix/store/78x3b575ccmljifkk4z2wzxijsslz05a-devenv-shell-env.drv' failed to build

Version
❯ devenv version
devenv: 0.5

This is an issue in https://github.com/NixOS/nixpkgs, it seems like those hashes should be updated and checked what's going wrong.


Viewer doesn't work on OSX

I was abe to run the project with cargo run -p treee --release (without -p as suggested in readme doesnt work) and create the project. After selecting the project.epc, the application crashed. Starting the viewer with cargo run -p viewer --release failed too... Probably because of the Selector-Window
Tested with main-branch and version 0.0.2:
thread 'main' panicked at /Users/foo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/winit-0.29.10/src/platform_impl/macos/event_loop.rs:200:13:
winit requires control over the principal class. You must create the event loop before other parts of your application initialize NSApplication
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
When replacing /viewer/main.rs with a static path, i get passed that error:
pub fn run(runner: &mut Runner) -> Result<(), Error> {
	let path = "/Users/mineichen/Downloads/treee_out/project.epc";

	let mut game = game::World::new(path.into(), runner).block_on()?;
	runner.run(&mut game)?;

	Ok(())
}

But run into a new one:
Tested with main-branch and version 0.0.2:
thread 'main' panicked at /Users/foo/rust/treee/render/src/state.rs:60:14:
called Result::unwrap() on an Err value: RequestDeviceError { inner: Core(UnsupportedFeature(Features(TIMESTAMP_QUERY))) }

Once i remove the following from  /render/src/window.rs
let set = render_state
.device
.create_query_set(&wgpu::QuerySetDescriptor {
	label: None,
	ty: wgpu::QueryType::Timestamp,
	count: 2,
});```
and  all related references to ```set```, the scene is successfully written onto the screen... Would you consoder to add this TimestampQuery as an optional Feature?

I updated the viewer to start without a loaded project, I hope this fixes the event loop problem on macos.
I removed the time query and use just use the delta update time as render time.
If this does not fix the problems please reopen the issue.

Both bugs are solved on osx with your changes, thanks


fix: playground/vue-jsx, fix import TsImportFile extension in TsImport component

Description
<template>

Ts Import

{{ foo }}

  <Bar />
</template>

The purpose of this component is to test the import of .ts files, but here it actually has a .js extension. I think it would be more reasonable to remove the .js extension.
import { foo } from './TsImportFile'

What is the purpose of this pull request?

[ ] Bug fix
[ ] New Feature
[ ] Documentation update
[X] Other

Before submitting the PR, please make sure you do the following

[X] Read the Contributing Guidelines.
[X] Read the Pull Request Guidelines and follow the PR Title Convention.
[X] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[X] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[X] Ideally, include relevant tests that fail without this PR but pass with it.

This is intentional. The .js file will point to the corresponding .ts file in TypeScript.


Add test stubs to spoc record

What type of PR is this?
/kind cleanup
What this PR does / why we need it:
This patch adds the base test stubs to the spoc record command.
Further coverage increase will be done in follow-up PRs.
Which issue(s) this PR fixes:

Refers to #1482
Does this PR have test?
Yes

Special notes for your reviewer:
None
Does this PR introduce a user-facing change?

None

@kubernetes-sigs/security-profiles-operator-maintainers PTAL


[WIP] @@customeAzureResource decorator for resources that doesn't use the base resource types

issue: https://github.com/Azure/typespec-azure/issues/1474

All changed packages have been documented.

:white_check_mark: @azure-tools/typespec-azure-resource-manager

Show changes
@azure-tools/typespec-azure-resource-manager - feature ✏

Add the @armCustomResources decorator to identify ARM resources that do not use the base resource types.

You can try these changes here

🛝 Playground
🌐 Website
📚 Next docs


add test for dates

Codecov Report

Merging #4 (ebdef69) into main (51fb194) will increase coverage by 23.52%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             main       #4       +/-   ##
===========================================
+ Coverage   29.41%   52.94%   +23.52%
===========================================
  Files           1        1
  Lines          17       17
===========================================
+ Hits            5        9        +4
+ Misses         12        8        -4

Impacted Files
Coverage Δ

internal/todo.go
52.94% <0.00%> (+23.52%)
:arrow_up:

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 51fb194...ebdef69. Read the comment docs.


#151785875 create descriptive landing page

What does this PR do?
Creates a descriptive landing page
Description of Task to be completed?

It adds a new background image
Fix filename heroku filename error
Fix react production build error

How should this be manually tested?
visit https://postit-gbenga.herokuapp.com
Any background context you want to provide?
N/A
What are the relevant pivotal tracker stories?
#151785875
Screenshots (if appropriate)

Questions:
N/A

Changes Unknown when pulling 1cfed811a9fe7489191d773478e372091f08c4f8 on feature/151785875/create-descriptive-landing-page into ** on develop**.


Update paginator.html

Adding type="button" to previous/next buttons prevents submitting the form, if the paginator control is added to a form.

signed it


No Macro Loaded Window Spam

The window that pops up if you don't have any loaded macros needs to have a global flag of some sort for when a user clicks cancel.  Right now any time a ui reload happens or some other window opens the popup show up again.  Hearthsone, it there.  Trying to use the flight master, it shows up.  Opening the options for another addon, it shows up again.

It's currently set to prompt if no mactos are present for that class but will add a mute
TimothyLuke

On 14 Jan 2017, at 4:52 am, SLOKnightfall<EMAIL_ADDRESS>wrote:
The window that pops up if you don't have any loaded macros needs to have a global flag of some sort for when a user clicks cancel. Right now any time a ui reload happens or some other window opens the popup show up again. Hearthsone, it there. Trying to use the flight master, it shows up. Opening the options for another addon, it shows up again.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

See if this is better in 2.0.5


Cannot find module htmlparser2/lib/Parser.js on Runkit

I tryed it on Runkit and it said: Cannot find module 'htmlparser2/lib/Parser.js'
https://runkit.com/onigetoc/5fbdc488c98cad001a2f7923
OR
https://npm.runkit.com/article-parser

Facing the same problem. htmlparser2 is missing in the dependency as well.

@ganeshmani @onigetoc thank you for your feedback. The problem might relate to readabilitySAX and its own dependency htmlparser2. I will take a look into the root cause here.

@onigetoc  i fixed it, can i raise a PR?

@ganeshmani yes, of course. Thank you for your contribution.

Is the pull request done yet?

@onigetoc hello, could you make a pr?

Fixed since v4.2.6 (#144) with pr #142 by @ganeshmani

Fixed since v4.2.6 (#144) with pr #142 by @ganeshmani


Issue with loading pipeline onto device

I got the following error when trying to make serve:
docker pull tscholak/text-to-sql-eval:35f43caadadde292f84e83962fbe5320a65d338f
35f43caadadde292f84e83962fbe5320a65d338f: Pulling from tscholak/text-to-sql-eval
Digest: sha256:46b87fcd776a5707b650bcc08a94f43e152e3b897f8bb4a086838936d2e059b1
Status: Image is up to date for tscholak/text-to-sql-eval:35f43caadadde292f84e83962fbe5320a65d338f
docker.io/tscholak/text-to-sql-eval:35f43caadadde292f84e83962fbe5320a65d338f
mkdir -p -m 777 database
mkdir -p -m 777 transformers_cache
docker run \
	-it \
	--rm \
	--user 13011:13011 \
	-p 8000:8000 \
	--mount type=bind,source=/home/khavv/AutoSQL/picard/database,target=/database \
	--mount type=bind,source=/home/khavv/AutoSQL/picard/transformers_cache,target=/transformers_cache \
	--mount type=bind,source=/home/khavv/AutoSQL/picard/configs,target=/app/configs \
	tscholak/text-to-sql-eval:35f43caadadde292f84e83962fbe5320a65d338f \
	/bin/bash -c "python seq2seq/serve_seq2seq.py configs/serve.json"
Traceback (most recent call last):
  File "seq2seq/serve_seq2seq.py", line 151, in <module>
    main()
  File "seq2seq/serve_seq2seq.py", line 113, in main
    device=backend_args.device,
  File "/app/seq2seq/utils/pipeline.py", line 46, in __init__
    super().__init__(*args, **kwargs)
  File "/opt/conda/lib/python3.7/site-packages/transformers/pipelines/text2text_generation.py", line 48, in __init__
    super().__init__(*args, **kwargs)
  File "/opt/conda/lib/python3.7/site-packages/transformers/pipelines/base.py", line 758, in __init__
    self.model = self.model.to(self.device)
  File "/opt/conda/lib/python3.7/site-packages/torch/nn/modules/module.py", line 852, in to
    return self._apply(convert)
  File "/opt/conda/lib/python3.7/site-packages/torch/nn/modules/module.py", line 530, in _apply
    module._apply(fn)
  File "/opt/conda/lib/python3.7/site-packages/torch/nn/modules/module.py", line 552, in _apply
    param_applied = fn(param)
  File "/opt/conda/lib/python3.7/site-packages/torch/nn/modules/module.py", line 850, in convert
    return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking)
  File "/opt/conda/lib/python3.7/site-packages/torch/cuda/__init__.py", line 172, in _lazy_init
    torch._C._cuda_init()
RuntimeError: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx
make: *** [Makefile:173: serve] Error 1

My GPU is working correctly, and I have the correct CUDA version on my local system. I'm able to pull up a text2text-generation pipeline on my GPU outside of Picard. I.e., this works:
model = pipeline('text2text-generation', model=<insertmodelhere>, device=0)

I don't think this is on my end (I could be wrong). I wonder if something in the dockerfile messes it up. Have you experienced anything like this?

Hi, could be an issue with Docker. Can you try replacing the call to Docker with Nvidia-docker? I've seen this working on Ubuntu.

That worked! Thanks so much!


change readme.md

change readme.md file

Hi @Jainex17 👋 thank you for the kind contribution.
Can you please run the new README.md file through prettier so that the Lint step in the CI stops complaining? 🙏
As you might have noticed, unfortunately I didn't have time to complete the project yet, so saving/downloading videos is currently not supported. There are a number of open issues, if you have the time and the incentive to contribute, that would be highly appreciated. 😊


Circular dependencies

Circular dependencies

The problem was that you cannot debug this exercise locally because XMLHttpRequest cannot load files. And Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource.
So when I uploaded this task to hosting, and fixed problems, it worked.


[BUG] IDOR

IDOR is there on chat and on update info page
To reproduce the update info page bug

https://thensp.pythonanywhere.com/account/profile/+ID number+/edit_details
Form will submit itself with a response of 302

To reproduce the chat bug

https://thensp.pythonanywhere.com/account/chat/+Username

Expected behavior

To talk to someone you need to follow them and the other user must be following you too.

This is what https://thensp.pythonanywhere.com/account/chat/ says.. but IDOR is present
Desktop (please complete the following information):

Arch running Firefox 61.0.1

Additional context
To find which ID number is of whom, sail to https://thensp.pythonanywhere.com/account/social/unfollow/+ID

@nk521 Thanks for reporting the bug, kinda with I'd seen your latest issues sooner.


MRR Examples

Create a usage example on how these ranking metrics can be used:
+------------------------------------------------------------+-------------------------------------------------------------------------------+
| Python API                                                 | Description                                                                   |
+============================================================+===============================================================================+
| `metriks.mean_reciprocal_rank(y_true, y_prob)`             | Gets a positional score on how well you did at rank 1, rank 2, etc.           |
+------------------------------------------------------------+-------------------------------------------------------------------------------+
| `metriks.label_mean_reciprocal_rank(y_true, y_prob)`       | Determines the average rank each label was placed across samples. Only labels |
|                                                            | that are relevant in the true data set are considered in the calculation.     |
+------------------------------------------------------------+-------------------------------------------------------------------------------+

Identify a dataset that can be used to train a ranking model
Train a ranking model with the data
Use the given metrics above and show results and demonstrate how these metrics can be used

I will be working on this for vGHC OSD

Hi I'm an attendee of vGHC and I'd like to help with this issue. Can you please add me to your group? Thank you


Is there any possible way to change the circle's height?

I find the circles are huge for my screen and I want to change the sizes of circles, but I didn't succeed. I tried to change frameSize value in framework(SwiftSpinner) (h:200,w:200) to (h:100,w:100) but it didn't work as I expected. Actually nothing changed, sizes were still same.
By the way I really like the SwiftSpinner, in my opinion it's a cool framework to use.

Hi @GokmenAkarDNB
Changing those values does scale down the spinner. If you tried it in the demo project, make sure to clear the build folder first, the workspace doesn't automatically recompile the library.

Hi @GokmenAkarDNB
Changing those values does scale down the spinner. If you tried it in the demo project, make sure to clear the build folder first, the workspace doesn't automatically recompile the library.

how to change those values ?

Hi @GokmenAkarDNB
Changing those values does scale down the spinner. If you tried it in the demo project, make sure to clear the build folder first, the workspace doesn't automatically recompile the library.

how to change those values ?

Directly inside the SwiftSpinner source, currently there is no public API to customize that.


shared files

Expected behavior
Actual behavior
Information about the Issue
Steps to reproduce the behavior

...
...

No information provided - Closing


Could not load config file. Error found: Error: Cannot find module 'request'

Firstly, thank you for creating and sharing this software. It's excellent.
Post-install and config, launching MM lead to WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'request'
I've temporarily fixed the issue on my mirror by running npm install request in the module's directory.
You'll probably need to include a package.json with a dependency definition for the request module.
Cheers and thanks for your lovely module!

@dpappo thanks for pointing this out. It looks like the newest release of MM does not come with the request module like it used to. I'm going to leave this issue open until I get a chance to update the module / instructions.
For now, if you are reading this issue, then you must navigate to the module folder (MMM-GoolgeSheets) and run
npm install requst
In order to get the module to work

Perfect, thanks @ryan-d-williams. I would also recommend adding a general npm install command to the readme before or after the npm install request command, which I ran for the install.
Thanks again for your work here!

Fixed by #32


Improve Logging

The default logging setting in Django does not leave existing loggers in a proper state. It is best to explicitly set the logger as mentioned here: http://stackoverflow.com/questions/20282521/django-request-logger-not-propagated-to-root/22336174#22336174 and http://www.caktusgroup.com/blog/2015/01/27/Django-Logging-Configuration-logging_config-default-settings-logger/
Propose to add a logs directory at project root for keeping all the logs in one place during development.

This has been implemented in the 1_8 branch https://github.com/arocks/edge/tree/1_8


Silent variable creation

Reporting a bug

[x] I have tried using the latest released version of Numba (0.53.1).
[x] I have included a self contained code sample to reproduce the problem.
i.e. it's possible to run as 'python bug.py'.

import numba as nb
import numpy as np

def enum_empty(values):
    # iterate over all values minus last one
    for i, v in enumerate(values[:-1]):
        pass
    print(i, v)

values = np.ones(1)
nb.njit(enum_empty)(values)
enum_empty(values)

In this example i want to get last value of i, but i didn't think at case when values have a size of one or less.
When you do that with only python you have an error, but with numba there is no warning/error... and you get 0 inplace
Thanks

This is a known deviation from python semantic. Numba is not tracking variable liveness at runtime. All variables are zero-initialized instead.

Will add a note to the docs https://numba.readthedocs.io/en/stable/reference/pysemantics.html


Support for vscode portable

Using vscode portable including a portable version of nodejs, it is impossible to use all features of DevTools extension for Vscode because it can not use node.
Installing nodejs is not really an option since this defeats the purpose of a portable vscode.
Possible solution would be a path setting in settings.json for the DevTools extension to find nodejs.

Interesting feature request. @vidorteg do you think this is something the extension could support?


Implement new "dsl_ode_trigger_accumulation_new" constructor

Implement a new ODE Trigger that performs unique instance counting over consecutive frames. Similar to the Summation Trigger, Accumulation Triggers invoke their Actions exactly once every frame.
/**
 * @brief Accumulation trigger that checks for new instances of Objects for a specified
 * source and object class_id accumulating the occurrences over consecutive frames.
 * The current accumulative occurrence value is reported after each frame. New instance
 * identification is based on Tracking Id.
 * Note: the accumulative occurrence value is cleared on trigger reset.
 * @param[in] name unique name for the ODE Trigger
 * @param[in] source unique source name filter for the ODE Trigger, NULL = ANY_SOURCE
 * @param[in] class_id class id filter for this ODE Trigger
 * @param[in] limit limits the number of ODE occurrences, a value of 0 = NO limit
 * @return DSL_RESULT_SUCCESS on success, DSL_RESULT_ODE_TRIGGER_RESULT otherwise.
 */
DslReturnType dsl_ode_trigger_accumulation_new(const wchar_t* name,
    const wchar_t* source, uint class_id, uint limit);

Merged into the v0.15.alpha branch


SyntaxError: future feature annotations is not defined

Hi, csuhan.
when I tested the code, an error occurred.
Traceback (most recent call last):
File "tools/test.py", line 12, in
from mmdet.apis import init_dist
File "/root/code/remote-sensing-detection/ReDet-master/mmdet/apis/init.py", line 2, in
from .train import train_detector
File "/root/code/remote-sensing-detection/ReDet-master/mmdet/apis/train.py", line 14, in
from mmdet.models import RPN
File "/root/code/remote-sensing-detection/ReDet-master/mmdet/models/init.py", line 1, in
from .backbones import *  # noqa: F401,F403
File "/root/code/remote-sensing-detection/ReDet-master/mmdet/models/backbones/init.py", line 2, in
from .re_resnet import ReResNet
File "/root/code/remote-sensing-detection/ReDet-master/mmdet/models/backbones/re_resnet.py", line 5, in
import e2cnn.nn as enn
File "/usr/local/anaconda3/envs/pytorch1.4+10.1/lib/python3.6/site-packages/e2cnn-0.1.7-py3.6.egg/e2cnn/init.py", line 17, in
from e2cnn import group
File "/usr/local/anaconda3/envs/pytorch1.4+10.1/lib/python3.6/site-packages/e2cnn-0.1.7-py3.6.egg/e2cnn/group/init.py", line 4, in
from .group import Group
File "/usr/local/anaconda3/envs/pytorch1.4+10.1/lib/python3.6/site-packages/e2cnn-0.1.7-py3.6.egg/e2cnn/group/group.py", line 2
from future import annotations
^
SyntaxError: future feature annotations is not defined
how can I solve this error?

Two solutions:

Try Python>=3.7
For Python<=3.6, you need:

git clone -b legacy_py3.6 https://github.com/QUVA-Lab/e2cnn.git
cd e2cnn
python setup.py install

Two solutions:
1. Try Python>=3.7

2. For Python<=3.6, you need:

git clone -b legacy_py3.6 https://github.com/QUVA-Lab/e2cnn.git
cd e2cnn
python setup.py install

Thx for your reply. it works!

excuse me i was countered this error and tried the solution but error exists . but i have this
File "/usr/local/lib/python3.6/dist-packages/e2cnn-0.1.7-py3.6.egg/e2cnn/group/group.py", line 2     from __future__ import annotations     ^ SyntaxError: future feature annotations is not defined
instead of site-packages
Appreciate your help

Two solutions:

Try Python>=3.7
For Python<=3.6, you need:

git clone -b legacy_py3.6 https://github.com/QUVA-Lab/e2cnn.git
cd e2cnn
python setup.py install

i am using reels downloader using flask
from instascrape import Reel
and works well on localhost but not on deployed site,
https://github.com/imvickykumar999/imvickykumar999/blob/a7fa7fbb9eb76ef2d77be15998f62d12ef695f77/vicks/reels.py#L16
and getting error as
future feature annotations is not defined (profile.py, line 1)

Two solutions:

Try Python>=3.7
For Python<=3.6, you need:

git clone -b legacy_py3.6 https://github.com/QUVA-Lab/e2cnn.git
cd e2cnn
python setup.py install

I am using reels downloader with flask framework
from instascrape import Reel
and works well on localhost but not on deployed site,
https://github.com/imvickykumar999/imvickykumar999/blob/a7fa7fbb9eb76ef2d77be15998f62d12ef695f77/vicks/reels.py#L16
and getting error as
future feature annotations is not defined (profile.py, line 1)

Finally I found solution,
It require python>=3.7 version, so runtime.txt added to my repo to change default python version used by heroku.
https://github.com/imvickykumar999/imvickykumar999/blob/master/runtime.txt

Minimal RHEL and CentOS 7 images have fallen out of date quite quickly and have many dependencies which may be updated with installed ansible related packages. Do a "yum update" first with clean new golden images, to avoid the bulky accumulation of such updates for breaking other installations.
Changing your default python 3 is not a step for the weak of heart. RHEL 8 and CentOS 8 have python3.8 available, but it's not published or not yet published for RHEL 7, which is its own problem. It is published as an SCL component, but those are notoriously pesky to work with and are not supported by EPEL unlike the way python3.6 was supported for a time. It's very frustrating that Red Hat elected to publish python36 packages as python3, it has seriously broken compatibility with various EPEL modules and with Amazon Linux 2, which followed Red Hat's ill-thought-out behaviour and published python3.7 packages as "python3", leading to thorough brokenness with EPEL, especially for current ansible-core releases.

Two solutions:

Try Python>=3.7
For Python<=3.6, you need:

git clone -b legacy_py3.6 https://github.com/QUVA-Lab/e2cnn.git
cd e2cnn
python setup.py install

Doesn't work for me  :(

Two solutions:

Try Python>=3.7
For Python<=3.6, you need:

git clone -b legacy_py3.6 https://github.com/QUVA-Lab/e2cnn.git
cd e2cnn
python setup.py install

Doesn't work for me  :(

Doesn't work with airflow packages : Processing dependencies for e2cnn-py36==0.1.8
Searching for scipy
Reading https://pypi.org/simple/scipy/
Downloading https://files.pythonhosted.org/packages/0a/2e/44795c6398e24e45fa0bb61c3e98de1cfea567b1b51efd3751e2f7ff9720/scipy-1.9.3.tar.gz#sha256=fbc5c05c85c1a02be77b1ff591087c83bc44579c6d2bd9fb798bb64ea5e1a027
Best match: scipy 1.9.3
Processing scipy-1.9.3.tar.gz
Writing /var/folders/f_/7vstf97j517b5sb77v46rwq40000gq/T/easy_install-59kswnu6/scipy-1.9.3/setup.cfg
Running scipy-1.9.3/setup.py -q bdist_egg --dist-dir /var/folders/f_/7vstf97j517b5sb77v46rwq40000gq/T/easy_install-59kswnu6/scipy-1.9.3/egg-dist-tmp-jl9ck5kb
Traceback (most recent call last):
File "/usr/local/anaconda3/envs/airflowenv/lib/python3.6/site-packages/setuptools/sandbox.py", line 156, in save_modules
yield saved
File "/usr/local/anaconda3/envs/airflowenv/lib/python3.6/site-packages/setuptools/sandbox.py", line 198, in setup_context
yield
File "/usr/local/anaconda3/envs/airflowenv/lib/python3.6/site-packages/setuptools/sandbox.py", line 259, in run_setup
_execfile(setup_script, ns)
File "/usr/local/anaconda3/envs/airflowenv/lib/python3.6/site-packages/setuptools/sandbox.py", line 46, in execfile
exec(code, globals, locals)
File "/var/folders/f/7vstf97j517b5sb77v46rwq40000gq/T/easy_install-59kswnu6/scipy-1.9.3/setup.py", line 33, in
keywords=[
RuntimeError: Python version >= 3.8 required.

Doesn't work with airflow packages with option 2 (``` git clone -b legacy_py3.6 https://github.com/QUVA-Lab/e2cnn.git cd e2cnn python setup.py install
Searching for scipy
Reading https://pypi.org/simple/scipy/
Downloading https://files.pythonhosted.org/packages/0a/2e/44795c6398e24e45fa0bb61c3e98de1cfea567b1b51efd3751e2f7ff9720/scipy-1.9.3.tar.gz#sha256=fbc5c05c85c1a02be77b1ff591087c83bc44579c6d2bd9fb798bb64ea5e1a027
Best match: scipy 1.9.3
Processing scipy-1.9.3.tar.gz
Writing /var/folders/f_/7vstf97j517b5sb77v46rwq40000gq/T/easy_install-59kswnu6/scipy-1.9.3/setup.cfg
Running scipy-1.9.3/setup.py -q bdist_egg --dist-dir /var/folders/f_/7vstf97j517b5sb77v46rwq40000gq/T/easy_install-59kswnu6/scipy-1.9.3/egg-dist-tmp-jl9ck5kb
Traceback (most recent call last):
  File "/usr/local/anaconda3/envs/airflowenv/lib/python3.6/site-packages/setuptools/sandbox.py", line 156, in save_modules
    yield saved
  File "/usr/local/anaconda3/envs/airflowenv/lib/python3.6/site-packages/setuptools/sandbox.py", line 198, in setup_context
    yield
  File "/usr/local/anaconda3/envs/airflowenv/lib/python3.6/site-packages/setuptools/sandbox.py", line 259, in run_setup
    _execfile(setup_script, ns)
  File "/usr/local/anaconda3/envs/airflowenv/lib/python3.6/site-packages/setuptools/sandbox.py", line 46, in _execfile
    exec(code, globals, locals)
  File "/var/folders/f_/7vstf97j517b5sb77v46rwq40000gq/T/easy_install-59kswnu6/scipy-1.9.3/setup.py", line 33, in <module>
    keywords=[
RuntimeError: Python version >= 3.8 required.

try "pip3 install scipy"

The default python and pip on RHEL 7 are python 2.7 Installing python 3 is
an extra step, "yum install python3 python3-pip"
The attempts to deduce and outsmart the default pythons has been an ongoing
issue for ansible. It's much simpler to consistently use "pyp3" or
"python3" instead of "pytho" in all the scripts: it's what I do for the RPM
building tools I publish for ansible and ansible-core.
The frequency of published directives to do "pip install" as the root user
are their own distinct but related problem, encouraging the out-of-band and
unmanaged installation of incompatible dependency trees in the root
owned python modules. There are RPMs available for python3-scipy, and they
should be used instead if possible.
 sudo yum install python3-scipy -y

Nico Kadel-Garcia
On Fri, Nov 25, 2022 at 5:59 AM JackThird @.***> wrote:

Doesn't work with airflow packages with option 2 (``` git clone -b
legacy_py3.6 https://github.com/QUVA-Lab/e2cnn.git cd e2cnn python
setup.py install
Searching for scipy
Reading https://pypi.org/simple/scipy/
Downloading https://files.pythonhosted.org/packages/0a/2e/44795c6398e24e45fa0bb61c3e98de1cfea567b1b51efd3751e2f7ff9720/scipy-1.9.3.tar.gz#sha256=fbc5c05c85c1a02be77b1ff591087c83bc44579c6d2bd9fb798bb64ea5e1a027
Best match: scipy 1.9.3
Processing scipy-1.9.3.tar.gz
Writing /var/folders/f_/7vstf97j517b5sb77v46rwq40000gq/T/easy_install-59kswnu6/scipy-1.9.3/setup.cfg
Running scipy-1.9.3/setup.py -q bdist_egg --dist-dir /var/folders/f_/7vstf97j517b5sb77v46rwq40000gq/T/easy_install-59kswnu6/scipy-1.9.3/egg-dist-tmp-jl9ck5kb
Traceback (most recent call last):
File "/usr/local/anaconda3/envs/airflowenv/lib/python3.6/site-packages/setuptools/sandbox.py", line 156, in save_modules
yield saved
File "/usr/local/anaconda3/envs/airflowenv/lib/python3.6/site-packages/setuptools/sandbox.py", line 198, in setup_context
yield
File "/usr/local/anaconda3/envs/airflowenv/lib/python3.6/site-packages/setuptools/sandbox.py", line 259, in run_setup
_execfile(setup_script, ns)
File "/usr/local/anaconda3/envs/airflowenv/lib/python3.6/site-packages/setuptools/sandbox.py", line 46, in execfile
exec(code, globals, locals)
File "/var/folders/f/7vstf97j517b5sb77v46rwq40000gq/T/easy_install-59kswnu6/scipy-1.9.3/setup.py", line 33, in
keywords=[
RuntimeError: Python version >= 3.8 required.
try "pip3 install scipy"
—
Reply to this email directly, view it on GitHub
https://github.com/csuhan/ReDet/issues/14#issuecomment-1327330505, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKREG7FZ6WFN444HDTULW3WKCL2TANCNFSM42P5IYQA
.
You are receiving this because you commented.Message ID:
@.***>

If you need a more recent python, use one. On RHEL 7, python311 and python311-pip  are easily available via RPM and you can then use "pip3.9" if needed.

I cannot figure out how to get a working installation of the latest multiqc.  I've tried installing it with multiple version of python >=3.7, but mambe keeps telling me:
$ mamba create --name multiqc multiqc python=3.7
Encountered problems while solving:
  - package multiqc-0.4-py27_0 requires python 2.7*, but none of the providers can be installed
$ mamba create --name multiqc multiqc=1.14 python=3.7
Encountered problems while solving:
  - package multiqc-1.14-pyhdfd78af_0 requires requests, but none of the providers can be installed
$ mamba create --name multiqc multiqc=1.13 python=3.7
Encountered problems while solving:
  - package multiqc-1.13a-pyhdfd78af_0 requires requests, but none of the providers can be installed
$ mamba create --name multiqc multiqc=1.13a python=3.7
Encountered problems while solving:
  - package multiqc-1.13a-pyhdfd78af_0 requires requests, but none of the providers can be installed
$ mamba create --name multiqc multiqc=1.12 python=3.7
Encountered problems while solving:
  - package multiqc-1.12-pyhdfd78af_0 requires requests, but none of the providers can be installed
$ mamba create --name multiqc multiqc=1.14 python=3.9
Encountered problems while solving:
  - package multiqc-1.14-pyhdfd78af_0 requires requests, but none of the providers can be installed
$ mamba create --name multiqc multiqc=1.14 python=3.11
Encountered problems while solving:
  - package python-3.11.0-h559f36b_0_cpython requires libffi >=3.4.2,<3.5.0a0, but none of the providers can be installed

Could someone provide the conda/mamba command that will create an environment with a versiuon that won't produce the error:
SyntaxError: future feature annotations is not defined

Two solutions:

Try Python>=3.7
For Python<=3.6, you need:

git clone -b legacy_py3.6 https://github.com/QUVA-Lab/e2cnn.git
cd e2cnn
python setup.py install


Problem with has_one association after adding gem

I have a form working properly with a has_one association between Company and CompanyAddress, with something like this in the admin file:
  form do |company|
    tab :company_info do
      row do
        col(sm: 6) { text_field :name }
        col(sm: 6) { text_field :trade }
      end

      row do
        col(sm: 6) { text_field :cnpj }
        col(sm: 6) { select :segment, ApplicationRecord::SEGMENTS }
      end

      row do
        col(sm: 6) { date_field :foundation }
        col(sm: 6) { active_storage_field :logo }
      end
    end

    tab :company_phones do
      render 'phones'
    end

    tab :company_address do
      fields_for :company_address, company.company_address || company.build_company_address do
        row do
          col(sm: 6) { text_field :zip_code }
          col(sm: 6) { text_field :number }
        end

        row do
          col(sm: 6) { text_field :street }
          col(sm: 6) { text_field :complement }
        end

        row do
          col(sm: 6) { text_field :city }
          col(sm: 6) { text_field :state }
        end

        url_field :website
      end
    end
  end

The catch is that when I add the trestle-active_storage gem, the parameter sent for the address that used to be company_address_attributes, becomes company_address. And Trestle raises the error:
ActiveRecord::RecordNotFound in CompaniesAdmin::AdminController#update

Couldn't find CompanyAddress with ID=2 for Company with ID=

If I remove the symbol after the fields_for, passing only the object, Trestle raises a type mismatch error. Because it's not an instance of CompanyAddress, but an instance of ActiveRecord::HashWithIndifferentAccess.
Am I missing something? How can I solve that?

By the way, the has_many association between Company and CompanyPhone also has the same problem.

@PunkMaldito sorry to hear that you are experiencing problems. I refactored some of the internal parameter handling. Could you try it with the latest revision?
gem "trestle-active_storage", github: "richardvenneman/trestle-active_storage", ref: "9f478a49"

@richardvenneman Worked like a charm, mate! Thanks a lot for the gem and for the fix!
Can I keep using this release until the PR get merged?

0.0.1 has been released: https://rubygems.org/gems/trestle-active_storage


fix(deps<EMAIL_ADDRESS>

Fix deps<EMAIL_ADDRESS>See #175

Seems to be a duplicate of #176 - will close this one - my bad


"not selecting any important features since it did not meet criteria: F-score > 1.0"

Hi,
I've a dataset with 104 features and over 90k rows for a numerical regression problem, and am working in Kaggle, using the specific installation instructions mentioned. I've bumped into the problem that FeatureWiz is claiming that none of my features  match the F-score limit required. However, running the XGB model with features definitely results in a capability to achieve an RMSE baseline. From F-Score charts, I can observe that the maximal F-score is 0.0125 for one of the XGB models.
Any help is appreciated with this, wondering if I would have to change the F-score limit somehow for this case?

Hi @EXJUSTICE : thank you for trying out featurewiz.
I don't know where the F-score limit is reached message is coming from. I need a screenshot or at least a Kaggle notebook where you are seeing that message.
Can you please add more details to help me?
Thanks
AutoVimal

I'll get back to you when the competition's over in a few days with  a more detailed breakdown of the problem.

Can you post the Kaggle data set or problem that you are working on. I can look it up myself.
Auto Vimal

Hi @EXJUSTICE
I have found the problem of F-score not selecting any features and fixed it. It  happened in some cases. Now it should be fixed.
Please test it with the new version 0.2.5
Thanks👍
AutoVimal


Apply padding to tools submenu button#2652

Fixes #2652
Describe the changes you have made in this PR -Applied padding to the tools submenu button in the simulator.
Screenshots of the changes (If any) -
Before:

After:

Video Demonstration:https://www.loom.com/share/00cbb0bb3f5a4a42bb1f77ddad2b03f4
Note: Please check Allow edits from maintainers. if you would like us to assist in the PR.

@ayan-biswas0412 is there any extension like preetier such that after saving it get formatted ,so that no hound and code climate issues will apper,because i am using gitpod and I have to manually resolve this issues

Coverage increased (+0.4%) to 82.261% when pulling 13ba1be9d9dbc98a3f280d7e468ceba1eceabecb on rohit-raje-786:apply-padding-to-tools-submenu-button#2652 into be236e16f45e49140b284ea90ba663c241d6ece6 on CircuitVerse:master.

@ayan-biswas0412 code-climate is saying that not to use !important ,if don't use it the issuse regarding the bug won't get solved,what to do here?

@ayan-biswas0412 code-climate is saying that not to use !important ,if don't use it the issuse regarding the bug won't get solved,what to do here?

cc @nitin10s can you please help regarding this

@ayan-biswas0412 code-climate is saying that not to use !important ,if don't use it the issuse regarding the bug won't get solved,what to do here?

https://uxengineer.com/css-specificity-avoid-important-css/


Unable to check if component property isset or empty

What steps will reproduce the problem?
There is small test
<?php
defined('YII_DEBUG') or define('YII_DEBUG', true);
defined('YII_ENV') or define('YII_ENV', 'dev');

require(__DIR__ . '/../../vendor/yiisoft/yii2/Yii.php');

$config = [
    'id' => 'app',
    'basePath' => dirname(__DIR__),
    'components' => [
        'captcha' => [
            'name' => 'foo bar',
            'class' => 'yii\captcha\Captcha',
        ],
    ],
];

$application = new yii\web\Application($config);
echo '<plaintext>';
echo implode(', ', [
    isset(Yii::$app->captcha->name) ? 'set' : 'not set',
    empty(Yii::$app->captcha->name) ? 'empty' : 'not empty',
    'value: ' . Yii::$app->captcha->name,
    isset(Yii::$app->captcha->name) ? 'set' : 'not set',
    empty(Yii::$app->captcha->name) ? 'empty' : 'not empty',
]);

What is the expected result?
set, not empty, value: foo bar, set, not empty
What do you get instead?
not set, empty, value: foo bar, set, not empty
Additional info

Q
A

Yii version
2.0.8

PHP version
7.0.7

Operating system
Windows 10

this seems to fail only on php 7: https://travis-ci.org/yiisoft/yii2/builds/138698808

At the moment the issue is only breaking reCaptcha extension, but I've already put temporary workaround into my index.php
if (PHP_MAJOR_VERSION === 7) {
    Yii::$app->reCaptcha->secret;
}

Might be related to this:
https://bugs.php.net/bug.php?id=69659
It looks like running isset over a property that needs to go through __get forces the __isset magic method to be called first on the ServiceLocator class (it used to be __get() followed by __isset(). Tested with 7.0.4, before this bug was noticed by the PHP team and I'm able to get the test by @cebe to pass).

This is a BC break in PHP: https://3v4l.org/jEUfg

in the PHP bug 69659, nikic wrote:

For reference, the way to fix any issues with this change is to make sure your __isset() or
offsetExists() functions behave correctly. If this change causes issues with your code, it indicates that
you already have a broken __isset/offsetExists implementation, but it's brokenness did not
previously surface (one bug canceling another...)

this means the semantics of __isset() in yii's service locator component are questionable.
it will return true only if the component is already loaded, even though __get() would load it afterwards if it will be called. Fixing this would need a BC break however it seems like a reasonable fix to me even for 2.0.x. @yiisoft/core-developers opinions?

I vote for the fix: __get() and __isset() should be consistent.

I'm for fixing it but we should measure before/after performance and take a good look at tests we have...

we should measure before/after performance

In normal flow performance will not be affected. Framework does not ever call isset() over ServiceLocator. Only custom developer code may be affected.

the only difference will be one more call to isset() inside of __isset() there should not be any change in performance.


fix: update pivot expr on to first param

The pivot function now has on as the first param instead of index, as noted in the python 1.0 upgrade documentation:

columns has been renamed to on, and is now the first positional argument.

Added some test coverage from examples in docs to capture this. Existing test coverage was using the same column as index and on, resulting in this not being caught.

Don't you have to change the Rust fn pivot_expr( to match it?
Did you run 'yarn run lints:ts` on your TS code?
Thx

Don't you have to change the Rust fn pivot_expr( to match it?

Did you run 'yarn run lints:ts` on your TS code?
Thx

🤦♂That would be helpful... done
Yes passes lint + tests:

Thanks for fixing this, our team was so confused that index + on where reversed. Is this in the latest release?


[Do not merge] Index documents in Rummager directly on deploy

Previously, panopticon would send artifacts to Rummager. That flow is now being
deprecated in favour of a simpler approach which is to send documents directly
to rummager.
This means additional rake tasks need to run after deploy in order to make sure
these applications index their documents in Rummager.
Trello ticket: https://trello.com/c/gsHnT5WF/161-epic-send-things-to-rummager-directly-instead-of-via-panopticon

I'm pondering if it might be better to move the knowledge about post-deploy actions to the apps itself. Basically make all deploy scripts run something like rake post_deploy. Each app would add that task & run publishing things.
But on the other hand, having deploy knowledge in deploy scripts makes sense. What do you think?

@tijmenb since all apps have deployment-specific scripts outside the main app repo, I think it makes sense to keep it like that for now.

To be merged after https://github.com/alphagov/panopticon/pull/398 is merged & deployed.