Armhf architecture files added from Raspbian Jessie

Please see issue https://github.com/Samsung/iotjs/issues/601
This commit contains temporary changes for successful build with
Raspbian Jessie used in Noobs 1.9.x.
The compilation was tested with IoT.js build scripts:
https://github.com/Samsung/iotjs/
Call in iotjs folder:
./tools/build.py  --target-board=rpi2 --target-arch=armhf
--no-parallel-build
The no-parallel-build flags is mandatory to prevent RAM
depletion by many concurrent executions of gcc.

You need to specify libtuv Developer's Certificate of Origin 1.0 in your commit message.

We need to update How to Build. I think it is following.

On RPi2,
$ TUV_PLATFORM=armhf-linux TUV_BOARD=rpi2 make

Is is right?

Please see above inline comment

Signed-off-by message is incorrect. The following line should be at the end of the 88edc81 commit's message: 'libtuv-DCO-1.0-Signed-off-by: Piotr Marcinkiewicz<EMAIL_ADDRESS>

I tested compilation of libtuv for RPI2 with theses flags:
cmake ./ -DCMAKE_TOOLCHAIN_FILE=./cmake/config/config_armhf-linux.cmake -DCMAKE_BUILD_TYPE=debug -DTARGET_PLATFORM=armhf-linux  -DBUILDTESTER=no -DBUILDAPIEMULTESTER=no -DTARGET_BOARD=rpi2 -DCMAKE_C_FLAGS=-D__LINUX__  -DCMAKE_EXE_LINKER_FLAGS=-pthread -DEXTERNAL_INCLUDE_DIR=

I used some of your suggestions to build libtuv with test tools for RPI2:
    $ TUV_PLATFORM=armhf-linux TUV_BOARD=rpi2 make

The compilation at RPI2 is successful and all test are passing.
The crosscompilation at my Ubuntu with 5.4.0 cross compiler is successful also:
    gcc-5-arm-linux-gnueabihf                       5.4.0-6ubuntu1~16.04.4cross

The binaries generated by Ubuntu cause segfault at RPI2:
    pi@piradio1:~/src/libtuv $ gdb /home/pi/tuvtester
    GNU gdb (Raspbian 7.7.1+dfsg-5) 7.7.1
    Copyright (C) 2014 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
    and "show warranty" for details.
    This GDB was configured as "arm-linux-gnueabihf".
    Type "show configuration" for configuration details.
    For bug reporting instructions, please see:
    <http://www.gnu.org/software/gdb/bugs/>.
    Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.
    For help, type "help".
    Type "apropos word" to search for commands related to "word"...
    Reading symbols from /home/pi/tuvtester...done.
    (gdb) r
    Starting program: /home/pi/tuvtester
    [Thread debugging using libthread_db enabled]
    Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".

    Program received signal SIGSEGV, Segmentation fault.
    0x00063c0e in name ()
    (gdb) bt
    #0  0x00063c0e in name ()
    #1  0x00014a5a in _start ()

I add new commit at second branch:
https://github.com/pmarcinkiew/libtuv/commit/348ac93fdc739e1a4738dd26541175574192199c

In my understanding, at RPI2, compilation is OK, and tuv tests pass. But for cross compilation at Ubuntu desktop using gcc 5.4 cross compiler, it compiles well, but it got segfault at running tuvtest. Then, please upload your commit to this repo, (not your forked repo), which setting gcc for RPI2 host, but generate error message for trying cross compilation at Ubuntu desktop. It would be better to fix it, But I think current state is enough.

See https://github.com/Samsung/libtuv/pull/62
I used gcc-linaro tools from Rasperry GITHUB to build libtuv at Ubuntu. I created another pull request because I don't want to rebase this one and my commit message lacks "Developer's Certificate of Origin 1.0"


How cute

This project is rather underrated and seems pretty cool, keep up the good work python femboy!
Although I think you could add more stuff related to Firefox, a fun hint on the fun stuff you can do, have a look at the nss3.dll within Firefox directory, you can do lots of cool stuff with that! You should link a discord idk

sir of napoleon i am fossos message me now "eextend" I want to ask you a few questions NOW

Hi dear first of all thanks ^^
i will look at what i can do with firefox,
and for discord
i will give it when i wake up ^^ i dont really wanna put a public discord server or put my discord publicly so i dont have a lot of Friend request (sorry for my Bad english)

felix.argyle.

that my discord


Only store samples we are interested in...

...in downloaded VCFs
Issue #579

+1.

Can you rebase this please @dcolligan?

@jeromekelleher done


[AUTOMATIC BUMP] Updates purchases-hybrid-common to 13.1.0

This is an automatic bump.
Updates purchases-hybrid-common to 13.1.0

Changes are related to paywalls so closing


Discussion groups are showing usernames in HTML

Describe the bug

To Reproduce
Steps to reproduce the behavior:

Go to the discussion boards and click on any of them
Usernames are displayed as html links  Betsy Sneller 6 months, 2 weeks ago

Expected behavior
Usernames should appear as linked text.
Context
Does this bug on production, development, or both?

[x] Tested on development instance
[x] Occurs on development instance
[x] Tested on production
[x] Occurs on productions

Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

This is also happening on the development server: https://hcommons-dev.org/groups/library-information-science/forum/

This was caused by https://github.com/MESH-Research/humanities-commons/commit/3fd70e9cb1f1695dd7544695cdab89a75de31c42 . Added a check to stop links being added in forums, etc.


Namespaced Base classes need to import \Exception;

It seems that when I get a duplicate entry when trying to save an object, Propel doesn't catch the PDOException, because
catch (Exception $e)
in BaseUser::doInsert() doesn't work.
The problem with PHP try/catch is that they don't throw any sort of error when you try to use a class that doesn't exist. I can as well write
catch (ExceptionalNonsense $e)
and it would still do the same thing.
this can be fixed by either using catch (\Exception $e)
or by adding use \Exception; in the header.

This bug was introduced in Propel 1.6.3 when base classes switched from catch PropelException too catch Exception in save() and delete() methods. However, there are two other places where this occurs - in hydrate() and getSomeTimestampColumn().

It seems we forgot to declare Exception in a builder..

Thank you.


Delay cloud provider cleanup until Submariner CR is deleted

This ensures uninstall completes for all Submariner components. Specifically, the gateway and globalnet pods run on nodes labeled as gateways, so we don't want to prematurely remove the gateway labels.
Related to https://issues.redhat.com/browse/ACM-12294

/cc @aswinsuryan

/cc @vthapar

/cherrypick release-2.10


Add the ability to get the values safely

This PR is really useful in cases like PIKO 3.0. At the moment if you try to get string2 value in a PIKO 3.0 you get a index out of bound exception.
I will make a PR to the kostalpiko-sensor-homeassistant repo to use these functions instead of raw_value[index].

@rcasula
Don't understand me wrong.
I like your new code, but I don't know why you gave this package a new name.

Can we get, please, merged this (and eventually revert the rename only)? I'm waiting for this merge and as far as I found there are more ppl with this issue,...


Notebook: White space around markdown cells

Issue Type: Feature Request
Hi,
There seems to be lot of white spaces around the markdown cells. Is this by design?

Azure Data Studio version: azuredatastudio 1.17.1 (814ce88c41e0daaca89afed8b184e795057a6f9d, 2020-04-30T00:16:35.943Z)
OS version: Windows_NT x64 10.0.18363

Thanks for the issue, @ronychatterjee. This is a dupe of #10191, which has been fixed in master.


502 Bad Gateway

Discussed in https://github.com/serverpod/serverpod/discussions/956

Originally posted by fleeser May 27, 2023
I am trying to get the server up and running on AWS for two days now, but get a 502 Bad Gateway when trying to access api.app.example.app.
The terraform scripts seem to work since they run successfully.
Background Info:

I am using a subdomain app.example.app as the base domain. The generated subdomains then would be e.g. api.app.example.app.
I am using the eu-central-1 region besides the required us-east-1 region.

I am able to connect to the database via tools like pgAdmin. When trying to access all the other subdomains via the Browser, the 502 Bad Gateway response code gets returned.
I also found this discussion: Discussion, but I don't think that a wrong Dart version is causing this error since I already replaced all the SDK versions in all files by nearly every possible version out there.
I tried creating a complete new Serverpod project, so that the Dart SDK versions are the default ones and the same error appears.

Answered in #956.


high severity issue in qs dependency

qs dependency has a high severity vulnerability reported here:
=> https://app.snyk.io/vuln/npm:qs:20170213
remediation: Upgrade qs to version 6.4.0
this isn't a direct dependency though:
<EMAIL_ADDRESS>›<EMAIL_ADDRESS>›<EMAIL_ADDRESS>but seems like upgrading multer would do, see: https://github.com/expressjs/multer/blob/master/package.json
would you be interested in a patch?

oh I see this is a duplicate of #98


Make JSON Diff instead of what is there now

this pr adds a bench/ folder to the repo to report what packets can be gotten using the packet dumper, which is also auto-remade on every push to master

Example of what a new diff will look like: https://github.com/u9g/test1/issues/3#issuecomment-889614709 , in my opinion it's a lot more readable and the unimportant data like versions that have no changes is not shown

@u9g should we merge ?

@u9g should I merge or close ?

Here's how the output should look assuming nothing breaks (it will tho ;)) https://github.com/u9g/test1/issues/3#issuecomment-1063704625

hey @u9g do you remember the status here? should we try to merge this or close it ?

seems to run, I'll need to look at the code to understand what this does


DataViewer for pandas dataframes is not usable at all

Applies To

[ ] Notebooks (.ipynb files)
[ ] Interactive Window and/or Cell Scripts (.py files with #%% markers)

What happened?
Let's say that I am debugging a test and I would like to see the dataframe content:

If I open it in DataViewer it looks like this:

opening of the dataframe in DataViewer is very slow
it is opened in the tab instead to be in a separate window as wide as possible with maximum hight
all columns are too narrow (about 10 characters wide) and there is no way to adjust a single column or all columns width to their contents

If I widen columns by hand:

After pressing "refresh", columns are narrow again.

Now consider this dataframe as toy example. Try to think how this would look like if I have a dataframe with 10 millions of rows and 100 columns (which is something quite usual in data science world).
PyCharm has a solution for it:

showing a dataframe is fast
it is opened in its own window that you can enlarge at will
all columns are much wider and they can be even resized automatically

Until you solve these problems, no one will use DataViewer for dataframes in vscode.
VS Code Version
Version: 1.72.2 (user setup) Commit: d045a5eda657f4d7b676dedbfa7aab8207f8a075 Date: 2022-10-12T22:15:18.074Z Electron: 19.0.17 Chromium: 102.0.5005.167 Node.js: 16.14.2 V8: <IP_ADDRESS>-electron.0 OS: Windows_NT x64 10.0.19044 Sandboxed: No
Jupyter Extension Version
Not related
Jupyter logs
No response
Coding Language and Runtime Version
Python 3.10.4 (main, Mar 31 2022, 08:41:55) [GCC 7.5.0] on linux
Language Extension Version (if applicable)
Python v2022.16.1
Anaconda Version (if applicable)
No response
Running Jupyter locally or remotely?
No response

After more than a week, can you please provide some update?

I'm sorry this hasn't been prioritzed yet. I agree this could be improved

showing a dataframe is fast => https://github.com/microsoft/vscode-jupyter/issues/1139
it is opened in its own window that you can enlarge at will => https://github.com/microsoft/vscode-jupyter/issues/1148
all columns are much wider and they can be even resized automatically => https://github.com/microsoft/vscode-jupyter/issues/1148


Ability to create a customized UI

I was trying to replicate a design. But the design is different from what comes with this package. I can change border and all through decorations but I couldn't change the height of the dropdowns or the space between it.
Also I need to show only the state in vertical view only(i.e no country or city) but that's not possible.

Hi @ooluseye16, right now CSC picker doesn't have visibility option for country we are working on it, very soon you will get that option for country.
And thanks for suggesting new feature to change height and space of drop-down
We will and this functionality as well in next version.
Thank for using csc picker

Hi @ooluseye16, Have you found any solution to change the height of the fields?
Thanks!


Global shared RuntimeVar storage?

Something I'm trying to figure out how to implement is a way to have multiple Cradle stories get/set StoryVars from a shared location. This way, Cradle stories can share information with one another, or I can have scripts in my Unity scene listening to variables that a number of stories are affecting.
My initial thought is to have a singleton GlobalRuntimeVars class and to add <<setGlobal $variable = "something">> type setter/getter commands to access those shared variables.
So my question is: is adding those getter/setter macros easy to pry in with the current code base and where would I do that? Or is there a simpler way to go about this?
Thanks!

A macro could work but unfortunately not as natively as yoursetGlobal example. Something like this:
<<setGlobal "someVar" "something">>
<<getGlobal "someVar">>
The easiest way to implement this would be via runtime macros:
[RuntimeMacro]
public void setGlobal(string globalVarName, StoryVar value)
{
	// Some static class or singleton
	GlobalVariables[globalVarName] = value;
}

[RuntimeMacro]
public StoryVar getGlobal(string globalVarName)
{
	return GlobalVariables[globalVarName];
}

Because you're using SugarCube, which doesn't have the concept of nesting macros, you'd probably need to use GlobalVariables directly if you need it in an expression, e.g.:
<<print "You have " + GlobalVariables["someVar"]>>
A better option would be to make a sync script that listens for standard variables' value changes and propagates them to other stories. You could do this in an update loop and compare each variable in Story.Vars to a list you saved in the previous frame (a bit tedious).
Actually, I might add an event to the Story object, sort of like this: Story.OnVariableChanged(Story story, string varName, StoryVar newValue, StoryVar previousValue). You could then register a single handler for all your stories and propagate the value to all of them.

Ah, yeah. I think I was moving away from that because I didn't think runtime macros received StoryVars, but rather what they cast down to? I'll give it a shot.


Moving file during live update

Moved the file listed within the IDE while running in live update mode "ionic serve"
ionic $ HTML changed: www/templates/tab-dash.html
Caught exception:
Error: watch /Users/garydeardorff/development/ionic/ionicpoker/www/templates ENOENT
at exports._errnoException (util.js:1008:11)
at FSWatcher.start (fs.js:1429:19)
at Object.fs.watch (fs.js:1456:11)
at Gaze._watchDir (/usr/local/lib/node_modules/ionic/node_modules/gaze/lib/gaze.js:289:30)
at /usr/local/lib/node_modules/ionic/node_modules/gaze/lib/gaze.js:358:10
at iterate (/usr/local/lib/node_modules/ionic/node_modules/gaze/lib/helper.js:52:5)
at /usr/local/lib/node_modules/ionic/node_modules/gaze/lib/helper.js:61:11
at /usr/local/lib/node_modules/ionic/node_modules/gaze/lib/gaze.js:420:5
at iterate (/usr/local/lib/node_modules/ionic/node_modules/gaze/lib/helper.js:52:5)
at /usr/local/lib/node_modules/ionic/node_modules/gaze/lib/helper.js:61:11
Mind letting us know? https://github.com/driftyco/ionic-cli/issues
restarted server

Can I assume that once you restarted the server that further changes worked correctly?
Also could you provide me with the output from ionic info from within your project directory? Thanks, this should help in troubleshooting.


Update Stock_NeurIPS2018_SB3.ipynb by fixing JSON

An extra comma on line 6,623 makes it invalid JSON.

This is what the Notebook looks like right now.


fix: new GitHub page change

closes #73

Thanks very much this this PR, This PR fixes the stars 0 issue but the fork number is still 0, could you help fix that as well?

Thanks very much for this PR, This PR fixes the stars 0 issue but the fork number is still 0, could you help fix that as well?

Of course. Didn't notice it before because I don't show the forks number on my website :D

@huchenme Made a new commit. Forks should work now

:tada: This PR is included in version 2.1.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


map: Async execution order - Line is drawn after stop when map.bus(x).parada(y) is called

Sometimes callbacks are executed in the opposite order they were created (ie draw stop then draw line). Need to control callback execution order. Unfortunately ES6 Promises don't provide a "cancel" mechanism.

Not yet. Still failing sometimes when integrated in TMB-Components detail view.


Use css-to-react-native for ReactNative styles

We should use css-to-react-native, a lib that the amazing @jacobp100 just wrote, for ReactNative!
Would love if somebody could pick this up, the related code is in models/InlineStyle.js!
This will fix #145 and close #139, I've closed those two for tracking this change in here.

Done by the amazing @jacobp100 in #211!


New exported format "tabular data" on JSON, use case Wikimedia Commons

https://www.mediawiki.org/wiki/Help:Tabular_Data
https://www.mediawiki.org/wiki/Extension:JsonConfig/Tabular
https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#mw.loadData
https://specs.frictionlessdata.io/data-package/#metadata

https://specs.frictionlessdata.io/tabular-data-package/#why-csv

We need a forma which can be saved as parseable tabular data on Wikimedia Commons

./999999999/0/1603_1.py --codex-de 1603_25_1 --codex-in-tabulam-json | jq

Not yet with real data, but is something
1603_1.py vs hxltmcli

See https://github.com/EticaAI/hxltm

In theory, the ideal would be move this exporter to hxltm tools (such as other formats we document on https://hxltm.etica.ai/) but it would take a lot of time to move (aka generalize) the logistics of numerordinatio directly on hxltm. HXLTM is more general propuse, and numerordinatio is a very strict subset. Add to this that to generate the data packages to work on Mediawiki commons, it would need be aware of the 1603:1:51 (which have the language mappings) so... at least for now, this exporter is similar to the way we generate the book formats.

Better output (but still fake data).

Anyway, I think we can have some MVP of this format soon. But it seems that the default way to show data tables with localized field on MediaWiki gives not hint for the user that it is showing a fallback language (not the target language) and this can lead to confusion).
We may even need to simulate a language that would never be target language from others to force the behavior. But it would still be better to do it via the programming, not on the data.


Can't create new plugin from Project settings dialog.

Godot version:
3.2.stable.official
OS/device including version:
Windows 10.1903
Issue description:
The "create" button in the "Create a Plugin" dialog is permanently disabled.
Steps to reproduce:
Create a new empty project.
Go to Project -> Project Settings.
Then the Plugin tab and press Create.
The Create a Plugin dialog will not enable the Create button no matter what you fill in.
Minimal reproduction project:
Just an new empty project should do.

If you create a new plugin based on c# it will fail. GDScript should be fine.

@GeorgeS2019 I'm not using the C# version of Godot.
The "Create" button is greyed out. You can't click it, so it won't even attempt to create the plugin.

Can't reproduce with Godot 3.2 stable on Linux. The create button is enabled just fine.

I was convinced that the Script Name gave a default value of "plugin.gd" and that you didn't have to put it in. I guess I never tried writing a name with the proper file ending.
Sorry for the time wasting!
@aaronfranke Tho, is it weird that my dialog shows the Create button on the left side?

Maybe we should allow leaving the field empty, putting a placeholder to explain it's optional?

@Calinou It sure would've saved a daft guy like me some time! ;)


Extract the nodes of empty-name packge root out

One possible way to fix #203.

Thank you @vigilans for the contribution.
I'm closing this PR since it's covered by #210.


[WIP] armv7 support

Once libgcc_s is loaded, ARM support basically 'just works'.  Tests that still fail:

test_linalg_pinv: Generates a segfault due to a misaligned load
several datetime failures that appear to relate to casting of NaN to int
several linalg tests where the differences seem disturbingly large.  Not sure if there is something wrong with Numba or the linear algebra library scipy was linked against.

[Current coverage][cc-pull] is 87.17%

No coverage report found for master at aac985e.

Powered by Codecov. Last updated by [aac985e...f5f3321][cc-compare]
[cc-base-branch]: https://codecov.io/gh/numba/numba/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/numba/numba/compare/aac985eaef480781a6ad300d2736a6847bc951fe...f5f3321430dd29bf1a4ce648bbdbdc51c09597c4
[cc-pull]: https://codecov.io/gh/numba/numba/pull/1968?src=pr

Hi, any further work on that point ? Is ARM arch is planned to be officially supported one day by numba team ?

No further work yet.  This is something I personally want to see happen, but we don't have the resources to pursue this officially at the moment.

Hi,
I was wondering if the recent updates regarding Julia and the raspberry pi:
https://www.raspberrypi.org/blog/julia-language-raspberry-pi/
Would make it simpler for Numba to be implemented on the raspberry pi?
I ask because Julia and Numba are both based on LLVM.
Thanks

Linalg currently passes/fails as follows:
test_kron (numba.tests.test_linalg.TestBasics) ... ok
test_outer (numba.tests.test_linalg.TestBasics) ... ok
test_linalg_cholesky (numba.tests.test_linalg.TestLinalgCholesky) ... ok
test_linalg_cond (numba.tests.test_linalg.TestLinalgCond) ... FAIL
test_linalg_det (numba.tests.test_linalg.TestLinalgDetAndSlogdet) ... ok
test_linalg_slogdet (numba.tests.test_linalg.TestLinalgDetAndSlogdet) ... ok
test_linalg_eig (numba.tests.test_linalg.TestLinalgEigenSystems) ... ok
test_linalg_eigh (numba.tests.test_linalg.TestLinalgEigenSystems) ... ok
test_linalg_eigvals (numba.tests.test_linalg.TestLinalgEigenSystems) ... ok
test_linalg_eigvalsh (numba.tests.test_linalg.TestLinalgEigenSystems) ... ok
test_linalg_inv (numba.tests.test_linalg.TestLinalgInv) ... FAIL
test_linalg_lstsq (numba.tests.test_linalg.TestLinalgLstsq) ... ok
test_linalg_matrix_power (numba.tests.test_linalg.TestLinalgMatrixPower) ... FAIL                                               test_linalg_matrix_rank (numba.tests.test_linalg.TestLinalgMatrixRank) ... FAIL
test_linalg_norm (numba.tests.test_linalg.TestLinalgNorm) ... FAIL
test_linalg_pinv (numba.tests.test_linalg.TestLinalgPinv) ... FAIL                                                              test_linalg_qr (numba.tests.test_linalg.TestLinalgQr) ... FAIL
test_linalg_solve (numba.tests.test_linalg.TestLinalgSolve) ... ok
test_linalg_svd (numba.tests.test_linalg.TestLinalgSvd) ... FAIL
test_contiguity_warnings (numba.tests.test_linalg.TestProduct) ... ok
test_dot_mm (numba.tests.test_linalg.TestProduct) ... ERROR
test_dot_vm (numba.tests.test_linalg.TestProduct) ... ok
test_dot_vv (numba.tests.test_linalg.TestProduct) ... FAIL
test_matmul_mm (numba.tests.test_linalg.TestProduct) ... FAIL
test_matmul_vm (numba.tests.test_linalg.TestProduct) ... ok
test_matmul_vv (numba.tests.test_linalg.TestProduct) ... FAIL
test_vdot (numba.tests.test_linalg.TestProduct) ... FAIL
test_specific_sample_matrix (numba.tests.test_linalg.TestTestLinalgBase) ... ok
test_trace (numba.tests.test_linalg.TestTrace) ... FAIL
test_trace_w_optional_input (numba.tests.test_linalg.TestTrace)
Issue 2314 ... ok

Assessing the failures.

cond, matrix_rank, pinv and norm all rely on svd, which also fails. qr is failing and it's likely svd shares some code paths with qr inside LAPACK. But strangely lstsq passes, which is also likely to tread similar paths.
dot fails, which explains the matrix_power fail.
inv fails which suggests LU decomposition is broken, but conversely det and slogdet pass.
trace fails, this doesn't rely on a LAPACK impl.

I am slightly suspicious there's some accumulated precision issues present.

Perhaps worth noting that SciPy (master, built against OpenBLAS) has quite a few linalg test failures on armv7 too:
============= 19 failed, 1331 passed, 3 skipped, 3 xfailed, 2 xpassed in 707.08 seconds =============

Haven't dug into whether any of them are relevant yet though. The cython_lapack tests pass but are (understandably) quite light, see:
https://github.com/scipy/scipy/blob/master/scipy/linalg/tests/test_cython_lapack.py
so they can't be relied on to identify problems directly.

@person142 thanks for the info. I have SciPy 1.0.0, Numpy 1.14 and OpenBLAS 0.2.19 from the rpi channel. When running scipy.test() I get a segfault in scipy/sparse/linalg/dsolve/tests/test_linsolve.py and a load of failures from scipy/linalg/tests/ too.

One possible test is to build SciPy against the reference BLAS from Netlib and see if that eliminates any of the Numba test failures. Anything that gets fixed is probably not a Numba issue.

Unfortunately SciPy compiled against reference BLAS still has 17 linalg test failures. There is overlap with the Numba failures (e.g. a bunch of QR decomposition tests fail).

@person142 thanks for trying that out. This is unfortunate. If I get some spare cycles I'll see if I can figure out what's going wrong, without the SciPy linalg cython export Numba has no linear algebra support (and I imagine SciPy would also want it working on ARM). Do you happen to know if SciPy has a ticket open for this (only thing I can find is https://github.com/scipy/scipy/issues/8064)? Thanks.

I don't think scipy has an existing open ticket for armv7 issues.

I created one: https://github.com/scipy/scipy/issues/8638

This is a bit of debugging that hunts down one problem. The np.linalg.matrix_power test fails, the cfunc below is a trivial numba jit of the NumPy function as performed in the test suite. As a load of other types have already been tested there's a lot of overloads present already. The problem is essentially that for a np.complex128, order=F matrix raised to the power 1 (i.e. just return a copy!), the dispatch uses the C variant opposed to the F, this results in the wrong answer!
(Pdb) cfunc.signatures
[(array(float64, 2d, C), int32), (array(float32, 2d, C), int32), (array(complex128, 2d, C), int32), (array(complex64, 2d, C), int32), (array(float64, 2d, F), int32), (array(float32, 2d, F), int32), (array(complex128, 2d, F), int32), (array(complex64, 2d, F), int32)]
(Pdb) p a
array([[-0.34803322+0.25330733j,  0.33108698+0.13880425j,
         0.34960764-0.07595903j, -0.20347257-0.3547308j ,
         0.32659349-0.53285032j],
       [ 0.07281994+0.12357359j,  0.00283597-0.02550852j,
        -0.17984051-0.1373037j ,  0.84982529-0.180531j  ,
        -0.14926882-0.38794012j],
       [ 0.59545896-0.02199033j, -0.51054755-0.2543751j ,
         0.34159113-0.00136836j, -0.05038224-0.14390911j,
         0.36084116-0.22234804j],
       [ 0.36987532-0.19928915j,  0.47817125-0.00731084j,
        -0.34934752-0.49693557j, -0.03926556-0.14513498j,
         0.41811753+0.16839843j],
       [ 0.05591075-0.50934294j,  0.43994995-0.350476j  ,
         0.57495071+0.06757572j,  0.17572138+0.03519024j,
        -0.2283922 +0.04049968j]])
(Pdb) p pwr
1
(Pdb) np.linalg.matrix_power(a, pwr)                           ### Expected result
array([[-0.34803322+0.25330733j,  0.33108698+0.13880425j,
         0.34960764-0.07595903j, -0.20347257-0.3547308j ,
         0.32659349-0.53285032j],
       [ 0.07281994+0.12357359j,  0.00283597-0.02550852j,
        -0.17984051-0.1373037j ,  0.84982529-0.180531j  ,
        -0.14926882-0.38794012j],
       [ 0.59545896-0.02199033j, -0.51054755-0.2543751j ,
         0.34159113-0.00136836j, -0.05038224-0.14390911j,
         0.36084116-0.22234804j],
       [ 0.36987532-0.19928915j,  0.47817125-0.00731084j,
        -0.34934752-0.49693557j, -0.03926556-0.14513498j,
         0.41811753+0.16839843j],
       [ 0.05591075-0.50934294j,  0.43994995-0.350476j  ,
         0.57495071+0.06757572j,  0.17572138+0.03519024j,
        -0.2283922 +0.04049968j]])
(Pdb) cfunc(a, pwr)                                            ### Wrong
array([[-0.34803322+0.25330733j,  0.07281994+0.12357359j,
         0.59545896-0.02199033j,  0.36987532-0.19928915j,
         0.05591075-0.50934294j],
       [ 0.33108698+0.13880425j,  0.00283597-0.02550852j,
        -0.51054755-0.2543751j ,  0.47817125-0.00731084j,
         0.43994995-0.350476j  ],
       [ 0.34960764-0.07595903j, -0.17984051-0.1373037j ,
         0.34159113-0.00136836j, -0.34934752-0.49693557j,
         0.57495071+0.06757572j],
       [-0.20347257-0.3547308j ,  0.84982529-0.180531j  ,
        -0.05038224-0.14390911j, -0.03926556-0.14513498j,
         0.17572138+0.03519024j],
       [ 0.32659349-0.53285032j, -0.14926882-0.38794012j,
         0.36084116-0.22234804j,  0.41811753+0.16839843j,
        -0.2283922 +0.04049968j]])
(Pdb) cfunc.overloads[cfunc.signatures[2]].entry_point(a, pwr)  ### Wrong in the same way as allowing the dispatcher to choose
array([[-0.34803322+0.25330733j,  0.07281994+0.12357359j,
         0.59545896-0.02199033j,  0.36987532-0.19928915j,
         0.05591075-0.50934294j],
       [ 0.33108698+0.13880425j,  0.00283597-0.02550852j,
        -0.51054755-0.2543751j ,  0.47817125-0.00731084j,
         0.43994995-0.350476j  ],
       [ 0.34960764-0.07595903j, -0.17984051-0.1373037j ,
         0.34159113-0.00136836j, -0.34934752-0.49693557j,
         0.57495071+0.06757572j],
       [-0.20347257-0.3547308j ,  0.84982529-0.180531j  ,
        -0.05038224-0.14390911j, -0.03926556-0.14513498j,
         0.17572138+0.03519024j],
       [ 0.32659349-0.53285032j, -0.14926882-0.38794012j,
         0.36084116-0.22234804j,  0.41811753+0.16839843j,
        -0.2283922 +0.04049968j]])
(Pdb) cfunc.overloads[cfunc.signatures[6]].entry_point(a, pwr)  ### Correct result by forcing the use of the `F` variant.
array([[-0.34803322+0.25330733j,  0.33108698+0.13880425j,
         0.34960764-0.07595903j, -0.20347257-0.3547308j ,
         0.32659349-0.53285032j],
       [ 0.07281994+0.12357359j,  0.00283597-0.02550852j,
        -0.17984051-0.1373037j ,  0.84982529-0.180531j  ,
        -0.14926882-0.38794012j],
       [ 0.59545896-0.02199033j, -0.51054755-0.2543751j ,
         0.34159113-0.00136836j, -0.05038224-0.14390911j,
         0.36084116-0.22234804j],
       [ 0.36987532-0.19928915j,  0.47817125-0.00731084j,
        -0.34934752-0.49693557j, -0.03926556-0.14513498j,
         0.41811753+0.16839843j],
       [ 0.05591075-0.50934294j,  0.43994995-0.350476j  ,
         0.57495071+0.06757572j,  0.17572138+0.03519024j,
        -0.2283922 +0.04049968j]])
(Pdb) cfunc.signatures[2]
(array(complex128, 2d, C), int32)
(Pdb) cfunc.signatures[6]
(array(complex128, 2d, F), int32)

And a bit more (thanks for the fn ptr tip @sklam ):
(Pdb) c
----
(array(float64, 2d, C), int32) => 0x7226f828
----
(array(float32, 2d, C), int32) => 0x71daa5f8
----
(array(complex128, 2d, C), int32) => 0x7215cda0         ### this function is selected, see below
----
(array(complex64, 2d, C), int32) => 0x72064440
----
(array(float64, 2d, F), int32) => 0x71d939e0
----
(array(float32, 2d, F), int32) => 0x718b3af8
----
(array(complex128, 2d, F), int32) => 0x71ee7c10
----
(array(complex64, 2d, F), int32) => 0x72026418
<path>/numba/tests/test_linalg.py(2212)test_linalg_matrix_power()
-> cfunc(a, pwr)
(Pdb) cfunc(a, pwr)
cfunc.fn = 0x71ada12c. cfunc = 0x7215cda0                      ### <--- this is the pointer to the function being called, it matches the ptr for the `(array(complex128, 2d, C), int32) ` case
array([[-0.34803322+0.25330733j,  0.07281994+0.12357359j,
         0.59545896-0.02199033j,  0.36987532-0.19928915j,
         0.05591075-0.50934294j],
       [ 0.33108698+0.13880425j,  0.00283597-0.02550852j,
        -0.51054755-0.2543751j ,  0.47817125-0.00731084j,
         0.43994995-0.350476j  ],
       [ 0.34960764-0.07595903j, -0.17984051-0.1373037j ,
         0.34159113-0.00136836j, -0.34934752-0.49693557j,
         0.57495071+0.06757572j],
       [-0.20347257-0.3547308j ,  0.84982529-0.180531j  ,
        -0.05038224-0.14390911j, -0.03926556-0.14513498j,
         0.17572138+0.03519024j],
       [ 0.32659349-0.53285032j, -0.14926882-0.38794012j,
         0.36084116-0.22234804j,  0.41811753+0.16839843j,
        -0.2283922 +0.04049968j]])
(Pdb) p a.dtype
dtype('complex128')
(Pdb) p a.flags                                   ### but the array is complex128 `F` ordered
  C_CONTIGUOUS : False
  F_CONTIGUOUS : True
  OWNDATA : True
  WRITEABLE : True
  ALIGNED : False
  WRITEBACKIFCOPY : False
  UPDATEIFCOPY : False
(Pdb) np.linalg.matrix_power(a, pwr)
array([[-0.34803322+0.25330733j,  0.33108698+0.13880425j,
         0.34960764-0.07595903j, -0.20347257-0.3547308j ,
         0.32659349-0.53285032j],
       [ 0.07281994+0.12357359j,  0.00283597-0.02550852j,
        -0.17984051-0.1373037j ,  0.84982529-0.180531j  ,
        -0.14926882-0.38794012j],
       [ 0.59545896-0.02199033j, -0.51054755-0.2543751j ,
         0.34159113-0.00136836j, -0.05038224-0.14390911j,
         0.36084116-0.22234804j],
       [ 0.36987532-0.19928915j,  0.47817125-0.00731084j,
        -0.34934752-0.49693557j, -0.03926556-0.14513498j,
         0.41811753+0.16839843j],
       [ 0.05591075-0.50934294j,  0.43994995-0.350476j  ,
         0.57495071+0.06757572j,  0.17572138+0.03519024j,
        -0.2283922 +0.04049968j]])

The original Py_ISXARRAY is calling PyArray_ISBEHAVED which checks for alignment, write-permission and byte-order.  We shouldn't be checking on those in that part of the dispatch code, which should concern only the layout (i.e. C/F/A).

The reason NaN casting to int failed is due to the undefined-behavior in C for the operation.  See https://github.com/numpy/numpy/issues/8325#issuecomment-290481522

Ah, thanks for finding that @sklam :) In which case I think we are down to two v. minor problems now:

test_matmul_mm -> stride difference in output.
test_linalg_cond -> RuntimeWarning wasn't raised (probably FP/LAPACK related).

@seibert, https://github.com/sklam/numba/commit/16fc51bc6077fb2b8bc1c87fc8ebb0c0048b4ba7 should fix the datetime NaN issue.

@sklam @seibert I've applied https://github.com/sklam/numba/commit/16fc51bc6077fb2b8bc1c87fc8ebb0c0048b4ba7 locally and it fixes the issue with NAT/NaN on ARM.

Blocking issue https://github.com/numpy/numpy/pull/11016 is now merged. NumPy 1.16 should contain the required fixes for correctly aligned memory.

The NumPy ARM patches were backported to NumPy 1.15 so this released version should have the appropriate fixes. I discovered that the np.linalg.cond fail is due to a change made in NumPy 1.15 explained here https://github.com/numba/numba/issues/3215, also impacts https://github.com/conda-forge/numba-feedstock/pull/13. This means there is one issue remaining on the Numba side (assuming we fix https://github.com/numba/numba/issues/3215) which is:

test_matmul_mm -> stride difference in output.

@sklam Please could you open https://github.com/sklam/numba/commit/16fc51bc6077fb2b8bc1c87fc8ebb0c0048b4ba7 as a PR for review ?

Rebased this on master.

This PR needs https://github.com/numba/numba/pull/2950 for the tests to pass on NumPy < 1.15.

this passed a CI build on the farm for Python3.6, np1.14


fix: changes grpc server exception handler order

This PR adds the GrpcExceptionInterceptor bean after the ObservationGrpcServerInterceptor and the MetricCollectingServerInterceptor and before the ExceptionTranslatingServerInterceptor.
This is necessary in order to allow the later interceptor to process the error response after the exception handler is executed, more precisely to add the returned status code to the context/meter.
Im not entirely sure but i believe this was an unintentional consequence of the added support for Order because the GrpcAdviceAutoConfiguration already had the @Order with the 0 precedence it was just not doing anything.
fixes #789 #1088

/review @ST-DDT


Virtual forms

Closes #55
See #55 for an example

Ah great! I was checking against form.valid? for a sign in form before this!

@jdbann Cool! Do you mind sharing what you had before? If not that's ok, I'm just curious how you got it working without this

class SessionForm < User::BaseForm
  allow email
  allow password

  def prepare
    validate_user
  end

  private def validate_user
    unless UserQuery.new.authenticate(email.value.to_s, password.value.to_s).size == 1
      email.add_error "No user exists with this email address and password"
    end
  end
end

class Sessions::Create < BrowserAction
  action do
    form = SessionForm.new(params)
    if form.valid?
      user = log_in_as_user(form.email.value)
      redirect to: Posts::Index
    else
      render Sessions::NewPage, session_form: form
    end
  end

  private def log_in_as_user(email)
    session["current_user_id"] = UserQuery.new.email.is(email.to_s).first.id
  end
end

That's pretty clever! BTW you if you aren't chaining things like lower you can do email(email.to_s). That is the same as email.is(email.to_s). You may already know that, but I thought I'd let you know just in case :)

Great! I'm still tackling queries but that's a handy tip.
I was going to write up a post about Lucky, exploring it's differences to Rails by walking through a simple signup and authentication process. This felt like it was still a little hacky so I've been holding off but now we have virtual forms!

That would be great! If you want to me to take a look at it sometime I'd be happy to do so and give any tips or hints that may be useful

It's still on the list, but depends on some things in master so maybe after a release ;)

Sounds good :)


Side margins?

What's the option to use to eliminate the margin on the left and right side of the barcode? Neither {margin:0} nor {marginLeft:0,marginRight:0} seem to work.
Also, is it possible to specify the width of the resulting image?

"quite" is the option.
You can't unfortunately not set the absolute width since that would make some lines not exact pixels and make the whole barcode blurry.

Can also add that the idea was to name the option "quiet" but I misspelled it :P

I did now create a release. So if you redownload margins should work :)

It's indeed working now. Thanks!


bump golang and split off prom service

Description
backports go version bump and splitting off prom service changes

/ok-to-test sha=accd0fc


Make PWA bookmark optional

Give user the option to NOT add the PWA to their home page... and use the Base aepp directly in their browser.

fixed in #1224


Added missing selector to DaemonSet

What this PR does / why we need it:
The apiVersion of pumba daemonset was changed, and it now needs a selector field to work properly, otherwise it gives an error when running experiments using the pumba chaoslib.
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Related to my issue #949 .
Checklist

[ ] Does this PR have a corresponding GitHub issue?
[ ] Have you included relevant README for the chaoslib/experiment with details?
[ ] Have you added debug messages where necessary?
[ ] Have you added task comments where necessary?
[ ] Have you tested the changes for possible failure conditions?
[ ] Have you provided the positive & negative test logs for the litmusbook execution?
[ ] Does the litmusbook ensure idempotency of cluster state?, i.e., is cluster restored to original state?
[ ] Have you used non-shell/command modules for Kubernetes tasks?
[ ] Have you (jinja) templatized custom scripts that is run by the litmusbook, if any?
[ ] Have you (jinja) templatized Kubernetes deployment manifests used by the litmusbook, if any?
[ ] Have you reused/created util functions instead of repeating tasks in the litmusbook?
[ ] Do the artifacts follow the appropriate directory structure?
[ ] Have you isolated storage (eg: OpenEBS) specific implementations, checks?
[ ] Have you isolated platform (eg: baremetal kubeadm/openshift/aws/gcloud) specific implementations, checks?
[ ] Are the ansible facts well defined? Is the scope explicitly set for playbook & included utils?
[ ] Have you ensured minimum/careful usage of shell utilities (awk, grep, sed, cut, xargs etc.,)?
[ ] Can the limtusbook be executed both from within & outside a container (configurable paths, no hardcode)?
[ ] Can you suggest the minimal resource requirements for the litmusbook execution?
[ ] Does the litmusbook job artifact carry comments/default options/range for the ENV tunables?
[ ] Has the litmusbooks been linted?

Special notes for your reviewer:

Thanks much @LaumiH !!


Fix array assignments and type inference of params inside arrays

Assignments like SET ob = [?] where ob is an object array didn't
work correctly because a to_object_array cast is not supported and the
type of [?] was inferred as array(undefined).
Instead of adding the object array cast function, this commit changes
the cast implementation of a _array Function symbol to propagate
to its elements. This has the advantage that type inference for the
ParameterDescription message will work as well.
Fixes https://github.com/crate/crate/issues/6835

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@ca85327). Click here to learn what that means.
The diff coverage is 100%.

@@           Coverage Diff            @@
##             master   #6845   +/-   ##
========================================
  Coverage          ?     83%
  Complexity        ?   13273
========================================
  Files             ?    1526
  Lines             ?   49381
  Branches          ?    5940
========================================
  Hits              ?   40990
  Misses            ?    5595
  Partials          ?    2796

Impacted Files
Coverage Δ
Complexity Δ

...main/java/io/crate/expression/symbol/Function.java
95.55% <100%> (ø)
25 <5> (?)

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 ca85327...11369d4. Read the comment docs.


Consistent policy on using pathlib.Path objects

What is wrong?
we have some inconsistent usage of str vs pathlib.Path for filesystem paths.
How can it be fixed
Make all evm/trinity/p2p APIs return Path objects and downcast to str for all 3rd party or stdlib APIs which only support str

link: https://github.com/ethereum/py-evm/pull/798


Slightly confusing error message when there are two devices

With both an emulator running on my machine, and a phone plugged in, when I try to run my app, I get:
[myapp/] flutter start
Warning: Multiple Android devices are connected, but no device ID was specified.
severe: Unable to run application - no connected devices.
• exited with code 2 •

The first warning makes sense. However, the second error is a bit confusing. "no connected devices" might be better as "please choose a specific target device"
Thoughts?
Thanks!

Yeah, the second message is generic in the code and doesn't understand what really happened.


client: supports to add gRPC dial options (#2035)

Signed-off-by: nolouch<EMAIL_ADDRESS>
What problem does this PR solve?
cherry-pick #2035
What is changed and how it works?
add an option.
Check List
Tests

Unit test

/run-cherry-picker

/run-all-tests

Codecov Report

Merging #2043 into release-3.0 will increase coverage by 0.21%.
The diff coverage is 100%.

@@               Coverage Diff               @@
##           release-3.0    #2043      +/-   ##
===============================================
+ Coverage        69.31%   69.53%   +0.21%
===============================================
  Files              170      170
  Lines            16787    16796       +9
===============================================
+ Hits             11636    11679      +43
+ Misses            4172     4141      -31
+ Partials           979      976       -3

Impacted Files
Coverage Δ

client/client.go
74.53% <100%> (+1.76%)
:arrow_up:

server/grpc_service.go
58.63% <0%> (-1.28%)
:arrow_down:

server/leader.go
78.77% <0%> (-0.82%)
:arrow_down:

server/namespace_cluster.go
85.71% <0%> (+3.89%)
:arrow_up:

server/util.go
72.61% <0%> (+4.45%)
:arrow_up:

server/schedulers/random_merge.go
67.5% <0%> (+5%)
:arrow_up:

server/coordinator.go
85.55% <0%> (+6.29%)
:arrow_up:

server/schedulers/shuffle_hot_region.go
65.38% <0%> (+6.41%)
:arrow_up:

pkg/grpcutil/grpcutil.go
25.92% <0%> (+7.4%)
:arrow_up:

Continue to review full report at Codecov.

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

/merge


[NTR]: tuft cell of small intestine

Note - please check that the term does not already exist (check OLS: https://www.ebi.ac.uk/ols/ontologies/cl)
Preferred term label:
tuft cell of small intestine
Synonyms
brush cell of small intestine; tuft cell of epithelium of small intestine; brush cell of epithelium of small intestine; brush cell of epithelium proper of small intestine
Definition (free text, please give PubMed ID in format PMID:XXXXXX)
Intestinal tuft cells are a morphologically unique cell type, best characterized by striking microvilli that form an apical tuft. These cells represent approximately 0.5% of gut epithelial cells depending on location. PMID: 29714721
Parent cell type term (check the hierarchy here https://www.ebi.ac.uk/ols/ontologies/cl):
brush cell: http://purl.obolibrary.org/obo/CL_0002204
intestinal crypt stem cell: http://purl.obolibrary.org/obo/CL_0002250
What is the anatomical structure that the cell is a part of? Please check Uberon: https://www.ebi.ac.uk/ols/ontologies/uberon
small intestine: http://purl.obolibrary.org/obo/UBERON_0002108
Your nano-attribution (ORCID)
0000-0003-4183-8865
Any additional notes or concerns
Small intestine version of large intestine brush cell here: http://purl.obolibrary.org/obo/CL_0002203

Closing this ticket as discussion has moved to https://github.com/obophenotype/cell-ontology/issues/792.

Hi @sfexova and @ngeorgeebi ,
The new term is CL_0009080 (tuft cell of small intestine).
Thanks,
Paola


Django 4 Support, drop python 3.6-3.7 support

Description
Added Django 4.
Removed Python 3.6 - 3.7 support as Django 4 requires minimum 3.8
I noticed that when upgrading my project to Django 4, I was getting an error on;
cannot import name 'ugettext_lazy' from 'django.utils.translation'
However looks like it was fixed on -> https://github.com/escaped/django-inline-actions/pull/43/files but not released.
Please include a summary of the proposed changes.
Removal off Python 3.6-3.7
Added Django 4
Fixes #(issue)
Tests are passing as the initial issue was fixed in -> https://github.com/escaped/django-inline-actions/pull/43/files
Checklist

[x] Tests covering the new functionality have been added
[x] Code builds clean without any errors or warnings
[x] Documentation has been updated
[x] Changes have been added to the CHANGELOG.md
[x] You added yourself to the CONTRIBUTORS.md

Any updates here?

so many Contributors.. :(
@escaped @Ivan-Feofanov @sobolevn @tripliks @wagmiwiz @DimmuR @tony @ashishnitinpatil @torwald-sergesson

fixes #51

I installed the package from pip but it still has the error with 'ugettext'.

@ShabaniAmir thats cos this fix aint merged. Looks like this package has been abandoned sadly.


Importing submodules from tensorflow.keras fails with No module named 'tensorflow.keras'

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): No
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 16.04
TensorFlow installed from (source or binary): binary (pip)
TensorFlow version (use command below): v1.4.0-19-ga52c8d9 1.4.1
Python version: 3.6
Exact command to reproduce:
from tensorflow.keras import datasets # fails but should work
import tensorflow as tf #succeeds
tf.keras.datasets #succeeds
from tensorflow.python.keras import datasetst # succeeds

Describe the problem
Importing submodules from tensorflow.keras fails with error: ModuleNotFoundError: No module named 'tensorflow.keras'. but import tensorflow as tf and then doing tf.keras.datasets works. This is a big inconsistency, also it means that every time an element from within the tensforlow.keras module you need to write the complete path (which is very annoying) this removes the simplicity and readability of the keras API. A work around is to import submodules from tensorflow.python.keras, which again is inconsistent.
In my opinion, since the documentation states that keras is availabe at tf.keras that should be the access path to the submodules and not tensorflow.python.keras. I'll try to  make a pull request for this.
Source code / logs
# fails but should work
from tensorflow.keras import datasets

# succeeds
import tensorflow as tf
tf.keras.datasets

# succeeds
from tensorflow.python.keras import datasetst

I can confirm this problem exists with my system settings that are similar.
@rragundez Thanks for reposting this issue here and taking care of it!

Pull request submitted https://github.com/tensorflow/tensorflow/pull/15756
This only solves the import problem with tensorflow.python.keras, can be easily modified to do the same for any submodule inside the tensorflow.python module.

Sorry, we only support tf.keras.datasets.

@rragundez and @drpngx thanks for the quick fix and response, especially on New Years!
@drpngx Please explain the philosophy. Why have you made that decision and what do you propose is a good way of importing Keras from TensorFlow?
Perhaps @fchollet has a comment on the best way of importing Keras from TensorFlow?
Currently I am writing:
from tensorflow.python.keras.models import Sequential
from tensorflow.python.keras.layers import Dense
model = Sequential()
model.add(Dense(...))

But this is a bit clumsy compared to just writing the following, which unfortunately does not work:
from tensorflow.keras.models import Sequential
from tensorflow.keras.layers import Dense
model = Sequential()
model.add(Dense(...))

It would be even more clumsy to write e.g.:
import tensorflow as tf
model = tf.keras.models.Sequential()
model.add(tf.keras.layers.Dense(...))
model.add(tf.keras.layers.Dense(...))
model.add(tf.keras.layers.Dense(...))

One workaround would seem to be:
import tensorflow as tf
Sequential = tf.keras.models.Sequential
Dense = tf.keras.layers.Dense
model = Sequential()
model.add(Dense(...))
model.add(Dense(...))
model.add(Dense(...))

But I am not really a Python expert so I don't know if this is considered bad style for some reason?
Happy New Years! :-)

I see. We might decide to do something else for keras, but the last two are the ones supported by tensorflow.
The rationale behind this is that tensorflow is more like numpy. It's one big monolithic package that you import. We don't support importing piecemeal, because our code doesn't internally distinguish between private and exportable symbols. You might see def foo which really means def _foo, or import sys which really means import sys as _sys. So, if you import random modules in tensorflow, you will have access to private symbols. We don't want to support that, as it would be a large maintenance burden.

So, if you import random modules in tensorflow, you will have access to private symbols.

Just a note to say that this isn't the case for imports in tf.keras, because the underlying files only contain public symbols (they're separate API-only files).

Happy to have direct imports for keras, if you and @martinwicke agrees.

@Hvass-Labs @drpngx @fchollet Adding to if it is a bad style in Python? it is, the bad style comes from the fact that you can access submodules from tf (tf.keras.layers.Dense for example) but you cannot import Dense from as from tensorflow.keras.layers import Dense. Normally when deep functionality want to be exposed in a higher module this is a direct exposure of objects (functions or classes normally) then you never have the problem at hand. In this case the functionality being exposed to the user is a module itself which causes this confusion.
You can easily look at pyspark or sklearn for example, where the functionality taken to a higher level in the package are objects (a type of estimator for exapmle) but not modules themselves (as they will create the problem at hand).
So indeed the current approach is not pythonic and specially I would argue that removes the simplistic Keras API.

The standard python methods for importing modules and symbols from modules do not appear to work for parts of tensorflow that are described as modules.  That includes tensorflow.keras, tensorflow.keras.layers, and tensorflow.keras.models.  The result is that tensorflow comes across as a second class python package written by programmers who do not know what they are doing.  It also results in ugly code when the full path has to be written for every symbol in a tensorflow script that uses the keras object model.  If Google wants to project tensorflow as high quality software, this second class implementation needs to be fixed.

@dnjake Hehehe! I'm glad to hear I'm not the only one who was frustrated by the TensorFlow API :-)

I only have a modest experience with tensorflow.  So my opinion might change.
But my past does include two decades of experience developing computer system
software.  My view is that the big problem with tensorflow is mainly that it is
intrinsically hard.  No group is able to architect a complex UI in advance of
any experience with developing and using it.  On a realistic scale, I would give
tensorflow an high grade.  But, it is certainly a work in progress that is hard to
understand by those developing it, hard to understand how to use it, and even harder to use
productively after it is understood.  I think the base design did make a big
mistake with a configuration architecture that left major objects like the
session context and the default graph as implicit global variables.  I also am skeptical of
the value of eager mode.  Had the base design been better, perhaps only
one architecture would have emerged for models, graphs, and layers.  But, I
doubt that navigating the variations in the different object models that have
been built on top of the tensorflow python base will prove to be the limiting
factor for most people in working with tensorflow

From: Hvass-Labs<EMAIL_ADDRESS>Sent: Saturday, July 7, 2018 9:56 AM
To: tensorflow/tensorflow
Cc: dnjake; Mention
Subject: Re: [tensorflow/tensorflow] Importing submodules from tensorflow.keras fails with No module named 'tensorflow.keras' (#15736)
@dnjakehttps://github.com/dnjake Hehehe! I'm glad to hear I'm not the only one who was frustrated by the TensorFlow API :-)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/tensorflow/tensorflow/issues/15736#issuecomment-403217300, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AVvuh14LQQo_RibDj7e1iFuL2_pzJV9Sks5uEL4dgaJpZM4RPo9S.

from tensorflow.keras.models import Sequential
from tensorflow.keras.layers import Dense
from tensorflow.keras.optimizers import Adam
import tensorflow.keras.backend as K
Works for me. Why?

Can someone clearly explain this:
"Works"
import tensorflow
from tensorflow.keras import _______
Doesnot work:
import tensorflow as tf
from tf.keras import ________

Is there a solution to this?
For :
from tensorflow.keras.layers.core import Reshape,Dense,Dropout,Activation,Flatten
I get:
ModuleNotFoundError: No module named 'tensorflow.keras.layers.core'

I have not double checked this answer.  But I believe the reason for the problem is the way Tensorflow uses package init.py modules to restrict user access to the fixed Tensorflow API.  The way those modules are coded prevents the standard python techniques of mapping symbols to arbitrary module content from working.

I can call keras.something when I installed keras on NVIDIA Jetson TX2 with sudo apt-get install python3-keras

I tried
sudo pip3 install keras

from tensorflow.keras.layers.core import Reshape,Dense,Dropout,Activation,Flatten

from tensorflow.python.keras.layers.core import Reshape,Dense,Dropout,Activation,Flatten
works for me

Had the same problem. None of the solutions above worked for me. Could not import tensorflow.keras.. or any variation of it, such as tensorflow.python.keras.  Frustrating.  Tested with Conda environment and python 3.7+ virtual env. Decided to pip install keras and import direct from that while tensorflow was conda install..ed. I am assuming that the conda install yields c based binaries for all languages while the pip is bringing back something python can understand. Anyway, not on to trying to get gpu working :-)

Are you using tensorflow 2?  I have not tried it.  But, the talks I have heard over the web indicated that changes to tensorflow 2 make it possible to reference all of the module variables and functions.  In tensorflow 1, the init.py files for packages have been extensively manipulated to limit references to those specified in the api.  It is possible to go into the source code and modify the init.py files.  But, otherwise access to module internals is limited by the api.

From: Frank Coliviras<EMAIL_ADDRESS>Sent: Thursday, February 27, 2020 2:20 PM
To: tensorflow/tensorflow<EMAIL_ADDRESS>Cc: dnjake<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [tensorflow/tensorflow] Importing submodules from tensorflow.keras fails with No module named 'tensorflow.keras' (#15736)
Had the same problem. None of the solutions above worked for me. Could not import tensorflow.keras.. or any variation of it, such as tensorflow.python.keras. Frustrating. Tested with Conda environment and python 3.7+ virtual env. Decided to pip install keras and import direct from that while tensorflow was conda install..ed. I am assuming that the conda install yields c based binaries for all languages while the pip is bringing back something python can understand. Anyway, not on to trying to get gpu working :-)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/tensorflow/tensorflow/issues/15736?email_source=notifications&email_token=AFN65BY4DL6FQFKTNDVMPZLRFAHAVA5CNFSM4EJ6R5JKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENFTPPA#issuecomment-592132028, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFN65B3QMDUB23QQK7POZ5DRFAHAVANCNFSM4EJ6R5JA.

Can someone clearly explain this:
"Works"
import tensorflow
from tensorflow.keras import _______
Doesnot work:
import tensorflow as tf
from tf.keras import ________

when you import tensorflow as tf, you can use it to directly call functions into variable but not import sub-modles.
####Example####
import tensorflow as tf
model=tf.keras.models.sequential()

If you're getting this error in tensorflow==2.0.0, then do the following steps -
Step 1: Uninstall the keras by using '!python -m pip uninstall keras --yes'
Step 2: Reinstall keras by using 'pip install keras'
Step 3: Now, install tensorflow 2.0.0 by using 'pip install tensorflow==2.0.0'
This should work, without downgrading the tensorflow version. Thank You!

from tensorflow.keras.models import Sequential from tensorflow.keras.layers import Dense from tensorflow.keras.optimizers import Adam import tensorflow.keras.backend as K
Works for me. Why?

But not for me. It runs in .ipynb but not in the .py file. I have tried multiple times but it dosen't work


Add support for pluggable schemes

The idea behind this PR is to move the docker runner (renamed here to container runner for clarity) into a separate directory in a way to show what a plugin would look like and what the registration of schemes would look like.
For now, this PR:

Move docker schema runner into a Floe::Runner::ContainerRunner namespace to treat it like a plugin
Add registration of schema to runner instance (with support for procs)
Change exe/floe to not have anything schema-specific and to call out to the plugins for options and post-option setup.

TODO:

I want to add specs around the registration and the container runner's class methods for registration.  Not sure if it's needed for this PR or not.

Here's what the --help looks like after this:
$ be exe/floe --help
Usage: floe [options] workflow input [workflow2 input2]

v0.9.0

Options:
  -w, --workflow=<s>                     Path to your workflow json (legacy)
  -i, --input=<s>                        JSON payload to input to the workflow (legacy)
  -c, --context=<s>                      JSON payload of the Context
  -e, --credentials=<s>                  JSON payload with credentials
  -d, --credentials-file=<s>             Path to a file with credentials

Container runner options:
  -r, --container-runner=<s>             Type of runner for docker container images (docker, podman, or kubernetes)
  -o, --container-runner-options=<s+>    Options to pass to the container runner
  -k, --docker                           Use docker to run container images     (short for --container-runner=docker)
  -p, --podman                           Use podman to run container images     (short for --container-runner=podman)
  -u, --kubernetes                       Use kubernetes to run container images (short for --container-runner=kubernetes)

General options:
  -v, --version                          Print version and exit
  -h, --help                             Show this message

Some future thoughts:

I actually wanted Floe::ContainerRunner directly, but didn't want to deal with the un-indenting of 1 level of namespace.
While the exe/floe hardcodes the reference to the container runner, I think it's cleaner to loop over all of the registered schemes, and then call cli_options/resolve_cli_options on each. However, I thought it would make this PR less clear and didn't do that for now.

@agrare @kbrock Please review.

I know this changes the interface to exe/floe, and I'm not sure we wanted that.  I did it more to clarify that the runner is around running containers.  However, since the scheme is docker, we may want to continue to call it docker_runner for consistency.  That being said, I don't think we need to enforce that a plugin's name match the scheme, because that would preclude plugins that support multiple schemes.

I actually wanted Floe::ContainerRunner directly, but didn't want to deal with the un-indenting of 1 level of namespace. I still may do this anyway, because then this would mirror what a real "plugin" would look like allowing for things like require 'floe/container_runner' and living in a floe-container_runner gem.

I like the unindent idea (and agree, not necessary to do it at this time).
That said, I still feel that the runner's parents should be Floe::Runner and not

While the exe/floe hardcodes the reference to the container runner, I think it's cleaner to loop over all of the registered schemes, and then call cli_options/resolve_cli_options on each. However, I thought it would make this PR less clear and didn't do that for now.

I mentioned above, I feel we need to register a plugin separate from registering the schemes.

I mentioned above, I feel we need to register a plugin separate from registering the schemes.

Not sure I understand this distinction.  The only purpose of a plugin is to bring schema runners.

Added to the OP that I think this closes #45

LGTM
@Fryguy are you all set here?

yup :+1:

After this PR is merged I'll do some of the indent changes as discussed.


Trigger Motions based on trial / trial date

When is your trial date?

If less than 30 days → Motion to Continue OR Motion to Shorten Time
If more than 30 days OR If no trial, don't worry about this

I understood this as if it's less than 30 days, then the user needs to do either a motion to continue (because then there would be more than 30 days to respond) or a motion to shorten time (asking the court to order the landlord to respond in less than 30 days, in time for the trial).
If it was more than 30 days, it's not necessary.
But is this part of the motion tester or the discovery/eviction interview?

Updated!

It's a part of EDDE (Answer/Discovery/Motions).

Not for motion tester

Motion to shorten time is automated in motion tester and needs to be incorporated into EDDE

Default to motion to continue or do we need to also have shorten time? Could we do motion to continue or in the alternative shorten time?
@tobyfey checking in with LSEM team

If they choose to do discovery, this is adding motions.
This might not be necessary per @tobyfey because motion to continue is being triggered if trial date is anytime after today.

@tobyfey motion to continue is triggered based on hearing date, not trial date
https://github.com/LemmaLegalConsulting/docassemble-MOHUDEvictionProject/blob/a884d5bf5249d888202ba4784b716839a5da0518/docassemble/MOHUDEvictionProject/data/questions/MOHUDEvictionProject.yml#L491-L496
https://github.com/LemmaLegalConsulting/docassemble-MOHUDEvictionProject/blob/a884d5bf5249d888202ba4784b716839a5da0518/docassemble/MOHUDEvictionProject/data/questions/shared.yml#L411-L415


Upgrade gradle to at least 5.5

Gradle 5.5 will let us auto-retry downloads that fail.  A lot of our infra is still on 4.10
It would probably be better for customers as well.
/cc @blasten @godofredoc @digiter

Most tests are using 5.6.2. Do you know which ones are using 4.10?

The dockerfile has 4.4 baked in.  We should bump that.
It looks like a few places in the codebase too:
./examples/flutter_gallery/ios/.symlinks/plugins/url_launcher_web/android/gradle/wrapper/gradle-wrapper.properties:distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip
./examples/flutter_gallery/ios/.symlinks/plugins/url_launcher_macos/example/android/app/gradle/wrapper/gradle-wrapper.properties:distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip
./examples/flutter_gallery/ios/.symlinks/plugins/url_launcher_macos/android/gradle/wrapper/gradle-wrapper.properties:distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip
./examples/flutter_gallery/ios/.symlinks/plugins/device_info/example/android/app/gradle/wrapper/gradle-wrapper.properties:distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip
./examples/flutter_gallery/ios/.symlinks/plugins/device_info/example/android/gradle/wrapper/gradle-wrapper.properties:distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip
./examples/flutter_gallery/ios/.symlinks/plugins/connectivity/example/android/app/gradle/wrapper/gradle-wrapper.properties:distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip
./examples/flutter_gallery/ios/.symlinks/plugins/connectivity/example/android/gradle/wrapper/gradle-wrapper.properties:distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip
./examples/flutter_gallery/ios/.symlinks/plugins/connectivity/connectivity_macos/android/gradle/wrapper/gradle-wrapper.properties:distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip
./examples/flutter_gallery/ios/.symlinks/plugins/video_player/example/android/app/gradle/wrapper/gradle-wrapper.properties:distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip
./examples/flutter_gallery/ios/.symlinks/plugins/video_player/example/android/gradle/wrapper/gradle-wrapper.properties:distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip
./examples/flutter_gallery/ios/.symlinks/plugins/video_player/android/gradle/wrapper/gradle-wrapper.properties:distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip
./examples/flutter_gallery/ios/.symlinks/plugins/url_launcher/example/android/app/gradle/wrapper/gradle-wrapper.properties:distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip
./examples/flutter_gallery/ios/.symlinks/plugins/video_player_web/android/gradle/wrapper/gradle-wrapper.properties:distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip
./packages/flutter_tools/lib/src/android/gradle_utils.dart:distributionUrl=https\\://services.gradle.org/distributions/gradle-$gradleVersion-all.zip
./packages/flutter_tools/templates/plugin/android.tmpl/gradle/wrapper/gradle-wrapper.properties:distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip
./dev/integration_tests/module_host_with_custom_build_v2_embedding/gradle/wrapper/gradle-wrapper.properties:distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip
./dev/integration_tests/android_splash_screens/splash_screen_load_rotate/android/gradle/wrapper/gradle-wrapper.properties:distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip
./dev/integration_tests/android_splash_screens/splash_screen_trans_rotate/android/gradle/wrapper/gradle-wrapper.properties:distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip
./dev/integration_tests/android_splash_screens/splash_screen_kitchen_sink/android/gradle/wrapper/gradle-wrapper.properties:distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip
./dev/ci/docker_linux/Dockerfile:ENV GRADLE_URL="https://services.gradle.org/distributions/gradle-4.4-bin.zip"


youtube-music: 3.3.5 -> 3.3.6

Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

@ofborg build youtube-music

1 package built:
youtube-music
Result of nixpkgs-review pr 308334 run on aarch64-darwin 1

1 package built:

youtube-music


Initial forcing creation script

Needs some configuration work, and can be further refined, but for reference:
generated 10 years of a 72 subbasin camels location in 6 minutes
tested algorithm on entire huc01 domain (19k sub basins) for 6 months and it (mostly) scales (but still some memory usage issues to be cleaned up).  For small domains, it works great for sure.
This can be easily adapted to process any netcdf based forcing inputs which can be constructed with time, lat, lon coordinates!

I also have a few other algorithms I developed and tested that I will consider pushing for reference at some point (when I can clean them up a bit).  I did test the results of this weighting method against the results generated from doing the weighting in exact extract (zonal) for a small number of time steps and found the results to be within 1e-06 for all values generated.

Another quick note, I realize that the processing pipeline is using float64 data types, memory usage could be probably be helped a lot by simply using float32 values instead if precision isn't too large a concern there.

One more TODO to add here:  instead of writing to csv, this could be dumped to netcdf which ngen can read in.
An example netcdf forcing file can be found here


[WIP] ci workflow test

Motivation
(Write your motivation for proposed changes here.)
Have you read the Contributing Guidelines on pull requests?
(Write your answer here.)
Test Plan
(Share your test plan here. If you changed code, please provide us with clear instructions for verifying that your changes work.)
Related PRs
(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/diem/diem/tree/main/developers.diem.com, and link to your PR here.)
If targeting a release branch, please fill the below out as well

Justification and breaking nature (who does it affect? validators, full nodes, tooling, operators, AOS, etc.)
Comprehensive test results that demonstrate the fix working and not breaking existing workflows.
Why we must have it for V1 launch.
What workarounds and alternative we have if we do not push the PR.

:boom: Tests timed-out

/canary

:broken_heart: Test Failed - ci-test

/canary

:broken_heart: Test Failed - ci-test

/canary

:broken_heart: Test Failed - ci-test

/canary

:broken_heart: Test Failed - ci-test

/canary

:broken_heart: Test Failed - ci-test

/canary

:broken_heart: Test Failed - ci-test

/canary

:broken_heart: Test Failed - ci-test

/canary

/canary

:broken_heart: Test Failed - ci-test

/canary

:broken_heart: Test Failed - ci-test

/canary

/canary

:broken_heart: Test Failed - ci-test

/canary

:lock: Merge Conflict

/canary

:broken_heart: Test Failed - ci-test

/canary

:broken_heart: Test Failed - ci-test


Update dynamic_graph comments to match the functionality

Converted comments to the standard doxygen syntax used in this project
Add comments for dynamic_graph traits structs
Add comments for dynamic_edge and dynamic_vertex classes

#50

It appears there's an internal error in the linker. Merging.


V2 alpha Seq load

When trying to look at Sequences. You have to load the last Seq you worked on before any content will show for the other macros

This might be related to #132
Could you please retry after disabling GS-SequenceEditor?

Yes my fault fall leaving old stuff in place


Step missing in CSI document

The resource group creation step is missing in the document :
"To create an AKS cluster with Secrets Store CSI Driver capability, use the az aks create command with the addon azure-keyvault-secrets-provider:
az aks create -n myAKSCluster -g myResourceGroup --enable-addons azure-keyvault-secrets-provider
"
This results in :
Resource group 'myResourceGroup' could not be found.
az group create -n myResourceGroup -l [location] should be executed beforehand.
Minor one, but the original command will fail without this step.
Thanks
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 409a3be9-4831-9401-0bb3-c65209bb3f42
Version Independent ID: 4cf81213-5989-f36c-7456-70accfe452c2
Content: Use the Secrets Store CSI driver for Azure Kubernetes Service secrets - Azure Kubernetes Service
Content Source: articles/aks/csi-secrets-store-driver.md
Service: container-service
GitHub Login: @Nickomang
Microsoft Alias: nickoman

@msftnadavbh Thanks for the feedback! I have assigned the issue to content author to check and update the document as appropriate. We will update you accordingly.

@Nickomang Can you please check and add your comments on this doc update request as applicable


Line charts with a combination of dashed and normal lines.

I would like to plot a line chart using a combination of dashed and straight lines, i.e depending on the x axis values I should be able to determine weather the line should be dashed or not. Is this possible?
I have attached a screenshot of the graph I would like to plot

.

You can pass separate lines for each segment with a specific pattern.

Sorry I couldn't follow. Could explain it a bit.

Instead of using one line in your example you'd use 3 - one which goes from 30 until Jul 06, (with dashed pattern), etc. Each of these lines would be represented with a line model. You'd have to split your data accordingly.
Alternatively you can display one single line for everything with the dashed path and "cover" it with not-dashed lines.

Yeah that should solve my problem. Thanks a lot

Sorry I couldn't get this done. Suppose I use three line models, how will I make the second line start from Jul 06 (as in the above diagram).


Add Event Before Changing Page or PageSize

Bug, feature request, or proposal:
Feature request.
What is the expected behavior?
Please add an event that will emit just before the page index and page size is changed.
What is the current behavior?
Although I was able to prevent the user from changing the current displayed data, I can still interact with the paginator and change the page and pagesize, they will simply be ignored and data displayed will remain the same.
What is the use-case or motivation for changing an existing behavior?
This will be an opportunity to do something before changing the page, such as showing a message box when there are invalid controls displayed by the table. The user then cannot change the page and page size.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
@angular-devkit/architect 0.7.5
@angular-devkit/build-angular 0.7.5
@angular-devkit/build-optimizer 0.7.5
@angular-devkit/build-webpack 0.7.5
@angular-devkit/core 0.7.5
@angular-devkit/schematics 0.7.5
@angular/cdk 6.4.7
@angular/cli 6.1.5
@angular/material 6.4.7
@ngtools/webpack 6.1.5
@schematics/angular 0.7.5
@schematics/update 0.7.5
rxjs 6.3.1
typescript 2.9.2
webpack 4.9.2

There's a pending PR for allowing the paginator to be disabled (see https://github.com/angular/material2/pull/13146) which could be an alternate way of handling your use case.


Issue regarding running  Asgard 1.5.1 on EC2 (ubuntu)

I followed guidelines of Quick start and face following error when running Asgard on my Ubuntu EC2 machine.
AWS Error Code: AccessDeniedException, AWS Error Message: User: arn:aws:iam::A/C no:user/ABC is not authorized to perform: swf:ListDomains on resource: arn:aws:swf:us-east-1:A/C no:/domain/*
This is my Config.groovy ->
grails {
awsAccounts=['A/C']
awsAccountNames=['A/C':'prod']
}
secret {
accessId='accessid'
secretKey='secretkey'
}
cloud {
accountName='prod'
publicResourceAccounts=['amazon']
}
Am i missing something ?

@sainivikas are you able to solve this problem?

Yes, it was occur because the aws key which I used did not have appropriate permission.


Compact interactive list keyboard navigation

Summary
This PR adds keyboard navigation to compact interactive list component.
What was changed:
Following functionality has been added:

The list is a single roving tab stop.
Right/Left Arrows navigate across visual rows. When focus hits the end of the visual row navigation stops.
Up/Down Arrows navigate across visual columns. Navigating down from the bottom of a visual column takes you to the corresponding cell at the top of the next visual column and vice versa (except for the last and first items).
Ctrl + Cmd + Left (on Mac) / Ctrl + Home (on Windows) moves focus to the first cell in the first item in the list.
Ctrl + Cmd + Right (on Mac) / Ctrl + End (on Windows) moves focus to the last cell in the last item in the list.
Cmd + Left (on Mac) / Home (on Windows) moves focus to the first cell in the first item in the visual row.
Cmd + Right (on Mac) / End (on Windows) moves focus to the first cell in the first item in the visual row.
If cell has an interactive element (only one per cell allowed), focus is set to that element, not the cell (only one interactive element per cell allowed) and the arrow keys behavior is default to that element (NOTE: currently it causes problems with input elements that won't allow to navigate away from that with keyboard, a decision needs to be maid by UX team on what is the best way around that).
Cells are select-able by Space key (it triggers onClick for cell) unless the cell has an interactable element within, in that case its not selectable neither via mouse click nor per space key.

Testing

Note: at that moment tests are work in progress.
This change was tested using:

[ ] WDIO
[ ] Jest
[ ] Visual testing (please attach a screenshot or recording)
[ ] Other (please describe below)
[ ] No tests are needed

Reviews
In addition to engineering reviews, this PR needs:

[x] UX review
[x] Accessibility review
[ ] Functional review

Additional Details

This PR resolves:
UXPLATFORM-9788

@adoroshk - Great work on this component, Alla! There is a lot nice functionality in your implementation. I validated keyboard navigation using the Edge browser, and most interactions worked as expected. Visible focus indicator displays as I navigate to each cell.
Here are some minor observations:
Cell Content and Cell Selection examples - I used the arrow key to navigate to the cell with an text input field. I entered "test" and then got trapped. I could not use the arrow keys to navigate to another cell. I was able to press Tab and leave the list completely.
All examples - the favorites icon is not interactable. Should it be?

@adoroshk The title of the PR indicates that it is for keyboard navigation so I did do any screen reader testing.

Cell Content and Cell Selection examples - I used the arrow key to navigate to the cell with an text input field. I entered "test" and then got trapped. I could not use the arrow keys to navigate to another cell. I was able to press Tab and leave the list completely.
All examples - the favorites icon is not interactable. Should it be?

As for Cell Content and Cell Selection examples trapping keyboard navigation - @eawww and I are waiting for the answer from the UX team on how to avoid that. The idea was that the compact intercative list would not have a focus trap as grid has, but an interactive element within a cell would keep its native keyboard navigation, which leads to that case.

The favorites icon is not interactable. Should it be? - That is a great suggestion, it totally should be intercatable. I'll see if I can make it in this PR or a part of the upcoming documentation JIRA.

@adoroshk The title of the PR indicates that it is for keyboard navigation so I did do any screen reader testing.

@mjpalazzo , As for the screen reader testing, I guess the part that needs screen reading testing is when the keyboard navigation moves between cells the column and the row context should be clear to the user. Here is what I meant:

Each semantic column, such as icon, text, and featured icon, has a hidden column header, which comes from the columns displayedName prop and even though it's hidden, it needs to be announced by JAWS when focus moves between semantic columns.
Each semantic row (which consists of 3 columns, such as icon, text, in majority examples, or 4 columns in cell content and cell selection examples) has a row header, identified by zero-based rowHeaderIndex prop, set to 1 (meaning in all examples it'll be a text column, such as 'Discern Care Set (1)'). That row header needs to be anounced by screen readers when user navigates between semantic rows.

Is this part working as expected? I apologize for such a long explanation, feel free to reach out to me for details.

Synced up with @adoroshk for clarification on the keyboard shortcuts and a slight discrepancy with the layout which will be addressed later.
Original notes said:

Ctrl + Cmd + Left (on Mac) / Ctrl + Home (on Windows) moves focus to the first cell in the first item in the list.
Ctrl + Cmd + Right (on Mac) / Ctrl + End (on Windows) moves focus to the last cell in the last item in the list.
Cmd + Left (on Mac) / Home (on Windows) moves focus to the first cell in the first item in the visual row.
Cmd + Right (on Mac) / End (on Windows) moves focus to the first cell in the first item in the visual row.

Corrected a few things and laid out in a more digestible format:

Moves to the first cell in the focused visual row

Windows

Home

Mac

Home
Fn + Left Arrow (equivalent to Home)
Cmd + Left Arrow

Moves to the last cell in the focused visual row

Windows

End

Mac

End
Fn + Right Arrow (equivalent to End)
Cmd + Right Arrow

Moves to the first cell in the first item (top left)

Windows

Ctrl + Home

Mac

Cmd or Ctrl + Home
Cmd or Ctrl + Fn + Left Arrow (equivalent to Home)
Cmd + Ctrl + Left Arrow

Moves to the last cell in the last item (bottom item in rightmost visual column)

Windows

Ctrl + End

Mac

Cmd or Ctrl + End
Cmd or Ctrl + Fn + Right Arrow (equivalent to End)
Cmd + Ctrl + Right Arrow

Synced up with @adoroshk for clarification on the keyboard shortcuts and a slight discrepancy with the layout which will be addressed later.
Original notes said:
* Ctrl + Cmd + Left (on Mac) / Ctrl + Home (on Windows) moves focus to the first cell in the first item in the list.

* Ctrl + Cmd + Right (on Mac) / Ctrl + End (on Windows) moves focus to the last cell in the last item in the list.

* Cmd + Left (on Mac) / Home (on Windows) moves focus to the first cell in the first item in the visual row.

* Cmd + Right (on Mac) / End (on Windows) moves focus to the first cell in the first item in the visual row.

Corrected a few things and laid out in a more digestible format:
* Moves to the **first cell** in the **focused visual row**

  * Windows

    * Home
  * Mac

    * Home
    * Fn + Left Arrow (equivalent to Home)
    * Cmd + Left Arrow

* Moves to the **last cell** in the **focused visual row**

  * Windows

    * End
  * Mac

    * End
    * Fn + Right Arrow (equivalent to End)
    * Cmd + Right Arrow

* Moves to the **first cell** in the **first item** (top left)

  * Windows

    * Ctrl + Home
  * Mac

    * Cmd or Ctrl + Home
    * Cmd or Ctrl + Fn + Left Arrow (equivalent to Home)
    * Cmd + Ctrl + Left Arrow

* Moves to the **last cell** in the **last item** (bottom item in rightmost visual column)

  * Windows

    * Ctrl + End
  * Mac

    * Cmd or Ctrl + End
    * Cmd or Ctrl + Fn + Right Arrow (equivalent to End)
    * Cmd + Ctrl + Right Arrow

Thank you for a detailed clarification! The key navigation should work now as described per change made in https://github.com/cerner/terra-framework/pull/1919/commits/466e8c8925bbcc558f73fbe0983801049ef68aa2

@adoroshk The title of the PR indicates that it is for keyboard navigation so I did do any screen reader testing.

@mjpalazzo , As for the screen reader testing, I guess the part that needs screen reading testing is when the keyboard navigation moves between cells the column and the row context should be clear to the user. Here is what I meant:

Each semantic column, such as icon, text, and featured icon, has a hidden column header, which comes from the columns displayedName prop and even though it's hidden, it needs to be announced by JAWS when focus moves between semantic columns.
Each semantic row (which consists of 3 columns, such as icon, text, in majority examples, or 4 columns in cell content and cell selection examples) has a row header, identified by zero-based rowHeaderIndex prop, set to 1 (meaning in all examples it'll be a text column, such as 'Discern Care Set (1)'). That row header needs to be anounced by screen readers when user navigates between semantic rows.

Is this part working as expected? I apologize for such a long explanation, feel free to reach out to me for details.

@adoroshk - Thanks for your reply. There was a typo in my comment regarding screen reader. What I meant to say is I did not do any screen reader testing. Sorry about that! If the component is ready for screen reader testing, let me know and I will get to work on it. What is expected is that JAWS announces the name, role, and value of the control, its state if it can change state (e.g., expand/collapse, selected/unselected), helper text (visually hidden text instructions for the screen reader user on how to interact with the control), and the name, role, value, state, helper text of any interactive components inside the control. Also, any JAWS specific keyboard navigation shortcuts work as expected.

@mjpalazzo, thank you for such a detailed response! Per my understanding what's missing from the list above is a helper text (visually hidden text instructions for the screen reader user on how to interact with the control). Can I by any chance ask to provide the copy of those instructions so that I can add them to the component?

@eawww - Is helper text something you would provide? If so, please post some for @adoroshk. If not, who typically authors helper text?

@mjpalazzo @adoroshk I wouldn't want to give overly verbose instructions detailing every possible interaction, especially since that also needs to be available to non screen reader users, but something like "Use arrow keys to navigate and space or enter to activate a cell" would probably be helpful.
We still need to make the external instructions components for all these grids.

Thank you @adoroshk! It works fantastically.
One last request
Could you add to the prop description for numberOfColumns: "Number of rows is calculated as the number of items divided by the number of columns, rounded up." or if there's a more accurate wording, that'd be cool.

@eawww added the description here: https://github.com/cerner/terra-framework/blob/396ed597aeb86c4aad0c6304fa5c4f8f0e6b4f10/packages/terra-compact-interactive-list/src/CompactInteractiveList.jsx#L73


To update PyBLØCK in Raspiblitz

https://github.com/rootzoll/raspiblitz/blob/v1.6/home.admin/config.scripts/bonus.pyblock.sh

http://bonus.pyblock.sh this script you can execute it and it will install the new version on raspiblitz
you can find it on /home/admin/config.scripts
./bonus.pyblock.sh to update


Shopify Cart vs Checkout - Checkout Limits

Hi,
Thank you for the amazing project and for your hard work, I just had an observation that I wanted to share with you.
I noticed that for each new user that visit the website a checkout is automatically created for them and we use the checkout object instead of the cart object to manage the cart.
Both the cart and the checkout objects have a very similar APIs, the only downside I see from using the checkout object to manage the cart is that Shopify has an API limit of 4000 checkouts per minute, This is a lot for most people but still this limit doesn't exist on the cart APIs AFAIK.
Also from an analytics standpoint this will result in no abandoned cart events and all customers will be treated as if they abandoned the checkout, correct?
My question is, Could the team maybe consider managing the cart with the cart APIs and not with checkouts? If not then do you think it's worth it to implement a queuing feature here to handle throttles? or maybe mention the limit in the readme?
Thank you!

Closing in favor of: https://github.com/vercel/commerce/issues/431


Fix to prevent rare Concurrent Modification Exceptions

Coverage decreased (-0.006%) to 76.977% when pulling a49e009cbaea172279a886c0addd1104b583c6ad on ConcurrentModificationRestSubscriptionFix into f7d4296046fd5e6b20778825744cee66dbffff81 on master.

Thanks James
  From: James Agnew<EMAIL_ADDRESS>
To: jamesagnew/hapi-fhir<EMAIL_ADDRESS>Cc: Jeff Chung<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Sent: Wednesday, July 26, 2017 2:26 PM
Subject: Re: [jamesagnew/hapi-fhir] Fix to prevent rare Concurrent Modification Exceptions (#693)
Thanks Jeff. Merging this now!—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Microphone issue on GCP VM

When clicking on connect button in playground , it should ideally ask for microphone permission from user . I am deploying this app in GCP virtual machine , it works great on localmachine (my laptop)
Instead it directly giving me this below error
Unhandled Runtime Error
TypeError: Cannot read properties of undefined (reading 'getUserMedia')
Source
src/components/playground/Playground.tsx (73:24) @ setMicrophoneEnabled
at this line
  71 |     if (roomState === ConnectionState.Connected) {
  72 |       localParticipant.setCameraEnabled(config.settings.inputs.camera);
> 73 |       localParticipant.setMicrophoneEnabled(config.settings.inputs.mic);
     |                        ^
  74 |     }
  75 |   }, [config, localParticipant, roomState]);
  76 |

Reproduction
Deploying this app in GCP vm
Perfromed Initial setup like setting up .env ,
Here is the config that i used
NEXT_PUBLIC_APP_CONFIG="
title: 'LiveKit Agent Playground'
description: 'LiveKit Agent Playground allows you to test your LiveKit Agent integration by connecting to your LiveKit Cloud or self-hosted instance.'
github_link: 'https://github.com/livekit/agents-playground'
video_fit: 'cover' # 'contain' or 'cover'
settings:
  editable: true # Should the user be able to edit settings in-app
  theme_color: 'cyan'
  chat: true  # Enable or disable chat feature
  outputs:
    audio: true # Enable or disable audio output
    video: false # Enable or disable video output
  inputs:
    mic: true    # Enable or disable microphone input
    camera: false # Enable or disable camera input
    sip: true    # Enable or disable SIP input
"

Logs
No response
System Info
System:
  OS: Linux 6.5 Ubuntu 22.04.4 LTS 22.04.4 LTS (Jammy Jellyfish)
  CPU: (2) x64 Intel(R) Xeon(R) CPU @ 2.20GHz
  Memory: 1.49 GB / 1.91 GB
  Container: Yes
  Shell: 5.1.16 - /bin/bash
 Binaries:
  Node: 18.20.3 - /usr/bin/node
  npm: 10.7.0 - /usr/bin/npm
 npmPackages:
  livekit-client: ^2.1.5 => 2.2.0

Severity
blocking all usage of LiveKit
Additional Information
Feel Free to correct me if i made any mistakes

You need to deploy it to a HTTPS endpoint. Browsers blocks getUserMedia on insecure HTTP sites.


[FEATURE] - add an edit flag to coco commands

Is your feature request related to a problem? Please describe.
Creating a commit with a summary and scope is straight forward :
coco feat "a summary message" scope

But if we want to write a commit message body or footer things get complicated :
coco feat "a summary message" scope "a very long body with \n multiple line" \
"scope-token: with a message\ntoken #with another message"

Describe the solution you'd like
A simple alternative would be to provide an edit flag to the coco command :
coco -e feat "a conventional commit summary" scope

This would call $EDITOR a first one to edit the commit body :
# Please enter the commit body for your changes. Lines starting
# with '#' will be ignored, and an empty body is allowed.
# One you are done save your changes and exit the editor.
# To abort close without saving.

Once saved a second call to $EDITOR should allow the user to
edit the commit footers.
Additionally it would be nice to have conventional_commits_parser_rs exposing functions to parse commit summary, body and footers separately. This way we could validate each step of the commit editing and provide detailed errors.
A failure to parse either the body or the footer should result in the editor reopening with
the previous content plus the error :
# The entered message is not compliant with the conventional commit specification :
#
#
# Caused by:
#     --> 1:25
#      |
#    1 | refactor(scope with par)): refactor test helpers␊
#      |                         ^---
#      |
#      = expected type_separator
#
# Please edit this message and save to continue

the previously edited body or footer

The latest version of conventional_commit_parser expose the necessary function.


[WIP] ApprovalInventories operation

dependent https://github.com/ManageIQ/topological_inventory-api/pull/257

@slemrmartin the name ApprovalInventories makes some assumptions about how this will be used (e.g. by catalog for the purpose of approvals).
Would something like ServiceOfferingInventories make sense?

@agrare yes and no :) there shoud be ServiceOffering.service_offering_inventories method, and /service_offering/:id/service_offering_inventories URL in API - but it invokes that it's simple has_many list.
I decided for approval_inventories, because this operation is really Approval Service specific, I doubt it'll make sense for any other service.
It won't be used by catalog, it should provide different list for user input.
Maybe I can switch back to effective_inventories, but it does mean nothing.

@slemrmartin either applied or effective inventories sounds good to me :+1:

@agrare it's ready now