Adapter installation seems not working

I try to install the Adapter via Guthub
Here is the log :
$ iobroker url $ iobroker url https://github.com/rbrunka/ioBroker.windhager.git --host iobroker --debug install rbrunka/ioBroker.windhager#2512c99a2a6876cd28cfe593c811c5f32aac65dc NPM version: 8.1.3 npm install rbrunka/ioBroker.windhager#2512c99a2a6876cd28cfe593c811c5f32aac65dc --prefix "/opt/iobroker" (System call) up to date in 4s40 packages are looking for funding run npm fund for details upload [7] windhager.admin /opt/iobroker/node_modules/iobroker.windhager/admin/words.js words.js application/javascript upload [6] windhager.admin /opt/iobroker/node_modules/iobroker.windhager/admin/windhager.png windhager.png image/png upload [5] windhager.admin /opt/iobroker/node_modules/iobroker.windhager/admin/tsconfig.json tsconfig.json application/json upload [4] windhager.admin /opt/iobroker/node_modules/iobroker.windhager/admin/tab_m.html tab_m.html text/html upload [3] windhager.admin /opt/iobroker/node_modules/iobroker.windhager/admin/style.css style.css text/css upload [2] windhager.admin /opt/iobroker/node_modules/iobroker.windhager/admin/index_m.html index_m.html text/html upload [1] windhager.admin /opt/iobroker/node_modules/iobroker.windhager/admin/custom_m.html custom_m.html text/html upload [0] windhager.admin /opt/iobroker/node_modules/iobroker.windhager/admin/admin.d.ts admin.d.ts video/mp2t Process exited with code 0 --host iobroker --debug
install $
NPM version: 8.1.3
npm install $ --prefix "/opt/iobroker" (System call)
npm ERR! code EINVALIDTAGNAME
npm ERR! Invalid tag name "$": Tags may not have any characters that encodeURIComponent encodes.
npm ERR! A complete log of this run can be found in:npm ERR! /opt/iobroker/.npm/_logs/2021-11-15T12_48_11_459Z-debug.log
host.iobroker Cannot install $: 1
ERROR: Process exited with code 25
To Reproduce
Steps to reproduce the behavior:

Go to 'Adapter from URL'
Click on 'Install'
See error

Expected behavior
I expect, that this Adapter get's insalled and I can see it inside the Instances
Screenshots & Logfiles
If applicable, add screenshots and logfiles to help explain your problem.
Versions:

Adapter version: <0.9.5>
JS-Controller version: <3.3.18>
Node version: <12.22.7>
Operating system:

Additional context
I would really be happy, if you could check the Adapter. 👍
We got a new central heating and would like to add it to my screen.

I will update it next weekend.
Am Mo., 15. Nov. 2021 um 13:57 Uhr schrieb SiebeS91 <
@.***>:

I try to install the Adapter via Guthub
Here is the log :
$ iobroker url $ iobroker url
https://github.com/rbrunka/ioBroker.windhager.git --host iobroker --debug
install rbrunka/ioBroker.windhager#2512c99a2a6876cd28cfe593c811c5f32aac65dc
NPM version: 8.1.3 npm install
rbrunka/ioBroker.windhager#2512c99a2a6876cd28cfe593c811c5f32aac65dc
--prefix "/opt/iobroker" (System call) up to date in 4s40 packages are
looking for funding run npm fund for details upload [7] windhager.admin
/opt/iobroker/node_modules/iobroker.windhager/admin/words.js words.js
application/javascript upload [6] windhager.admin
/opt/iobroker/node_modules/iobroker.windhager/admin/windhager.png
windhager.png image/png upload [5] windhager.admin
/opt/iobroker/node_modules/iobroker.windhager/admin/tsconfig.json
tsconfig.json application/json upload [4] windhager.admin
/opt/iobroker/node_modules/iobroker.windhager/admin/tab_m.html tab_m.html
text/html upload [3] windhager.admin
/opt/iobroker/node_modules/iobroker.windhager/admin/style.css style.css
text/css upload [2] windhager.admin
/opt/iobroker/node_modules/iobroker.windhager/admin/index_m.html
index_m.html text/html upload [1] windhager.admin
/opt/iobroker/node_modules/iobroker.windhager/admin/custom_m.html
custom_m.html text/html upload [0] windhager.admin
/opt/iobroker/node_modules/iobroker.windhager/admin/admin.d.ts admin.d.ts
video/mp2t Process exited with code 0 --host iobroker --debug
install $
NPM version: 8.1.3
npm install $ --prefix "/opt/iobroker" (System call)
npm ERR! code EINVALIDTAGNAME
npm ERR! Invalid tag name "$": Tags may not have any characters that
encodeURIComponent encodes.
npm ERR! A complete log of this run can be found in:npm ERR!
/opt/iobroker/.npm/_logs/2021-11-15T12_48_11_459Z-debug.log
host.iobroker Cannot install $: 1
ERROR: Process exited with code 25
To Reproduce
Steps to reproduce the behavior:

Go to 'Adapter from URL'
Click on 'Install'
See error

Expected behavior
I expect, that this Adapter get's insalled and I can see it inside the
Instances
Screenshots & Logfiles
If applicable, add screenshots and logfiles to help explain your problem.
Versions:

Adapter version: <0.9.5>
JS-Controller version: <3.3.18>
Node version: <12.22.7>
Operating system:

Additional context
I would really be happy, if you could check the Adapter. 👍
We got a new central heating and would like to add it to my screen.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/rbrunka/ioBroker.windhager/issues/21, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACQXKF7LWBUSMCFYLKUGSLUMD7SFANCNFSM5IBT4FJQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

--
Roman Brunka
@.***

I will update it next weekend. Am Mo., 15. Nov. 2021 um 13:57 Uhr schrieb SiebeS91 < @.>:
…
I try to install the Adapter via Guthub Here is the log : $ iobroker url $ iobroker url https://github.com/rbrunka/ioBroker.windhager.git --host iobroker --debug install rbrunka/ioBroker.windhager#2512c99a2a6876cd28cfe593c811c5f32aac65dc NPM version: 8.1.3 npm install rbrunka/ioBroker.windhager#2512c99a2a6876cd28cfe593c811c5f32aac65dc --prefix "/opt/iobroker" (System call) up to date in 4s40 packages are looking for funding run npm fund for details upload [7] windhager.admin /opt/iobroker/node_modules/iobroker.windhager/admin/words.js words.js application/javascript upload [6] windhager.admin /opt/iobroker/node_modules/iobroker.windhager/admin/windhager.png windhager.png image/png upload [5] windhager.admin /opt/iobroker/node_modules/iobroker.windhager/admin/tsconfig.json tsconfig.json application/json upload [4] windhager.admin /opt/iobroker/node_modules/iobroker.windhager/admin/tab_m.html tab_m.html text/html upload [3] windhager.admin /opt/iobroker/node_modules/iobroker.windhager/admin/style.css style.css text/css upload [2] windhager.admin /opt/iobroker/node_modules/iobroker.windhager/admin/index_m.html index_m.html text/html upload [1] windhager.admin /opt/iobroker/node_modules/iobroker.windhager/admin/custom_m.html custom_m.html text/html upload [0] windhager.admin /opt/iobroker/node_modules/iobroker.windhager/admin/admin.d.ts admin.d.ts video/mp2t Process exited with code 0 --host iobroker --debug install $ NPM version: 8.1.3 npm install $ --prefix "/opt/iobroker" (System call) npm ERR! code EINVALIDTAGNAME npm ERR! Invalid tag name "$": Tags may not have any characters that encodeURIComponent encodes. npm ERR! A complete log of this run can be found in:npm ERR! /opt/iobroker/.npm/_logs/2021-11-15T12_48_11_459Z-debug.log host.iobroker Cannot install $: 1 ERROR: Process exited with code 25 To Reproduce Steps to reproduce the behavior: 1. Go to 'Adapter from URL' 2. Click on 'Install' 3. See error Expected behavior I expect, that this Adapter get's insalled and I can see it inside the Instances Screenshots & Logfiles If applicable, add screenshots and logfiles to help explain your problem. Versions: - Adapter version: <0.9.5> - JS-Controller version: <3.3.18> - Node version: <12.22.7> - Operating system: Additional context I would really be happy, if you could check the Adapter. 👍 We got a new central heating and would like to add it to my screen. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#21>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACQXKF7LWBUSMCFYLKUGSLUMD7SFANCNFSM5IBT4FJQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
-- Roman Brunka @.

Seems, that there is again a problem:
$ iobroker url https://github.com/rbrunka/ioBroker.windhager.git --host raspberrypi --debug
install rbrunka/ioBroker.windhager#2512c99a2a6876cd28cfe593c811c5f32aac65dc
NPM version: 6.14.15
npm install rbrunka/ioBroker.windhager#2512c99a2a6876cd28cfe593c811c5f32aac65dc --prefix "/opt/iobroker" (System call)
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})

<EMAIL_ADDRESS>1 package in 21.039s

44 packages are looking for funding run npm fund for details
upload [7] windhager.admin /opt/iobroker/node_modules/iobroker.windhager/admin/words.js words.js application/javascript
upload [6] windhager.admin /opt/iobroker/node_modules/iobroker.windhager/admin/windhager.png windhager.png image/png
upload [5] windhager.admin /opt/iobroker/node_modules/iobroker.windhager/admin/tsconfig.json tsconfig.json application/json
upload [4] windhager.admin /opt/iobroker/node_modules/iobroker.windhager/admin/tab_m.html tab_m.html text/html
upload [3] windhager.admin /opt/iobroker/node_modules/iobroker.windhager/admin/style.css style.css text/css
upload [2] windhager.admin /opt/iobroker/node_modules/iobroker.windhager/admin/index_m.html index_m.html text/html
upload [1] windhager.admin /opt/iobroker/node_modules/iobroker.windhager/admin/custom_m.html custom_m.html text/html
upload [0] windhager.admin /opt/iobroker/node_modules/iobroker.windhager/admin/admin.d.ts admin.d.ts video/mp2t
Process exited with code 0


Requests upgrade

This commit is to resolve the security vulnerabilities of the requests.

Codecov Report

Merging #81 into develop will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop      #81   +/-   ##
========================================
  Coverage    80.61%   80.61%
========================================
  Files           37       37
  Lines        14573    14573
  Branches      1441     1441
========================================
  Hits         11748    11748
  Misses        2348     2348
  Partials       477      477

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 d0d55e9...0638744. Read the comment docs.


fix(cmake/modules): update driver to support kernels 5.6.y

Co-authored-by: Lorenzo Fontana<EMAIL_ADDRESS>Signed-off-by: Leonardo Di Donato<EMAIL_ADDRESS>What type of PR is this?
/kind bug
Any specific area of the project related to this PR?
/area build
What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #1173
Refs https://github.com/draios/sysdig/pull/1621
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

fix: support Falco driver on Linux kernels 5.6.y

/cc @fntlnz
/cc @kris-nova

/approve

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: kris-nova
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [kris-nova]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: d3ec353cbeccc49cee536bda2bb18ff69f8b5417

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: kris-nova
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [kris-nova]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: fntlnz, kris-nova
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [fntlnz,kris-nova]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

So I think this broke our driver build.
Has anyone been able to compile the driver with this new version?

@kris-nova - Can you post more details? You mean the process of building a driver from source or our automated driver building process?
I tested with against the longterm kernels and @nathan-b - the actual patch author also tested in their environment: https://github.com/draios/sysdig/pull/1621#issuecomment-621869556

Also thanks for testing this out @kris-nova we definitely need to understand what happened to your build before we release because releasing a broken driver might be a huge deal for the project

Our automated tests have been running with this change (both eBPF and kmod) for nearly a week now. I'm not saying that I didn't break anything, but I don't think I broke everything ;)

So this is ready to ship into the next Falco release! Thanks for the fix @nathan-b !


GmailManager with argparse

Prompt removed and added argparse. It is now a command with options/arguments.

Rules to be set later on.


How to install pyBigWig in windows?

Hi, I'm getting the error below while installing pyBigWig on windows.
Is there a way to solve it?
C:\Users\burcak\Anaconda3>pip install  pyBigWig
Collecting pyBigWig
Using cached https://files.pythonhosted.org/packages/b0/e2/cf945d541a10bb9c675f986d5bf0b0268544721054d17cc6260cfcfb3685/pyBigWig-0.3.17.tar.gz
ERROR: Command errored out with exit status 1:
command: 'c:\users\burcak\anaconda3\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\burcak\AppData\Local\Temp\pip-install-0iih0ohf\pyBigWig\setup.py'"'"'; file='"'"'C:\Users\burcak\AppData\Local\Temp\pip-install-0iih0ohf\pyBigWig\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\burcak\AppData\Local\Temp\pip-install-0iih0ohf\pyBigWig\pip-egg-info'
cwd: C:\Users\burcak\AppData\Local\Temp\pip-install-0iih0ohf\pyBigWig
Complete output (5 lines):
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\burcak\AppData\Local\Temp\pip-install-0iih0ohf\pyBigWig\setup.py", line 24, in
for e in sysconfig.get_config_vars('BLDLIBRARY')[0].split():
AttributeError: 'NoneType' object has no attribute 'split'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

I honestly have no clue, presumably you would need to use the linux subsystem on Windows 10. This particular problem I could fix in the code, but I fully suspect that there would be many issues installing dependencies on Windows.

For reference one can use WSL or WSL2 on windows. There's no other specific support for it.


Obscure non-cache image IDs in pr-comment table

All built images are included in the build-table added as a PR comment
to be helpful for reference and possible debugging.  However, it's
unhelpful if a human accidentally tries to deploy a non-cache image ID
into CI somewhere.  Those images are never to be used outside of very
special-case situations.  Obscure non-cache image IDs in the table to
prevent accidents.

Garrrh!  This can't be tested in a PR.  Have I mentioned how much I enjoy working with GHA-workflows?

Oh..... duh. The new code doesn't take effect until --- yep, what you just said.

Thanks, I think my brain should be smart enough to not copy-paste do-not-use :grin:

NP.  Sorry for the bad table layout. The code that makes it is quite full of rot, over-complexity, and neglect.  I'm trying really hard to not look at it until it becomes truly completely broken :laughing:


Wrap!

Implements tile.wrap(true) #10. The added code is a verbatim copy of the implementation in Wrap Test III, which serves as the only test for now.

[x] Add implementation
[ ] Add tests
[ ] Update documentation
[ ] Discuss the 4-element-array representation. Is it fine?

I don’t like the four-element array. 😦  The problem is the fourth value isn’t really an orthogonal dimension like the other three. And it starts to feel like a long unnamed argument list.
I also don’t like in the current API that you need to multiply d[0] and d[1] by the tile size (typically 256) to position the tiles. But there are lots of different ways you can position the tiles actually, such as by making them all 1×1 and then applying a transform that scales them by 256 or whatever the current tile scale is… So not sure what the best solution is.
Feels to me like [x, y, z] should use the wrapped x always, but then maybe we also expose d.x and d.y named properties on the array that represent the tile’s position (separate from its identity)? And then there’s the question of whether those values should be premultipled by the tile size. I think the answer there is yes.

I also don't like the 4 element array. I'll try this:

[ ] Make the 3-element array use the wrapped X, as the identity of the tile.
[ ] Expose d.x and d.y as the offsets, premultiplied by the tile size.

That feels a lot better. Thanks for the suggestion!
Before:
  image.enter().append("image")
      .attr("xlink:href", function(d) { return "http://" + "abc"[d[1] % 3] + ".tile.openstreetmap.org/" + d[2] + "/" + d[3] + "/" + d[1] + ".png"; })
      .attr("x", function(d) { return d[0] * 256; })
      .attr("y", function(d) { return d[1] * 256; })
      .attr("width", 256)
      .attr("height", 256);

After:
  image.enter().append("image")
      .attr("xlink:href", function(d) { return "http://" + "abc"[d[1] % 3] + ".tile.openstreetmap.org/" + d[2] + "/" + d[0] + "/" + d[1] + ".png"; })
      .attr("width", 256)
      .attr("height", 256)
    .merge(image)
      .attr("x", function(d) { return d.x; })
      .attr("y", function(d) { return d.y; });

I ran into some issues with using enter() only, so moved the "x" and "y" into a merged enter + update. Here's an updated example that shows this working - Wrap Test IV

You should be able to use test.deepEqual to test against nested objects and arrays. Though you might need to do something clever to handle the arrays with the extra x and y property.

Done.

It occurred to me that if the x and y offsets are multiplied by 256 here, maybe the tiles.scale and tile.translate values should be modified in the same PR, to eliminate the need for some of the math in this snippet:
function stringify(scale, translate) {
  var k = scale / 256, r = scale % 1 ? Number : Math.round;
  return "translate(" + r(translate[0] * scale) + "," + r(translate[1] * scale) + ") scale(" + k + ")";
}

Namely:

Divide the scale by 256
Multiply the translate by the scale

I think this PR is good to go. The stringify modifications can go in a different PR.
@mbostock I'll go ahead and merge this in myself. Hope you don't mind :smile:

Here are updated versions of the examples using this new change:

Raster & Vector I (wrap update)
Raster & Vector II (wrap update)
Raster & Vector III (wrap update)
Raster & Vector IV (wrap update)
Tile by Bounding Box (wrap update)


just a typo :-) in a01_getting-started.Rmd

an errant 'a'
CDMConnector has needed to export a its own method

Thanks Andy. I fixed it in the development branch. Should be released around Nov 14.


Sly, Sly 2, Sly 3

There isn't any Cheat for this games

Referenced to: https://github.com/Dokman/CheatDevicePS2Codes/commit/e549b2d82d50e19524c9d77f8364ada83a723564

Today i will test it


Racer only completes use statements without {}

Just reporting this because it seems like it would be a fairly simple difference, not sure if it's a bug or just a feature that hasn't been built yet.
Terminal output:
$ cat asdf.rs
use std::io::{}
$ racer complete 1 13 asdf.rs
PREFIX 13,13,
MATCH BufReader,32,11,/home/daboross/Projects/CheckedOut/rust/src/libstd/io/buffered.rs,Struct,pub struct BufReader<R> {
MATCH BufWriter,178,11,/home/daboross/Projects/CheckedOut/rust/src/libstd/io/buffered.rs,Struct,pub struct BufWriter<W: Write> {
MATCH BufStream,439,11,/home/daboross/Projects/CheckedOut/rust/src/libstd/io/buffered.rs,Struct,pub struct BufStream<S: Write> {
// many more things here
$ racer complete 1 14 asdf.rs
PREFIX 14,14,

It'd make sense for racer to offer the same completions inside the {} in an import statement that offers without the {}.

Is this a duplicate of #96 ?

Yep


chore: upgrade tooling & type fixes.

Upgrades mypy to 1.6 & pyright to 1.331.

Pull Request Checklist

[ ] New code has 100% test coverage
[ ] (If applicable) The prose documentation has been updated to reflect the changes introduced by this PR
[ ] (If applicable) The reference documentation has been updated to reflect the changes introduced by this PR
[ ] Pre-Commit Checks were ran and passed
[ ] Tests were ran and passed

Description

Close Issue(s)

Regards the disableBytesTypePromotions flag (ref):

The type annotation bytes has historically implied bytes | bytearray | memoryview (similar to how the type annotation float implies float | int). That means a value annotated as bytes might actually be a bytearray or memoryview at runtime. If you use an isinstance type guard to validate that it is actually a bytes value, it may still be a bytesarray | memoryview in the fall-through (else) case. That's where these types arise (seemingly out of nowhere).
PEP 688 recommends that type checkers no longer treat bytes in this manner, but some existing code bases still rely on this behavior. I recently added a configuration switch called disableBytesTypePromotions. If you set this to true in your config file, pyright will no longer assume that a bytes annotation should also imply bytearray | memoryview. The disableBytesTypePromotions setting is true by default in "strict" type checking mode, but it's false by default in normal type checking mode. At some point in the future, I hope to default this to true all the time.


AutoMLSearch execution leads to Segmentation Fault

[A clear and concise description of what the bug is.]
PROBLEM:
AutoMLSearch execution leads to Segmentation Fault
Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)
Code Sample, a copy-pastable example to reproduce your bug.
Environment:
(serverless-machine-learning) akram@ISHERIFF-M-RBNA models % uname -a
Darwin ISHERIFF-M-RBNA 21.5.0 Darwin Kernel Version 21.5.0: Tue Apr 26 21:08:22 PDT 2022; root:xnu-8020.121.3~4/RELEASE_X86_64 x86_64
(serverless-machine-learning) akram@ISHERIFF-M-RBNA models %
(serverless-machine-learning) akram@ISHERIFF-M-RBNA models % python3 -V
Python 3.9.7
(serverless-machine-learning) akram@ISHERIFF-M-RBNA models %
# Your code here

## Evaluating Different Models by using  the  Auto-ML  framework  ""EVALML""  in this  module.

print("\nImporting to Auto-ML based Training ...##")

import evalml   ## AutoML  technique to be used here  This package is  required only if you are doing  automatic Data cleaning and Pre-processing without any Manual steps.
from PreProcess_Data import Xtrain,Xtest,Ytrain,Ytest
from evalml import AutoMLSearch
evalml.problem_types.ProblemTypes.all_problem_types

from sklearn.metrics import accuracy_score
from matplotlib import pyplot as plt

X_train, X_test, y_train, y_test = Xtrain,Xtest,Ytrain,Ytest

print("\n\n\tRunning Auto ML based  training\n")

automl = AutoMLSearch(X_train=Xtrain, y_train=Ytrain, problem_type='binary')
print(automl.search())

automl.rankings
print(automl.best_pipeline)

best_pipeline=automl.best_pipeline

print(best_pipeline)

#GeneratedPipeline(parameters={'Imputer':{'categorical_impute_strategy': 'most_frequent', 'numeric_impute_strategy': 'mean',
#                            'categorical_fill_value': None, 'numeric_fill_value': None}, 'Logistic Regression Classifier'
#:{'penalty': 'l2', 'C': 1.0, 'n_jobs': -1, 'multi_class': 'auto', 'solver': 'lbfgs'},})

automl.describe_pipeline(automl.rankings.iloc[0]["id"])

### Evaluate on hold out of the data samples
best_pipeline.score(X_test, y_test, objectives=["auc","f1","Precision","Recall"])

automl_auc.rankings
automl_auc.describe_pipeline(automl_auc.rankings.iloc[0]["id"])

best_pipeline_auc = automl_auc.best_pipeline
# get the score on holdout data
best_pipeline_auc.score(X_test, y_test,  objectives=["auc"])

## Pickling the trained model
best_pipeline.save("AutomML_Eval_model.pkl")

check_model=automl.load('model.pkl')
check_model.predict_proba(X_test).to_dataframe()

Debugged it with pdb as well and with breakpoints, print statements

================================================================
OUTPUT:
/Users/akram/opt/anaconda3/envs/serverless-machine-learning/bin/python /Users/akram/AKRAM_CODE_FOLDER/ML/Washington_ML/serverless-machine-learning/ML_Proj_Template/ml1/models/Auto_Eval_Training.py
Importing to Auto-ML based Training ...##
::Reading of Input Data is Sucessfull::
  MI_dir_L5_weight  MI_dir_L5_mean  ...    HpHp_L0.01_covariance  HpHp_L0.01_pcc
0          1.000000            60.0  ...                    0.0             0.0
1          1.000000            60.0  ...                    0.0             0.0
2          1.000000            60.0  ...                    0.0             0.0
3          1.000000           590.0  ...                    0.0             0.0
4          1.927179           590.0  ...                    0.0             0.0
[5 rows x 115 columns]
The shape of  Input  dataset is : (9999, 115)
The shape of  Input malicious  dataset is : (9999, 115)
Clean/ Benign Traffic is  0       1
1       1
2       1
3       1
4       1
..
9994    1
9995    1
9996    1
9997    1
9998    1
Name: Out, Length: 9999, dtype: int64
Malicious Traffic is  0       0
1       0
2       0
3       0
4       0
..
9994    0
9995    0
9996    0
9997    0
9998    0
Name: Out, Length: 9999, dtype: int64
Concatenated Data Shape is (19998, 116)
combined1 shape is (19998, 116)
After remove:  (19998, 114)
The OUTPUT is :
[0 1 1 ... 0 0 1]
OUTPUT SHAPE :  (19998,)
Running Auto ML based  training

Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)

Yes,I am on a MAC.
Hardware Overview:
Model Name:	MacBook Pro
Model Identifier:	MacBookPro16,1
Processor Name:	6-Core Intel Core i7
Processor Speed:	2.6 GHz
Number of Processors:	1
Total Number of Cores:	6
L2 Cache (per Core):	256 KB
L3 Cache:	12 MB
Hyper-Threading Technology:	Enabled
Memory:	16 GB
System Firmware Version:	17<IP_ADDRESS>.0 (iBridge: 19.16.16064.0.0,0)
OS Loader Version:	540.120.3~19
Serial Number (system):	C02FRBNAMD6M
Hardware UUID:	B5D170ED-BA36-541D-81D0-2CB5FD5B0A39
Provisioning UDID:	B5D170ED-BA36-541D-81D0-2CB5FD5B0A39
Activation Lock Status:	Disabled

By using the  confusion matrix  API  Call as  below oncode  lines  #220  - 222

confusion_matrix = metrics.confusion_matrix(max_test, max_predictions)
plt.figure(figsize=(16, 14))
sns.heatmap(confusion_matrix, xticklabels=LABELS, yticklabels=LABELS, annot=True, fmt="d");

Trained model is  saved (pickled) using  the  model.pkl  api call  and later on this  same model  is loaded into memory  to make the  predictions.

Yes, in code line  #203  plt is called for  plotting the  results.

Yes, i tried with a different dummy dataset which comes from  SKlearn.load_dataset API  but the same error.

Thanks for the info!  A couple of things:

Have you tried running your code with the plot operations commented out?
I am not seeing any code that has the line numbers you're referencing. There are only about 50 lines in the snippet

Yes, i tried running  with the  plot  operations commented out  but i still see the same issue.
PFI  the code below.

Your code here
Evaluating Different Models by using  the  Auto-ML  framework  ""EVALML""  in this  module.
print("\nImporting to Auto-ML based Training ...##")
import evalml   ## AutoML  technique to be used here  This package is  required only if you are doing  automatic Data cleaning and Pre-processing without any Manual steps.
from PreProcess_Data import Xtrain,Xtest,Ytrain,Ytest
from evalml import AutoMLSearch
evalml.problem_types.ProblemTypes.all_problem_types
from sklearn.metrics import accuracy_score
from matplotlib import pyplot as plt
X_train, X_test, y_train, y_test = Xtrain,Xtest,Ytrain,Ytest
print("\n\n\tRunning Auto ML based  training\n")
automl = AutoMLSearch(X_train=Xtrain, y_train=Ytrain, problem_type='binary')
print(automl.search())
automl.rankings
print(automl.best_pipeline)
best_pipeline=automl.best_pipeline
print(best_pipeline)
#GeneratedPipeline(parameters={'Imputer':{'categorical_impute_strategy': 'most_frequent', 'numeric_impute_strategy': 'mean',
'categorical_fill_value': None, 'numeric_fill_value': None}, 'Logistic Regression Classifier'
#:{'penalty': 'l2', 'C': 1.0, 'n_jobs': -1, 'multi_class': 'auto', 'solver': 'lbfgs'},})
automl.describe_pipeline(automl.rankings.iloc[0]["id"])
Evaluate on hold out of the data samples
best_pipeline.score(X_test, y_test, objectives=["auc","f1","Precision","Recall"])
automl_auc.rankings
automl_auc.describe_pipeline(automl_auc.rankings.iloc[0]["id"])
best_pipeline_auc = automl_auc.best_pipeline
get the score on holdout data
best_pipeline_auc.score(X_test, y_test,  objectives=["auc"])
Pickling the trained model
best_pipeline.save("AutomML_Eval_model.pkl")
check_model=automl.load('model.pkl')
check_model.predict_proba(X_test).to_dataframe()

That looks like the same code as your original snippet.  No line 202 or 220 - 222


Any ETA on version 0.7?

Hi, the latest stable version is not compatible with PHP 8 according to composer.json, can we expect it released any time soon?
This question applies to all nettrine packages, but I don't want to flood every repo with same issue.
Thanks.

I did the change for couple of repositories together with @f3l1x. And I  can confirm, that those dev versions are running just fine.

Ok, good to know, thanks.

Hi, v0.7.0 bumped.


New tests for adjusting duration of a test

Adding 3 new tests for adjust duration:

Combining multiple duration strings
Multiplying by a value
Adding a value

It refers also to #3278
Pull Request Checklist

[X] extend the test coverage

/packit test

/packit test

/packit build

/packit test

/packit build

Unrelated failures, merging.


Corrupt Menu Rendering

Issue Type: Bug
Menus rendering broken with update to electron.
Appears to be gpu acceleration related - fixed by starting with --disable-gpu
Running on Dell XPS 9570 ( nvidia and intel )
Looks like an upstream issue now impacting vscode.
VS Code version: Code 1.26.1 (493869ee8e8a846b0855873886fc79d480d342de, 2018-08-16T18:34:20.517Z)
OS version: Linux x64 4.15.0-30-generic

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz (12 x 2294)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: disabled_softwarevideo_decode: unavailable_softwarevideo_encode: unavailable_softwarewebgl: enabledwebgl2: enabled

Load (avg)
1, 1, 1

Memory (System)
15.31GB (11.82GB free)

Process Argv
/usr/share/code/code --unity-launch

Screen Reader
no

VM
0%

Extensions (1)

Extension
Author (truncated)
Version

python
ms-
2018.7.1

@enly1 do you have a screenshot?

Like this perhaps?

This is the screenshot from vscode when not running --disable-gpu
Same problem showing up in Chrome ...
Disabling GPU acceleration works fine.
My laptop is a Dell XPS9570 i7
Linux mint 19 installed
Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
Intel graphics and NVidia 1050-TI-MaxQ
vscode was okay on this machine until recent update, although not sure
which one and if it was vscode, chrome, electron or drivers.
vscode is fine in Windows as is chrome with the same version of chrome and
electron (in vscode, windows was insiders)
So looks like an upstream issue - but another reason I'm thinking that this
laptop isn't the winner for me.
Simon
On 18 August 2018 at 14:27, Luke Wiwatowski<EMAIL_ADDRESS>wrote:

[image: vscode_menu]
https://user-images.githubusercontent.com/2504992/44299673-162abe80-a33e-11e8-8459-9c17debfe9c8.png
Like this perhaps?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/vscode/issues/56738#issuecomment-414057832,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFif6juEe5mDW_9o97WS6l6t7Drb6MI9ks5uSBY_gaJpZM4WCi0q
.

Can't add image to edited post, so adding it here.

@enly1 as a workaround you could configure "window.titleBarStyle": "custom".
@lukewiwa your issue seems different because it looks like you are using our custom menu, can you report a separate issue?

@bpasero  - afraid I can't use that workaround.  The reason I am using that titlebar setting currently is to workaround a bug / regression with precision touchpad drivers which results in scroll lockups etc.  (Don't have the issue number to hand)
The fix for that was to disable custom titlebars.  Catch22.

@bpasero - I've worked around it for now by hacking --disable-gpu into the launch command for the electron app as I launch it from many places (launchers etc), so can't add it manually to command lines when using.

@enly1 is this ArchLinux?
@enly1 can you try to reproduce with a newer build that is using Electron 3.0.x: https://az764295.vo.msecnd.net/exploration/57d01751b88c89046b33be3f1d55f860041fd27b/code-exploration-1534445620.tar.gz

@bpasero - Linux Mint 19 - mate desktop.
Linux dev-XPS-15-9570 4.15.0-32-generic #35-Ubuntu SMP Fri Aug 10 17:58:07 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
I'll take a look at electron 3 over the next couple of days - limited time available at present.

@bpasero - just tested electron 3 - same issue.

I have the same problem as lukewiwa in the 2nd post on solus linux.
vscode version 1.26.1
uname -a
Linux logmediapc002 4.17.14-86.current #1 SMP PREEMPT Sat Aug 11 13:47:11 UTC 2018 x86_64 GNU/Linux

@logTom @enly1 did this happen in previous versions of VSCode too?

No.
This bug only occurs for me with "window.titleBarStyle": "custom".
I will stick with "window.titleBarStyle": "native" until this issue is solved.
Here is the full "Help"->"About" dialog:

Yeah sorry, I was referring to those that see this issue with the native title.

@bpasero - just tested electron 3 - same issue.

@bpasero - It was working fine with vscode - I know it was good as I settled on the alt menu style when I worked out the bug for the scrolling issues - wasn't there then.
This is an upstream issue with chrome as far as I can tell, cascaded down into electron and vscode.

@logTom, you may see this issue in the custom titlebar resolved in the latest insiders as some rendering changes were made relating to mnemonics. If you would like to give it a try and let us know that would be great. Thanks,
SteVen


Unauthorized remote command execution

By default, if the configuration permission is set, there will be unauthorized access, resulting in remote command execution

I don't think it's a bug, a user should know the risk of running this program.

which configuration should not set, please show a example to help user deal this issue.


Removed examples link in resources doc

Changes

I removed the link of examples because it doesn't exist in resources doc.
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:

[x] Includes tests (if functionality changed/added)

These changes don't contain code.

[x] Includes docs (if user facing)
[x] Commit messages follow commit message best practices

See the contribution guide for more details.
Double check this list of stuff that's easy to miss:

If you are adding a new binary/image to the cmd dir, please update
the release Task and TaskRun to build and release this image

Release Notes
None.

@googlebot I signed it!

/ok-to-test
/lgtm
thanks @cappyzawa!

Whoops, thanks @cappyzawa !!
/approve


application.yml Update Error: Error Status code: 500  Message: Failed to start container

When trying to update application.yml through the following Dockerfile:
ARG TAG=latest
FROM dm3ll3n/shinystudio:$TAG
ENV TAG=$TAG

### Additional customizations (apps, drivers, etc) to copy into the image.

COPY application.yml /opt/shinyproxy/application.yml

###

I get the following error:
Error
Status code: 500

Message: Failed to start container

For RStudio and Visual Studio Code Containers.
And in addition:
# BASIC AUTH
proxy:
  ### PERSONALIZATION ###
  title: "ShinyStudio"
  hide-navbar: false
  ### AUTHENTICATION ###
  admin-groups: ['developers', 'administrators']
  authentication: simple
  users:
  - name: admin
    password: administrator
    groups: administrators
  - name: dev
    password: developer
    groups: developers
  - name: user
    password: user
    groups: viewers
  ### DANGER ZONE ###
  port: 8080 # LEAVE ME ALONE
  landing-page: /
  logo-url: file:///opt/shinyproxy/templates/grid-layout/assets/img/logo.png
  favicon-path: /opt/shinyproxy/templates/grid-layout/assets/img/logo.png
  template-path: ./templates/grid-layout
  container-wait-time: 30000
  heartbeat-rate: 15000
  heartbeat-timeout: 120000
  usage-stats-url: http://influxdb:8086/write?db=shinyproxy_usagestats
  docker:
    internal-networking: true
  specs:
    - id: reports
      display-name: Apps & Reports
      logo-url: 'fas fa-chart-line'
      container-image: "${SITE_NAME}_shinystudio:${TAG}"
      container-cmd: [ "shiny-server" ]
      container-network: "${SITE_NAME}_default"
      container-volumes:
        - "${CONTENT_PATH}/sites/${SITE_NAME}/_apps:/srv/shiny-server:z"
        - "${SITE_NAME}_r_libraries:/r-libs"
        - "${SITE_NAME}_py_environment:/conda3"
        - "${SITE_NAME}_pwsh_modules:/home/#{proxy.userId}/.local/share/powershell/Modules"
      access-groups: [ 'administrators', 'developers', 'viewers' ]
      container-env:
        USER: "#{proxy.userId}"
        USERID: ${USERID}
    - id: documents
      display-name: Documents
      logo-url: 'fas fa-file-alt'
      container-image: "${SITE_NAME}_shinystudio:${TAG}"
      container-cmd: [ "shiny-server" ]
      container-network: "${SITE_NAME}_default"
      container-volumes:
        - "${CONTENT_PATH}/sites/${SITE_NAME}/_docs:/srv/shiny-server:z"
        - "${SITE_NAME}_r_libraries:/r-libs"
        - "${SITE_NAME}_py_environment:/conda3"
        - "${SITE_NAME}_pwsh_modules:/home/#{proxy.userId}/.local/share/powershell/Modules"
      access-groups: [ 'administrators', 'developers', 'viewers' ]
      container-env:
        USER: "#{proxy.userId}"
        USERID: ${USERID}
    - id: personal
      display-name: Personal
      logo-url: 'far fa-folder-open'
      container-image: "${SITE_NAME}_shinystudio:${TAG}"
      container-cmd: [ "shiny-server" ]
      container-network: "${SITE_NAME}_default"
      container-volumes:
        - "${CONTENT_PATH}/users/#{proxy.userId}:/srv/shiny-server:z"
        - "${SITE_NAME}_r_libraries:/r-libs"
        - "${SITE_NAME}_py_environment:/conda3"
        - "${SITE_NAME}_pwsh_modules:/home/#{proxy.userId}/.local/share/powershell/Modules"
      access-groups: [ 'administrators', 'developers', 'viewers' ]
      container-env:
        USER: "#{proxy.userId}"
        USERID: ${USERID}
    - id: rstudio
      display-name: RStudio
      logo-url: 'fab fa-r-project'
      container-image: "${SITE_NAME}_shinystudio:${TAG}"
      container-cmd: [ "rstudio" ]
      container-network: "${SITE_NAME}_default"
      container-volumes:
        - "${CONTENT_PATH}/sites/${SITE_NAME}:/home/#{proxy.userId}/__ShinyStudio__:z"
        - "${CONTENT_PATH}/users/#{proxy.userId}:/home/#{proxy.userId}/__Personal__:z"
        - "${CONTENT_PATH}/users/#{proxy.userId}/.rstudio:/home/#{proxy.userId}/.rstudio/monitored/user-settings:z"
        - "${SITE_NAME}_r_libraries:/r-libs"
        - "${SITE_NAME}_py_environment:/conda3"
        - "${SITE_NAME}_pwsh_modules:/home/#{proxy.userId}/.local/share/powershell/Modules"
      container-env:
        USER: "#{proxy.userId}"
        USERID: ${USERID}
      description: Full Screen
      port: 8787
      access-groups: [ 'developers' ]
    - id: rstudio-admin
      display-name: RStudio
      logo-url: 'fab fa-r-project'
      container-image: "${SITE_NAME}_shinystudio:${TAG}"
      container-cmd: [ "rstudio" ]
      container-network: "${SITE_NAME}_default"
      container-volumes:
        - "${CONTENT_PATH}:/home/#{proxy.userId}/__ShinyStudio__:z"
        - "${CONTENT_PATH}/users/#{proxy.userId}:/home/#{proxy.userId}/__Personal__:z"
        - "${CONTENT_PATH}/users/#{proxy.userId}/.rstudio:/home/#{proxy.userId}/.rstudio/monitored/user-settings:z"
        - "${SITE_NAME}_r_libraries:/r-libs"
        - "${SITE_NAME}_py_environment:/conda3"
        - "${SITE_NAME}_pwsh_modules:/home/#{proxy.userId}/.local/share/powershell/Modules"
      container-env:
        USER: "#{proxy.userId}"
        USERID: ${USERID}
        SITE_NAME: ${SITE_NAME}
      description: Full Screen
      port: 8787
      access-groups: [ 'administrators' ]
    - id: vscode
      display-name: Visual Studio Code
      logo-url: 'fas fa-terminal'
      container-image: "${SITE_NAME}_shinystudio:${TAG}"
      container-cmd: [ "vscode" ]
      container-network: "${SITE_NAME}_default"
      container-volumes:
        - "${CONTENT_PATH}/sites/${SITE_NAME}:/home/#{proxy.userId}/__ShinyStudio__:z"
        - "${CONTENT_PATH}/users/#{proxy.userId}:/home/#{proxy.userId}/__Personal__:z"
        - "${CONTENT_PATH}/users/#{proxy.userId}/.vscode:/home/#{proxy.userId}/.local/share/code-server:z"
        - "${SITE_NAME}_r_libraries:/r-libs"
        - "${SITE_NAME}_py_environment:/conda3"
        - "${SITE_NAME}_pwsh_modules:/home/#{proxy.userId}/.local/share/powershell/Modules"
      container-env:
        USER: "#{proxy.userId}"
        USERID: ${USERID}
      description: Full Screen
      port: 8080
      access-groups: [ 'developers' ]
    - id: vscode-admin
      display-name: Visual Studio Code
      logo-url: 'fas fa-terminal'
      container-image: "${SITE_NAME}_shinystudio:${TAG}"
      container-cmd: [ "vscode" ]
      container-network: "${SITE_NAME}_default"
      container-volumes:
        - "${CONTENT_PATH}:/home/#{proxy.userId}/__ShinyStudio__:z"
        - "${CONTENT_PATH}/users/#{proxy.userId}:/home/#{proxy.userId}/__Personal__:z"
        - "${CONTENT_PATH}/users/#{proxy.userId}/.vscode:/home/#{proxy.userId}/.local/share/code-server:z"
        - "${SITE_NAME}_r_libraries:/r-libs"
        - "${SITE_NAME}_py_environment:/conda3"
        - "${SITE_NAME}_pwsh_modules:/home/#{proxy.userId}/.local/share/powershell/Modules"
      container-env:
        USER: "#{proxy.userId}"
        USERID: ${USERID}
        SITE_NAME: ${SITE_NAME}
      description: Full Screen
      port: 8080
      access-groups: [ 'administrators' ]

By using the default application.yml, without modifications.


 Have learned that deprecated packages do not show up in search results (which makes a lot of sense now).
Luckily this deprecated package has only been published twice about 7 years ago so shouldn't be any problems for users if it were transferred.

Hi @headlessme, you own the npm error-code package. If you don't have plans to use it in the future, do you think you could transfer it to me? My npm account is tabcat00.
If you are open to it but want to talk more beforehand my email is on my github profile.If you are not open to it please let me know as well so I can move on. Thanks

Going to use code-err for now.


Xiaomi Air Purifier 3C: "Device not supported! Using a generic device with limited properties!"

Sadly the new Purifier 3C isn't supported yet. Even worse: My Bridge completely shuts down, if I try to activate the Plugin with my Device.
I hope this can be fixed soon.

Some additional info. This is the complete Log for this.
22.3.2021, 16:14:24 [miot] Initializing devices
22.3.2021, 16:14:24 [miot] [Xiaomi Air Purifier] Got device configuration, initializing device with name: Xiaomi Air Purifier
22.3.2021, 16:14:24 [miot] [Xiaomi Air Purifier] Device model known: XiaomiAirPurifier3! Creating device!
22.3.2021, 16:14:24 [miot] [Xiaomi Air Purifier] Initializing device properties
22.3.2021, 16:14:24 [miot] [Xiaomi Air Purifier] Initializing device capabilities
22.3.2021, 16:14:24 [miot] [Xiaomi Air Purifier] Device not supported! Using a generic device with limited properties! Consider requesting device support!
22.3.2021, 16:14:24 [miot] [Xiaomi Air Purifier] Initializing accessory!
22.3.2021, 16:14:24 TypeError: this.powerSwitchService.getCharacteristic(...).onGet is not a function
    at GenericAccessory.prepareSwitchService (/home/hoobs/.hoobs/node_modules/homebridge-miot/lib/modules/generic/GenericAccessory.js:64:8)
    at GenericAccessory.setupAccessoryServices (/home/hoobs/.hoobs/node_modules/homebridge-miot/lib/modules/generic/GenericAccessory.js:54:10)
    at GenericAccessory.initAccessory (/home/hoobs/.hoobs/node_modules/homebridge-miot/lib/modules/generic/GenericAccessory.js:49:10)
    at new GenericAccessory (/home/hoobs/.hoobs/node_modules/homebridge-miot/lib/modules/generic/GenericAccessory.js:35:10)
    at Function.createAccessory (/home/hoobs/.hoobs/node_modules/homebridge-miot/lib/AccessoryFactory.js:42:24)
    at xiaomiMiotDevice.initAccessory (/home/hoobs/.hoobs/node_modules/homebridge-miot/index.js:136:47)
    at MiotController.<anonymous> (/home/hoobs/.hoobs/node_modules/homebridge-miot/index.js:97:14)
    at MiotController.emit (events.js:315:20)
    at MiotController.createMiotDevice (/home/hoobs/.hoobs/node_modules/homebridge-miot/lib/MiotController.js:91:14)
    at MiotController.connectToDevice (/home/hoobs/.hoobs/node_modules/homebridge-miot/lib/MiotController.js:38:12)
    at xiaomiMiotDevice.initMiotDevice (/home/hoobs/.hoobs/node_modules/homebridge-miot/index.js:125:25)
    at new xiaomiMiotDevice (/home/hoobs/.hoobs/node_modules/homebridge-miot/index.js:82:10)
    at miotPlatform.initDevices (/home/hoobs/.hoobs/node_modules/homebridge-miot/index.js:236:11)
    at HomebridgeAPI.<anonymous> (/home/hoobs/.hoobs/node_modules/homebridge-miot/index.js:212:14)
    at HomebridgeAPI.emit (events.js:315:20)
    at HomebridgeAPI.signalFinished (/usr/local/lib/node_modules/@hoobs/hoobs/node_modules/homebridge/lib/api.js:81:14)
22.3.2021, 16:14:24 Got SIGTERM, shutting down Bridge...

Can you post your config?
It seems that you put a wrong value in the "model" property. You should not put anything there unless you are sure what your device model is!


Balder/use faster unordered iterator

@geirst PR

Fixes https://github.com/vespa-engine/system-test/pull/4076


Gazebo Plug-In

Is there a gazebo plugin for OAK-D camera?

Hi, there is no specific OAK-D camera plugin, although you can use the default RGBD sensor with proper changes.


New MTL blog post

Feedback appreciated, thanks a lot to @larsrh who made kind-projector and partial unification work 🎉

Thanks a ton for the corrections! :)


Enable UK shipments

The UK team is running a version of 1 in 3 of us and needs to collect addresses in order to mail out their bracelets.
We need to 1) Enable the capability in custom settings to set up a shipment form. and 2) Adjust it for the UK: Instead of Zip Code, have it labeled "Post Code." State should be "County" and City should be "Town/City".
We won't be adding validation.
Campaign launches Aug 12.

@deadlybutter we need to make sure the form fields change for uk only, as well as ensure that the US validation still works, but doesn't try to fire on uk forms

@deadlybutter UK is looking for a timing update - anything I can tell them for now?

@julielorch was only able to start working on this one today, had issues getting my international environment running but sergii helped me out. Hopefully I knock this out by EOD!

Woooord!
On Thu, Jul 30, 2015 at 11:52 AM, Joe Kent<EMAIL_ADDRESS>wrote:

@julielorch https://github.com/julielorch was only able to start
working on this one today, had issues getting my international environment
running but sergii helped me out. Hopefully I knock this out by EOD!
—
Reply to this email directly or view it on GitHub
https://github.com/DoSomething/phoenix/issues/4732#issuecomment-126377750
.

this is the current form that already exists when i enable shipments on the UK site, looks like it just needs county added.

actually @julielorch does the order here matter?

My hunch is that yes, the order matters. It should reflect the first pasted
image. I think the UK guys are signed off for now, but I could ask them
tomorrow if it matters.
On Thu, Jul 30, 2015 at 1:59 PM, Joe Kent<EMAIL_ADDRESS>wrote:

actually @julielorch https://github.com/julielorch does the order here
matter?
—
Reply to this email directly or view it on GitHub
https://github.com/DoSomething/phoenix/issues/4732#issuecomment-126418595
.

Hi @julielorch, @mikefantini.
I enabled the form on local UK and got shipment form just like @deadlybutter's.
I looked into technical approaches for two adjustments and concluded:

Enable country field.
As I understand, these field intended for UK countries:

The UK consists of four countries: England, Scotland, Wales, and Northern Ireland.

However, Drupal doesn't support these, only ISO standardized country names are allowed: https://github.com/drupal/drupal/blob/7.x/includes/iso.inc#L103
Hence it would be impossible to save the for with Wales or Scotland in country field.

Fields order. Now, when we can't use country field it doesn't make much sense. Plus, it turned out to be not so easy task: it's impossible to use normal #weight attribute to change order of address fields (discussed with @angaither, source: http://drupal.stackexchange.com/questions/52047/rearranging-subfields-with-the-address-field-module)

Except country field and field order, everything looks like good to go.

Okay...so the original asked for County (optional), not Country. From what I understand, we don't need Country. Let's enable for now. I'd like the UK team to see ASAP in case we need to make any changes.

Oh, sorry, my fault, misread county.
It should be possible to change address form to this:


[FEATURE] Convert Hub Dataset to pandas DataFrame format

🚨🚨 Feature Request

[ ] Related to an existing Issue
[x] A new implementation (Improvement, Extension)

If your feature will improve HUB
Enable users to seamlessly switch from a Hub dataset to a pd.DataFrame and leverage the tools of the Pandas library. Would be best for tabular data such as numerical features.
Syntax:
ds.to_dataframe(), where ds is a Hub dataset.
Difficulty: Medium

I would like to try to work on this issue, I have knowledge of pandas library but am a beginner in open source.

This issue is still up for grabs in case anyone is interested!

I would like to try and work on this issue.

Perfect @gaurav879 , thanks a lot for helping out with this! Please let us know if you have any questions. :)

I have opened PR #1534 that fixes above issue.

Thanks a lot @gaurav879 ! We'll review it right away :)

nice @gaurav879 , thanks a lot for the contribution! Feel free to pick another issue! if you don't find anything that's up for grabs, please let me know in community slack (slack.activeloop.ai) we will definitely think of something!


Implement code to map a timestamp -> block number

Pull Request Test Coverage Report for Build 178

69 of 202 (34.16%)  changed or added relevant lines in 5 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.8%) to 37.644%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

blockfinder/blockfinder.go
51
55
92.73%

backend/fixture_backend.go
18
40
45.0%

backend/recorder_backend.go
0
27
0.0%

backend/btcd_backend.go
0
40
0.0%

backend/electrum_backend.go
0
40
0.0%

Files with Coverage Reduction
New Missed Lines
%

backend/fixture_backend.go
1
77.46%

Totals

Change from base Build 176:
-0.8%

Covered Lines:
489

Relevant Lines:
1299

💛  - Coveralls


AdaptiveDialogBot should execute Save on User and Conversation state in parallel

It turns out the DialogStateManager does all the saves before the saves in the bot.
It does these via saving the memoryscopes, it does not attempt to do them in parallel. And it is not clear exactly how concurrency can be introduced here.

This is out of scope for v4. Potentially related to #6027


Add Timber Debug Extension to documentation and related projects

Ticket: #1443
Here comes a very nice plug-and-play extension from @nlemoine that can add a benefit to a lot of developers 🍻!

Added a section for the Debugging Guide about different options for formatted debug output.
Added link to related projects section in README.

Awesome, love it — thanks @gchtr and @nlemoine !


edits consistent with UI philosophy

@bparees PTAL
These are edits based on the feedback we got from the UI team in some other recent PRs.

@spadgett FYI another one of these ... I'll apply some of the general comments you had elsewhere in a min

OK ... applied. PTAL.

OK, "GIT" -> "Git" pushed

LGTM

lgtm


Don't re-capture backtraces when propagating traps through host frames

This fixes some accidentally quadratic code where we would re-capture a Wasm
stack trace (takes O(n) time) every time we propagated a trap through a host
frame back to Wasm (can happen O(n) times). And O(n) * O(n) = O(n^2), of
course. Whoops. After this commit, it trapping with a call stack that is n
frames deep of Wasm-to-host-to-Wasm calls just captures a single backtrace and
is therefore just a proper O(n) time operation, as it is intended to be.
Now we explicitly track whether we need to capture a Wasm backtrace or not when
raising a trap. This unfortunately isn't as straightforward as one might hope,
however, because of the split between wasmtime::Trap and
wasmtime_runtime::Trap. We need to decide whether or not to capture a Wasm
backtrace inside wasmtime_runtime but in order to determine whether to do that
or not we need to reflect on the anyhow::Error and see if it is a
wasmtime::Trap that already has a backtrace or not. This can't be done the
straightforward way because it would introduce a cyclic dependency between the
wasmtime and wasmtime-runtime crates. We can't merge those two Trap
types-- at least not without effectively merging the whole wasmtime and
wasmtime-runtime crates together, which would be a good idea in a perfect
world but would be a ton of ocean boiling from where we currently are --
because wasmtime::Trap does symbolication of stack traces which relies on
module registration information data that resides inside the wasmtime crate
and therefore can't be moved into wasmtime-runtime. We resolve this problem by
adding a boolean to wasmtime_runtime::raise_user_trap that controls whether we
should capture a Wasm backtrace or not, and then determine whether we need a
backtrace or not at each of that function's call sites, which are in wasmtime
and therefore can do the reflection to determine whether the user trap already
has a backtrace or not. Phew!
Fixes #5037

Difference in benchmark results after the third commit:

host-wasm-frames-traps/20
                        time:   [9.1573 µs 9.2173 µs 9.2943 µs]
                        thrpt:  [2.1519 Melem/s 2.1698 Melem/s 2.1840 Melem/s]
                 change:
                        time:   [-71.950% -71.263% -70.647%] (p = 0.00 < 0.05)
                        thrpt:  [+240.68% +247.98% +256.50%]
                        Performance has improved.
Found 7 outliers among 100 measurements (7.00%)
  1 (1.00%) high mild
  6 (6.00%) high severe
host-wasm-frames-traps/40
                        time:   [17.594 µs 17.679 µs 17.777 µs]
                        thrpt:  [2.2500 Melem/s 2.2626 Melem/s 2.2735 Melem/s]
                 change:
                        time:   [-82.311% -82.060% -81.828%] (p = 0.00 < 0.05)
                        thrpt:  [+450.31% +457.42% +465.32%]
                        Performance has improved.
Found 21 outliers among 100 measurements (21.00%)
  12 (12.00%) low severe
  2 (2.00%) low mild
  3 (3.00%) high mild
  4 (4.00%) high severe
host-wasm-frames-traps/60
                        time:   [24.421 µs 24.825 µs 25.198 µs]
                        thrpt:  [2.3812 Melem/s 2.4169 Melem/s 2.4569 Melem/s]
                 change:
                        time:   [-87.209% -86.980% -86.694%] (p = 0.00 < 0.05)
                        thrpt:  [+651.54% +668.05% +681.82%]
                        Performance has improved.
Found 3 outliers among 100 measurements (3.00%)
  2 (2.00%) high mild
  1 (1.00%) high severe
host-wasm-frames-traps/80
                        time:   [30.406 µs 30.660 µs 31.073 µs]
                        thrpt:  [2.5746 Melem/s 2.6092 Melem/s 2.6311 Melem/s]
                 change:
                        time:   [-90.168% -90.023% -89.849%] (p = 0.00 < 0.05)
                        thrpt:  [+885.12% +902.27% +917.09%]
                        Performance has improved.
Found 2 outliers among 100 measurements (2.00%)
  2 (2.00%) high mild
host-wasm-frames-traps/100
                        time:   [41.574 µs 41.822 µs 42.132 µs]
                        thrpt:  [2.3735 Melem/s 2.3911 Melem/s 2.4053 Melem/s]
                 change:
                        time:   [-91.218% -91.097% -90.974%] (p = 0.00 < 0.05)
                        thrpt:  [+1007.9% +1023.2% +1038.7%]
                        Performance has improved.
Found 18 outliers among 100 measurements (18.00%)
  7 (7.00%) high mild
  11 (11.00%) high severe
host-wasm-frames-traps/120
                        time:   [50.096 µs 50.518 µs 51.109 µs]
                        thrpt:  [2.3479 Melem/s 2.3754 Melem/s 2.3954 Melem/s]
                 change:
                        time:   [-92.489% -92.372% -92.261%] (p = 0.00 < 0.05)
                        thrpt:  [+1192.2% +1211.0% +1231.3%]
                        Performance has improved.
Found 15 outliers among 100 measurements (15.00%)
  9 (9.00%) high mild
  6 (6.00%) high severe
host-wasm-frames-traps/140
                        time:   [57.252 µs 57.426 µs 57.624 µs]
                        thrpt:  [2.4295 Melem/s 2.4379 Melem/s 2.4453 Melem/s]
                 change:
                        time:   [-93.581% -93.502% -93.423%] (p = 0.00 < 0.05)
                        thrpt:  [+1420.4% +1438.8% +1457.9%]
                        Performance has improved.
Found 13 outliers among 100 measurements (13.00%)
  6 (6.00%) high mild
  7 (7.00%) high severe
host-wasm-frames-traps/160
                        time:   [68.391 µs 70.340 µs 72.333 µs]
                        thrpt:  [2.2120 Melem/s 2.2747 Melem/s 2.3395 Melem/s]
                 change:
                        time:   [-94.214% -94.064% -93.903%] (p = 0.00 < 0.05)
                        thrpt:  [+1540.2% +1584.6% +1628.4%]
                        Performance has improved.
Found 14 outliers among 100 measurements (14.00%)
  6 (6.00%) high mild
  8 (8.00%) high severe
host-wasm-frames-traps/180
                        time:   [76.005 µs 77.580 µs 79.369 µs]
                        thrpt:  [2.2679 Melem/s 2.3202 Melem/s 2.3683 Melem/s]
                 change:
                        time:   [-95.074% -94.871% -94.668%] (p = 0.00 < 0.05)
                        thrpt:  [+1775.4% +1849.9% +1930.2%]
                        Performance has improved.
Found 11 outliers among 100 measurements (11.00%)
  6 (6.00%) high mild
  5 (5.00%) high severe
host-wasm-frames-traps/200
                        time:   [90.825 µs 94.718 µs 98.745 µs]
                        thrpt:  [2.0254 Melem/s 2.1115 Melem/s 2.2020 Melem/s]
                 change:
                        time:   [-95.291% -95.072% -94.844%] (p = 0.00 < 0.05)
                        thrpt:  [+1839.6% +1929.0% +2023.4%]
                        Performance has improved.
Found 13 outliers among 100 measurements (13.00%)
  6 (6.00%) high mild
  7 (7.00%) high severe

Thanks for looking into this! Unfortunately, no difference. I tested it here: https://github.com/filecoin-project/ref-fvm/commit/4242e722dfc99e3b5153080be96d2c21f3413dbb (looks like I got the patches correct).
I'll put a reproducer together by next week (have a few deadlines this week).

@Stebalien to be clear, enabling backtraces will always have some overhead that is proportional to how many frames are on the stack (capturing the stack is O(frames)) so we shouldn't expect that performance is identical when backtraces are enabled and when they disabled. But comparing performance with this PR vs without this PR should ideally show a marked improvement in performance.
Are you seeing identical performance with this patch applied vs without?
If so, how is the trap being triggered? Is it an unreachable in Wasm, an out-of-bounds memory operation, a host function returning Err(wasmtime::Trap::new(...)), or something else?
(Reproducer would still be appreciated, once you have the cycles.)

Are you seeing identical performance with this patch applied vs without?

Within the margin of error, yes. Basically, this test is 300-400x slower with backtraces enabled.

Is it an unreachable in Wasm, an out-of-bounds memory operation, a host function returning Err(wasmtime::Trap::new(...)), or something else?

The host is returning a Trap from a syscall. Specifically:

Host returns a Trap.
Host handles the Trap on the other side of the func.call.
Host returns to the next wasm instance up the stack.
The next wasm instance calls back into the host (asking the host to "abort").
The host returns another trap, go back to step 2.

In other words:

Host -> Wasm -> Host -> Wasm ... (1000x) ... -> Host (traps) [Z]
Wasm [W] <- Host [X] <- (Wasm [Y] skipped) <- Host (traps) [Z].
Wasm [W] -> Host (traps) [X].
Wasm [U] <- Host [V] <- (Wasm [W] skipped) <- Host (traps) [X].

And so on... Two steps backwards, one step forward, two steps backward, all the way to the top.

(Reproducer would still be appreciated, once you have the cycles.)

I'll also do a bit of profiling myself as well.

The host is returning a Trap from a syscall. Specifically:

Host returns a Trap.
Host handles the Trap on the other side of the func.call.
Host returns to the next wasm instance up the stack.
The next wasm instance calls back into the host (asking the host to "abort").
The host returns another trap, go back to step 2.

To clarify, does this mean that for a stack of depth N, there are N traps?
The "quadratic slowdown with backtraces" behavior is completely expected then, from first principles, I think: you're taking N traps, and they have cost 1, 2, 3, ... N frames/levels deep. I don't think there's anything we could do to make this not be quadratic, short of some sort of magical lazily-expanding constant-time stack capture (which we can't do because we don't keep the stack around after the trap fires).

There's one trap at each level. If these stack traces cover the entire rust stack, not just the wasm module handling the trap, that would make sense.
In that case, would the wasmtime team consider keeping the ability to disable backtraces?

I think it would make sense to add an optional max number of frames captured in a backtrace, which can be set to zero to completely disable backtraces. Then we can limit the cost of a backtrace from O(frames) to some user-chosen acceptable constant overhead.
Going to go ahead and merge this PR and file a new issue for that config option. I'll cc you on it, @Stebalien.

I think it would make sense to add an optional max number of frames captured in a backtrace, which can be set to zero to completely disable backtraces. Then we can limit the cost of a backtrace from O(frames) to some user-chosen acceptable constant overhead.

#5052


Add setText instance method

This adds a setText instance method to the search bar.
I'm using this to fill text into my search when the user taps a previous search result from my list that I maintain separately.
Problems? Nitpicks? Let me know!

Hey @hawkrives, grats on first time PR here. Just wondering why you can't use state and the text prop to manage the text?

@iRoachie Admittedly, I didn't try that yesterday, but I didn't recall that approach working.
I'll try it out tonight and close this if it works. (If it doesn't, I guess I'll open a different PR to fix it.)
Thanks!


DXVK 2.5.2 breaks off-screen framebuffer rendering

It seems like the issue is the off-screen framebuffers. They are getting mixed-up. Instead of drawing a minimap, it draws a copy of the game world camera. And on the login screen, it draws a button/texture on top of the main window texture, etc. It's really messed up since 2.5.2.
Reverting to DXVK 2.5.1 fixes it.
I will include images in the next comment.
Software information
Game: World of Warcraft 3.3.5 (https://www.warmane.com/download)
Settings: DXVK is all on default settings, running inside Bottles.
System information

GPU: RTX 3090
Driver: 565.77 on Fedora 41
Wine version: wine-ge-proton8-26
DXVK version: 2.5.2

DXVK 2.5.1 (Working)

DXVK 2.5.2 (Framebuffers all getting mixed up and drawing into each other, mixing random game textures and world cameras etc). Most noticeable in the top right (minimap).

Hi there.
This should already be fixed on current master. Could you give it a go to verfiy? The text at the bottom of this link have a download of it https://github.com/doitsujin/dxvk/actions/runs/12435734651

@Blisto91 @K0bin Ah, so there's been one commit since 2.5.2, this one:
https://github.com/doitsujin/dxvk/commit/1eb0c687a6748d8268dd84f466a1378de4fb3c10
And now there's no leftover locations where it replaces the whole mask. It's all bit-or/and now:
https://github.com/doitsujin/dxvk/blob/1eb0c687a6748d8268dd84f466a1378de4fb3c10/src/d3d9/d3d9_device.cpp
Great news. It fixes the entire issue! Everything's working beautifully again. Thank you so much. Your expertise is incredibly impressive. This Direct3D translator is such a stunningly great piece of work. Thank you for everything you do to make gaming on Linux great. :heart:

Thanks for confirming. I basically debugged the issue with WoW, so I would've been surprised if it wasn't fixed but you never know.
Also thanks for the kind words. :smiley:

@K0bin Perfect. I have played for about 2 hours now and everything is working. 👍 😄


How to Quantize alternative LLMs

Hello authors, in an attempt to experiment on other settings such as LLaVA-v1.5 7b with vicuna-7b LLM, how do you quantize the 7b model? Could you provide the script to quantize this model?

You can just change the model in scripts, there is no difference.

But the script requires a quantized LLM model, if I am not mistaken? This requires a quantized model before applying the multimodal learning? How do you quantize this LLM prior to running your training script?

Most importantly, I am asking how to obtain a corresponding omni_parameters.pth for a new model.

But the script requires a quantized LLM model, if I am not mistaken? This requires a quantized model before applying the multimodal learning? How do you quantize this LLM prior to running your training script?

To obtain the quantized model from QSLAW under other settings, you need to modify the model in the pretrain script and then apply this quantized model in the SFT stage.

Most importantly, I am asking how to obtain a corresponding omni_parameters.pth for a new model.

You can follow OmniQuant to get omni_parameters.pth. Since this process of omniquant does not support multi-GPU parallelism, we haven't integrated it into our code yet.
Then, you can run the modify.py in our repo to ensure a correct parameter dictionary and set the --resume in the pretrain.sh to the quantized parameter path.

If you have any other questions, feel free to open this issue!


Hue Motion

Hi
I added a second Homey to my house and now my Hue Motions stopped working.
I have tried to exclude them then include them again. Then they work for a couple of hours (max) then they stops working again. They works fine if I include them in the Hue Bridge but I want them connected directly to Homey (less delay). Is there something that interferes when using 2 or more Homeys?
Other Zigbee devices are working fine.
Homey version: 3.1.0
App version: 1.4.6

This is a known issue with Athoms ZigBee implementation. There is no code inte the app for the sensors more than settings and registering the listeners.


Performance impact of non-str dict keys

CPython has a specialized dictionary lookup function for str-only keys. The first time a dict instance is accessed with a non-str key, it's modified so future lookups use the generic function. Performance imapct is observable:
In [1]: d = {str(i): 1 for i in range(1_000)}

In [2]: %timeit d["1"]
26.7 ns ± 0.0895 ns per loop (mean ± std. dev. of 7 runs, 10000000 loops each)

In [3]: d[1] = 1

In [4]: %timeit d["1"]
33.2 ns ± 0.117 ns per loop (mean ± std. dev. of 7 runs, 10000000 loops each)

This is non-reversible - the particular dict instance will keep using the generic function forever, even if non-str keys are removed.
In [5]: del d[1]

In [6]: %timeit d["1"]
33.8 ns ± 1.1 ns per loop (mean ± std. dev. of 7 runs, 10000000 loops each)

I'll submit a PR containing adding a section explaining this

Hi @Jongy, thanks.
This will be a good addition to the collection. Let me know when you've raised the PR.


Optimize functionality for retrieving config

Cache decoded configuration to avoid deserialization on every request.
IMPORTANT: Where possible all PRs must be linked to a Github issue
Fixes #2095
Engineer Checklist

[x] I have written Unit tests for any new feature(s) and edge cases for bug fixes
[x] I have added any strings visible on UI components to the strings.xml file
[ ] I have updated the  CHANGELOG.md file for any notable changes to the codebase
[x] I have run ./gradlew spotlessApply and ./gradlew spotlessCheck to check my code follows the project's style guide
[x] I have built and run the FHIRCore app to verify my change fixes the issue and/or does not break the app

Code Reviewer Checklist

[ ] I have verified Unit tests have been written for any new feature(s) and edge cases
[x] I have verified any strings visible on UI components are in the strings.xml file
[x] I have verifed the CHANGELOG.md file has any notable changes to the codebase
[x] I have verified the solution has been implemented in a configurable and generic way for reuseable components
[x] I have built and run the FHIRCore app to verify the change fixes the issue and/or does not break the app

yay!


Front-end validation for creditcard fields

Magento version: <IP_ADDRESS>
Plugin version: 2.12.0
Description
I have implemented the new Adyen Payment 2.12.0 plugin with the new Secured Fields functionality.
I have styled the new iframe inputs (creditcard name, creditcard number, creditcard expiration date, creditcard cvc) to match our design. When I try to fill in all the fields except the new secured iframe fields I can submit the form. I don't get any frontend validation when I don't fill in the fields. Am I doing something wrong or is front-end validation not present in the current implementation?

Hi @TomFranssen ,
There is validation on the card type, securedFields return a card type when the number is filled in, we check if this card is allowed in Magento, if not, we show an "Invalid card type" alert.
We will add validation to the other fields, since at the moment the only check is on the credit card number.

It would also be nice if it's possible to make the fields required. Because now when you don't enter anything you can still submit the form without any values.

Hi @TomFranssen,
With the latest release this should be the case. Feel free to open a new issue if you still have an issue.
Regards,
Rik
Adyen


Remove the "exact" criterion from Algolia's ranking formula

This criterion is use to "boost" records matching exactly the query words but it makes libraries having "backbone" in their "keywords" attribute being ranked higher than the "backbone.js" library if query is "backbone". Not a big deal, I've just removed it here.

Related to https://github.com/cdnjs/cdnjs/issues/4368

Thanks @redox


how to get roi using shapefile and how to get shoreline from google earth engine?

geemap version:
Python version:
Operating System:

Description
at first, thank you for creating an amazing python library. it is so cool.
I have tried using
roi=ee.Geometry.Polygon(
[[[21.961028, 89.183342],
[24.913965, 88.517214],
[25.892225, 89.326427],
[24.974290, 92.252793],
[22.841086, 91.299550]]],None,False)
and drawing .
I like to get study area using shapefile. is there any to get timelapse of the shoreline/coastline of the particular areas?
I appreciate your assistance and thank you.

See this notebook example and tutorial. If you have a complicated shapefile that exceeds the geemap upload limit, you might want to upload it to your GEE account. See the GEE documentation.


HBASE-27064 CME in TestRegionNormalizerWorkQueue

[ERROR] org.apache.hadoop.hbase.master.normalizer.TestRegionNormalizerWorkQueue.testTake  Time elapsed: 0.065 s  <<<
java.util.concurrent.ExecutionException: java.util.ConcurrentModificationException
  at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357)
  at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1928)
  at org.apache.hadoop.hbase.master.normalizer.TestRegionNormalizerWorkQueue.testTake(TestRegionNormalizerWorkQueue.java:211)
Caused by: java.util.ConcurrentModificationException
  at java.util.LinkedHashMap$LinkedHashIterator.nextNode(LinkedHashMap.java:719)
  at java.util.LinkedHashMap$LinkedKeyIterator.next(LinkedHashMap.java:742)
  at org.apache.hadoop.hbase.master.normalizer.RegionNormalizerWorkQueue.take(RegionNormalizerWorkQueue.java:192)
  at org.apache.hadoop.hbase.master.normalizer.TestRegionNormalizerWorkQueue.lambda$testTake$3(TestRegionNormalizerWorkQueue.java:192)

My impression after a quick read of the code is the separate locks putLock and takeLock should be unified as a reentrant read-write lock.

[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.apache.hadoop.hbase.master.normalizer.TestSimpleRegionNormalizerOnCluster
[INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 83.842 s - in org.apache.hadoop.hbase.master.normalizer.TestSimpleRegionNormalizerOnCluster
[INFO] Running org.apache.hadoop.hbase.master.normalizer.TestRegionNormalizerWorker
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.185 s - in org.apache.hadoop.hbase.master.normalizer.TestRegionNormalizerWorker
[INFO] Running org.apache.hadoop.hbase.master.normalizer.TestRegionNormalizerManagerConfigurationObserver
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.909 s - in org.apache.hadoop.hbase.master.normalizer.TestRegionNormalizerManagerConfigurationObserver
[INFO] Running org.apache.hadoop.hbase.master.normalizer.TestRegionNormalizerWorkQueue
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.412 s - in org.apache.hadoop.hbase.master.normalizer.TestRegionNormalizerWorkQueue
[INFO] Running org.apache.hadoop.hbase.master.normalizer.TestSimpleRegionNormalizer
[INFO] Tests run: 32, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.258 s - in org.apache.hadoop.hbase.master.normalizer.TestSimpleRegionNormalizer
[INFO] Results:
[INFO] Tests run: 49, Failures: 0, Errors: 0, Skipped: 0

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 28s
Docker mode activated.

Latest precommit is good.

Rebased.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 42s
Docker mode activated.


Add date to release notes

Description of the new feature / enhancement
I may be missing a feature of github, etc. but there doesn't seem to be an at-a-glance way to see the date of each of the releases.
Scenario when this would be used?
When reading the release notes.
Supporting information
Seems like useful information that would be easy to add.

@kmslogic
Github shows this information on the mobile app (between title and description) as well as on the homepage (on the right side near by the release title).
Are you referring to the release notes on the Whats New page in the PowerToys Settings? /Needinfo

I'm referring to the release notes (via the release notes link inside of PowerToys) on a PC via the Chrome browser:

I guess it is subjective, but the same issue exists on the entire history of releases.  It's just a suggestion...

Looks like GitHub displays the dates next to the releases, so I'm going to close this one out :)

Yes it appears to be showing an actual date now, but you can see by my screenshot it was just showing an estimate before (e.g. "last month").  Thanks for the response.


[BEAM-8368] Avoid libprotobuf-generated exception when importing apache_beam

This is a workaround to an error that occurs when importing apache_beam on macOS 10.15 Catalina.
For more information, refer to a JIRA discussion: https://issues.apache.org/jira/browse/BEAM-8368

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

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

Run Python PreCommit

@aaltay should we go ahead and merge this prior to the 2.17.0 cut? We can update it if arrow 0.15.1 is out in time.

@aaltay should we go ahead and merge this prior to the 2.17.0 cut? We can update it if arrow 0.15.1 is out in time.

Yes, thank you. Is arrow 0.15.1 fixing this issue?

Yeah the fix for ARROW-6860 should be in 0.15.1, and it sounds like that will resolve our issue.

Great, thank you!

Thanks!


R2-2317 Document SSE-C Compatibility on R2

Summary
Updated Compatibility Matrix, API Reference, and added Example.
Please merge when feature lands.
Preview

https://developers.cloudflare.com/r2/api/s3/api/
https://developers.cloudflare.com/r2/examples/ssec/
https://developers.cloudflare.com/r2/api/workers/workers-api-reference/

Documentation checklist

[ ] The documentation style guide has been adhered to.
[ ] If a larger change - such as adding a new page- an issue has been opened in relation to any incorrect or out of date information that this PR fixes.

Please hold until runtime update is released

@helloimalastair I added you to the group that gives you merge permissions. You should be able to merge your PR whenever it's ready. 😁


Test speedup

Speed up the two tests that take the most time. From around 2s and 3s to near 0s.

Codecov Report

Merging #148 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #148   +/-   ##
=======================================
  Coverage   95.28%   95.28%
=======================================
  Files           2        2
  Lines         318      318
=======================================
  Hits          303      303
  Misses         15       15

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 f55f481...9272c68. Read the comment docs.


Update Composer dependencies (2022-01-29-00-06)

Visual regression test passed!
View the visual regression test report


Standard exportable format for issue tracker data

This would easily allow administrator backups and command line management of issue tracker data associated with repositories.

Thanks, it is a cool idea, but how and why?

Well I got the idea after watching this Eric S. Raymon talk (from 2009 omg how does this issue still exist) where he describes the painful loss of data he experienced after a centralized cvs/issue tracker/mailing list host went down.  He was able to find backups of various source revisions and mirrored archives of the mailing list, but was not able to recover the issue tracker data.  He noted that most revision control web portals that include issue trackers only store the data internally on some sort of SQL database.
This prevents users from accessing the revision history of issues directly, a property which could be used to view issues when offline, perform manual commits and pushes, and allow for easy export and import of issue tracker data into other open source software.  As someone who has started using gogs as an alternative source portal on my own servers, I feel that these benefits are in line with the goals of the gogs project, to be the easiest to setup, run, and use.  It's about time issue trackers start embracing an offline first workflow.
This feature could be implemented by storing issues and comments as markdown files with YAML frontmatter metadata describing the author, time created, open status, tags, and time last modified.  Each file would be named after a hash of the initial metadata, providing a unique id for each entry to reference eachother by.  Comment files will additionaly include the id of the issue file and the id of the previous comment.  Issue files will include a the id of the newest comment. The git repository file tree might look something like this.
├── comments
│   ├── 06198e758d64e7646ed1f9db0acbb1255f11053fb0c0ad6859ccd23a26f55624
│   └── 85b4f9c9a8e480fd2c9655622c646e13a103157d88c477b0f22ec918fe0dd1ea
└── issues
    └── 39d2cf562c8911d0ea931fdf2d126a81ab877db12e8ada53162055fb4f56292b

Here we have one issue file with the id (in this case sha256sum) of 39d2cf562c8911d0ea931fdf2d126a81ab877db12e8ada53162055fb4f56292b.  This file contains the following.
---
title: Should this feature be implemented?
author: 5paceManSpiff
created: Tue Dec 01 2015 15:29:42 GMT-0500 (EST)
modified: Tue Dec 01 2015 15:41:49 GMT-0500 (EST)
status: open
tags: feature
newest: 06198e758d64e7646ed1f9db0acbb1255f11053fb0c0ad6859ccd23a26f55624
---

Yo do you think we should implement this feature?

It contains all requisite issue data along with the id of the newest comment, 06198e758d64e7646ed1f9db0acbb1255f11053fb0c0ad6859ccd23a26f55624.  If we take a look at this file it contains the following.
---
author: 5paceManSpiff
created: Tue Dec 01 2015 15:41:49 GMT-0500 (EST)
modified: Tue Dec 01 2015 15:41:49 GMT-0500 (EST)
issue: 39d2cf562c8911d0ea931fdf2d126a81ab877db12e8ada53162055fb4f56292b
previous: 85b4f9c9a8e480fd2c9655622c646e13a103157d88c477b0f22ec918fe0dd1ea
---

Yeah true too much work :P.

This contains all requisite comment data as well as the id of the previous comment, 85b4f9c9a8e480fd2c9655622c646e13a103157d88c477b0f22ec918fe0dd1ea.
Using this structure gogs could manage flatfile version controlled records of the issue tracker through the issue tracker interface, as well as through direct git pushes.

I've uploaded my example repository to my github profile.

Just wonder why not just dump the database?

Plain text markdown files are easier to manually edit and parse than database dumps.  Dumping the database would certainly be the easiest way to implement issue tracker backups, but would make interoperability between other git management systems more difficult.  I don't think it makes sense to create an offline backup of a repository that requires importing into a database or into gogs itself.  Flat files would allow users to query individual issues and comments without the need for a database.

@nanoant what do you think about this?  I think this has implications for #2070.

It sounds more like export issue data other than backup.

@5paceManSpiff Honestly I've seen many solutions that tried to use Git repo for storing issues, but none were widely adapted. Most didn't went out of prototype. Such approach may be good for command line users, but IMHO Web interface is just much convenient. My personal preference is sqlite database for single node server. This can be easily backed up, transferred etc. etc.
Also such solution would require dropping completely (X)ORM approach or writing own Git based ORM. Both would require serious amount of coding and time.

I'm considering writing my own Git based ORM library with an included cli client.  Given the relative stability of that effort I'll attempt integrating it into gogs.

@5paceManSpiff still I don't see how this new ORM library can work along with existing XORM using same relational DB paradigm. If you will be wanting to use relation paradigm for Git ORM you effectively will be emulating relational DB on Git which will get you not really good outcome. If you will create Git ORM using Git's own versioned objects, trees, commits with SHA1 paradigm you will need to rewrite most of Gogs code using the relational paradigm.

After reading @nanoant 's comment, I think I misunderstand the purpose of this issue.
If the case it use text file other than database to manage issue and comments, no, it's not going to happen with Gogs.

@nanoant It can't work directly with the existing XORM but can work along side it.  I'm proposing that the code used to store issue tracking be replaced with a library that creates and updates versioned flat files in an attempt to change the paradigm of git source portals storing issue tracking data in the same way websites store data.  Issue tracking data should not be linked to any one particular git host, and I believe that designing some sort of way of managing them in plain text would allow maximum interoperability between competing distrobutions.
The purpose of the issue is to suggest an alternative format for issue tracking that does not depend on the existence or nonexistence of specific database layers, but rather can be parsed using a single spec implemented across all git hosts.

I'm going to rename the title accordingly.

@SpaceManSpiff: Do you think that #2210 would address the underlying problem to your issue?

On release/0.11, after ./gogs backup ...., you will get JSON format everything from DB.


Making more generic match changes based on metrics yaml

Type of change

[X] Refactor
[ ] New feature
[ ] Bug fix
[ ] Optimization
[ ] Documentation Update

Description

Related Tickets & Documents

Related Issue #
Closes #

Checklist before requesting a review

[X] I have performed a self-review of my code.
[ ] If it is a core feature, I have added thorough tests.

Testing

Please describe the System Under Test.
Please provide detailed steps to perform tests related to this code change.
How were the fix/results from this change verified? Please provide relevant screenshots or results.

lgtm!! loads of thanks for the contribution @paigerube14


Add folders in the Layer Tree panel of the frontend

Documents (and layer paths) involve a nested layer structure. But currently everything is added flatly to the root because the frontend does not support folders. We need to add folders to the Layer Tree panel which can represent the nested layer structure and display the information provided by the Editor backend. After that, we'll be able to rearrange layers into the folders (#141) and select other layers that will be the hierarchical target for new layers to be drawn as siblings of (or a folder for new layers to be children of).
Complexity: 3
Involves: Frontend (JS)

I was considering working on this.
I looked at the LayerPanelEntry interface at https://github.com/GraphiteEditor/Graphite/blob/master/client/web/src/utilities/response-handler.ts#L204-L210
It does have the layer_type flag which identifies something as a Folder. It's not clear to me though how to determine what other layers belong to this folder. Is the goal of this issue to update this interface? Or is that structure encapsulated in the "path" that needs to be decoded?

This is a frontend task that involves two major things. One: building the HTML/CSS for the actual hierarchical layer structure. Two: retrieving ExpandFolder and CollapseFolder messages and maintaining a JavaScript object in the frontend which is mutated by those two messages. Any time a folder is collapsed, we empty that part of the hierarchy and any children. If anything is updated in a folder, a whole new status is sent for that folder to replace it (but not replace its child folder contents).

I also want to mention, for some context, that this is one of the more high-priority features and it is best to have it done by next weekend since other tasks somewhat pertain to it. You are more than welcome to ask all the questions you need and get help being un-stuck, please don't hesitate to reach out. If you prefer a more beginner friendly task with a slightly less high-priority timeline, I can also recommend a few for you as alternatives to this one. If you think you're up for the task (all power to you!) then by all means please proceed but I'd greatly appreciate a draft PR early on and some status updates every few days, just because it's important to not let this particular feature fall into limbo. Thanks for your understand!

Definitely don't want to be a blocker. Happy for anyone else to tackle it


for consistency, stop lines from automatically collapsing even if such a joined line would not exceed max_width

For consistent formatting across multiple like statements, declarations, assignments etc, make it possible for separate lines to not unfold into a single line even if that line would be < max_width. This is inspired by own felt need/preference, the black Python formatter for Python, and the Zig formatter.
In both black for Python and zigfmt if you put a trailing comma on a list of params, for instance, that'll be a cue for the formatter to not collapse multiple lines into a single line even if they could be since, say, they comprise a single statement and are below max line length.
Wish we could have a thing like that in rustfmt. First and foremost this would help readability in cases where you have a series of statements where one does not fit a single line and therefore will be broken down into multiple lines, but the rest do and therefore will not be broken down. For ease of visual pattern recognition I'd like to allow for breaking them all down into the same formatting scheme across multiple lines.
Currently rustfmt formats this and like examples:

I'd like to force line breaking into this much nicer formatting without sprinkling fmt skip and such all over the place:

In Python's black... Unformatted:

If I run black, it behaves similar to how rustfmt would, producing:

But if I add trailing commas manually here and here:

Then I get the nice result of:

What do you think?

@effinsky Thanks for reaching out. Not sure what version of rustfmt you're using, but you can try to set short_array_element_width_threshold to a sufficiently small value and that should force rustfmt to format the lists vertically.
Also want to note that something similar was brought up in https://github.com/rust-lang/rustfmt/issues/5190.
Hope that helps, but I'm going to close this as we don't usually want the existence or lack of a comma in the input to dictate how we layout lists.

Thank you for reaching out, and taking the time to articulate your suggestion so thoroughly!
To add on to what Yacin said, this is not something we'd be willing to incorporate for a few reasons, the main one being that this would be a source of idempotence issues due to the presence of existing features that manipulate trailing commas.
Your best bet to get your preferred formatting style is likely going to be to utilize a combination of the short_array_element_width_threshold and line comments where necessary to force a vertical layout

thanks, and fyi rustfmt 1.5.2-nightly

how about adding a setting to preserve shorter lines even if more than a single statement or expression would otherwise fit on a single line? so no trailing comma manipulation, but a general setting or Preserve? or something like "max_line_length_within_limit" with a true, false, so that when I say false to that, I'll get to keep my shorter lines for alignment, readability etc?
I mean quite clearly at present we do lose some readability sometimes where we have subsequent analogous lines formatted differently. I'd be cool to be able to have that consistent formatting line to line, as in the examples above.


GAMES_000G Hint tutors for possible improvements

Some of the rules are counterintuitive.
TODO:

[ ] In Sprint 3 report add a short description of these issues (does not make sense in my opinion)
[ ] not splitting up issue on the way because of existing commit messages contain issue name already (was answered in slack. "Think before you start working")
[ ] no link from commit to issue via the short commit identifier (valid concern)

I think this would rather fit into the evaluation of the course, rather than the report of a sprint. People will forget about what we tell them during the report. They don't expect course feedback there.

Course evaluation is open already, provide feedback there individually.


Allow pasting of gene list to create feature set

When you click 'create a feature set' in the metadata tab, you have to manually type genes one by one. There are some instances where users might like to paste a list of genes. For instance, they can download gene sets from msigdb (https://www.gsea-msigdb.org/gsea/msigdb/cards/HALLMARK_ANDROGEN_RESPONSE.html) and then have a list of genes. They should be able to paste that, or the input box should be able to interpret that pasted list and behave accordingly.

This has been completed.


Implement JSON API format

It seem that the JSON API format is quite nice when it comes to defining a payload for JSON REST services. It might be an idea to change the existing endpoints and move towards this format.
http://jsonapi.org/format/

Maybe we should first start with providing JSON API format for the User resource and see how that works out and what is required to get this working nicely.


#189 GCD

As per #189
GCD introduced.

@rultor merge

@rultor merge

@vssekorin The pull request is closed already, so I can't merge it

@rultor merge

@vssekorin I'm sorry, I don't understand you :( Check this page and try again please


[MRG] Add Arabic translation of tutorials/quickstart/beginner

This PR pushes an Arabic version of the tutorials/quickstart/beginner notebook. At the same time, it showcases, how to use html tags to make Arabic layout display and switch correctly between RTL Arabic text and LTR code.
@lamberta Could you have a look?
Since this notebook is rather short, we can use it to see if the RTL rendering works correctly in tensorflow's website. Thanks.

@lamberta Is there a staging environment where we can see the final html output before deploying in the production website?
Thanks.

No external staging, unfortunately.
But you can play around with nbconvert to generate Markdown. One issue that comes to mind, wrapping Markdown with a div may not render correctly across targets. Will have to experiment. Can you file an issue on the repo tracker? Thanks

@lamberta You mean an issue regarding RTL support in https://github.com/tensorflow/docs-l10n/?
Also, I think the easiest/fastest way to move forward is to do the experiment. With that in mind, I made this PR for a single tutorial to simplify doing the experiment.

Trying the notebook on https://nbviewer.jupyter.org/ which renders the notebook to html displays everything correctly:
https://nbviewer.jupyter.org/github/abjed/docs-l10n/blob/ar-quickstart/site/ar/tutorials/quickstart/beginner.ipynb

@lamberta  As you suggested, I added this issue https://github.com/tensorflow/docs-l10n/issues/129 to gather information about RTL support in tensorflow website.

Hi @baheytharwat , can you please review this notebook? Once merged, we can use this to test the Arabic docs pipeline. Thanks

@baheytharwat Thanks for reviewing, I've just pushed a commit to add the suggested correction & rewording.

Can you check "Allow edits from maintainers." on this PR. Thanks
We like to run notebooks through nbfmt.py before merge. This normalizes the notebook JSON and will make future diffs more readable. Hope to make this part of the repo CI, but not working, yet. You're welcome to run this, too.
When reviews are finished, Reviewers please approve the pull request using the regular GitHub approval process or write "LGTM" in a comment. Then tfdocsbot will add a label that I can easily see when browsing.
With so many languages and pull requests, it's difficult for me to be involved in each one. And why we really need to build a community of translators and reviewers to be successful.

The "Allow edits from maintainers." doesn't show to me in this already created PR. I'll consider checking it in future PRs.
I'll run the nbfmt.py  script when I have sometime, maybe in an hour. However, I am editing and downloading the notebooks in my PRs from colab directly.

@lamberta I have just run the nbfmt.py script on the notebook. I think it's good to merge now. Let me know If anything else needs to be improved.

@lamberta I committed your suggestions to link to the right repo. Thanks.


Support Linux pipes for Payload in CLI

Example
cat workitem.json | ./alm-cli create workitem

Being fixed in Goa: https://github.com/goadesign/goa/pull/671

@aslakknutsen PR not being merged so far.

@tsmaeder No, it requires windows verification. Not gotten around to it.

@aslakknutsen I'll close this issue cause it claims to provide support for linux :). If any user asks for windows support, then let's open a new issue.


Error when merging records that both have same file shared to them already

If two accounts / contacts / leads have the same file(s) shared to them before the merge operation then the triggers are redundantly trying to shrae the files to them again, which causes an error.
The trigger needs to be updated such that it does not try to share an already shared file with the master record.

Duplicate of issue #1