MSID: 98654 Version: 1 DOI: 10.1101/2<IP_ADDRESS>1924

MSID: 98654
Version: 1
Preprint DOI: https://doi.org/10.1101/2<IP_ADDRESS>1924
Step 1. Awaiting reviews
Editorial to post reviews via hypothesis
Useful links:

DocMap: https://data-hub-api.elifesciences.org/enhanced-preprints/docmaps/v2/by-publisher/elife/get-by-manuscript-id?manuscript_id=98654
New model tracking: https://docs.google.com/spreadsheets/d/1_fHaoOy7hjyocptKtVJRijeNpUY4hBS7Ck_aVmx6ZJk/
Reviews on sciety: https://sciety.org/articles/activity/10.1101/2<IP_ADDRESS>1924

For trouble shooting (e.g. no Docmaps available):

DocMap issue addressing: https://miro.com/app/board/uXjVNCwK6EI=/
Explore DataHub DocMaps API: https://lookerstudio.google.com/reporting/4c2f0368-babb-4beb-b5b3-497e7e7b0f08/page/ejphD
Unmatched submissions and preprints: https://lookerstudio.google.com/u/0/reporting/9f86204f-3bf7-477c-9b18-5c5ef141bf69/page/p_gxi57ha93c
Unmatched manuscripts spreadsheet: https://docs.google.com/spreadsheets/d/15QcK8w-ssB7109RQEDtFpJPZ0J5HTGxoHa_2TtpMBbg/edit#gid=1336081641

Step 2. Preview reviewed preprint
Production QC content ahead of publication
Instructions:

QC preview: https://prod--epp.elifesciences.org/previews/98654v1
Update ticket with any problems (add blocked label)
When QC OK, add QC OK label to ticket and add publication date and time to https://docs.google.com/spreadsheets/d/1amAlKvdLcaDp5W8Z8g77NmkwbMF5n_u89ArSqPMO8jg
Move card to next column
(At end of the day post link in #enhanced-preprint and ask for PDF to be generated)

Useful links:

Preprint DOI :  https://doi.org/10.1101/2<IP_ADDRESS>1924
Confirm reviews returned by EPP: https://prod--epp.elifesciences.org/api/reviewed-preprints/98654/v1/reviews
To update the MECA path in the docmap: https://docs.google.com/spreadsheets/d/1mctCQuNFBjSn97Lihy7_vBO6z7-N-oqyLv4clyi6zHg

Step 3: Awaiting search reindex
This step adds the reviewed preprint to the homepage: https://elifesciences.org
The search reindex is triggered once an hour. We need the reviewed preprint to be indexed as the search application serves the journal homepage.
Useful links:

Jenkins pipeline to reindex search can be triggered sooner or monitored here: https://alfred.elifesciences.org/job/process/job/process-reindex-reviewed-preprints/

Step 4: Published! PDF requested
Waiting for PDF to be generated
Useful links:

PDF tracking: https://docs.google.com/spreadsheets/d/106_XeDjmuBae7gexOTNzg60lapeqjl2aRn9DzupGyS8/

Step 5: Introduce PDF to data folder and git repo
Upload PDF to relevent folder in git repo https://github.com/elifesciences/enhanced-preprints-data/
Step 6: Done!

[ ] Kettle is on!

warn: [title-upper-case] Content of  element is entirely in upper case: Is that correct? 'ACKNOWLEDGEMENTS AND CONTRIBUTIONS'


[#17] Add Mac aarch64, tests in CI, Go 1.20

bumping deps too

i just pushed in the bumped deps commit too, can do next time, not important :P

Sorry, too quick. Feel free to make another PR :)


Ordered Logit in pygam?

Is there a way to do an ordered logit with pygam? Can't find a way to do it in sklearn either.

(1) this book has detailed theoretical work on ordered logit.
(2) this repo has implemented a version of ordered logistic regression.
The question is that, ordered logit uses a normal mle minimization procedure for solving it. will it be easy to integrate this into our pirls setting somehow?


Segmentation Fault

I freshly installed KiCad 5.0 and this plugin on a Mint Linux virtualbox. KiCad exits abruptly with a segmentation fault on launch of pcbnew. Any idea how to figure out why? All dependencies can be imported from python2.7. Pcbnew launches no problem if I rename ~/.kicad_plugins to ~/.kicad_plugins_backup (but of the scripts are then invisible to kicad). As soon as I rename it back to what it should be the segmentation faults come back. These are the only scripts installed.
Terminal output:
# amoose136@Spectrologix-mint: ~
ζ kicad
initializing mmccoo_kicad
adding genborderplugin
done adding genborderplugin
done adding toggle
adding ratnest plugin
done adding ratnest
done adding mmccoo_kicad
[1]    10669 segmentation fault (core dumped)  kicad

I suggest running pcbnew from gdb.
probably something like this:
sudo apt install gdb
which gdb  -> this will give you the path to pcbnew
gdb
wait for it to seg fault which should give you a prompt in gdb
run the command 'backtrace'
which should tell you where in the code it was when it died.
If you do get a trace, please let me know what it says.
A zillion things could have happened.

I'm also having this or related issues.  I tried running a few different versions from the @aimylios/kicad-nightly and @kicad/kicad copr repositories and could only get a couple of the scripts to work properly.
I'll give it a try with gdb and see what I can find out later as well.

What I got was:
# amoose136@Spectrologix-mint: /usr/bin                                  (13:51:48)
ζ gdb pcbnew
GNU gdb (Ubuntu 8.1-0ubuntu3) <IP_ADDRESS>80409-git
Copyright (C) 2018 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 "x86_64-linux-gnu".
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 pcbnew...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/pcbnew
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
initializing mmccoo_kicad
adding genborderplugin
done adding genborderplugin
done adding toggle
adding ratnest plugin
done adding ratnest
done adding mmccoo_kicad

Program received signal SIGSEGV, Segmentation fault.
0x00007fffe016cbb7 in wxStatusBarBase::CalculateAbsWidths(int) const ()
   from /usr/lib/x86_64-linux-gnu/libwx_gtk3u_core-3.0.so.0
(gdb) backtrace
#0  0x00007fffe016cbb7 in wxStatusBarBase::CalculateAbsWidths(int) const ()
   from /usr/lib/x86_64-linux-gnu/libwx_gtk3u_core-3.0.so.0
#1  0x00007fffe000ca2e in wxStatusBar::DoUpdateFieldWidths() ()
   from /usr/lib/x86_64-linux-gnu/libwx_gtk3u_core-3.0.so.0
#2  0x00007fffe000cd09 in wxStatusBar::OnSize(wxSizeEvent&) ()
   from /usr/lib/x86_64-linux-gnu/libwx_gtk3u_core-3.0.so.0
#3  0x00007ffff6b4d4be in wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) ()
   from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#4  0x00007ffff6b4d5c3 in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#5  0x00007ffff6b4d98b in wxEvtHandler::TryHereOnly(wxEvent&) ()
   from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#6  0x00007ffff6b4da13 in wxEvtHandler::ProcessEventLocally(wxEvent&) ()
   from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#7  0x00007ffff6b4da75 in wxEvtHandler::ProcessEvent(wxEvent&) ()
   from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#8  0x00007ffff6b4d7d7 in wxEvtHandler::SafelyProcessEvent(wxEvent&) ()
   from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#9  0x00007ffff72b566e in wxWindow::DoSetSize(int, int, int, int, int) ()
   from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#10 0x00007ffff72f407d in wxStatusBar::Create(wxWindow*, int, long, wxString const&) () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
---Type <return> to continue, or q <return> to quit---
#11 0x00007ffff73c4096 in wxFrameBase::OnCreateStatusBar(int, long, int, wxString const&) () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#12 0x00007ffff73c4273 in wxFrameBase::CreateStatusBar(int, long, int, wxString const&) () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#13 0x00007fffea91c628 in ?? () from /usr/bin/_pcbnew.kiface
#14 0x00007fffea71e61e in ?? () from /usr/bin/_pcbnew.kiface
#15 0x00007fffea3a071d in ?? () from /usr/bin/_pcbnew.kiface
#16 0x00007fffea080503 in ?? () from /usr/bin/_pcbnew.kiface
#17 0x000055555559566b in ?? ()
#18 0x0000555555589561 in ?? ()
#19 0x000055555558c850 in ?? ()
#20 0x00007ffff6a5bb3a in wxEntry(int&, wchar_t**) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#21 0x0000555555586888 in ?? ()
#22 0x00007ffff5dd5b97 in __libc_start_main (main=0x555555586860, argc=1, argv=0x7fffffffdea8, init=<optimized out>, fini=<optimized out>,
    rtld_fini=<optimized out>, stack_end=0x7fffffffde98) at ../csu/libc-start.c:310
#23 0x0000555555588d6a in _start ()
(gdb)

Well that's not what I expected.
Kicad 5.0 downloaded from the kicad site (ie, you didn't compile it)
running on a recent Linux Mint (19? I haven't used that distro but I
understand it to be easy to install)
I'll give it shot. Thanks for taking the time.
Miles
On Fri, Aug 24, 2018, 7:57 PM Amos Manneschmidt<EMAIL_ADDRESS>wrote:

What I got was:
amoose136@Spectrologix-mint: /usr/bin                                  (13:51:48)
ζ gdb pcbnew
GNU gdb (Ubuntu 8.1-0ubuntu3) <IP_ADDRESS>80409-git
Copyright (C) 2018 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 "x86_64-linux-gnu".
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 pcbnew...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/pcbnew
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
initializing mmccoo_kicad
adding genborderplugin
done adding genborderplugin
done adding toggle
adding ratnest plugin
done adding ratnest
done adding mmccoo_kicad
Program received signal SIGSEGV, Segmentation fault.
0x00007fffe016cbb7 in wxStatusBarBase::CalculateAbsWidths(int) const ()
from /usr/lib/x86_64-linux-gnu/libwx_gtk3u_core-3.0.so.0
(gdb) backtrace
#0  0x00007fffe016cbb7 in wxStatusBarBase::CalculateAbsWidths(int) const ()
from /usr/lib/x86_64-linux-gnu/libwx_gtk3u_core-3.0.so.0
#1  0x00007fffe000ca2e in wxStatusBar::DoUpdateFieldWidths() ()
from /usr/lib/x86_64-linux-gnu/libwx_gtk3u_core-3.0.so.0
#2  0x00007fffe000cd09 in wxStatusBar::OnSize(wxSizeEvent&) ()
from /usr/lib/x86_64-linux-gnu/libwx_gtk3u_core-3.0.so.0
#3  0x00007ffff6b4d4be in wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) ()
from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#4  0x00007ffff6b4d5c3 in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#5  0x00007ffff6b4d98b in wxEvtHandler::TryHereOnly(wxEvent&) ()
from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#6  0x00007ffff6b4da13 in wxEvtHandler::ProcessEventLocally(wxEvent&) ()
from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#7  0x00007ffff6b4da75 in wxEvtHandler::ProcessEvent(wxEvent&) ()
from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#8  0x00007ffff6b4d7d7 in wxEvtHandler::SafelyProcessEvent(wxEvent&) ()
from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#9  0x00007ffff72b566e in wxWindow::DoSetSize(int, int, int, int, int) ()
from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#10 0x00007ffff72f407d in wxStatusBar::Create(wxWindow*, int, long, wxString const&) () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
---Type  to continue, or q  to quit---
#11 0x00007ffff73c4096 in wxFrameBase::OnCreateStatusBar(int, long, int, wxString const&) () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#12 0x00007ffff73c4273 in wxFrameBase::CreateStatusBar(int, long, int, wxString const&) () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#13 0x00007fffea91c628 in ?? () from /usr/bin/_pcbnew.kiface
#14 0x00007fffea71e61e in ?? () from /usr/bin/_pcbnew.kiface
#15 0x00007fffea3a071d in ?? () from /usr/bin/_pcbnew.kiface
#16 0x00007fffea080503 in ?? () from /usr/bin/_pcbnew.kiface
#17 0x000055555559566b in ?? ()
#18 0x0000555555589561 in ?? ()
#19 0x000055555558c850 in ?? ()
#20 0x00007ffff6a5bb3a in wxEntry(int&, wchar_t**) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#21 0x0000555555586888 in ?? ()
#22 0x00007ffff5dd5b97 in __libc_start_main (main=0x555555586860, argc=1, argv=0x7fffffffdea8, init=, fini=,
rtld_fini=, stack_end=0x7fffffffde98) at ../csu/libc-start.c:310
#23 0x0000555555588d6a in _start ()
(gdb)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/mmccoo/kicad_mmccoo/issues/7#issuecomment-415835202,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABBErGtAryd6Hhm3RBs_fpXP4BZK-ndzks5uUD53gaJpZM4VtMuT
.

I installed Kicad 5.0 via the package manager following the instructions found at: http://kicad-pcb.org/download/linux-mint/
Mint is super simple to install. It's almost just Ubuntu but with a desktop layout that more closely resembles the way Ubuntu looked pre-Unity.

so the problem is a simple matter of version mismatches.
You can find a little discussion about it here:
https://forum.kicad.info/t/wxpython-3-1-error-building-kicad-from-source-ubuntu-18-04/11431/10
In linux, kicad sits on gtk2. gtk2 is old and most of the linux world is
moving towards or is told to move toward gtk3
wxpython is used as a glue layer between gtk and python. The version of
wxpython that is built against gtk2 is no longer built in the common
distros. I wasn't able find an older build of it. (or I got errors about
release files missing which I think happens when a release area is being
phased out)
anyway, the latest wxpython4.0 does still support gtk2 builds, but kicad is
not built on that yet.
I did some work on moving kicad there some time last year:
https://lists.launchpad.net/kicad-developers/msg31889.html
but wxpython4.0 didn't seem ready at the time.
now that the world has evolved in a way that the python stuff just doesn't
work, those not readinesses seem less critical.
Perhaps normal ubuntu could work but it seems unlikely. (I'm on arch).
Kind of a drag. Maybe there's older kicad nightlies somewhere.
On Sat, 25 Aug 2018 at 10:21, miles mccoo<EMAIL_ADDRESS>wrote:

I have reproduced the seg fault. The hunt begins.
Miles
On Fri, 24 Aug 2018 at 20:48, Amos Manneschmidt<EMAIL_ADDRESS>wrote:

I installed Kicad 5.0 via the package manager following the instructions
found at: http://kicad-pcb.org/download/linux-mint/
Mint is super simple to install. It's almost just Ubuntu but with a
desktop layout that more closely resembles the way Ubuntu looked pre-Unity.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/mmccoo/kicad_mmccoo/issues/7#issuecomment-415849014,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABBErFOoq3WH5WKN35sWNiu7OLBliOfiks5uUEpdgaJpZM4VtMuT
.

That sucks, the aimylios / kicad-nightly repository does bundle wx-python and wxPython-GTK2 but I guess that isn't enough, or I'll test it again to be sure I didn't miss installing something.
https://copr-be.cloud.fedoraproject.org/results/aimylios/kicad-nightly/fedora-29-x86_64/00789449-wxPython-GTK2/
This Ubuntu PPA has kicad nightlies with wxpython3.0 and wxwidgets3.0 in it, not sure if that helps, haven't had a chance to try Ubuntu yet.
https://launchpad.net/~js-reynaud/+archive/ubuntu/ppa-kicad
I'd be willing to give Arch a try if it works, is there a particular version you're running?

for running kicad with scripting enabled, I suggest ubuntu 16.04 (18 has
the same issues as Mint, of course)
I don't know whether the nighly build would work. I suspect not; I believe
some/much of the python stuff is disabled.
compiling youself is not hard and it sounds like you're motivated:
https://kicad.mmccoo.com/2017/02/01/compiling-kicad-on-ubuntu/
Generally, I recommend against the kicad "releases" since they are few and
far between. The Kicad folks do a great job of keeping the nighly stuff
working and reliable.
also, note that for my plugin to work, you need additional python packages.
They are listed in the readme, which I just updated.
On Mon, 27 Aug 2018 at 16:42, Michael Best<EMAIL_ADDRESS>wrote:

That sucks, the aimylios / kicad-nightly repository does bundle wx-python
and wxPython-GTK2 but I guess that isn't enough, or I'll test it again to
be sure I didn't miss installing something.
https://copr-be.cloud.fedoraproject.org/results/aimylios/kicad-nightly/fedora-29-x86_64/00789449-wxPython-GTK2/
This Ubuntu PPA has kicad nightlies with wxpython3.0 and wxwidgets3.0 in
it, not sure if that helps, haven't had a chance to try Ubuntu yet.
https://launchpad.net/~js-reynaud/+archive/ubuntu/ppa-kicad
https://launchpad.net/~js-reynaud/+archive/ubuntu/ppa-kicad
I'd be willing to give Arch a try if it works, is there a particular
version you're running?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/mmccoo/kicad_mmccoo/issues/7#issuecomment-416250133,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABBErHmtJloqma52JOEp9fPK3rhebLbyks5uVAVFgaJpZM4VtMuT
.

Great, I will try when I get the chance.
On Thu, Aug 30, 2018, 4:19 AM Miles McCoo<EMAIL_ADDRESS>wrote:

for running kicad with scripting enabled, I suggest ubuntu 16.04 (18 has
the same issues as Mint, of course)
I don't know whether the nighly build would work. I suspect not; I believe
some/much of the python stuff is disabled.
compiling youself is not hard and it sounds like you're motivated:
https://kicad.mmccoo.com/2017/02/01/compiling-kicad-on-ubuntu/
Generally, I recommend against the kicad "releases" since they are few and
far between. The Kicad folks do a great job of keeping the nighly stuff
working and reliable.
also, note that for my plugin to work, you need additional python packages.
They are listed in the readme, which I just updated.
On Mon, 27 Aug 2018 at 16:42, Michael Best<EMAIL_ADDRESS>wrote:

That sucks, the aimylios / kicad-nightly repository does bundle wx-python
and wxPython-GTK2 but I guess that isn't enough, or I'll test it again to
be sure I didn't miss installing something.

https://copr-be.cloud.fedoraproject.org/results/aimylios/kicad-nightly/fedora-29-x86_64/00789449-wxPython-GTK2/

This Ubuntu PPA has kicad nightlies with wxpython3.0 and wxwidgets3.0 in
it, not sure if that helps, haven't had a chance to try Ubuntu yet.
https://launchpad.net/~js-reynaud/+archive/ubuntu/ppa-kicad
https://launchpad.net/~js-reynaud/+archive/ubuntu/ppa-kicad
I'd be willing to give Arch a try if it works, is there a particular
version you're running?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<https://github.com/mmccoo/kicad_mmccoo/issues/7#issuecomment-416250133
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/ABBErHmtJloqma52JOEp9fPK3rhebLbyks5uVAVFgaJpZM4VtMuT
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/mmccoo/kicad_mmccoo/issues/7#issuecomment-417269079,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAF3LyYCDtCRaYT3aODu1z_1og0-Vufgks5uV7wfgaJpZM4VtMuT
.

In the linked thread Rene_Poschl said that 5.1 will likely be fixed for newer versions of wxpython. In my case if this is true and 5.1 comes by next spring, that's good enough for me and I'll just wait. I already have things working on my (admittedly obsolete) Macbook Pro using a nightly from just prior to the 5.0 release so it should be good enough to just open things there for the initial layout step until 5.1 is released.

I installed Ubuntu 16.04 in a virtual machine.
Installed kicad from the instructions at http://kicad-pcb.org/download/ubuntu/
sudo add-apt-repository ppa:js-reynaud/kicad-5
sudo apt-get update
sudo apt install kicad

sudo apt install python-setuptools
sudo pip install autoenv
sudo easy_install pip
sudo pip install dxfgrabber numpy scipy shapely

I was able to have the following plugins show up in kicad:

Although, I used a virtualenv to install the dxfgrabber numpy scipy shapely and ran kicad from the command line while the virtualenv was activated:
virtualenv --system-site-packages venv
source venv/bin/activate
pip install dxfgrabber numpy scipy shapely
kicad

This allows me to keep the required packages listed with my project in requirements.txt to more easily track the required libraries.
I believe that all the plugins are available, I count 14 of them using grep self.name */*.py and I have 14 menu items.


fix: fill the missing type in tracingpolicy example

fills the missing type value under the args for tracingpolicy example

I don't have full context on why this directory exists, but I'm wondering if these should be moved under the top level examples/tracingpolicy.

ok, so both directories are used in tests:

pkg/tracingpolicy/examples/tracepoint-lseek-pid.yaml is embedded here
examples/tracingpolicy is walked here

The former was initially added for tests, and only then the latter started being used in tests too. I think we should move tracepoint-lseek-pid.yaml to examples/tracingpolicy and update the test, but check if there is a similar TracingPolicy there first. Could you do it @sadath-12?

Sure thanks @lambdanis

@lambdanis  the //go:embed`` there I think uses go list``` to list files in the current dir and that might be the reason the yaml is there .

tracepoint-lseek-test.yaml

yes it can be removed since pkg/tracingpolicy/examples/tracepoint-lseek-pid.yaml kind of similar

The CI failure is a known issue: #2010. It's unrelated, so I'm merging this PR.


URL is marked by dangerous by Google but not in WebRisk API?

Hi I have these URLs listed below that are marked as dangerous by Google (can check by visit or using this tool of google https://transparencyreport.google.com/safe-browsing/search) but not are in the WebRisk API

http://<IP_ADDRESS>/index.php
https://mercadolivre-produtos.com/mercadolivre/produto/29373737373/choice_frete_plan.php

I'm checking if the web is listed as dangerous in WebRisk with this code

import app
from app.services.secrets import get_gcp_credentials

from google.oauth2 import service_account
from google.cloud.webrisk_v1.services.web_risk_service import WebRiskServiceClient
from google.cloud.webrisk_v1.types.webrisk import ThreatType

class _GCP:

    def init(self):
        file = get_gcp_credentials()

        credentials = service_account.Credentials.from_service_account_file(file.name)

        # Configure clients
        self.risk = WebRiskServiceClient(credentials=credentials)

        file.close()
        return self

_GCP_Client = _GCP().init()

def check_url(url):
    resp = _GCP_Client.risk.search_uris(uri=url, timeout=5, threat_types=[ThreatType.SOCIAL_ENGINEERING, ThreatType.MALWARE, ThreatType.UNWANTED_SOFTWARE])
    return resp != None

This code is working because I have another URL that if I check, its result that the URL is marked in both places as dangerous
http://belarminoleiloes20-wixsite-com.filesusr.com/html/ba60bf_fc69ef04f9b325f0a0ebcce95d2febfd.html
I'll wait for your response. Thanks!

Hi @CDNievas,
I've directed this question to the WebRisk API team and will let you know when I get a response.

Hi, any news about this?

@busunkim96 ?

Hi, any news about this? Because we received an email saying that in 60 days this api will become paid and we need that it's works correctly before paying anything...

Hi @CDNievas,
Apologies for the delayed response! I received this response from the for your original question:

Security systems at Google may have different rules and reactions to observed threats.  Slight difference should be expected.

If you notice any differences like this in the future, please do open another issue and we will be happy to investigate.
Thank you!


Condense install instructions

The --recurse-submodules flag should accomplish the same thing as earlier.

@wpcarro thank you!
should we also add  --shallow-submodules to prevent pulling the entire history of submodules?

I tried --shallow-submodules and it failed, probably not a good idea.


Add a "label-suffix" slot

This is my second attempt to fix #212 (the first was #213); it is cleaner and can easily be applied to other components porting the style to a mixin in lumo-styles.
As for your previous @tomivirkki considerations:

this is a small breaking change, so I do not expect it to be merged before 3.0
this would not affect the Material theme, so it would be a feature of Lumo

This change is

Closing per https://github.com/vaadin/vaadin-text-field/issues/212#issuecomment-494898284


Fix degree form when chaining countries and backing off

Context
There's an edge case when editing a candidate edits a degree
If they edit the country and click the back link and select the old country they already have and save. The form would have cleared the degree type, subject and university information.
Asking for the user to input this information again is valid as the degree types, etc don't match when you change the countries.
But if you go back through the form and select the country you originally have, the form should not erase your degree type, subject and university choices.
This commit fixes this. By validating that the data is there before saving it to the ApplicationQualification record.
Changes proposed in this pull request
Change logic when saving to DB
Guidance to review
Go on review app or local, on a candidate with a UK degree.
Change the country of that degree and click the back button until you get to select the country again.
Select UK.
You should still have your degree type, subject and university saved on the degree.
Before
https://github.com/user-attachments/assets/dfedd3c0-a12e-4528-87bc-8f45a9eb1066
After
https://github.com/user-attachments/assets/9f5ee32a-f8e7-4c06-bf17-d9ab1b4423d0
Things to check

[ ] If the code removes any existing feature flags, a data migration has also been added to delete the entry from the database
[ ] This code does not rely on migrations in the same Pull Request
[ ] If this code includes a migration adding or changing columns, it also backfills existing records for consistency
[ ] If this code adds a column to the DB, decide whether it needs to be in analytics yml file or analytics blocklist
[ ] API release notes have been updated if necessary
[ ] If it adds a significant user-facing change, is it documented in the CHANGELOG?
[ ] Required environment variables have been updated added to the Azure KeyVault
[ ] Inform data insights team due to database changes
[x] Make sure all information from the Trello card is in here
[x] Rebased main
[x] Cleaned commit history
[x] Tested by running locally
[x] Add PR link to Trello card

 Bug: Degree form breaking when changing country and backing off


dart2js_extra/deferred_custom_loader_test fails in csp mode on browsers

The test dart2js_extra/deferred_custom_loader_test, located at tests/compiler/dart2js_extra/deferred_custom_loader_test.dart, is failing
when run on linux content_shell in CSP mode, proabably for obvious reasons.
If this is expected, then the status should be changed to Fail, OK.  Or else the
test should be rewritten, or support for deferred loading change to fix it.
I'm marking it Fail, with this issue, now in the status.
Here is the error:
FAILED: dart2js-drt-checked release_ia32 dart2js_extra/deferred_custom_loader_test
Expected: Pass
Actual: RuntimeError
CommandOutput[dart2js]:
CONSOLE ERROR: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self'".
CONSOLE MESSAGE: line 78: {
"type": "window_onerror",
"value": "window.onerror called: \n\nhttp://<IP_ADDRESS>:52467/root_build/generated_compilations/dart2js-checked-minified-csp-sdk/tests_compiler_dart2js_extra_deferred_custom_loader_test/test.js:5045:\nUncaught EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self'".\n\n\n",
"timestamp": 0.087
Short reproduction command (experimental):
python tools/test.py -mrelease -cdart2js -rdrt -aia32 --use-sdk --write-debug-log --write-test-outcome-log --clear_browser_cache --minified --dart2js-batch --csp --checked -t480 dart2js_extra/deferred_custom_loader_test

Hi Bill, is this basically a dupe of #25683?

Yes, I must have hit save twice.


[Rating] Improve mobile support

On touch screens, the pointer cursor is causing the entire Rating span to flash a blue highlight on click, disable the "pointer" on phone screens to solve this issue.
To reproduce go to https://material-ui.com/components/rating/ and open dev tools to emulate a phone. Now "tap" on a star to change the rating, note the blue highlight effect.

[x ] I have followed (at least) the PR section of the contributing guide.

Thanks guys!

Thank you, I had this issue on my to do list for quite some time.


Adding doom based sourcerer theme

And I've fixed that magit diff view use brighter green colors, so if you decide to accept the pull request I will make a correction.

This looks fantastic! Nice work!


Remove DBA data model 0.4 and 0.5

Only v0.6 is needed atm, according to WP3

Done on development branch


[libosmium/libxlsxwriter] Update to the latest version

Describe the pull request

What does your PR fix?
Fixes #19882 #19886

Update libosmium to 2.17.0
Update libxlsxwriter to 1.1.3
Note: No feature needs to test.

Thanks for your help @BillyONeal.

Thanks :D


No multiselect for My Resources page

There is a select/deselect all and individual selection for the My Resources page, but no multiselect.  For users with resources in the hundreds who want to label, favorite, or delete more than a few resources, the process is tedious (select each resource individually, one by one).  A person would have to think twice before organizing their resources with labeling (for example), given this restriction.  The Discover page does not need this multiselect functionality, by my view, because there are no bulk modifiers like "label" or "favorite".

Moved to backburner until @Lizabrazil and @engineSound can work on the dashboard redesign

I was able to multi-select resources in "My Resources" page, then I did "delete" action that deleted the selected resources. I labelled them with a newly created table, the selected resources had the label. Unless I missed something else in the description, I think the functionality is there.

This is something slightly different, re-opening and will explain at a later date.

I took a second look. I think @ndebuhr expected we have shift+click to select a range. Missing this basic feature hinders the usability of the page. We should be able to enable it.

@cuahsimarko I don't see a design need here, you should be able to click one checkbox and then hold down the shift and click a lower box and have all boxes in between get checked.

This functionality does not appear to be addressed through recent redesigns


cam1:Gain can not be set, as well as cam1:ReverseX and cam1:ReverseY

These PVs appear to be in alarm state and can not be changed.

Can this issue also be closed (fixed in #13)?


Support / docs / newbie question:  Where does the require statement go?

Where does the require('orgmode').setup({ etc statement documented under Setup get placed?
Tried it in ~/.vimrc and got:
Error detected while processing /home/mlncn/Projects/mlncn/scripts/.vimrc:
line   78:
E492: Not an editor command: require('orgmode').setup({
line   79:
E492: Not an editor command:   org_agenda_files = {'~/Dropbox/org/*', '~/my-orgs
/**/*'},
line   80:
E492: Not an editor command:   org_default_notes_file = '~/Dropbox/org/refile.or
g',
line   81:
E492: Not an editor command: })

Using the kristijanhusak/vim-packager installation approach.
Hmm, same for the chain completion too.
Error detected while processing /home/mlncn/Projects/mlncn/scripts/.vimrc:
line   78:
E220: Missing }.
"completion_chain_complete_list" [New]
Cannot open file "completion_chain_complete_list"

Thanks!

Seems like you are using Vim.
This is a neovim plugin. It requires latest neovim version (0.5). Setup is done in lua.

Closing this due to inactivity.

Seems like you are using Vim.
This is a neovim plugin. It requires latest neovim version (0.5). Setup is done in lua.

Hi! Just to add that the instructions could be clarified. Example (for code snippet under Setup heading): adding a commented out line in the code sample  clarifying in what file the setup lines go, and also where in that file if it already exists.
I have the same thing. I most definitely am using Neovim 0.5 though. Thanks to this thread I now know I probably need to add those lines in a lua file somewhere (like the OP I tried "the other regular  places", such as ~/.config/nvim/init.vim and also created a ~/.vimrc, both without luck of course), but I don't know where that file is and if those lines should go at the top/bottom, or after an init of some kind, as all the lua files I can find in the orgmode.vim folder (which are the only lua files I have) look rather "busy" already. Have tried a couple of options I thought could be logical, but so far no luck.
For those "who already know" this is most likely a silly n00b thing, but for those who are new to this plug, like me (and OP) it is very difficult to know what we don't know.
It would be a quick fix to just add that info to the readme info, IMHO.

For the OP's issue, I think there's enough information that this is a Neovim specific plugin, by few things:

name ends in .nvim, which most of the neovim specific plugins have
Main description of the repo says that it's for Neovim 0.5+ (Orgmode clone written in Lua for Neovim 0.5+.)

I'm assuming he just missed it.
Installation instructions doesn't have the note that this needs to go into ~/.config/nvim/init.vim (which doesn't apply for Windows though), but it's a fair assumption that anyone having a Neovim knows where to put the setup.
If it would require any specific place where it needs to be put (beginning, end, different file, or anything else like that), that would be noted. Putting it literally anywhere in your init.vim should make it work without any issues.
I'm open for Readme and Docs improvement PRs, so feel free to add what you think it's missing. I'm an advanced user so it's hard for me to figure these things out.

Right. Then I truly am more confused.
I agree that setup/install instructions that go in to the "usual" default files don't need further specification. However, when I add those lines to my ~/.config/nvim/init.vim I get the error messages described by OP. I thought that would be the logical place to put any configuration that isn't otherwise specified, but alas, I get:
Error detected while processing /Users/mathiashellquist/.config/nvim/init.vim:
line   88:
E492: Not an editor command: require('orgmode').setup({
line   89:
E492: Not an editor command:   org_agenda_files = {'~/git/inbox/org/*', '~/my-orgs/**/*'},
line   90:
E492: Not an editor command:   org_default_notes_file = '~/git/inbox/org/refile.org',
line   91:
E492: Not an editor command: })

Neovim installed on macOS via Homebrew.
I'm a long time vim user that decided to try out Neovim after briefly exploring Spacemacs (and deciding to look for other options), and thus ended up here.

I updated the setup section to explain how to set up from init.vim. All other sections assume you are using init.lua instead of init.vim.
I suggest to read more about Neovim lua functionality here https://github.com/nanotee/nvim-lua-guide, since it has basics explained. Hope this helps.

Perfect! It worked great, thanks!


Delete unnecessary assignment in ProposalCreator

This PR is to delete unnecessary assignment to score with slicing.
Since the score is not used after getting its sorted order in line 132.

LGTM.
Thank you!


Incorrect 'recursive' request type displayed in ObjectCreationException text

When using ThrowingRecursionBehaviour, the incorrect request Type name is displayed in ObjectCreationException text.
Using the following code:

class Concrete { public Concrete(Concrete w) { } }

var specimen = new Fixture().Create<Concrete>(); // <-- Throws

The following ObjectCreationException text is generated, which incorrectly indicates that Ploeh.AutoFixture.Kernel.SeededRequest was the cause...

ObjectCreationException: AutoFixture was unable to create an instance of type Ploeh.AutoFixture.Kernel.SeededRequest because the traversed object graph contains a circular reference. Information about the circular path follows below. This is the correct behavior when a Fixture is equipped with a ThrowingRecursionBehavior, which is the default. This ensures that you are being made aware of circular references in your code. Your first reaction should be to redesign your API in order to get rid of all circular references. However, if this is not possible (most likely because parts or all of the API is delivered by a third party), you can replace this default behavior with a different behavior: on the Fixture instance, remove the ThrowingRecursionBehavior from Fixture.Behaviors, and instead add an instance of OmitOnRecursionBehavior.
Path:
Concrete w -->
UserQuery+Concrete -->
UserQuery+Concrete

Looks like I lost interest in completing this enhancement (and totally forgot about it), but I still think it should happen :smile:

Closing due to lack of activity.


k3s use containerd as container runitime:  statefulset pod hostname was not a fqdn style domain name

Version:
k3s version v1.17.3+k3s1 (5b17a175)
K3s arguments:
default
Describe the bug
I deployed apache flink cluster in k3s cluster.
Flink jobmanager is Deployment, Flink taskamanger is statefullset.
Flink taskmanager registe to Flink jobmanger with a FQDN style domain name.
In normal circumustance( k3s using docker as container runtime), It is like this:

instance name was a full FQDN name.  statefullset-pod-1.headless-service-name
But when I use containerd as k3s contaniner runtime, It is liske this:
absolutely the instance name is just the pod name without headless service name(which was expected to), so the jobmanager cannot communicate with taskmanager because it cannot resolve the hostname just with pod name.    statefullset-pod-1

To Reproduce
Install the k3s cluster using containerd as container runtime,   and using my chart can reproduce this problem.
Expected behavior
it was normal when using docker as container runtime
Actual behavior
It was not normal when using containerd as container runtime.

[root@hjg1 ~]# kubectl -n edge exec flink-taskmanager-1 -- hostname -f
flink-taskmanager-1.flink-taskmanager-headless.edge.svc.cluster.local
[root@hjg1 ~]# kubectl -n edge exec flink-taskmanager-1 -- hostname
flink-taskmanager-1
[root@hjg1 ~]#
it seems like when using docker , it used the hostname -f, which returns a full fqdn style domain name to register.
but with containerd,   it uses a short hostname to register to the cluster.

Can you show the manifest for the headless service and statefulset? I suspect that there's some sort of mismatch - most likely the headless service's name doesn't match the subdomain on the statefulset pods.
From the docs:

If there exists a headless service in the same namespace as the pod and with the same name as the subdomain, the cluster’s DNS Server also returns an A or AAAA record for the Pod’s fully qualified hostname. For example, given a Pod with the hostname set to “busybox-1” and the subdomain set to “default-subdomain”, and a headless Service named “default-subdomain” in the same namespace, the pod will see its own FQDN as “busybox-1.default-subdomain.my-namespace.svc.cluster-domain.example”. DNS serves an A or AAAA record at that name, pointing to the Pod’s IP. Both pods “busybox1” and “busybox2” can have their distinct A or AAAA records.

@brandond Hi, following are my files:
headless service:
apiVersion: v1
kind: Service
  name: flink-taskmanager-headless
spec:
  clusterIP: None
  ports:
  - name: data
    port: 6121
    protocol: TCP
    targetPort: 6121
  - name: rpc
    port: 6122
    protocol: TCP
    targetPort: 6122
  - name: query
    port: 6125
    protocol: TCP
    targetPort: 6125
  selector:
    app: flink-taskmanager
  sessionAffinity: None
  type: ClusterIP

statefullset:
apiVersion: apps/v1
kind: StatefulSet
metadata:
  name: flink-taskmanager
spec:
  podManagementPolicy: OrderedReady
  replicas: 3
  selector:
    matchLabels:
      app: flink-taskmanager
  serviceName: flink-taskmanager-headless
  template:
    metadata:
      labels:
        app: flink-taskmanager
    spec:
      containers:
      - command:
        - /bin/bash
        - -c
        - $FLINK_HOME/bin/taskmanager.sh start; while :; do if [[ -f $(find log -name
          '*taskmanager*.log' -print -quit) ]]; then tail -f -n +1 log/*taskmanager*.log;
          fi; done
        image: my.registry.com/big-data/flink:master-20200224-230
        imagePullPolicy: IfNotPresent
        lifecycle:
          preStop:
            exec:
              command:
              - /bin/sh
              - -c
              - sleep 30
        livenessProbe:
          failureThreshold: 12
          initialDelaySeconds: 100
          periodSeconds: 5
          successThreshold: 1
          tcpSocket:
            port: rpc
          timeoutSeconds: 3
        name: taskmanager
        ports:
        - containerPort: 6122
          name: rpc
          protocol: TCP
        - containerPort: 6121
          name: data
          protocol: TCP
        - containerPort: 6125
          name: query
          protocol: TCP
        readinessProbe:
          failureThreshold: 2
          initialDelaySeconds: 30
          periodSeconds: 5
          successThreshold: 3
          tcpSocket:
            port: rpc
          timeoutSeconds: 3
        resources:
          limits:
            cpu: "2"
            memory: 3Gi
          requests:
            cpu: 500m
            memory: 2Gi
        volumeMounts:
        - mountPath: /opt/flink/conf/
          name: flink-config-volume
        workingDir: /opt/flink
      volumes:
      - configMap:
          defaultMode: 420
          name: flink-config
        name: flink-config-volume

Do you see any different behavior if you set the subdomain on the StatefulSet podSpec? Setting the serviceName should do it, but I'm curious what you get.
apiVersion: apps/v1
kind: StatefulSet
metadata:
  name: flink-taskmanager
spec:
  podManagementPolicy: OrderedReady
  replicas: 3
  selector:
    matchLabels:
      app: flink-taskmanager
  serviceName: flink-taskmanager-headless
  template:
    metadata:
      labels:
        app: flink-taskmanager
    spec:
      subdomain: flink-taskmanager-headless
      containers:
        - /bin/bash
<...rest of your manifest...>

Do you see any different behavior if you set the subdomain on the StatefulSet podSpec? Setting the serviceName should do it, but I'm curious what you get.
apiVersion: apps/v1
kind: StatefulSet
metadata:
  name: flink-taskmanager
spec:
  podManagementPolicy: OrderedReady
  replicas: 3
  selector:
    matchLabels:
      app: flink-taskmanager
  serviceName: flink-taskmanager-headless
  template:
    metadata:
      labels:
        app: flink-taskmanager
    spec:
      subdomain: flink-taskmanager-headless
      containers:
        - /bin/bash
<...rest of your manifest...>

I tried your suggestion, and got this result:
Just the first pod in of the statefulset got the full name,the second and the third pod still keeps the same , as following picture(this picture is not the accurate capture of the problem):

Do you see any different behavior if you set the subdomain on the StatefulSet podSpec? Setting the serviceName should do it, but I'm curious what you get.
apiVersion: apps/v1
kind: StatefulSet
metadata:
  name: flink-taskmanager
spec:
  podManagementPolicy: OrderedReady
  replicas: 3
  selector:
    matchLabels:
      app: flink-taskmanager
  serviceName: flink-taskmanager-headless
  template:
    metadata:
      labels:
        app: flink-taskmanager
    spec:
      subdomain: flink-taskmanager-headless
      containers:
        - /bin/bash
<...rest of your manifest...>

I tried your suggestion, and got this result:
Just the first pod in of the statefulset got the full name,the second and the third pod still keeps the same , as following picture(this picture is not the accurate capture of the problem):

But my problem solved ,   I used an init container to write the Pod IP in the configuration file of flink,  so the flink taskmanager and the job  jobmanager communicate via ip address directly,  no need to resolve the domainname.


Initial gradio commit

As written in the README this is not working at the moment.
The scanlog returns this:

= AppArmor =
Time: Sep 27 22:09:20
Log: apparmor="DENIED" operation="open" profile="snap.gradio.gradio" name="/var/lib/snapd/lib/gl/libGL.so.1.0.0" pid=16716 comm="gradio" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
File: /var/lib/snapd/lib/gl/libGL.so.1.0.0 (read)
Suggestion:

adjust program to read necessary files from $SNAP, $SNAP_DATA, $SNAP_COMMON, $SNAP_USER_DATA or $SNAP_USER_COMMON

= AppArmor =
Time: Sep 27 22:09:20
Log: apparmor="DENIED" operation="open" profile="snap.gradio.gradio" name="/var/lib/snapd/lib/gl/libEGL.so.1" pid=16716 comm="gradio" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
File: /var/lib/snapd/lib/gl/libEGL.so.1 (read)
Suggestion:

adjust program to read necessary files from $SNAP, $SNAP_DATA, $SNAP_COMMON, $SNAP_USER_DATA or $SNAP_USER_COMMON

Is the opengl plugin missing?

I tried adding that (I might have not pushed to github though).
Snappy.debug now shows no errors, but the ones written in the readme persist

It looks like it makes sense to add opengl. What I'm seeing now is
Unable to fork a new WebProcess: Failed to execute child process "/usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/WebKitNetworkProcess" (No such file or directory).
Unable to fork a new WebProcess: Failed to execute child process "/usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/WebKitWebProcess" (No such file or directory).
Failed to register: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Connection ":1.328" is not allowed to own the service "de.haeckerfelix.gradio" due to AppArmor policy

This too:
= AppArmor =
Time: Sep 28 08:47:13
Log: apparmor="DENIED" operation="open" profile="snap.gradio.gradio" name="/usr/share/glib-2.0/schemas/" pid=11285 comm="desktop-launch" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
File: /usr/share/glib-2.0/schemas/ (read)
Suggestion:
* adjust program to read necessary files from $SNAP, $SNAP_DATA, $SNAP_COMMON, $SNAP_USER_DATA or $SNAP_USER_COMMON

The dbus issue might be waiting for https://github.com/snapcore/snapd/pull/1613

Using --devmode I get:
** Message: Gradio.vala:154: Starting Gradio version 5_0_0_Beta_1!

(gradio:11598): Gtk-WARNING **: Locale not supported by C library.
	Using the fallback 'C' locale.
Gtk-Message: Failed to load module "canberra-gtk-module"
Gtk-Message: Failed to load module "canberra-gtk-module"
** Message: Gradio.vala:174: Release notes: 0.0.0
** Message: Gradio.vala:176: Current: 5_0_0_Beta_1
Unable to fork a new WebProcess: Failed to execute child process "/usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/WebKitNetworkProcess" (No such file or directory).
Unable to fork a new WebProcess: Failed to execute child process "/usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/WebKitWebProcess" (No such file or directory).
** Message: Library.vala:107: Reading library data from: /home/daniel/snap/gradio/x2/.local/share/gradio/library.gradio
** Message: Library.vala:126: No gradio library found.
** Message: Library.vala:132: Successfully imported library

(gradio:11598): GLib-GObject-CRITICAL **: g_object_set: assertion 'G_IS_OBJECT (object)' failed
** Message: MPRIS.vala:34: Successfully initialized MPRIS session.
** Message: MainWindow.vala:76: Desktop session is: ubuntu

(gradio:11598): GLib-GObject-CRITICAL **: g_object_set: assertion 'G_IS_OBJECT (object)' failed
** Message: StationProvider.vala:82: Requested results from 0 to 20
** Message: StationProvider.vala:82: Requested results from 0 to 20
** Message: StationProvider.vala:82: Requested results from 0 to 20

(gradio:11598): GLib-GObject-CRITICAL **: g_object_set: assertion 'G_IS_OBJECT (object)' failed

** (gradio:11598): ERROR **: Util.vala:98: Error with stylesheet: <broken file>:1:0Failed to import: Error opening file /usr/share/gradio/style/style.css: No such file or directory
Trace/Breakpoint ausgelöst (Speicherabzug geschrieben)

Is there maybe a hard-coded path (/usr/share/gradio/style/style.css) in the source?

I found a vala file that defines path constants. I suppose this is the problem
https://github.com/haecker-felix/gradio/blob/master/src/Config.vala

Maybe you can talk to upstream to add a build time option for this or something?

Not working yet, but relies on autotools instead of cmake, without the hardcoded paths.

@dholbach The build now works.
The part missing now is the snapcraft support for dbus. Any news on that?

All I know of is what's in the PR I referred to above, sorry. :-/


net/http: handle server errors after sending GOAWAY - CVE-2022-27664

A closing HTTP/2 server connection could hang forever waiting for a clean shutdown that was preempted by a subsequent fatal error. This failure mode could be exploited to cause a denial of service.
Thanks to Bahruz Jabiyev, Tommaso Innocenti, Anthony Gavazzi, Steven Sprecher, and Kaan Onarlioglu for reporting this.
This is CVE-2022-27664 and Go issue https://go.dev/issue/54658.

Closed by: https://github.com/aws/eks-distro-build-tooling/blob/main/projects/golang/go/1.16/patches/0009-go-1.16.15-eks-net-http-update-bundled-golang.patch


[Feature Request] Github markdown design

/*
 * NOTE:
 * - The use of browser-specific styles (-moz-, -webkit-) should be avoided.
 *   If used, they may not render correctly for people reading the email in
 *   a different browser than the one from which the email was sent.
 * - The use of state-dependent styles (like a:hover) don't work because they
 *   don't match at the time the styles are made explicit. (In email, styles
 *   must be explicitly applied to all elements -- stylesheets get stripped.)
 */

/* This is the overall wrapper, it should be treated as the `body` section. */
.markdown-here-wrapper {
  font-size: 16px;
  color: #24292e;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Roboto, RobotoDraft, Helvetica, Arial, sans-serif;
}

/* To add site specific rules, you can use the `data-md-url` attribute that we
   add to the wrapper element. Note that rules like this are used depending
   on the URL you're *sending* from, not the URL where the recipient views it.
*/
/* .markdown-here-wrapper[data-md-url*="mail.yahoo."] ul { color: red; } */

pre, code {
  font-size: 12px;
  font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;
}

code {
  margin: 0 0.15em;
  padding: 0 0.3em;
  white-space: pre-wrap;
  border: 1px solid #EAEAEA;
  background-color: #F8F8F8;
  border-radius: 3px;
  display: inline; /* added to fix Yahoo block display of inline code */
}

pre {
  font-size: 1em;
  line-height: 1.2em;
}

pre code {
  white-space: pre;
  overflow: auto; /* fixes issue #70: Firefox/Thunderbird: Code blocks with horizontal scroll would have bad background colour */
  border-radius: 3px;
  border: 1px solid #CCC;
  padding: 0.5em 0.7em;
  display: block !important; /* added to counteract the Yahoo-specific `code` rule; without this, code blocks in Blogger are broken */
}

/* In edit mode, Wordpress uses a `* { font: ...;} rule+style that makes highlighted
code look non-monospace. This rule will override it. */
.markdown-here-wrapper[data-md-url*="wordpress."] code span {
  font: inherit;
}

/* Wordpress adds a grey background to `pre` elements that doesn't go well with
our syntax highlighting. */
.markdown-here-wrapper[data-md-url*="wordpress."] pre {
  background-color: transparent;
}

/* This spacing has been tweaked to closely match Gmail+Chrome "paragraph" (two line breaks) spacing.
Note that we only use a top margin and not a bottom margin -- this prevents the
"blank line" look at the top of the email (issue #243).
*/
p {
  /* !important is needed here because Hotmail/Outlook.com uses !important to
     kill the margin in <p>. We need this to win. */
  margin: 0 0 1.2em 0 !important;
}

table, pre, dl, blockquote, q, ul, ol {
  margin: 1.2em 0;
}

ul, ol {
  padding-left: 2em;
}

li {
  margin: 0.5em 0;
}

/* Space paragraphs in a list the same as the list itself. */
li p {
  /* Needs !important to override rule above. */
  margin: 0.5em 0 !important;
}

/* Smaller spacing for sub-lists */
ul ul, ul ol, ol ul, ol ol {
  margin: 0;
  padding-left: 1em;
}

/* Use Roman numerals for sub-ordered-lists. (Like Github.) */
ol ol, ul ol {
  list-style-type: lower-roman;
}

/* Use letters for sub-sub-ordered lists. (Like Github.) */
ul ul ol, ul ol ol, ol ul ol, ol ol ol {
  list-style-type: lower-alpha;
}

dl {
  padding: 0;
}

dl dt {
  font-size: 1em;
  font-weight: bold;
  font-style: italic;
}

dl dd {
  margin: 0 0 1em;
  padding: 0 1em;
}

blockquote, q {
  border-left: 4px solid #DDD;
  padding: 0 1em;
  color: #777;
  quotes: none;
}

blockquote::before, blockquote::after, q::before, q::after {
  content: none;
}

h1, h2, h3, h4, h5, h6 {
  margin: 1.3em 0 1em;
  padding: 0;
  font-weight: 600;
}

h1 {
  border-bottom: 1px solid #ddd;
}

h2 {
  border-bottom: 1px solid #eee;
}

h6 {
  color: #777;
}

table {
  padding: 0;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 1em;
  font: inherit;
  border: 0;
}

tbody {
  margin: 0;
  padding: 0;
  border: 0;
}

table tr {
  border: 0;
  border-top: 1px solid #CCC;
  background-color: white;
  margin: 0;
  padding: 0;
}

table tr:nth-child(2n) {
  background-color: #F8F8F8;
}

table tr th, table tr td {
  font-size: 1em;
  border: 1px solid #CCC;
  margin: 0;
  padding: 0.5em 1em;
}

table tr th {
 font-weight: bold;
  background-color: #F0F0F0;
}

Note that I'm not sure if the design has copyright (so I didn't submit a pull request). I was simply copying and pasting some essential CSS attributes from the source code using Developer Tools. But at least this makes my email look close to the ones that I wrote in my Github gist. Any plan for this?

Is the feature request to have a different look between normal and markdown mode?

@nickylimjj I’m not sure but it will definitely work under the (GitHub) markdown mode.


Core/js/forms.file-upload.js relies on action attribute set by Core\Form\Container

If an upload form  is used standalone (without being composed into a Core\Form\Container) then JS validation does not work properly because the forms.file-upload.js assumes a form with an attribute action="?form=name" set.

Additionally, I guess it will also fail, if the FileUpload form is in a nested container (which means, the action attribute will be something like "parentContainer.actualForm").
In that case, the errors will be stored like
{
    "errors": {
         "parentContainer":  {
            "actualForm": {
                "errorKey": "message"
            }
        }
    }
}

So we need two things:

Handle dot separated form names
(I do not have an idea on this one)
A mechanism to provide the form name, if the action attribute is not in the assumed format.
This could be done by using a "data-errorkey" attribute. If defined, its value will be used, if not, it is assumed, the action attribute is "well formatted".


Android GCM permission request crashes app

Hi all ,
I've followed the setup guide and installed all that is needed but i've encountered a problem where when this line runs : GcmAndroid.requestPermissions();
the application crashes.
any ideas ?

Please run adb logcat in terminal to get some logs when the app crashes

Got this log :

Cant really make anything of it

You have android/app/google-services.json file, right?

I was missing that file , but now i have a different error while running react-native run-android :

and in the packager :

Please try clean the project
cd android
./gradlew clean

Ok that did the trick , But i'm not getting the token though , Should this work on an emulator (using genymotion) ?

No, it doesn't work on Genymotion if you don't install Google Play service on it.
https://github.com/oney/react-native-gcm-android/issues/21#issuecomment-169751762

If you still have problem, please reopen it. Thanks!


[1/2] Wean off of PYBIND in favor of torch.ops.load_library

Pave the path for python agnostic ao by removing depending on PYBIND (which is not python agnostic).
Concretely, what happened this PR?

no more PYBIND, so no more init.cpp
for all non-CUDA platforms, ao no longer has custom cpp extensions, and thus ao is a pure python lib
so we skip auditwheel (which is used for when the platform is linux) for all non-cuda wheel builds. (This does also mean we now needlessly build the same python wheel for every other platform rocm, cpu, xpu...)
no more PYBIND also means no more torchao._C, which we're replacing with a load_library call

This PR should have no failures. The next PR will be targeting the wheel process to only output one wheel for every python version.
Stack from ghstack (oldest at bottom):

-> #1275

Closing in favor of #1276 as that one passes all CI. It looks like Build M1 Wheels does not work with ghstack


chore: clean-up work

Updated the node matrix for CI to use v18 instead of v17 of node. v18 is now LTS and odd versions are not recommended.
Updated the universal client unit tests to conditionally import AbortController only when using node v14. It is included in node v16 and I was seeing test failures on macOS and linux when using node v16.

@sethmlarson v14 still has maintenance support until 2023-04-30 so maybe best to keep support for it until it is EOL.

Sounds good to me, let's merge.


🐛 [Bug Report]: Page not found for page url with Chinese character

BlizzCMS Version
2.0 beta
Emulator
MaNGOS
PHP Version
PHP 8.1
Operating system
Linux
Web server
Apache
Database
MySQL 8
What happened?
I changed a news title, from english to Chiense character, then the url not able to open.
http://xxxx/news/1/oowow开放公测
How can the issue be reproduced?
1 change a news title, add Chiense character 开放公测
2 on home page, click the news title
3 page not found
Screenshots

This is due to the URL's, it is possible that it is a routing error due to special characters, it will be reviewed but as advice I suggest making the news in English for now.


build(ci): disable next export, use build time vars for static build

NOTE: This PR should be tested against a running cluster to ensure there are no breaking changes due to the change in next.config.js exposing the NEXT_PUBLIC_REKOR_DEFAULT_DOMAIN env var at build time. Because these changes happen at build time, it should not have any effect, but is worth a double check. Unfortunately this needs to be done manually for now while e2e tests are still in development.
To test:

Have an OpenShift or Kubernetes cluster running & logged into
Build the container image for this PR
Deploy TAS to the cluster using said container image, where an environment variable NEXT_PUBLIC_REKOR_DEFAULT_DOMAIN should be set to the Rekor server automatically (whether you deploy by the Helm chart or the operator)
If Rekor Search UI uses that value rather than the default upstream value of sigstore.dev, then everything is fine 🙆♀

@lance tbh it just keeps getting put on the back burner but I'll rebase and get this one sorted asap


404 Not Found: protobufjs@https://registry.npmjs.org/protobufjs/-/protobufjs-5.0.3.tgz

Thanks for stopping by to let us know something could be better!
Please run down the following list and make sure you've tried the usual "quick
fixes":

Search the issues already opened: https://github.com/googleapis/nodejs-common-grpc/issues
Search StackOverflow: http://stackoverflow.com/questions/tagged/google-cloud-platform+node.js
Check our Troubleshooting guide: https://googlecloudplatform.github.io/google-cloud-node/#/docs/guides/troubleshooting
Check our FAQ: https://googlecloudplatform.github.io/google-cloud-node/#/docs/guides/faq

If you are still having issues, please be sure to include as much information as
possible:
Environment details

OS: Ubuntu 16.04
Node.js version: 9.x
npm version: 5.x
@google-cloud/common-grpc version: 0.6.1

Steps to reproduce

404 Not Found: protobufjs@https://registry.npmjs.org/protobufjs/-/protobufjs-5.0.3.tgz

Following these steps will guarantee the quickest resolution possible.
Thanks!

Greetings! Can you please check what version of npm you're running?

i'am use npm version 5.6.9 and node version 9.4.0.

Greetings!  This was due to an outage of npm.  The issues should all be resolved :)


When a workflow is deleted, individual jobs have status "failed"

Of course, their status should be "deleted"

Example: before deletion:
$ prominence list
ID      NAME                                                    CREATED               STATUS    ELAPSED      IMAGE      CMD
25754   lammps-stfc-many-with-db12-and-coremark/lammps-stfc/6   2019-11-28 19:20:33   running   0+11:57:11   python:2   python DIRACbenchmark.py --iterations=4 wholenode
25755   lammps-stfc-many-with-db12-and-coremark/lammps-stfc/7   2019-11-28 19:20:33   running   0+11:57:11   python:2   python DIRACbenchmark.py --iterations=4 wholenode
25756   lammps-stfc-many-with-db12-and-coremark/lammps-stfc/8   2019-11-28 19:20:36   running   0+11:58:12   python:2   python DIRACbenchmark.py --iterations=4 wholenode

After:
$ prominence list
ID      NAME                                                    CREATED               STATUS   ELAPSED      IMAGE      CMD
25754   lammps-stfc-many-with-db12-and-coremark/lammps-stfc/6   2019-11-28 19:20:33   failed   0+00:01:03   python:2   python DIRACbenchmark.py --iterations=4 wholenode
25755   lammps-stfc-many-with-db12-and-coremark/lammps-stfc/7   2019-11-28 19:20:33   failed   0+00:01:03   python:2   python DIRACbenchmark.py --iterations=4 wholenode
25756   lammps-stfc-many-with-db12-and-coremark/lammps-stfc/8   2019-11-28 19:20:36   failed   0+00:01:00   python:2   python DIRACbenchmark.py --iterations=4 wholenode

Notice that the elapsed time has also changed.

Status fixed in https://github.com/prominence-eosc/prominence/commit/1d95f171d18d360b3cdf7b7aaf7334656714161d

There doesn't appear to be any end epoch listed in a job created by DAGMan where the DAG job was deleted. The routed job has LastVacateTime, so added LastVacateTime to PROMINENCE_ATTRS_TO_COPY.
Need to update list_jobs to check for LastVacateTime and use this if necessary.

Original job:
# condor_history -m 1 25754 -af EnteredCurrentStatus
1574969286

which corresponds to Thursday, 28 November 2019 19:28:06. For the routed job:
# condor_history -m 1 25760 -af EnteredCurrentStatus
1575012594

which correspnds to Friday, 29 November 2019 07:29:54, which is what we want.

Added LastVacateTime back into PROMINENCE_ATTRS_TO_COPY, and implemented changes https://github.com/prominence-eosc/prominence/commit/a5fce7ef26c32ad8bb9de4f7a8e6aaf5968ce914 to check if LastVacateTime gives a sensible time to use as a job's endTime.


Increase Timeout for Installation Tests

As it was needed for testing and included only minor changes that looked good, I just merged it.


React example presets may not work properly with Laravel version < 8

Describe the bug

Example presets such as the react examples were built on laravel 8.*
Currently the React example preset repositories do not use their own package.json so many dev dependencies will be bumped down when using an older version of Laravel.
This has not been tested yet but I came across it while attempting to fix https://github.com/apolopena/gitpod-laravel-starter/issues/185
Screenshots

Steps to reproduce

TBD
Expected behavior

React preset examples should work regardless of Laravel version however this may not be possible so TBD
Additional information

The only decent quick fix might be to log a warning about a version mismatch if the Laravel major version does not match the version the preset example was built with.

I already had a fix in place for this, just didn't realize it:


Make this a controlled component

Currently, the component behaves both as controlled and uncontrolled.

You mean with the combination of internal state (activeNotes) and props.playbackNotes, right? If so, yeah I see what you're saying. I'd have to experiment with it to see how well a controlled version works.
I assume a controlled version of the component would get rid of props.playbackNotes, replace state.activeNotes with props.activeNotes, and you'd have to update props.activeNotes yourself inside onPlayNote/onStopNote? I think my original concern was that this approach does add a bit of additional complexity for the end user, whereas the hybrid controlled/uncontrolled approach is simpler to use at the cost of having a less elegant API. I'll think about it though.

I understand that but the problem is that currently the component works both as controlled and uncontrolled component so I have to actually change the logic when the mode changes. In any case if you are trying to make a real app you will need to write some code for playing the music which means it's just few simple steps to save in the state. React docs also says that the component should just be one of them. Currently it becomes confusing if it changes from controlled to uncontrolled.
Other solution that's possible is you can export a separate ControlledPiano component that's a wrapper over UncontrolledPiano.

Yeah, I see the problem and I think I agree. Piano actually used to be a controlled component in pre-v1, but I'd changed the API without realizing the downsides of that change. I'll try to change this soon and release a v3. Thanks for the input.

This is now shipped in v3.0.0 published today! Piano is now a "controllable" component where you can let it manage state itself, OR pass in activeNotes which override its local state.  See #36 for more details.
This change definitely makes the inner logic nicer, so thanks for the suggestion @ritz078. Hope this addresses your concern.


Timesheet - 23/04/2021 - Mr. K

Task 1
Landing page - HiFi Design - Responsive Design
Worked on Handoff file Specs showing spacing, styles and color for all the components with notes for FE team.
Proof of Work

https://www.figma.com/file/JCGeIX9fFrrpZiqE0XzH9s/Homepage?node-id=3%3A0

Time Spent
3.0 hours

Task 2
Worked on FAQ  created complete page design. Sent for initial review.
Proof of Work

https://www.figma.com/file/C22D4Et2I0AIE0n8QwBDMm/FAQ?node-id=1%3A10

Time Spent
4.0 hours

Task 3
Design meeting with team lead.
Proof of Work

Reviewed and received feedback about FAQ page design and Landing page handoff.

Time Spent
1.0 hours

Total Time Spent
8.0 hours
Account Number
c93ee24b89991a1438b45444cf06e5bb167ed1796d54a800174def4480f98ed0

Approved


pytorch-lightning

@adamgayoso @romain-lopez @PierreBoyeau --
I've had a pretty good experience on another project with pytorch-lightning, so I thought I'd mention it here. It might work even better for scVI. See
https://pytorch-lightning.readthedocs.io/en/stable/new-project.html
I like how lightning puts each dataloader in the same class as the model that it trains. It's also nice that boilerplate code (e.g. the training loop) can be removed entirely. Might help with #654

This certainly does look nice, thanks for sharing! I can see the main advantage as cleaning up the training code and making it easier to create new models. Though it's unclear to me right now how this helps users access the latent variables or DE testing after training, which seems like it will still involve the user providing data, a dataloader being created, and passing data through the model, which is basically what all the Posterior functions do now.

Revisiting this, pytorch lightning could simplify our training code.


make Perspective aspect_ratio and zfar optional

These are optional as per the spec and there's no reasonable default as their absence has special semantics

Indeed, thanks!


Website Bug: Custom Models erroring when putting in a new one after getting "Invalid Model" error

You already know about this but I'm putting this here because you keep saying "I need to fix that" and then you don't lmao. Basically, when you get the "Invalid Model" error, if you put in different custom model files in to try again it'll spit out another error preventing you from genning even if the models put in do work. You have to refresh the page to fix this. It makes trying out different custom models cumbersome on the end user.

Fixed in 36547f


[lapack-reference] build failure

Operating system
windows
Compiler
msvc
Steps to reproduce the behavior
vcpkg install libtorch[dist] libtorch[leveldb] libtorch[opencv] libtorch[vulkan] libtorch[xnnpack] --allow-unsupported qtbase qt rtabmap[gui] quazip[bzip2] qtwebengine[geolocation] qtvirtualkeyboard[hunspell] qttools[qdoc] qttools[qdbus] qtbase[xlib] qtbase[appstore-compliant] qtbase[network] qtbase[framework] vtk itk

Failure logs
install-x86-windows-dbg-out.log
Additional context
No response

I'm not able to repro this issue, could you please provide a simple reproduction step?


✨ add a sample inventory file

Remove some of the unused node variables and add a new sample inventory file.
Ping @laurafitzgerald @aidenkeating for review

@wei-lee From what I can see the inventory files aren't valid YAML so they're usually titled without an extension, to my knowledge.

@aidenkeating I have removed the extension from the inventory files.

@aidenkeating @laurafitzgerald I have added a few more variables to the sample inventory file. The idea is that user will make a copy of the file, and update the variables based on their requirements.
The installation doc is updated accordingly as well.


v2: .jexcel_external to avoid styling conflicts for custom editors

I've been working with 2.1.0 recently and this seems to be an issue still. Sure I can add .jexcel to external modal, but as long as I use the default jexcel stylesheet, there will be tons of styles that are designed for jexcel but not really for the external modal, which results in a broken page. I can confirm that adding .jexcel to Bootstrap modals would not work. It should really just be a separate class that is not referred anywhere in the jexcel code besides that one line determining if the modal is within the domain.

Thanks


fix: fixes the git-cz command using the 'yarn cz' script

I've fixed an issue in which you were unable to run the yarn cz npm script found in the package.json file. Previously, the package.json file included this in the scripts section:
"cz": "git-cz",

It also specified the following in a commitizen config portion of the package.json file:
"config": {
  "commitizen": {
    "path": "./node_modules/cz-conventional-changelog"
  }
},

However, running yarn cz would result in an error because the cz-conventional-changelog dev dependency was missing.
I've added that dev dependency now, and running yarn cz works properly again.

One note: In the past I've typically installed both cz-conventional-changelog and commitizen as dev dependencies.
Interestingly enough, they both list each other as dependencies in their respective package.json files, so if you install one in your project, you get the other as well. So this should technically be fine with or without also installing commitlint as a dev dependency in this lint-staged project.


Quick link opening

I use the extension every day. But almost always, when I copy a link, I want to open my browser and paste this to open it.
I added 'Open in Web' button when copying
Pull request
maybe add an 'open/copy' option to the settings?

This is now available in v2.2.0 which has just been published to the marketplace.
I've also implemented your idea of adding a setting for copying vs opening. There are two new settings that control whether the existing "Copy Link" menu item is shown (on by default) and whether a new "Open Link" menu item is shown (off by default). More details are in the readme.
Thanks again for the contribution. 🎉

This is now available in v2.2.0 which has just been published to the marketplace.
I've also implemented your idea of adding a setting for copying vs opening. There are two new settings that control whether the existing "Copy Link" menu item is shown (on by default) and whether a new "Open Link" menu item is shown (off by default). More details are in the readme.
Thanks again for the contribution. 🎉

I have a couple more ideas, I'll check them as soon as the time appears 😊

I have a couple more ideas, I'll check them as soon as the time appears 😊


How to know if the menu is closed or is closing without select some item?

Is there any way to know when the menu is closed without selecting some item?

Hi !
Let's imagine you have following code:
<context-menu #contextMenu>
and then inside your .ts file
import { ContextMenuComponent } from 'ngx-contextmenu';

  @ViewChild('contextMenu', { static: true }) contextMenu: ContextMenuComponent;

    contextMenu.close.subscribe(event => {
      console.log('close here');
    });

    contextMenu.open.subscribe(event => {
      console.log('open here');
    });


Small Fix For Anyblock API (AMPL/USD/VWAP)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 6.117%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
118

Relevant Lines:
1929

💛  - Coveralls


Add mObj

See tests for example usages.
We do something like this all the time in our codebase.
For example, we often build query params like
let mParam: string | null

const params = {
  'param-1': 42,
  ...(mParam === undefined || mParam === null ? {} : { 'param-2': mParam })
}

This would now look like
let mParam: string | null

const params = {
  'param-1': 42,
  ...mObj('param-2', mParam)
}

Major shout-out to Lucky who figured out how to type this thing correctly.

@stackptr I will try.


feature request: testng runner generation support.

Bazel Version: 0.5.3
Plugin Version: 2<IP_ADDRESS>.2
Intelij Version: 2017.2.1
Specifically being able to use the built in intellij support for testng. Intelij cannot create runners for testng tests as would normally be possible in a mvn/gradle/sbt project.
Trying to launch a package of testng tests from intellij results in an error popup along the lines of "Cannot start compilation: the output path is not specified for module ".workspace".
I suspect this issue might touch upon other test frameworks / runners as well.

Thanks for the feature request. If you have a Bazel test target, you can work around this by creating a run configuration for the target directly (e.g. by right-clicking on the test target in the BUILD file).
Similar to Bazel itself, the Bazel plugin has much better support for JUnit, as we've had little demand in the past for TestNG support.
We likely won't have the bandwidth to look at this in the short term, but I'll leave it open -- it's not a huge amount of work, so we may get to it at some point.

Brendan,
Is using the built in IntelliJ runners even possible in the plugin
architecture?
From what I was able to gather the plugin always delegates to Bazel which
of course doesn't know anything about IntelliJ's runners
On Tue, 15 Aug 2017 at 23:35 brendandouglas<EMAIL_ADDRESS>wrote:

Thanks for the feature request. If you have a Bazel test target, you can
work around this by creating a run configuration for the target directly
(e.g. by right-clicking on the test target in the BUILD file).
Similar to Bazel itself, the Bazel plugin has much better support for
JUnit, as we've had little demand in the past for TestNG support.
We likely won't have the bandwidth to look at this in the short term, but
I'll leave it open -- it's not a huge amount of work, so we may get to it
at some point.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/bazelbuild/intellij/issues/123#issuecomment-322581193,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABUIFy8BV0Nff7oMe53i8UOqHgg5iOPBks5sYgERgaJpZM4O4CZ1
.

Hi there! We're doing a clean up of old issues and will be closing this one. Please reopen if you’d like to discuss anything further. We’ll respond as soon as we have the bandwidth/resources to do so.


⚠ Bofrost.de has degraded performance

In da3aa1f, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1276 ms

Resolved: Bofrost.de performance has improved in 0f71819 after 23 minutes.


[docs] Added documentation for css-to-mui-loader

This is another method for using the Material UI theme in CSS, so it was added to the "Style Library Interoperability" section of the documentation.
I tried to create an example in CodeSandbox, but I couldn't figure out how to configure Webpack since it appears they use their own builtin build pipeline.
I built the documentation locally and everything seemed in order.
This is my first PR here, so let me know if there's anything I need to do differently.

The text looks good, but I'm wondering if we shouldn't bump this up below the other CSS sections? @oliviertassinari?

@mbrookes The sections are sorted by popularity. I think that it's great here :).

The sections are sorted by popularity.

I guessed that might be the case. Those other changes sound like a separate PR though.

I have replaced Webpack with webpack.

It's a great first pull request on Material-UI 👌🏻. Thank you for working on it!


#352 DFN notebook

Description
Added a notebook for the DFN
Fixes #352
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Key checklist:

[ ] No style issues: $ flake8
[ ] All tests pass: $ python run-tests.py --unit
[ ] The documentation builds: $ cd docs and then $ make clean; make html

You can run all three at once, using $ python run-tests.py --quick.
Further checks:

[ ] Code is commented, particularly in hard-to-understand areas
[ ] Tests added that prove fix is effective or that feature works
[ ] Any dependent changes have been merged and published in downstream modules

Fails due to same tolerance issue that @martinjrobins. Should be able to just merge from master now

Failing with 10^(-5) maybe we want 10^(-4) as tolerance?
I'm sure this is good practice

Yes, need to investigate python 3.5 more (see #382)


Duplicate manual mock found

Description
When I run npm test from a stock setup of v1.0.0, I get an error about jest-haste-map duplicate manual mock found.
Expected Behavior
I expected npm test to run without any issues.
Observed Behavior
An uncaught error was thrown during the test.
➜  SampleReactNative npm test

><EMAIL_ADDRESS>test /Users/andy/Code/src/github.com/enozero/SampleReactNative
> node node_modules/jest/bin/jest.js --watch

jest-haste-map: duplicate manual mock found:
  Module name: ErrorUtils
  Duplicate Mock path: /Users/andy/Code/src/github.com/enozero/SampleReactNative/node_modules/react-native/node_modules/fbjs/lib/__mocks__/ErrorUtils.js
This warning is caused by two manual mock files with the same file name.
Jest will use the mock file found in:
/Users/andy/Code/src/github.com/enozero/SampleReactNative/node_modules/react-native/node_modules/fbjs/lib/__mocks__/ErrorUtils.js
 Please delete one of the following two files:
 /Users/andy/Code/src/github.com/enozero/SampleReactNative/node_modules/react-native/Libraries/Core/__mocks__/ErrorUtils.js
/Users/andy/Code/src/github.com/enozero/SampleReactNative/node_modules/react-native/node_modules/fbjs/lib/__mocks__/ErrorUtils.js

2017-07-26 22:54 node[34328] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
2017-07-26 22:54 node[34328] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
events.js:160
      throw er; // Unhandled 'error' event
      ^

Error: Error watching file for changes: EMFILE
    at exports._errnoException (util.js:1018:11)
    at FSEvent.FSWatcher._handle.onchange (fs.js:1420:11)
npm ERR! Test failed.  See above for more details.

Environment

npm ls react-native-scripts<EMAIL_ADDRESS>npm ls react-native<EMAIL_ADDRESS>npm ls expo<EMAIL_ADDRESS>└── UNMET PEER DEPENDENCY<EMAIL_ADDRESS>
npm ERR! peer dep missing<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>npm ERR! peer dep missing<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>
node -v: v6.11.1
npm -v: 3.10.10
yarn --version: command not found: yarn
watchman version: command not found: watchman

Also specify:

Operating system: macOS Sierra 10.12.5
Phone/emulator/simulator & version: N/A

hello! the warning that you're seeing is a red herring -- the actual error comes later:
2017-07-26 22:54 node[34328] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
2017-07-26 22:54 node[34328] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
events.js:160
      throw er; // Unhandled 'error' event
      ^

Error: Error watching file for changes: EMFILE

a good way to get around this error is to install watchman. see: https://github.com/facebook/react-native/issues/10028. also, read more about the error here if you're curious
also, i published jest-expo 19.0.2 which resolves the warning (it was harmless but annoying)
cc @fson - maybe we should watch for this error and provide a more useful message.

@brentvatne I have just the same warning, but without any errors. The tests are also running fine. Could this be another issue?
yarn test v0.27.5
$ jest
jest-haste-map: duplicate manual mock found:
  Module name: ErrorUtils
  Duplicate Mock path: /Users/suhairzain/Documents/xx/app/node_modules/react-native/node_modules/fbjs/lib/__mocks__/ErrorUtils.js
This warning is caused by two manual mock files with the same file name.
Jest will use the mock file found in:
/Users/suhairzain/Documents/xx/app/node_modules/react-native/node_modules/fbjs/lib/__mocks__/ErrorUtils.js
 Please delete one of the following two files:
 /Users/suhairzain/Documents/xx/app/node_modules/react-native/Libraries/Core/__mocks__/ErrorUtils.js
/Users/suhairzain/Documents/xx/app/node_modules/react-native/node_modules/fbjs/lib/__mocks__/ErrorUtils.js

(...PASS message for 13 tests)

Test Suites: 13 passed, 13 total
Tests:       29 passed, 29 total
Snapshots:   0 total
Time:        4.617s
Ran all test suites.
Done in 5.93s.

@SuhairZain see facebook/jest#2070


Resolve Sorting MultiValues Problem HSEARCH-3839

Regarding the filtering of sort values according to the predicate
Each user cannot see more than he is authorized to. It looks weird now. If even one price is available then the document is found, it displays the correct price, but not in its place in order. Of course, my application is careful not to display the price unavailable to the user, but the sorting is not correct. Of course, I could sort it again programmatically, but I would have to download all results and re-sort them, choose only as much as I can display on the page, it would be inefficient, so probably database indexes would be faster.
For me it is a matter if hibernate-search I will be able to use it in my applications. I really like the simplification of the code provided by hibernate-search, it takes a long time to do the same in apache lucene. Great work, what you do is a lot of good work. But it must implement just such complex problems to be useful. I think it can be solved, the argent method a pache JoinUtil.createJoinQuery does just that, only relatively on two indexes. but it should also work the same way on one index. I will try to solve it, I think it will not take much time. Only to get to this point I had to fix aggregation and sorting. As for sorting, there was an attempt to deal with many values, there was no attempt at aggregation to solve this problem. Currently, supper sorting and aggregation work for me. Now I'll look at "NestedDocsProvider", why it returns all nested documents. As for the operating modes, you can always give a switch, who needs what they will set in the query.

I suggest you do everything as in Elesticsearch. I'm going to replace the "multi" predicate with "mode". For sort and aggregate, I will add the option to add a filter, which will create a filter for the nested query in the nested provider. The whole solution can be easily added to elestcsearch.
https://discuss.elastic.co/t/sorting-by-nested-field/103141

For sort and aggregate, I will add the option to add a filter, which will create a filter for the nested query in the nested provider

Looks good to me. This will require deep changes to the DSL, in order to provide the ability to define  predicates within the sort DSL. Which means a lot of new changes on top of those already in this PR. Please, could you consider finishing the work on multi-values without filter first (at least having it build and having pre-existing tests pass for Lucene), so that we can review this already considerable amount of code and merge it?
You're fast, and this is great, but review/polishing work is piling up, and the more there is, the harder it will be to catch up once you're done.

Sorting and aggregation of many values is completed. I will open a new branch for filtering values before sorting. The last thing I changed was the parameter name in the dsl predicate and I added sort implementations to Elasticsearch.

Ok. I'll try to organize the commits a bit and see if I can make the tests pass. Closing this one, I'll reopen another (authoring information will be preserved for your commits, of course).
@wklaczynski For your next PR, could you please follow the recommendations in CONTRIBUTING.md? It'll make merging your PRs that much easier. In particular:

Organize the commits in logical units. For example "Add API for feature X", "Implement feature X for Lucene", "Test feature X", "Document feature X".
Format your commit messages using the format "HSEARCH-XXXX "

Thanks in advance.


Reflect current wiki doc in the URL

This will allow:

hyperlinking to a specific doc
back-button

I'm on it

Let me know what you're planning with this one, because I made a couple of changes to the route store (in the UI update) that might affect this.

I haven't planned anything concrete yet, would just start revisiting the files, put the puzzles together in my head and see where to tackle it.
If you have advices / suggestions, I'm all ears :smile:

I think there are a couple of parts to this.

maybe we can attach a listener to the route store and update the location hash whenever it changes: https://github.com/joshwnj/team-index/blob/master/frontend/main.js#L32
we can also use an onhashchanged event to handle the case of user arriving at a doc via hyperlink or using back-button
we'll also need to update the routing to use a regex like /wiki/:docId.  At the moment it's just doing a string match: https://github.com/joshwnj/team-index/blob/master/frontend/components/main-content.js#L23-L26

Thanks for the tips. Will look into them shortly


Flag RSA secret BNs as consttime on keygen and checks

https://github.com/openssl/openssl/pull/11765 switched the default code path for keygen.
External testing through TriggerFlow highlighted that in several places we failed (once more!) to set the BN_FLG_CONSTTIME flag on critical secret values (either long term or temporary values).
This commit tries to make sure that the secret BN values inside the rsa struct are always flagged on creation, and that temporary values derived from these secrets are flagged when allocated from a BN_CTX.
Acknowledgments
Thanks to @Voker57, @bbbrumley, @sohhas, @cpereida for the OpenSSL Triggerflow CI (paper) through which this defect was detected and tested, and for providing early feedback to fix the issue!

@cpereida @bbbrumley can I also ask for your feedback on the final version of this?

@slontis can you reapprove?

Checking through this, I noticed that the function rsa_sp800_56b_check_keypair is reachable through the wrapper https://github.com/openssl/openssl/blob/3f651554453fbfd10557d87a93e1a0c625b3fd3d/crypto/rsa/rsa_chk.c#L243
only when setting FIPS_MODULE.
I wonder if this should be made default following the spirit from #11765
If so, probably it requires its own PR but I thought it's worth mentioning in here.

Checking through this, I noticed that the function rsa_sp800_56b_check_keypair is reachable through the wrapper
https://github.com/openssl/openssl/blob/3f651554453fbfd10557d87a93e1a0c625b3fd3d/crypto/rsa/rsa_chk.c#L243
only when setting FIPS_MODULE.
I wonder if this should be made default following the spirit from #11765
If so, probably it requires its own PR but I thought it's worth mentioning in here.

Let's see what @slontis says about it, I agree it should be a separate PR (maybe assigned to @slontis :stuck_out_tongue:)

All feedback should have been addressed now.

I wonder if this should be made default following the spirit from #11765
If so, probably it requires its own PR but I thought it's worth mentioning in here.

In fips mode it needs to only run what it runs now..
In NON fips mode do you want it to fail if it finds a multiprime key or a weak key? (That sounds like a breaking change?).

@mattcaswell can you give formal approval or dismiss your previous request for changes?
@slontis can you reapprove?

This pull request is ready to merge

Merged to master as:

d4bf0d57a8 Flag RSA secret BNs as consttime on keygen and checks

Thanks!


Add Opbeat to list of hosted monitoring services.

Hello. Is adding the change to the Markdown sufficient? Or do I also need to rebuild the html?

I'm a big fan of using Opbeat for Flask and Django apps too.  It would be great to get this merged.

merged and regenerated. thanks!


[RESEARCH] Find out which FE technology is suitable with Spring

To build easy to maintain and extend applicaiton we have to choose one of many options of FE languages and frameworks. Reasearch:

React
Angular
JS
TypeScript

Since I have no experience in either React or Angular and I'm developing a frontend for a Java Spring backend, here are some considerations which help me decide:
React:
Learning Curve: React has a relatively gentle learning curve, especially if you're already familiar with JavaScript and HTML. Its component-based architecture makes it easy to understand and work with.
Community Support: React has a large and active community with extensive documentation, tutorials, and resources available online. There can be find plenty of support as you learn and build your project.
Flexibility: React is more lightweight and flexible compared to Angular. It's a library rather than a full-fledged framework, allowing you to choose additional libraries and tools as needed for your project.
JSX: React uses JSX, a syntax extension that allows you to write HTML-like code within JavaScript. While it might seem unusual at first, JSX simplifies the creation of UI components and helps maintain a clean and readable codebase.
Angular:
Comprehensive Framework: Angular is a comprehensive framework that provides out-of-the-box solutions for many common tasks such as routing, forms, and HTTP requests. This can be advantageous if you prefer a more opinionated structure and want to get started quickly without making too many decisions.
TypeScript: Angular is built with TypeScript, a superset of JavaScript that adds static typing and other features to the language. While TypeScript can offer benefits in terms of code quality and maintainability, it may have a steeper learning curve if you're not familiar with it.
Dependency Injection: Angular has a built-in dependency injection system, which can be useful for managing dependencies and promoting modularity in your codebase. This feature may be particularly beneficial for larger and more complex applications.
Given my lack of experience with both technologies, I find React to be a more approachable starting point. Its simpler learning curve and lightweight nature can make it easier to grasp concepts and get started with building my frontend.


Edit Dialog Window after MessageInput and not "republish" it

Dialog windows are normally shown in one chat message by editing this message when user ineracts with it with help of inline buttons.
But after usage of text input with MessageInput widget main dialog window is send as new message, and not edited.
Is there any way to achive such behaviour, when user input is processed and main dialog is edited and not published one more time?

I am not sure, but maybe using TextInput in place of MessageInput would solve my problem?
Is there any example of TextInput widget usage?

Yes. You can set manager.show_mode=ShowMode.EDIT in you message input callbacle