Logging issue in jupyter kernel when logs are issued in a Thread

Description of the problem
When running the code snippet bellow in VSCode interactive window (using ipykernel), it fails at k=1012 on both Linux and Windows, with:
--- Logging error ---
Exception in thread Thread-1016:
Traceback (most recent call last):
  File "/home/scheltie/pyvenv/mscheltienne/mne-lsl/lib/python3.11/site-packages/ipykernel/iostream.py", line 141, in _event_pipe
    event_pipe = self._local.event_pipe
                 ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: '_thread._local' object has no attribute 'event_pipe'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.11/logging/__init__.py", line 1113, in emit
    stream.write(msg + self.terminator)
  File "/home/scheltie/pyvenv/mscheltienne/mne-lsl/lib/python3.11/site-packages/ipykernel/iostream.py", line 664, in write
    self._schedule_flush()
  File "/home/scheltie/pyvenv/mscheltienne/mne-lsl/lib/python3.11/site-packages/ipykernel/iostream.py", line 561, in _schedule_flush
    self.pub_thread.schedule(_schedule_in_thread)
  File "/home/scheltie/pyvenv/mscheltienne/mne-lsl/lib/python3.11/site-packages/ipykernel/iostream.py", line 267, in schedule
    self._event_pipe.send(b"")
    ^^^^^^^^^^^^^^^^
  File "/home/scheltie/pyvenv/mscheltienne/mne-lsl/lib/python3.11/site-packages/ipykernel/iostream.py", line 145, in _event_pipe
    event_pipe = ctx.socket(zmq.PUSH)
                 ^^^^^^^^^^^^^^^^^^^^
  File "/home/scheltie/pyvenv/mscheltienne/mne-lsl/lib/python3.11/site-packages/zmq/sugar/context.py", line 362, in socket
    s: ST = socket_class(  # set PYTHONTRACEMALLOC=2 to get the calling frame
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/scheltie/pyvenv/mscheltienne/mne-lsl/lib/python3.11/site-packages/zmq/sugar/socket.py", line 159, in __init__
    super().__init__(
  File "zmq/backend/cython/socket.pyx", line 332, in zmq.backend.cython.socket.Socket.__init__
zmq.error.ZMQError: Too many open files

[...]

Sane issue in MNE-LSL with a simpler logger: https://github.com/mne-tools/mne-lsl/issues/260
Steps to reproduce
import threading

from mne.utils import logger

global k
k = 0

def foo():
    try:
        global k
        logger.info("test %i", k)
        k += 1
        if k == 2000:
            return
        thread = threading.Timer(0.00001, foo)
        thread.daemon = True
        thread.start()
    except Exception as error:
        raise error

thread = threading.Timer(0.00001, foo)
thread.daemon = True
thread.start()

An even simpler MWE:
import logging
import sys
import threading

global logger
logger = logging.getLogger("test")
handler = logging.StreamHandler(sys.stdout)
logger.setLevel(logging.INFO)
logger.addHandler(handler)
global k
k = 0

def foo():
    global k
    logger.info("test %i", k)
    k += 1
    if k == 1200:
        return
    thread = threading.Timer(0.00001, foo)
    thread.daemon = True
    thread.start()

thread = threading.Timer(0.00001, foo)
thread.daemon = True
thread.start()

If anyone has an idea about what I'm doing wrong in those MWE.. I'll try to see if we can prevent this in the first place.

Not a solution, but have you considered using asyncio instead of threads?

This works for me:
# %%
import asyncio
from mne.utils import logger

k = 0

async def foo():
    global k
    try:
        while k < 2000:
            logger.info("test %i", k)
            k += 1
            await asyncio.sleep(0.00001)
    except Exception as error:
        raise error

# Create and run the async task using the existing event loop in IPython / Jupyter
task = asyncio.create_task(foo())
await task

Which is logic as this is now running in a single thread. I started using threading in mne-lsl and changing the structure to asyncio would be a lot of work for an unclear benefit to me. I still have no idea why this snippet is failing in interactive windows..

But that one does work:
import logging
import sys
import threading
from concurrent.futures import ThreadPoolExecutor

global logger
logger = logging.getLogger("test")
handler = logging.StreamHandler(sys.stdout)
logger.setLevel(logging.INFO)
logger.addHandler(handler)
global k
k = 0

executor = ThreadPoolExecutor(max_workers=10)  # Limit the number of worker threads

def foo():
    global k
    logger.info("test %i", k)
    k += 1
    if k == 3000:
        return
    executor.submit(foo)  # Submit the task to the thread pool

# Start the first task
executor.submit(foo)

If I get that right, ThreadPoolExecutor is limiting the number of workers and re-using them for future tasks; while my example was spawning/destroying thread rapidly. That seems to be the issue and I don't see anything to be done on MNE's logger side to prevent this from happening. Closing..


Segmentation fault

Hi @ashokrajaraman @leofountain ,
I tried running Weaver's example code again, nevertheless the "segmentation fault" error still persists. Below are the outputs of the command:
-- Weaver PLOIDY
$ Weaver PLOIDY -f $example/INPUT/SIMU.fa -S $example/INPUT/FINAL_SV -s $example/INPUT/SNP -g $example/INPUT/REGION -w $example/INPUT/X.bam.wig -r 0 -m $example/INPUT/map100mer.bd -p 64 -t 20 -n 0                                                                                RUN MODE        PLOIDY                                                                                THREAD was set to 64.                                                                                FASTA was set to /gpfs/commons/home/yaox-934/tmp/weaverTest/Weaver_example/INPUT/SIMU.fa.                                                                                WIG was set to /gpfs/commons/home/yaox-934/tmp/weaverTest/Weaver_example/INPUT/X.bam.wig.                                                                                MAP was set to /gpfs/commons/home/yaox-934/tmp/weaverTest/Weaver_example/INPUT/map100mer.bd.                                                                                SV was set to /gpfs/commons/home/yaox-934/tmp/weaverTest/Weaver_example/INPUT/FINAL_SV.                                                                                SNP was set to /gpfs/commons/home/yaox-934/tmp/weaverTest/Weaver_example/INPUT/SNP.                                                                                GAP was set to /gpfs/commons/home/yaox-934/tmp/weaverTest/Weaver_example/INPUT/REGION.                                                                                RUNFLAG was set to 0.                                                                                chrA    13388                                                                                chrB    9702                                                                                Getting coverage profile...                                                                                Getting coverage profile done!                                                                                Getting GC content done!                                                                                Getting Mapability done!                                                                                Segmentation fault
-- Weaver LITE
$ Weaver LITE -f $example/INPUT/SIMU.fa -S $example/INPUT/FINAL_SV -s $example/INPUT/SNP -g $example/INPUT/REGION -w $example/INPUT/X.bam.wig -r 0 -m $example/INPUT/map100mer.bd -p 64 -t 20 -n 0                                                                                RUN MODE        LITE                                                                                THREAD was set to 64.                                                                                FASTA was set to /gpfs/commons/home/yaox-934/tmp/weaverTest/Weaver_example/INPUT/SIMU.fa.                                                                                WIG was set to /gpfs/commons/home/yaox-934/tmp/weaverTest/Weaver_example/INPUT/X.bam.wig.                                                                                MAP was set to /gpfs/commons/home/yaox-934/tmp/weaverTest/Weaver_example/INPUT/map100mer.bd.                                                                                SV was set to /gpfs/commons/home/yaox-934/tmp/weaverTest/Weaver_example/INPUT/FINAL_SV.                                                                                SNP was set to /gpfs/commons/home/yaox-934/tmp/weaverTest/Weaver_example/INPUT/SNP.                                                                                GAP was set to /gpfs/commons/home/yaox-934/tmp/weaverTest/Weaver_example/INPUT/REGION.                                                                                RUNFLAG was set to 0.                                                                                TUMOR coverage was set to 20.                                                                                NORMAL was set to 0.                                                                                chrA    13388                                                                                chrB    9702                                                                                Getting coverage profile...                                                                                Getting coverage profile done!                                                                                Getting GC content done!                                                                                Getting Mapability done!                                                                                Segmentation fault
These command gave me two temporary files (supposedly):
$ ls -l                                                                                total 1071872                                                                                -rw-rw---- 1 yaox-934 milab        405 Oct 29  2014 cmd                                                                                drwxrwx--- 2 yaox-934 milab       4096 Oct 29  2014 INPUT                                                                                drwxrwx--- 2 yaox-934 milab       4096 Nov  3  2014 OUTPUT                                                                                -rw-rw-r-- 1 yaox-934 milab          0 Mar  6 14:25 TARGET                                                                                -rw-rw-r-- 1 yaox-934 milab    1609869 Mar  6 14:27 tempfile                                                                                -rw-rw---- 1 yaox-934 milab<PHONE_NUMBER> Oct 29  2014 X.bam                                                                                -rw-rw---- 1 yaox-934 milab     161816 Oct 29  2014 X.bam.bai
Have you seen this error before? What might be the cause for it?
Thanks,
XY

Hi XY
In src/partition.cpp, there is a pragma statement in line 339. This statement has been known to cause a race condition. Could you try compiling the code after commenting this, and then run the Weaver PLOIDY and LITE options?

Hi @ashokrajaraman ,
Thanks for your reply. I worked with the sys admin who helped me compile the program since then and we are now able to get rid of the Segmentation fault error for Weaver main program. The example command involving Weaver PLOIDY runs successfully.
However, when I invoke Weaver LITE command from the example, the output files got created but none populated with data.
bash:~/tmp/weaverTest/Weaver_example 1017 $ Weaver-new LITE -f SIMU.fa -S FINAL_SV -s SNP -g REGION -w X.bam.wig -r 0 -m map100mer.bd -p 64 -t 20 -n 0                                                                                RUN MODE        LITE                                                                                THREAD was set to 64.                                                                                FASTA was set to SIMU.fa.                                                                                WIG was set to X.bam.wig.                                                                                MAP was set to map100mer.bd.                                                                                SV was set to FINAL_SV.                                                                                SNP was set to SNP.                                                                                GAP was set to REGION.                                                                                RUNFLAG was set to 0.                                                                                TUMOR coverage was set to 20.                                                                                NORMAL was set to 0.                                                                                Getting coverage profile...                                                                                Getting coverage profile done!                                                                                Getting GC content done!                                                                                Getting Mapability done!                                                                                base_mean = 20                                                                                best_norm = 0                                                                                LBP scan                                                                                LBP                                                                                LBP init                                                                                LBP print                                                                                LBP scan                                                                                bash:~/tmp/weaverTest/Weaver_example 1018 $ ls -l                                                                                total 1071872                                                                                -rw-rw---- 1 yaox-934 milab        405 Oct 29  2014 cmd                                                                                -rw-rw-r-- 1 yaox-934 milab          0 Mar  7 15:04 EACH_REGION                                                                                -rw-rw-r-- 1 yaox-934 milab          0 Mar  7 15:04 EACH_REGION_1                                                                                drwxrwx--- 2 yaox-934 milab       4096 Oct 29  2014 INPUT                                                                                drwxrwx--- 2 yaox-934 milab       4096 Nov  3  2014 OUTPUT                                                                                -rw-rw-r-- 1 yaox-934 milab          0 Mar  7 15:04 REGION_CN_PHASE                                                                                -rw-rw-r-- 1 yaox-934 milab          0 Mar  7 15:04 SNP_CN_PHASE                                                                                -rw-rw-r-- 1 yaox-934 milab          0 Mar  7 15:04 SV_CN_PHASE                                                                                -rw-rw-r-- 1 yaox-934 milab          0 Mar  7 15:04 SV_REMOVED                                                                                -rw-rw-r-- 1 yaox-934 milab          0 Mar  7 15:04 SV_SELECTED                                                                                -rw-rw-r-- 1 yaox-934 milab          0 Mar  7 15:02 TARGET                                                                                -rw-rw-r-- 1 yaox-934 milab          0 Mar  7 15:04 tempfile                                                                                -rw-rw---- 1 yaox-934 milab<PHONE_NUMBER> Oct 29  2014 X.bam                                                                                -rw-rw---- 1 yaox-934 milab     161816 Oct 29  2014 X.bam.bai
So I thought this maybe due to skipping the "solo_ploidy TARGET 2" command, but when I execute it I got Segmentation fault again:
bash:mskilab01:~/tmp/weaverTest/Weaver_example 1021 $ solo_ploidy TARGET 2                                                                                Segmentation fault
and this cannot be solved by recompiling the program.
Do you have any thought on this?
Thanks!

Hi @xtYao ,
Actually, you should not have to run solo_ploidy now, so this should not be the case. But I am unable to reproduce the issue with Weaver LITE on the example data at the moment, and it also works fine on the real data sets I've run it on. I would check if all the input files are populated, just in case. Remember, these are files in the INPUT directory.

@ashokrajaraman Thanks so much for the explanation! I see the Weaver LITE is running.
Weaver-new LITE -f $example/INPUT/SIMU.fa -S $example/INPUT/FINAL_SV -s $example/INPUT/SNP -g $example/INPUT/REGION -w $example/INPUT/X.bam.wig -r 0 -m $example/INPUT/map100mer.bd -p 64 -t 20 -n 0
Unfortunately the example command is now halted at this error:
-nancao                                                                                0<PHONE_NUMBER>                                                                                Weaver-new: class.cpp:158: void Linear_region_info::set_value(std::string, int, std::map<std::basic_string<char>, std::vector<site> >&, std::map<std::basic_string<char>, std::vector<interval> >&, std::map<std::basic_string<char>, std::map<interval, region_numbers> >&, \ std::vector<observe>&): Assertion rate_mean == rate_mean' failed.`
By any chance you have run into it before? Attached the stdout.
tmp.out.txt
Thanks!
XY

Could you set the -r option to 1 and try again?

@ashokrajaraman Yes, you're right. I changed the '-r' to 1 and I realized we have gone through this in another thread. Thanks again!

Aborted`
Maybe related to this, I noticed a error upstream that didn't cause the program to stop where it couldn't find the bedtools. The path '/../external_bin/bedtools' obviously is not correct since it searches for the root dir. I tried loading the bedtools explicitly in my $PATH before running the Weaver LITE command, and it still tried to find bedtools in that wrong path. Is there a way to make Weaver use the bedtools in environment variable?
Getting coverage profile done!                                                                                Getting GC content done!                                                                                sh: /../external_bin/bedtools: No such file or directory                                                                                Getting Mapability done!
Attached stdout again.
tmp.out.txt

No, the bedtools part should be different. In fact, I have not seen anyone have a problem with finding the bedtools binary, since the Weaver_pipeline.pl script explicitly uses the relative location of the binary in Weaver/external_bin/. We may change this later, but that's how it is for now. I would check if the path to this directory has not been modified in any of the perl or shell scripts in Weaver/bin and Weaver/Weaver_SV/bin/.
The assertion for max_p != 1 is, I believe, a convergence condition for LBP. It does not trip up anything on this end, and I have tried it on 2-3 different systems now. It could very well be a property of the initialization of the MRF model, and since LBP is not guaranteed to converge, just failed to do so for some reason. I would suggest trying it on another system just in case, since I think this is probably not a bug in and of itself.

I have the same problem and it is not a user error. Uncommenting main.cpp:250 indicates that BIN is set to an empty string. Weaver is in fact attempting to call /../external_bin/bedtools when called using the documented example parameters and -r 1


removed the note on delete build assets

Summary
I think this note is not needed, since we have already added the .dockerignore file in one of the above paragraphs. This should ensure that the build binaries are not included in the final image.

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

Thanks @biilmanndk! @BillWagner can you please review?


[1432] index overlap res

Resolves #1432
Solution is very simple.
overlaps_with_date_range instead of starts_on_days during controller's index method fixes the problem.

Nice work; unfortunately, it doesn't address all of the problems in the original issue :stuck_out_tongue:, namely, that we include all checked out and overdue reservations if the query range includes today's date, even if the start/due dates don't overlap. The checked out reservations should be included by default, but we should test for it explicitly, but the overdue reservations will require some additional code. Once that's been addressed we can review this again, but good start!


Shorten notation for validating motor powers

I'm going to pull in master to (hopefully) break the build after #441 merged.

Looks like the code works now.
I'm going to try and find a style guide that has an opinion on this.
PEP8 doesn't mention it.

While not a style guide I'd argue that these changes go against The Zen of Python.
Specifically the below points

Explicit is better than implicit.

Simple is better than complex.

Readability counts.

If we find a consistent style guide (or make our own) that we adopt I'm happy to go with whatever that says.

@tpoomlmly Do you still want to continue with this patch?

I'm good to continue.

Personally, I feel that all we're doing is adding complexity to the project for the sake of saving 6 characters. I think the fact that the first version of this patch would have introduced a bug demonstrates the subtleties of potential future issues we could face. If one of our goals is that competitors can understand our code I'd argue the existing code requires less cognitive load to understand. Saying this it wouldn't be the first time I've missed something obvious, @tpoomlmly can you explain why this patch is beneficial?
If this is just a matter of style maybe we should look into a few different python style guides and pick one to adopt?

After sitting and thinking for several hours and consulting with many industry experts and a few hyper-intelligent neural networks, I have come to the conclusion that the original notation was indeed more straightforward. I especially agree with Skybound1's point that the change would only really make sense if the code's checking that new_power's between -1 and 1 rather than outside the range.


Intersection type bugs meta-issue

[x] Intersection of object types should be a valid lower bound of the object type with properties from all branches (#1327)
[ ] Support intersection of array type and object type (#1330)
[x] Can't spread value with intersection-of-objects type (#1329)
[x] Unable to refine variable type through intersection (#1325)

Intersection types are awfully useful when working with react and passing down props from bigger components to smaller more specialised ones, however the lack of support for spread operator makes it very hard to work with (unless I'm missing something).
I noticed #1329 is "checked" and the issue has been closed in March. Does it mean it's been solved? If so, in which version/branch can we access this feature?
Thanks!

Looks like one of the scenarios has been fixed in 0.50.0:
function bar(x: T): void {
  let z: T = { ...x }; // error - now fixed in 0.50.0
}

But the following seems to be problematic:
/* @flow */

type T = { foo: string } & { bar: number };

function bam({bar}: {bar: number}): number {
  return bar + 2;
}

function bar(x: T): void {
  let { foo, ...props } = x;
  bam(props); //error
}

Here's the reported error:
5: function bam({bar}: {bar: number}): number {
                       ^ property `bar`. Property not found in
11:   bam(props); //error
          ^ rest of object pattern


Feature/header

Loom Video
https://www.loom.com/share/24d2729b7e394588bbde01cb901c07a5
Description
Changes old header to Ant Design header and adds user info placeholder divs to the header in preparation for dynamic user info to be displayed once we have redux in place
Type of change

[x] New feature (non-breaking change which adds functionality)

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have removed unnecessary comments/console logs from my code
[x] My changes generate no new warnings
[x] I have checked my code and corrected any misspellings
[x] No duplicate code left within changed files
[x] Size of pull request kept to a minimum
[x] Pull request description clearly describes changes made & motivations for said changes

Looks good, the code is clean and easy to read. Commits are easy to follow and make your work easy to follow step by step.


Add a simple Django statistics module and remove google analytics

https://pypi.org/project/django-request/
django-request is a statistics module for django. It stores requests in a database for admins to see, it can also be used to get statistics on who is online etc.

django-request added. Not request info is loading... To be cheched!

TODO: try  collectstatic cmd

it works now


Magento 2 Entreprise Compatibility

Hello,
Is the module compatible with Magento EE ?
We are encountering an error on a Magento EE Cloud instance: product with attached files is the wrong one (you just need to change the product_id in the product_attachments table to fix) and it may be caused by differences between CE & EE: https://magento.stackexchange.com/questions/139081/magento-2-what-is-the-difference-between-the-row-id-and-entity-id-in-the-enti

Hey! I didn't forget this... I should be less busy next week

@younes0 today I am finally merging changes. Due to your possibilities mentioned in you PR, I have moved your changes into my branch and from it I have completed this task. Some fixes had to be done. Thank you for your contribution. I will close it when you come back with info that all works as intented.

@bartoszkubicki i've just tested master and no issues encountered with Magento Entreprise Edition. thank you.


oracle database 19.3.0 se2 fails to start

Hello, I built the image successfully but the database fails to start in container. I found out its related to volume but cant find the reason. could any one please help me to find the problem? below is the log:

LSNRCTL for Linux: Version <IP_ADDRESS>.0 - Production on 10-NOV-2021 03:44:41

Copyright (c) 1991, 2019, Oracle.  All rights reserved.

Starting /opt/oracle/product/19c/dbhome_1/bin/tnslsnr: please wait...

TNSLSNR for Linux: Version <IP_ADDRESS>.0 - Production
System parameter file is /opt/oracle/product/19c/dbhome_1/network/admin/listener.ora
Log messages written to /opt/oracle/diag/tnslsnr/bdd93fbbec1d/listener/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=<IP_ADDRESS>)(PORT=1521)))

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for Linux: Version <IP_ADDRESS>.0 - Production
Start Date                10-NOV-2021 03:44:41
Uptime                    0 days 0 hr. 0 min. 0 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Parameter File   /opt/oracle/product/19c/dbhome_1/network/admin/listener.ora
Listener Log File         /opt/oracle/diag/tnslsnr/bdd93fbbec1d/listener/alert/log.xml
Listening Endpoints Summary...
   Refer logs for details.
8% complete
0% complete
Look at the log file "/opt/oracle/cfgtoollogs/dbca/ORCLCDB/ORCLCDB.log" for further details.
[ 2021-11-10 03:44:52.198 UTC ] Prepare for db operation
[ 2021-11-10 03:44:52.267 UTC ] Cannot create directory "/opt/oracle/oradata/ORCLCDB".
DBCA_PROGRESS : 8%
[ 2021-11-10 03:44:52.271 UTC ] Copying database files
DBCA_PROGRESS : 31%
DBCA_PROGRESS : 100%
[ 2021-11-10 03:45:49.787 UTC ] [FATAL] Recovery Manager failed to restore datafiles. Refer logs for details.
DBCA_PROGRESS : 8%
DBCA_PROGRESS : 0%

SQL*Plus: Release <IP_ADDRESS>.0 - Production on Wed Nov 10 03:45:50 2021
Version <IP_ADDRESS>.0

Copyright (c) 1982, 2019, Oracle.  All rights reserved.

Connected to:
Oracle Database 19c Standard Edition 2 Release <IP_ADDRESS>.0 - Production
Version <IP_ADDRESS>.0

SQL>    ALTER SYSTEM SET control_files='/opt/oracle/oradata/ORCLCDB/control01.ctl' scope=spfile
*
ERROR at line 1:
ORA-32001: write to SPFILE requested but no SPFILE is in use

SQL>
System altered.

SQL>    ALTER PLUGGABLE DATABASE ORCL SAVE STATE
*
ERROR at line 1:
ORA-01109: database not open

SQL> BEGIN DBMS_XDB_CONFIG.SETGLOBALPORTENABLED (TRUE); END;

      *
ERROR at line 1:
ORA-06550: line 1, column 7:
PLS-00201: identifier 'DBMS_XDB_CONFIG.SETGLOBALPORTENABLED' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored

SQL> SQL>
Session altered.

SQL>    CREATE USER OPS$oracle IDENTIFIED EXTERNALLY
*
ERROR at line 1:
ORA-01109: database not open

SQL>    GRANT CREATE SESSION TO OPS$oracle
*
ERROR at line 1:
ORA-01109: database not open

SQL>    GRANT SELECT ON sys.v_$pdbs TO OPS$oracle
*
ERROR at line 1:
ORA-01109: database not open

SQL>    ALTER USER OPS$oracle SET container_data=all for sys.v_$pdbs container = current
*
ERROR at line 1:
ORA-01109: database not open

SQL> SQL> Disconnected from Oracle Database 19c Standard Edition 2 Release <IP_ADDRESS>.0 - Production
Version <IP_ADDRESS>.0
ORACLE_HOME = [/home/oracle] ? ORACLE_BASE environment variable is not being set since this
information is not available for the current user ID .
You can set ORACLE_BASE manually if it is required.
Resetting ORACLE_BASE to its previous value or ORACLE_HOME
The Oracle base remains unchanged with value /opt/oracle
/opt/oracle/checkDBStatus.sh: line 27: sqlplus: command not found
mkdir: cannot create directory '/opt/oracle/oradata/dbconfig': Permission denied
mv: cannot stat '/opt/oracle/product/19c/dbhome_1/dbs/spfileORCLCDB.ora': No such file or directory
mv: cannot stat '/opt/oracle/product/19c/dbhome_1/dbs/orapwORCLCDB': No such file or directory
mv: cannot move '/opt/oracle/product/19c/dbhome_1/network/admin/sqlnet.ora' to '/opt/oracle/oradata/dbconfig/ORCLCDB/': No such file or directory
mv: cannot move '/opt/oracle/product/19c/dbhome_1/network/admin/listener.ora' to '/opt/oracle/oradata/dbconfig/ORCLCDB/': No such file or directory
mv: cannot move '/opt/oracle/product/19c/dbhome_1/network/admin/tnsnames.ora' to '/opt/oracle/oradata/dbconfig/ORCLCDB/': No such file or directory
mv: cannot move '/opt/oracle/product/19c/dbhome_1/install/.docker_standard' to '/opt/oracle/oradata/dbconfig/ORCLCDB/': No such file or directory
cp: cannot create regular file '/opt/oracle/oradata/dbconfig/ORCLCDB/': No such file or directory
ln: failed to create symbolic link '/opt/oracle/product/19c/dbhome_1/network/admin/sqlnet.ora': File exists
ln: failed to create symbolic link '/opt/oracle/product/19c/dbhome_1/network/admin/listener.ora': File exists
ln: failed to create symbolic link '/opt/oracle/product/19c/dbhome_1/network/admin/tnsnames.ora': File exists
cp: cannot stat '/opt/oracle/oradata/dbconfig/ORCLCDB/oratab': No such file or directory
ORACLE_HOME = [/home/oracle] ? ORACLE_BASE environment variable is not being set since this
information is not available for the current user ID .
You can set ORACLE_BASE manually if it is required.
Resetting ORACLE_BASE to its previous value or ORACLE_HOME
The Oracle base remains unchanged with value /opt/oracle
/opt/oracle/checkDBStatus.sh: line 27: sqlplus: command not found
#####################################
########### E R R O R ###############
DATABASE SETUP WAS NOT SUCCESSFUL!
Please check output for further info!
########### E R R O R ###############
#####################################
The following output is now a tail of the alert.log:
2021-11-10T03:45:28.264562+00:00
Successful mount of redo thread 1, with mount id 121893395
2021-11-10T03:45:28.265736+00:00
Database mounted in Exclusive Mode
Lost write protection disabled
.... (PID:581): Using STANDBY_ARCHIVE_DEST parameter default value as /opt/oracle/product/19c/dbhome_1/dbs/arch [krsd.c:18141]
Create Relation IPS_PACKAGE_UNPACK_HISTORY
Completed: ALTER DATABASE   MOUNT
2021-11-10T03:45:50.525154+00:00
ALTER SYSTEM SET local_listener='' SCOPE=MEMORY;

My docker run command:
docker run -d --name oracle -p 1521:1521 -p 5500:5500 -e ORACLE_PDB=orcl -e ORACLE_PWD=Oradoc_db1 -e ORACLE_MEM=2000 -v /home/hamed/oradata:/opt/oracle/oradata oracle/database:19.3.0-se2

@hamedheidarian from the following error it is mostly related to the perms on the volume
  Prepare for db operation
  Cannot create directory "/opt/oracle/oradata/ORCLCDB"

Make sure the volume is writable.

I've seen something similar when starting a new container with persistent storage mounter from volume just for /opt/oracle/oradata.
But a previously ran container with the same config wrote some data to its (ephemeral) overlay at paths under /opt/oracle/product/19c/dbhome_1/dbs/ hence they are not available on other containers.

@hamedheidarian Is your problem resolved by setting the write permissions to the mounted volume, as mentioned by @reshaelfianur ?

yes i solved it just that way

Closing this issue for now as it is solved.


Metadata: VMware.WorkstationPro v16.1.2

Added Dependencies
Changed Architecture to x86

Added machine scope
Added ProductCode
https://github.com/microsoft/winget-cli/issues/1191#issuecomment-875761265

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

[ ] Have you tested your manifest locally with winget install --manifest <path>?
[x] Does your manifest conform to the 1.0 schema?

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

Microsoft Reviewers: Open in CodeFlow

I guess the pipeline is stuck.

I guess the pipeline is stuck.

Yeeeeah i was going to say but didn't want to spam the thread, the bot might have freaked out or its going to throw a hidden error that it failed to run on the x86 machine, think i'll wait for the 24h mark timeout before i touch it...
It should technically work since the main process is x86 and it installs in Program Files (x86).. Hopefully this isn't a PowerToys situation where it reports differently

@arjun-msft @ChuckFerring imma need a answer on this, is this a x86 package as shows in task manager or is it x64? If its x86, whats the issue?

Well... @auanasgheps x64 arch passed the validation real quick so i guess its technically x64?
Post a issue on winget-cli if it still dosent work..

Well... @auanasgheps x64 arch passed the validation real quick so i guess its technically x64?
Post a issue on winget-cli if it still dosent work..

Unfortunately it doesn't work. I'll open a new issue there.


ReferenceError in /clan/tai-wan-formosa-yv2p2vv8

Error in ClashLeaders
ReferenceError in /clan/tai-wan-formosa-yv2p2vv8
Set is not defined
View on Bugsnag
Stacktrace
webpack:///js/store/index.js:11 - Object.<anonymous>

View full stacktrace
Created automatically via Bugsnag

An error linked to this issue has been marked as fixed in Bugsnag
ReferenceError in /clan/tai-wan-formosa-yv2p2vv8


Allow polling BGPalerter to get the full list of prefixes currently being monitored

It's been a long time since I've written any Javascript, sorry in advance. Let me know if you'd like me to clean anything up.

Hi @hfinucane,
Thanks you very much for the pull request. I really appreciate when contributions are made in the form of code. However, despite being a good contribution, I'm not planning to add and maintain this feature.


Remoting Play doesn't support anchor store

Overview
On entering play mode I get the warning that this build doesn't support WorldAnchorStoreManager. Which strikes me as weird, as I can use all the other spatial features during remoting play and get info about the movement of the lens.
Expected Behavior
Being able to use Anchors and Anchor sharing during remoting play
Actual Behavior
not supported
Steps to reproduce
The Example sharing project (with the auto join room) will do fine to experience this.
Unity Editor Version
2017.4.4
Mixed Reality Toolkit Release Version
2<IP_ADDRESS> Patch Release

Thank you for filing this issue. I have forwarded it to the owner of the Remoting Player.

For future reference, the Feedback Hub application (on your HoloLens or PC) is the best route to providing bug reports, suggestions and other feedback on the Remoting Player.
Thanks again!


Getting the column aliases in a Visitor

Hi,
I'm trying to parse the following query through the java implementation:
WITH test_table AS (
SELECT
column_source as column_alias
FROM table_in_catalog
)
SELECT column_alias FROM test_table
But I'm unable to find a visitor that connects column_source with column_alias.
Is there any way to extract this?

+1, we are seeing the same issue - is this only an issue with the java client?

I think this was answered in https://github.com/google/zetasql/issues/104
?

Try using ResolvedNodes.ResolvedColumnRef in your visitor.


See this issue: https://github.com/microsoft/fluentui-blazor/issues/2427
Before

After

Code
The problem seems to be related to this flex style applied to the FluentButton.
Strange, but I think that with `flex' the JavaScript code cannot calculate the initial element widths correctly.
.endpoint-overflow .fluent-overflow-more {
    display: flex;
}

I found this solution, replacing the FluentButton by a FluentBadge.
<MoreButtonTemplate Context="overflow">
    <FluentBadge role="button" tabindex="0" Appearance="Appearance.Accent" OnClick="() => _popoverVisible = !_popoverVisible" Class="endpoint-button">
        @($"+{overflow.ItemsOverflow.Count()}")
    </FluentBadge>
</MoreButtonTemplate>

And using this style to get the same look and feel.
/*
.endpoint-overflow .fluent-overflow-more {
    display: flex;
}
*/

.endpoint-button::part(control) {
    padding: 2px 8px !important;
}

Microsoft Reviewers: Open in CodeFlow

Fix is part of https://github.com/dotnet/aspire/pull/4976


ISPN-10106 Fix LdapAuthenticationIT thread ignore regex

https://issues.jboss.org/browse/ISPN-10106

I removed the trivial label and added a lot more leak fixes in server/integration/testsuite.

Needs an update, hangs in integration-test (suite-queries) @ infinispan-server-testsuite:
https://ci.infinispan.org/job/Infinispan/job/PR-6894/4/

Now also needs a rebase


Dashboard state persist across to another dashboard incorrectly

Describe the bug
After saving widgets on a dashboard, the widgets would appear on another dashboard incorrectly.
To Reproduce
Steps to reproduce the behavior:

Go to /dashboards
Click on Create, fill out the modal inputs, and proceed to create a dashboard
Click on newly created dashboard and add a widget
Go back to /dashboards
Click on Create, fill out the modal inputs, and proceed to create another dashboard
Click on newly created dashboard
See a widget on the newly created dashboard
Refresh the page and the widget is no longer there

Expected behavior
the widget(s) state on the dashboard should reflect the select dashboard's configuration
Screenshots
https://user-images.githubusercontent.com/50635800/231851390-6973a07f-ec50-4931-85dd-b887af3fef2e.mov
Desktop (please complete the following information):

OS: MacOS 13.2.1 (22D68)
Browser Chrome
Version Version 111.0.5563.64 (Official Build) (x86_64)

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Resolved in IoT App Kit. New version will be merged soon.


chore(examples): Use <IP_ADDRESS> instead of <IP_ADDRESS>

Feature or Problem
Since these examples get invariably copied and used for services that are deployed outside of localhost, it is in our best interest to use <IP_ADDRESS> instead of <IP_ADDRESS> to set people up for success rather than disappointment.
Related Issues

Release Information

Consumer Impact

Testing

Unit Test(s)

Acceptance or Integration

Manual Verification

What do you think about using :: as the default? (Assuming wasmCloud actually supports IPv6)

While I'm not opposed to supporting ipv6 (it is the future after all), I worry that defaulting to :: might end up confusing folks given that ipv6 has not quite yet received the kind of widespread adoption that one might hope.
I would prefer to stick to <IP_ADDRESS> for now, and revisit the ipv6 conversation separately, because it's certainly worth having (and testing).


Rubric on how to contribute

Minimal point: 10
Dataset Implementation: +3
Dataset Proposal (Existing): +1
Dataset Creation:  [+1..+10] (depends on quality & rareness)
Aturan Dataset Creation

Guideline harus jelas

Jumlah data >= 100

Untuk pembuatan dataset baru yang extremely low-resouce, pricenya lebih tinggi, contoh Papuen

*) Kalau ada yang contribute tapi ga minat authorship, apa ya kasihnya?

Kasih swag, badge, etc

Mungkin nanti kalo udah final bisa diisi di README.

@karissaa : Any update on this one?

Minimal point: 10
Dataset Implementation: +3 Dataset Proposal (Existing): +1 Dataset Creation: [+1..+10] (depends on quality & rareness)
Aturan Dataset Creation
* Guideline harus jelas

* Jumlah data >= 100

* Untuk pembuatan dataset baru yang extremely low-resouce, pricenya lebih tinggi, contoh Papuan

*) Kalau ada yang contribute tapi ga minat authorship, apa ya kasihnya?
* Kasih swag

* Badge

* etc

This is my proposal:
I think we can take 3 aspects: (1) size (2) quality (3) rarity.
Size:
We can have 4 different levels: Small, Medium, Large, XL
Small: <1K
Medium: 1K<x<10K
Large: 10K<1M
XL: >1M
Quality:

Excellent: Fully human annotated with quality assurance by experts / linguists with a proper procedure and high annotator agreement. For example: Evaluated by 3 different annotators and the result is determined by voting / agreement.
Good: Fully human annotated by experts with acceptable annotator agreement. The labels are acceptable to be used for training.
Poor: Fully human annotated but no QA or some data are machine annotated and also has silver labels.
Not qualified: No human annotation.

Rarity:

Rare / No resource: No public dataset
Uncommon: There are some resources on this language, but very hard to find.
Common: At least there are 3 datasets publicly available
Very common: At least there are 5 datasets publicly available

To determine the point I would like to suggest the following point system:
Size: (Small: 1, Medium: 2, Large: 3, XL: 4)
Rarity: (Very common: 1, Common: 2, Uncommon: 3, Rare: 4)
Quality: (Not qualified: x0, Poor: x0.25, Good: x0.75, Excellent: x1)
Minimal point: 3

#selfassign

This is wonderful @gentaiscool! Just to give some context,  the minimum point: 10 specified  on the previous comment means that everyone has to get at least 10 points to get an authorship, which can be done through dataset creation or implementing the dataloader.
I also have a few comments from the proposed rubric:

Just want to confirm, what is the different between silver label and machine-annotated?
I think for the this is quite strict for the dataset creation since we want to pool as much datasets as possible, so I would prefer that at least any small size dataset should be accepted as long as the quality is at least fully human annotated. My suggestions would be to:

Increase the quality multiplier for good to x1 and excellent to 1.5x
Remove the "very common" criteria (just start with "common" and a score of 2
We accept datasets with >= 3 points, so that we can accept more small datasets and, hopefully, some rare with poor and good annotation quality (my opinion on this is that rare resources are hard to come by, and we need to at least appreciate them for building such datasets)

What do you think of it? @gentaiscool  @afaji  @holylovenia  @karissaa

They are all the same.
Accept means we will include them in our metadata right? They still need to submit the dataset to huggingface platform?

Got it. I think it is good idea to make a less strict filter, but still keep a high threshold to avoid poorly created dataset.

Finalize the rubric:
Size
We can have 4 different levels: Small, Medium, Large, XL
Small (S): <1K
Medium (M): 1K<=x<10K
Large (L): 10K<=x<1M
Extra Large (XL): >=1M
Quality (for labeled dataset)

Excellent (E): Fully human-annotated with quality assurance by experts/linguists with a proper procedure and high annotator agreement. They have to be open source / retrieved from source(s) that have no restriction for the data to use or redistribution. For example: Evaluated by 3 different annotators, and the result is determined by voting/agreement.
Good (G): Fully human-annotated by experts with acceptable annotator agreement. The labels are acceptable to be used for training. They have to be open source / retrieved from source(s) that have no restriction for the data to use or redistribution.
Poor (P): Fully human-annotated, but no QA or some or all data are machine-annotated and have silver labels. If all data are all silver labels, we can consider them as poor if and only if the labels are coming from a reliable source. They have to be open source / retrieved from source(s) that have no restriction for the data to use or redistribution.
Not qualified (NQ): No reliable human annotation or machine annotator, and they are not open source dataset

Quality (for unlabeled dataset)

Excellent (E): Open source and allow to use or redistribution (e.g., Creative Common License)
Not qualified (NQ): Restricted for usage and redistribution

Rarity

Rare / No resource: No public dataset.
Uncommon: There are some resources on this language, but they are very hard to find. This is the new task for this language.
Common: At least there are 3 datasets publicly available with the same task

To determine the point I would like to suggest the following point system:
Size: (S: 1, M: 2, L: 3, XL: 4)
Rarity: (Common: 2, Uncommon: 3, Rare: 4)
Quality: (Not qualified: 0, Poor: 0.5, Good: 1, Excellent: 1.5)
Minimal point: 3
Final point = (size + rarity) * quality
I guess, easy to pass scenarios are to build M common dataset with good quality or S rare dataset with good quality to get > 3 point. For poor dataset submissions, we will only accept them if they are "at least" L uncommon, M rare, or XL common.
Impossible to pass scenario:

all S datasets with poor quality
M datasets with poor quality except if they are rare
L very common datasets with poor quality
XL very common datasets with poor quality

I think we can make a sample how we use the score in the existing benchmarks we have now.

Probably, we should have the information on how the dataset is created and labels.

That is a really good idea, I think we can write the rubric in the CONTRIBUTING.md file, and provide some of the example there.

I have a proposal for dataset quality so that it is easier for people to fill in the metadata.
I'll update this in https://github.com/IndoNLP/nusantara-datasets/issues/35 as well.
dataset_creation:

labeled and verified by human
generated/scraped by machine, verified by human
labeled by human, but no verification
generated/scraped by machine, no verification
not qualified

What do you think @SamuelCahyawijaya @gentaiscool

I have a proposal for dataset quality so that it is easier for people to fill in the metadata. I'll update this in #35 as well.
dataset_creation:
* labeled and verified by human

* generated/scraped by machine, verified by human

* labeled by human, but no verification

* generated/scraped by machine, no verification

* not qualified

What do you think @SamuelCahyawijaya @gentaiscool

looks good to me. (1) => excellent, (2) and (3) good, (4) poor. how about this?

Sounds good, let's go with this rubric. Let's write the rubric properly on the CONTRIBUTING.md and close this issue afterward.


Luisgmsft/background jobs acs

Adding an Azure Container Service section to Hosting for Background Jobs execution.

Hi @luisgmsft, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft and real humans are currently evaluating your PR.
TTYL, MSBOT;

@dragon119 Please review these proposed changes. Thanks.


[VL] Daily Update Velox Version (2024_02_23)

2024-02-22 19:02:50 -0800 0d02c8f9f by Pedro Eugenio Rocha Pedreira, Convert Arrow REE arrays to Velox Vectors (#8777)
2024-02-22 17:42:12 -0800 f951ddc18 by Krishna Pai, Fix Presto aggregate function 'avg' bug when counts are zero (#8719)
2024-02-22 14:11:30 -0800 577d85292 by Bikramjeet Vig, Fix data races flagged by tsan in ProfilerTest
2024-02-22 13:43:49 -0800 5355ef0cb by Jimmy Lu, Add MapVector::update (#8801)
2024-02-22 13:11:12 -0800 97465b2a2 by Orri Erling, Scatter struct nulls when deserializing Presto wire format (#8152)
2024-02-22 12:27:58 -0800 860df27f1 by Christian Zentgraf, Fix dependencies for iceberg reader (#8808)
2024-02-22 12:19:45 -0800 1dadf4136 by Bikramjeet Vig, Update website dependencies (#8833)
2024-02-21 22:11:35 -0800 ffd136fdc by Orri Erling, Add SelectivityVector to DecodedVector::nulls() (#8579)
2024-02-21 16:44:08 -0800 3bb21d216 by Jialiang Tan, Propagate serdeParameters to dwio writer options (#8817)

/benchmark velox

===== Performance report for TPCH SF2000 with Velox backend, for reference only ====

query
log/native_4765_time.csv
log/native_master_02_24_2024_7e7fbd277_time.csv
difference
percentage

q1
32.74
34.34
1.596
104.87%

q2
24.61
24.77
0.160
100.65%

q3
35.79
38.78
2.998
108.38%

q4
35.82
37.81
1.992
105.56%

q5
70.58
71.67
1.093
101.55%

q6
6.81
5.66
-1.153
83.07%

q7
84.22
83.96
-0.258
99.69%

q8
85.08
86.74
1.660
101.95%

q9
125.57
125.66
0.089
100.07%

q10
43.53
42.79
-0.747
98.29%

q11
22.30
20.56
-1.738
92.21%

q12
27.14
28.79
1.657
106.10%

q13
46.12
45.21
-0.908
98.03%

q14
19.12
20.63
1.508
107.89%

q15
30.72
28.31
-2.411
92.15%

q16
14.95
13.32
-1.632
89.09%

q17
103.87
102.37
-1.505
98.55%

q18
146.79
149.07
2.285
101.56%

q19
12.68
12.59
-0.094
99.26%

q20
27.89
26.67
-1.220
95.62%

q21
230.22
226.20
-4.024
98.25%

q22
13.76
13.50
-0.263
98.09%

total
1240.30
1239.39
-0.914
99.93%


Increase test timeout for TestKafkaSourceDeletedFromContractConfigMaps

The TestKafkaSourceDeletedFromContractConfigMaps e2e test creates a lot of resources and regularly times out by cleaning up them again. This PR increases the timeout for this test to 10 minutes.
/cc @pierDipi

It's another test
FAIL: TestKafkaSourceUpdate

/retest-required

/cc @pierDipi

FAIL: TestKafkaSourceDeletedFromContractConfigMaps/KafkaSources#01/Teardown/cleanup_resources (772.85s)

even increase to 10 (!!!) minutes seems not being sufficient
/hold


add empty "ember-simple-auth! instance initializer

#1547 removed the ember-simple-auth instance initializer but that is actually a breaking change as applications might depend on the existence of that initializer, e.g.
export default {
  name  : 'segment',
  after : 'ember-simple-auth',
  initialize
};

TODO

[ ] figure out how we can only show a deprecation when any instance initializer in the application has a after: 'ember-simple-auth' or before: 'ember-simple-auth' but not if that's not the case.

closes #1564

figure out how we can only show a deprecation when any instance initializer in the application has a after: 'ember-simple-auth' or before: 'ember-simple-auth' but not if that's not the case.

I'm not aware of any way to do that, might not be possible to do properly... I guess if we mention the initializer removal in the changelog for the next major that should be enough.
can you add a small code comment to the initializer that explain that it still exists for backwards compat reasons and should be removed for the next major release?

@Turbo87: I added a comment.  It seems like there should be a deprecated property on initializers and instance initializers that would trigger Ember to throw a deprecation whenever the initializer or instance initializer is depended on.


Product extensions cannot be used in CMS data mapping

PHP Version
7.4.23
Shopware Version
<IP_ADDRESS>
Expected behaviour

Call to http://localhost/api/_info/open-api-schema.json should list product extension associations and custom entities
Custom entity values referenced via associations from product can be selected in the "Data Mapping" dropdown box of the  Shopping Experiences page

Actual behaviour
I have a custom entity that is referenced by the product via a product extension.
I want to use the value of one of my entity's attributes in a CMS text block via the Shopping Experiences "Data Mapping" dropdown box.
Unfortunately my extension "product.myGreatEntity" is not listed there.
The root cause seems to be that a GET on http://localhost/api/_info/open-api-schema.json does not even return the extension. The information from this GET is indirectly used by cms.service.js.
There is code in the responsible class OpenApiDefinitionSchemaBuilder for this GET request that is considering extensions and assembling an in-memory structure. But the structure returned by #getSchemaByDefinition seems wrong with respect to what the calling class OpenApi3Generator is expecting.
I tried to hack-fix the returned structure for extensions in OpenApiDefinitionSchemaBuilder but unfortunately could not make it work with reasonable effort. Trying to understand the logic for extensions I looked at the test classes OpenApiDefinitionSchemaBuilderTest and OpenApi3GeneratorTest but could not find any related test there either.
How to reproduce

Create a custom entity
Create a product extension with an association to that entity
Call http://localhost/api/_info/open-api-schema.json and see the extensions not being returned
Try to use the entity in a "Data Mapping" in the Shopping Experiences CMS editor

I can't imagine this doesn't bother anyone? So I digged through the code and found the following:
https://github.com/shopware/platform/blob/fbfdcbe6acd95cbd5b535a558780e35c3a1f7aa0/src/Core/Framework/Api/ApiDefinition/Generator/OpenApi3Generator.php#L149
$schema->allOf[1] has a property "properties" which includes "extensions".
After converting it to json, the key value pair "extensions" is lost.
I don't know why, but this seems to be part of the issue.
I was a bit confused, because relationships are working flawlessly...
So what I did was the follwing:
I added extensions in the same way as relationships, as property. It will be available in the http://localhost/api/_info/open-api-schema.json after that.
https://github.com/shopware/platform/blob/fbfdcbe6acd95cbd5b535a558780e35c3a1f7aa0/src/Core/Framework/Api/ApiDefinition/Generator/OpenApi/OpenApiDefinitionSchemaBuilder.php#L160-L164
165            if (\count($extensionAttributes)) {
166                $schema[$schemaName . 'JsonApi']->allOf[1]->properties[] = new Property([
167                    'property' => 'extensions',
168                    'properties' => $extensionAttributes,
169                ]);
170            }

so the become available in https://github.com/shopware/platform/blob/trunk/src/Core/Framework/Api/ApiDefinition/Generator/OpenApi3Generator.php
But then it still won't be found for Data Mapping, because only the first layer of an entity seems to be considered as available data.
To add them in the correct layer, i merged extensions to the schema in the same way the relationships where merged...
https://github.com/shopware/platform/blob/fbfdcbe6acd95cbd5b535a558780e35c3a1f7aa0/src/Core/Framework/Api/ApiDefinition/Generator/OpenApi3Generator.php#L173-L182
We can simply add an array_merge after line 210:
https://github.com/shopware/platform/blob/fbfdcbe6acd95cbd5b535a558780e35c3a1f7aa0/src/Core/Framework/Api/ApiDefinition/Generator/OpenApi3Generator.php#L210
211     $properties = array_merge($properties, $extensions);

After that extensions become available for DataMapping in Shopping Experiences.
And Maybe this helps to solve the issue. (:
Maybe I can decorate sth for now, but not sure. :-/


can not get example project working

I tried twice setting it up, but when pressing the button "login facebook (oauth2)" of JWT, I keep getting the error:
"Something went wrong, maybe you haven't installed 'djangorestframework-jwt'?"
Which I have installed. Furthermore I followed all instructions closely it seems.
Couple of things I mention just to be clear (at this stage I am focusing on Facebook...):

In the settings there is a string set for SOCIAL_AUTH_FACEBOOK_KEY which I altered to my own facebook app key; and I did the same in the templates (bit suprised to find these there as well); obviously I also altered the secret key in settings.
My local server succesfully serves at http://restsocialexample.com:8000/  furthermore in the facebook app settings of mine I put these for redirect uri's:

Furthermore this is the output in my browser console:
Failed to load resource: the server responded with a status of 404 (NOT FOUND)
http://restsocialexample.com:8000/api/login/social/jwt_user/facebook Failed to load resource: the server responded with a status of 400 (BAD REQUEST)
(index):121 Object
(index):122 Something went wrong, maybe you haven't installed 'djangorestframework-jwt'?

Any help would be appreciated!
EDIT:
After reading docs another time it becomes now clear that I should leave the app ids and secrets 'as is' and not use my own (yet). Then Google JWT button works! But Facebook and Twitter both fail with same error message (see above). Google also works for session and token, others also not working...
For Facebook I made another testuseraccount; With that user I got the approval screen and I could continue to approve giving my email; after approval I get old errormessage again. The facebook account I use I also use in real live for login in all kinds of oauth2 authentication platforms, so should work...

Thanks @musicformellons for noticing it. I also have troubles with facebook and twitter in example project. I'll try to figure out why.

Any progress on this?

Sorry for not responding.
Currently, I'm very busy with my work, not sure when will have time for this.
But it is on my todo list :)

BTW, if you have any idea how to fix it, PR is welcome.

Facebook issue fixed by #38 (added SOCIAL_AUTH_FACEBOOK_PROFILE_EXTRA_PARAMS setting)
Twitter issue fixed by adding email permissions in twitter app:


[MP Starter media push] 2020

@cealsair i hope i am assuming correctly and you are behind this valuable reminder of Starter. if not, lets use this ticket to see what's what.
Using 4/6 MP media push (below):

reminder set for the rest 2020 via MP twitter?

what about using a design for media push?

current description reads great. :) Thanks for the follow up!

Adding @rstjames in case there is the need of a design
https://twitter.com/microprofileio/status/1247144734029680641?s=21

Are you a developer looking to get started quickly with MicroProfile? Check out the MicroProfile Starter to easily create your first #MicroProfile app! https://start.microprofile.io
#java #microservices #config #faulttolerance #health #metrics #security #openapi #restclient #opentracing #opensource #oss

@cealsair take a look at this ticket please.

Scheduled twice a month for the year.


Implementing regex support for docker

Relates to #74
I tested it locally and the regex seems to be working... I'm not sure about a few things where I added some comments with //TODO
Also this pull request is related to https://github.com/OptimalBits/dolphin/pull/2... Proxying to docker containers was not working

Using it successfully on my stage server

good job.

:smile:
There still are a few things to do... I'll try to improve this PR asap

Is anybody working on this pull request?
The IP detection without this is broken on current docker-compose based setups.

@jensklose I will try to find a moment to finalize this myself.

I've played with the IP patch and detected another issue.
The new docker network approach is separating the networks. So the founded IP could be in an unreachable subnet. Maybe first the proxy should add a named bridge,
docker network create redbird

next all detected containers should connected to that
docker connect redbird <containerId>

finally you could end up with:
    var ip = container.NetworkSettings.Networks['redbird'].IPAddress;
    if (port && ip) {
      return 'http://' + ip + ':' + port;
    } else {
      throw Error('No valid address or port ' + container.IPAddress + ':' + port);
    }

Is your dolphin module ready for this?

@jensklose network connect is not implemented in dolphin but should be very easy to implement.


feat: upgarde gomonkey version

Purpose or design rationale of this PR
Describe your change. Make sure to answer these three questions: What does this PR do? Why does it do it? How does it do it?
PR title
Your PR title must follow conventional commits (as we are doing squash merge for each PR), so it must start with one of the following types:

[ ] build: Changes that affect the build system or external dependencies (example scopes: yarn, eslint, typescript)
[ ] ci: Changes to our CI configuration files and scripts (example scopes: vercel, github, cypress)
[ ] docs: Documentation-only changes
[x] feat: A new feature
[ ] fix: A bug fix
[ ] perf: A code change that improves performance
[ ] refactor: A code change that doesn't fix a bug, or add a feature, or improves performance
[ ] style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
[ ] test: Adding missing tests or correcting existing tests

Deployment tag versioning
Has tag in common/version.go been updated or have you added bump-version label to this PR?

[x] No, this PR doesn't involve a new deployment, git tag, docker image tag
[ ] Yes

Breaking change label
Does this PR have the breaking-change label?

[x] No, this PR is not a breaking change
[ ] Yes

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 56.11%. Comparing base (c25b827) to head (0a34b8f).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #1290   +/-   ##
========================================
  Coverage    56.11%   56.11%
========================================
  Files          156      156
  Lines        12131    12131
========================================
  Hits          6807     6807
  Misses        4798     4798
  Partials       526      526

Flag
Coverage Δ

rollup
62.36% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


MAB question

Hello, I have a few questions I want to ask: 1. What does the RCAN-style block in your paper look like? 2. Why is it necessary to pass the Layer norm in the MAB block, and what is its main function? And Why layer norm?

RCAN block is organized as Conv-Act-Conv-CA as the depicted figure, thus for the RCAN-style MAB, we only replace the CA (Channel-Attention) with our MLKA:

We employ layer normalization (LN) to stabilize the gradient of loss (because of large multiply operations) without the influence of batch dimension.

Why LN (or IN) rather than BN is two-fold:
* Batch normalization hearts SR performance. Previous literature (like EDSR) suggests that BN removes essential instance details and brings annoying artifacts.
* Batch normalization fails to prevent the crash. As illustrated following picture, the MAN with BN meets exploding gradient problem where the loss comes to NaN.

Why LN than IN: We choose LN than IN for LN brings better performance (0.0x dB improvement) and more common In both CNN and Transformer in recent research.


Update golang spec to 1.15

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[x] The toolchain has been rebuilt successfully (or no changes were made to it)
[x] The toolchain/worker package manifests are up-to-date
[x] Any updated packages successfully build (or no packages were changed)
[x] All package sources are available
[x] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/tools/cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json)
[x] LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
[x] All source files have up-to-date hashes in the *.signatures.json files
[x] sudo make go-tidy-all and sudo make go-test-coverage pass
[x] Documentation has been updated to match any changes to the build system
[x] Ready to merge

Summary

This PR resolves three golang CVEs by updating to 1.15.5.
It also lays the foundation for updating the Mariner tools to build with golang 1.15 instead of golang 1.13.
Change Log

Update golang to from 1.13.15 to 1.15.5 to resolve three CVEs.
Add "GODEBUG=x509ignoreCN=0" to SRPM packer invocation to improve compatibility with host systems running golang 1.15. This setting should have no impact on systems still building Mariner tools with golang 1.13. This is a temporary workaround and our source server certificates will need to be updated to be compatible with golang 1.15.

Does this affect the toolchain?

NO
Links to CVEs

https://nvd.nist.gov/vuln/detail/CVE-2020-28362
https://nvd.nist.gov/vuln/detail/CVE-2020-28367
https://nvd.nist.gov/vuln/detail/CVE-2020-28366

Test Methodology

Pipeline build id (AMD64 RPMs): 48880
Pipeline build id (ARM64 RPMs): 48908
Local build of multiple derivative repos that take a dependency on golang.

Every time Go is updated, every other package that is built with Go must be rebuilt: the Go compiler will generate static binaries, and if fixes were in the Go standard library, rebuilding Go packages must happen so this CVE is actually fixed in things that actually matter.

Every time Go is updated, every other package that is built with Go must be rebuilt: the Go compiler will generate static binaries, and if fixes were in the Go standard library, rebuilding Go packages must happen so this CVE is actually fixed in things that actually matter.

In theory the build system should detect changes in a prerequisite package and trigger rebuilds of all dependent packages automatically (in a local build). Is this what you are concerned about?

Every time Go is updated, every other package that is built with Go must be rebuilt: the Go compiler will generate static binaries, and if fixes were in the Go standard library, rebuilding Go packages must happen so this CVE is actually fixed in things that actually matter.

One way to ensure packages are re-built with the new golang is to rev the release number of any package that BuildRequires: golang


Barycentric interpolation of science sensor data

Supersedes #83
Long story short, I finished implementing trilinear interpolation (in another branch, mabelzhang/trilinear_interp), which took a lot of sanity checks to make sure the inputs are 8 vertices of a prism, a lot of sorting the data to make sure which corner lies where and use the correct data corresponding to its corner, blah blah... in the end, the inputs didn't even meet the assumptions.
So, I've switched to barycentric interpolation instead. It took a fraction of the time of trilinear interpolation to implement, as in hours as opposed to days and weeks. Most importantly, it works.
Let's just use barycentric, at least for now.
Why barycentric is better than trilinear:

No assumption that the 8 input points must be the vertices of a rectangular prism.
This is a big deal.
The 8 points being structured takes 4 kNN searches to get 2 z-slices from the unstructured point cloud. Searching for the 2nd z-slice requires removing the 1st z-slice, which messes up the indices, so you need to manually keep track in order to retrieve the correct values later for interpolation.
The prism assumption takes a lot of tedious code to verify inputs, and to match the data to the right corners.
Barycentric works for any arbitrary unstructured point cloud. Will work for data not on regular grid - generalizable for upstreaming. Barycentric is actually what the trilinear interpolation Wikipedia page says to use, if your data doesn't satisfy the assumptions for trilinear.
Simpler code, probably 3-5x fewer lines than trilinear

I didn't throw away the trilinear interpolation code in the other branch, in case we want to return to it. If we don't, some weeks later it'll be trashed.
Ignore the many commits (artifacts from adding barycentric on top of trilinear, which is a branch that's been around for a while and I kept merging everything back into). We'll squash and merge anyway.
Sample output
2D case:
The default robot position of 0 0 0 enacts the 2D case, a special case when matrix T has 3rd row all zeros.
Then, the overloaded 2D function taking Eigen::Vector2f is called.
$ ign gazebo -v 4 buoyant_tethys.sdf
...
[Dbg] [ScienceSensorsSystem.cc:625] At time slice 0, populated 92355 spatial coordinates.
[Dbg] [ScienceSensorsSystem.cc:1321] Searching around sensor Cartesian location 0, -0, -0
[Dbg] [ScienceSensorsSystem.cc:1397] Neighbor at (0, -0, -0), squared distance 1.0366e-10 m
[Dbg] [ScienceSensorsSystem.cc:1397] Neighbor at (-0.181, 0, -0), squared distance 0.0328346 m
[Dbg] [ScienceSensorsSystem.cc:1397] Neighbor at (0.181, 0, -0), squared distance 0.0328346 m
[Dbg] [ScienceSensorsSystem.cc:1397] Neighbor at (0, -0.222, -0), squared distance 0.0492243 m
[Dbg] [ScienceSensorsSystem.cc:986] Interpolating E and N currents
[Dbg] [ScienceSensorsSystem.cc:1041] _p:
 8.83035e-39
-2.65023e-13
-1.01813e-05
[Dbg] [ScienceSensorsSystem.cc:1056] T:
1.51369e-14   -0.181203    0.181203
   0.221866    0.221884    0.221884
          0           0           0
[Dbg] [ScienceSensorsSystem.cc:1062] 4 points on same z slice. Using 2D barycentric interpolation.
[Dbg] [ScienceSensorsSystem.cc:1115] T:
   -0.181203    -0.362406
-1.84071e-05            0
[Dbg] [ScienceSensorsSystem.cc:1120] r3:
   0.181203
1.84071e-05
[Dbg] [ScienceSensorsSystem.cc:1125] T.inverse():
      -0 -54326.9
-2.75933  27163.5
[Dbg] [ScienceSensorsSystem.cc:1130] Barycentric 2D lambda 1 2 3: 1, 0, 0
[Dbg] [ScienceSensorsSystem.cc:1140] Barycentric 2D interpolation of values -0.0461921, -0.0453666, -0.0431448 resulted in -0.0461921
[Dbg] [ScienceSensorsSystem.cc:1041] _p:
 8.83035e-39
-2.65023e-13
-1.01813e-05
[Dbg] [ScienceSensorsSystem.cc:1056] T:
1.51369e-14   -0.181203    0.181203
   0.221866    0.221884    0.221884
          0           0           0
[Dbg] [ScienceSensorsSystem.cc:1062] 4 points on same z slice. Using 2D barycentric interpolation.
[Dbg] [ScienceSensorsSystem.cc:1115] T:
   -0.181203    -0.362406
-1.84071e-05            0
[Dbg] [ScienceSensorsSystem.cc:1120] r3:
   0.181203
1.84071e-05
[Dbg] [ScienceSensorsSystem.cc:1125] T.inverse():
      -0 -54326.9
-2.75933  27163.5
[Dbg] [ScienceSensorsSystem.cc:1130] Barycentric 2D lambda 1 2 3: 1, 0, 0
[Dbg] [ScienceSensorsSystem.cc:1140] Barycentric 2D interpolation of values -0.0472604, -0.0460758, -0.0485462 resulted in -0.0472604

Check that the last line is reasonable - result is same as first vertex, because first vertex is at 0 0 0.
3D case:
Change robot pose in buoyant_tethys.sdf, so that the z is between two z slices:
    <include>
      <pose>0 0 -2.5 0 0 0</pose>
      <uri>tethys_equipped</uri>
    </include>

$ ign gazebo -v 4 buoyant_tethys.sdf
...
[Dbg] [ScienceSensorsSystem.cc:565] At time slice 0, populated 92355 spatial coordinates.
[Dbg] [ScienceSensorsSystem.cc:885] Searching around sensor Cartesian location 0, -0, -2.5
[Dbg] [ScienceSensorsSystem.cc:921] Neighbor at (0, -0, -5), squared distance 6.24995 m
[Dbg] [ScienceSensorsSystem.cc:921] Neighbor at (0, -0, -0), squared distance 6.25005 m
[Dbg] [ScienceSensorsSystem.cc:921] Neighbor at (-0.181, 0, -5), squared distance 6.28278 m
[Dbg] [ScienceSensorsSystem.cc:921] Neighbor at (0.181, 0, -5), squared distance 6.28278 m
[Dbg] [ScienceSensorsSystem.cc:986] Interpolating E and N currents
[Dbg] [ScienceSensorsSystem.cc:606] _p:
 8.83035e-39
-2.65023e-13
    -2.50001
[Dbg] [ScienceSensorsSystem.cc:621] T:
   -0.181203    -0.181203    -0.362406
-1.84071e-05 -1.84071e-05            0
           0            5            0
[Dbg] [ScienceSensorsSystem.cc:637] r4:
   0.181203
1.84071e-05
         -5
[Dbg] [ScienceSensorsSystem.cc:642] T.inverse():
      -0 -54326.9     -0.2
       0        0      0.2
-2.75933  27163.5        0
[Dbg] [ScienceSensorsSystem.cc:647] Barycentric 3D lambda 1 2 3 4: 0.500002, 0.499998, 0, 2.98023e-08
[Dbg] [ScienceSensorsSystem.cc:659] Barycentric 3D interpolation of values -0.0936973, -0.0461921, -0.095667, -0.0894169 resulted in -0.0699448
[Dbg] [ScienceSensorsSystem.cc:606] _p:
 8.83035e-39
-2.65023e-13
    -2.50001
[Dbg] [ScienceSensorsSystem.cc:621] T:
   -0.181203    -0.181203    -0.362406
-1.84071e-05 -1.84071e-05            0
           0            5            0
[Dbg] [ScienceSensorsSystem.cc:637] r4:
   0.181203
1.84071e-05
         -5
[Dbg] [ScienceSensorsSystem.cc:642] T.inverse():
      -0 -54326.9     -0.2
       0        0      0.2
-2.75933  27163.5        0
[Dbg] [ScienceSensorsSystem.cc:647] Barycentric 3D lambda 1 2 3 4: 0.500002, 0.499998, 0, 2.98023e-08
[Dbg] [ScienceSensorsSystem.cc:659] Barycentric 3D interpolation of values -0.0237542, -0.0472604, -0.0240482, -0.023139 resulted in -0.0355073

Check that the last line is reasonable, somewhere between the vertices.

0d0b14d makes the math more rigorous, in checking the matrix T and handling degenerative cases accordingly.
Added a TODO for picking the correct triangle in the 2D degenerative case. Currently it's just picking an arbitrary triangle, but it should pick the three points in the tetrahedron in which the query point lies. It might lie outside of an arbitrary set.
0d0b14d also fixes a logic error in the for-loop over sensors. There had to be two separate loops, the first one is for positioning, for which only one sensor needs to be checked. The second one is for interpolating the data, which all sensors need to go through, because the input is not just the position but each sensor's individual data.

Thank you for the review!
Yeah, I hadn't thought about the class being private. As an intermediate to having a standalone library, we might be able to still add tests like with other plugins by checking the sensor output, which should be the interpolation result given the robot location and some known data. I think that should be doable in the test infrastructure.

Only test failing is LrauvTestFixture.PitchMass and our tests are currently known to be flaky.
Will merge this for now and add improvements from manual tests, and add automated tests in new PRs.

Interesting but I am concerned for your safety if to some conformer there is z-plot; this factory-scaled dismemberment of a person by way of a dangerous enforcement or gross implementation in UNIX of a manually typed indexing without use of safety rules in a factory setting. I would first microscale to a theoretical exploration of a MATLAB environment defining ozone. Tardis-space entanglement has been observed in hydrogen in geese, but exploration of a z-space modifier creates an ethical issue. Wonderful job!


does not open

Hi. I have just tried the app. I downloaded it, installed it and it simply does not open. What may be the reason?

Same for me here. Just downloaded the app, and it just won't open. Tried killing the process and reopening. Also tried installing manually and installing via Homebrew.

@arturasvlt @sagieinav Thanks for the feedback. Can you double-check if the only switch icon hidden by notch on menu bar? Because the new icons are always shown on the very left, maybe you need to remove some icons on menu bar.
Or some apps have conflicts with only switch, such as the issues like this: https://github.com/jacklandrin/OnlySwitch/issues/132#issuecomment-2212396145

Hi @jacklandrin. Thanks for a quick response. I have connected the mac to external displays and it seems its actually working.. However, when I am only with the macbook with no other displays, I cannot see the menu bar icon, maybe it's under the black notch as you say. But I see there is some option to hide menu bar icons which would maybe help. I have this feature enabled and see another icon with two circles in the menu bar, but it doesn't seem to hide anything.

@arturasvlt Can you check the settings for Hide menu bar icon? There's an introduction to how to use it. It would help if you moved the icon to some icons' left which need to be hidden.

@arturasvlt Can you check the settings for Hide menu bar icon? There's an introduction to how to use it. It would help if you moved the icon to some icons' left which need to be hidden.

thank you! Worked :)

Same issue for me, using only my macbook display nothing showed, but going into my external monitor it worked. Maybe upon start the app is putting itself inside of the "Hide menu bar icons?"


causes title/progress bar screen to hang

When enabled causes the progress bar/ title to hang on prime/imdb/live channels content until play/pause pressed. 4k firestick fully updated.

Thanks for your report, I'll investigate.


Fix: issue #1200 - Makefile: host architecture detection

replace uname -p with uname -m to detect HOST_ARCH on HOST_PLATFORM = linux

Hi @kyrios123 ,
Thanks a lot for the pull request. Everything looks great, however we're facing an issue on the GNU/Linux CI server completely unrelated to your changes: the build servers attempt to access certain secure environment variables for deployment purposes, however since this is an external pull request, the CI server can't access them, and thus fails.
I believe this was fixed by https://github.com/resin-io/etcher/pull/1203, so would you mind rebasing your changes on top of the latest master, and push again?
Thanks a lot!

ok


Preventing url preview with sendMessage()?

Question

If you send a URL with sendMessage, it will show up on the other end with a preview of the webpage. Is there some way to prevent this behavior?

I found this, but when trying it, I get the following error:
TypeError: Cannot create property 'chat_id' on string
'html'

This may have turned into a bug report

I went into the node-telegram-bot .js file where it was erroring, and it turned out that I needed to pass in an object, not additional options like the Telegram API implies.
So last thing before I close this:

Props for handling optional data this way
Please update the documentation. I could not for the life of me find anywhere that this should be passed as an object, or that it was even an option.

You can do so by using disable_web_page_preview option
bot.sendMessage(chat_id, message, {"disable_web_page_preview": true});


Leader board

Added layout and webpack for the leaderboard application

STATUS: INVALID CODE REVIEW REQUEST 🛑 🛑
Hi @Munyabelden,
While you made a great effort in this project, unfortunately, I cannot proceed to review your code.
Invalid Code Review Request
Kindly fix your linter errors.
Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready 🙏
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear. And please, remember to tag me in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Invalid Code Review Request does not count into the code reviews limit.


application does not always close on exit

The GUI will quite, but the actual background process stays running. I would guess that this is because there is a thread somewhere that doesn't get stopped.

added thread handling upon exit (on devel-PC branch): https://github.com/RhythmsOfRelating/HybridHarmony/blob/9af544c72825706c5a926f263f2f3a9bff4fdb90/src/main_GUI.py#L676

@phoebsc can you make a pull request for this? Then I will review it and merge it if all is good.


Modified Traffic Ops to allow server types that begin with EDGE or MI…

…D such that we are not required to use specifically and only EDGE and MID as types for their respective tiers.

This looks good to me @elsloo - ran the tests and eye-balled the changes. Nice work.

@elsloo Make sure we don't forget about "custom" extensions ;)


How do I disable Outline

 WindiCSS({ preflight: false, config: { corePlugins: { outline: false }, important: "#app" } })

In WindCSS you can do that, but in UNOCSS, I don't know how do I disable it

You can use a reset package or outline-none utility.

Check the docs at https://uno.antfu.me/?s=outline-none

Then you can use tailwind reset or global css
* {
  outline: none;
}

Since there's no default plugins for unocss, you may want to add preflight if you need a config-based solution:
preflights: [
  {
    getCSS: () => `* { outline: none; }`,
  }
]


Update "pathology/tumor_detection/ignite/profiling_camelyon_pipeline.ipynb"

Fixes # .
Description
Update the usage of nvtx in "tumor_detection_camelyon"
Checks

[ ] Avoid including large-size files in the PR.
[ ] Clean up long text outputs from code cells in the notebook.
[ ] For security purposes, please check the contents and remove any sensitive info such as user names and private key.
[ ] Ensure (1) hyperlinks and markdown anchors are working (2) use relative paths for tutorial repo files (3) put figure and graphs in the ./figure folder
[ ] Notebook runs automatically ./runner.sh -t <path to .ipynb file>

@KumoLiu I see an error in the CI but I don't see it when running locally. Can it be due the installed nsight version?

It’s wired, I don’t see any reason why the file is not exist. Also, what could be the reasons for it not executing immediately.

I would think papermill would run all command invocations otherwise many other notebooks would fail. How large is the generated csv? If the container runs out of space and tries to write the file it may silently do nothing, but this file would have to be really big. We could have a check right after nsys stats to check that the file was created: assert os.path.isfile("profile_report_nvtx_pushpop_sum.csv"). For testing in the CICD environment we could temporarily add !ls -lh right before that to see what the file structure looks like.

works well in the 24.02 PyTorch image, close for now.


Routes stopped working in 5.4.21

Laravel Version: 5.4.21
PHP Version: 7.1 (Homestead)
Database Driver & Version: Not sure (Homestead)

Description:
With updating the laravel framework from 5.4.19 to 5.4.21 via composer-update, suddenly the routes stop working.
NotFoundHttpException in Application.php line 903:
We have the following code in our HomeController, that checks every url request:
     * Show the application start page.
     *
     * @return \Illuminate\Http\Response
     */
    public function index($url_slug = null)
    {
        $page = Page::where([
            'url_slug' => $url_slug
        ])->first();
        if(!$page) abort(404);

        return view('home', compact("page"));
    }

This worked fine in Version 5.4.19 and stopped working with 4.5.21. Reverting back to 5.4.19 does make the application work again.

Check the value of $url_slug and let us know what difference do you see from what you expect?

it actually provides the respective slug like 'dashboard', when I try to access 'dev.app/dashboard'. So it seems more to be that the 'Page::where...' portion stopped working, because it always returns null. 'Page' btw. is a valid model class that is used within this controller.

And oh yeah, there is actually a database entry that has the url_slug value 'dashboard'

Try:
Page::where([
            'url_slug' => 'dashboard'
        ])->first();

And make sure there's an entry in the database, because I don't seem to be able to replicate your issue, you need to provide more details.

@leeniu Can you output the sql query and its binding, like so
$query = Page::where([
            'url_slug' => $url_slug
        ]);
Log::info(var_dump($query->toSql()));
Log::info(var_dump($query->getBindings()));


[release/1.3 backport] Fix flaky btrfs test

backport #3720
Actually I didn't meet the origin problem. But I failed to build btrfs_test.go on i386.
Because using unix.BTRFS_SUPER_MAGIC without type cast, causes btrfs_test.go:79:17: constant<PHONE_NUMBER> overflows int32.
I checked master, the use of unix.BTRFS_SUPER_MAGIC was removed in #3720. So I think backporting is better than fixing the overflow.

Codecov Report

Merging #3928 into release/1.3 will not change coverage.
The diff coverage is 0%.

@@             Coverage Diff              @@
##           release/1.3    #3928   +/-   ##
============================================
  Coverage        42.07%   42.07%
============================================
  Files              129      129
  Lines            14322    14322
============================================
  Hits              6026     6026
  Misses            7395     7395
  Partials           901      901

Flag
Coverage Δ

#linux
45.59% <0%> (ø)
:arrow_up:

#windows
37.01% <ø> (ø)
:arrow_up:

Impacted Files
Coverage Δ

snapshots/btrfs/btrfs.go
57.39% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


FR: --skip-chart-notes for install/upgrade

Refer to %subject% :-)
(Or just --skip-notes?)
TL;DR
% helm install ...
NAME: ingress-nginx
LAST DEPLOYED: Sat Dec  3 18:16:12 2022
NAMESPACE: ingress-nginx
STATUS: deployed
REVISION: 4
TEST SUITE: None
NOTES:
The ingress-nginx controller has been installed.
It may take a few minutes for the LoadBalancer IP to be available.
You can watch the status by running 'kubectl --namespace ingress-nginx get services -o wide -w ingress-nginx-controller'
...
%

VERSUS (feature request)
% helm install --skip-chart-notes ...
NAME: ingress-nginx
LAST DEPLOYED: Sat Dec  3 18:16:12 2022
NAMESPACE: ingress-nginx
STATUS: deployed
REVISION: 4
TEST SUITE: None
%

@fivaldi PRs is welcome.

I’m working on this now as a first issue, should notes still be included as a part of the chart so they can be retrieved later, so this flag only skips printing notes to the console, or should they not be included in the release at all? I think the former option makes more sense, but want to make sure what the request is

I’m working on this now as a first issue, should notes still be included as a part of the chart so they can be retrieved later, so this flag only skips printing notes to the console, or should they not be included in the release at all? I think the former option makes more sense, but want to make sure what the request is

@miles-w-3 skip printing to the console makes sense to me, fwiw.

Great thanks, I think the pr should be ready then


JFrog Audit task workingDirectory

We have JFrog 2.0.4 installed into our Azure DevOps subscription. Why doesn't the 'JFrog Audit' task support the 'workingDirectory' attribute, even though it seems to be there in the source code? It also doesn't work if directly added into the YAML pipeline definition.
Our use case is to audit the frontend code of our application:

project root contains the package.json for 'semantic release'
frontend/package.json is the UI I would like to audit

https://github.com/jfrog/jfrog-azure-devops-extension/blob/2d601be7a54606a5043874dce7af3560b8f63390/tasks/JFrogAudit/task.json#L31

Also, it would't hurt if 'JFrog CLI V2' would support 'workingDirectory', for example for running 'jf audit-npm' in a subdirectory.

Hi @ToniA ,
Thank you for reporting this issue.
It seems that the workingDirectory attribute is indeed missing from the UI of the Audit task due to a bug in the visibility group. Glad you got it to work in the YAML form.
Supporting working directory in the JFrog CLI V2 task is a good idea.
We added both of these tasks to our backlog and will update once they are available.
Thanks

Hi @ToniA ,
We recently released JFrog Azure DevOps Extension 2.1.0 which includes a fix for the workingDirectory at the JFrog Audit task, and support for workingDirectory at the JFrog CLI V2 task.
We'd appreciate your feedback for it.
Thanks


Automatic error report

Problem Description
What steps will reproduce the problem?

1.) Installed Anaconda
2.) Launched Anaconda
3.) Tried to launch Spyder
4.) Error window poped out.
Traceback
  File "/Users/eSunny/anaconda2/lib/python2.7/site-packages/qtconsole/base_frontend_mixin.py", line 163, in _dispatch
    handler(msg)
  File "/Users/eSunny/anaconda2/lib/python2.7/site-packages/spyder/widgets/ipythonconsole/namespacebrowser.py", line 218, in _handle_execute_reply
    self.refresh_namespacebrowser()
  File "/Users/eSunny/anaconda2/lib/python2.7/site-packages/spyder/widgets/ipythonconsole/namespacebrowser.py", line 67, in refresh_namespacebrowser
    'get_ipython().kernel.get_namespace_view()')
  File "/Users/eSunny/anaconda2/lib/python2.7/site-packages/spyder/widgets/ipythonconsole/shell.py", line 341, in silent_exec_method
    local_uuid = to_text_string(uuid.uuid1())
  File "/Users/eSunny/anaconda2/lib/python2.7/uuid.py", line 588, in uuid1
    clock_seq_hi_variant, clock_seq_low, node), version=1)
  File "/Users/eSunny/anaconda2/lib/python2.7/uuid.py", line 164, in __init__
    raise ValueError('field 6 out of range (need a 48-bit value)')
ValueError: field 6 out of range (need a 48-bit value)

This is an error in Python itself, fixed in Python 3.6.5 and not backported to Python 2.
So I'm afraid you'll have to update to use Python 3.

Thank you for the reply :)
But what exactly the error say? Right now I wish to gets hands on Spyder, don't want to change the python to 3.
For time being I've disabled error prompt in Spyder.
Cheers!!


I would like to go to a specific step on the wizard.

Hi,
First thanks for great work. I put a anchor link in my wizard section. Now i want when user click this anchor link then go the next step or specific step. How i do this ?
Regards
Sarwar

stepsWizard.steps("next");
it will move to next step :-)

Hi Arthur,
i need the solution too but i can't see the jsfiddle that you created, can you re create that so i can see?
i really appreciate that

Hi @arthurkarganyan
I need to create the programmatically in  alpaca wizard steps. its any possible to do that?
i can't see the jsfiddle that you created,  can you re create that so i can see?

Hi Team
I Created form builder on JsFiddle . I have some issues on Form Builder
JSFiddle Link : https://jsfiddle.net/mathusuthanan/zkerhd8v/

Now I created the steps using  hard-Code. I need to create the steps on dynamically.
I can’t able reordering the field after inserting.
I can’t able to insert the field in the 2nd page . If I select second page and insert field on that page it is inserted on the first page.

@arthurkarganyan Hi, I'm with the same issue as @mdgolamsarwar. Could you please share your solution in http://jsfiddle.net again, It seems it is not been loaded anymore. Thank you for your assistance :).


How to actually debug a function with a signalRTrigger

I've been following this document and it's been super helpful up to the point of actually debugging.
I find the last paragraph, titled "Send messages to SignalR Service trigger binding" does not provide enough information and context to help someone starting out with a function app, signalR service and the signalRTrigger.
In short - how do you debug a local function app method that has the SignalRTrigger binding,  in VS Code?

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

ID: 30b9a9bc-b82b-ce66-d0dc-3ff340da9e93
Version Independent ID: ab44deb2-a97e-a190-b041-9063eb17ff30
Content: Azure Functions SignalR Service trigger binding
Content Source: articles/azure-functions/functions-bindings-signalr-service-trigger.md
Service: azure-functions
GitHub Login: @chenyl
Microsoft Alias: chenyl

Hello @DarrenWainwright, Thank you for your feedback! We will review and update as appropriate.

@DarrenWainwright The SignalR Trigger is internally just a HTTP Endpoint that needs to be setup as a SignalR Service Upstream.
You should be able to POST messages with the formats described in the docs directly to the local endpoint without the code query parameter.

@PramodValavala-MSFT - Thanks so much for responding. I think I'm starting to understand now. I ran on an assumption i didn't need to do any of that.
I hope you don't mind if i ask a couple of clarifying Q's? I've been at this for a couple of days now and a little cross-eyed over it all :)

So when using the SignalRTrigger input binding on an App function we also need to set up an Upstream to utilize it?
Given I am using a Function App + SignalR Service, in serverless mode, I see I am supposed to set the upstream to "https://<APP_NAME>.azurewebsites.net/runtime/webhooks/signalr?code=<API_KEY>" - Per the documents.

I have set this to:
https://THE-NAME-OF-MY-FUNC-APP.azurewebsites.net/runtime/webhooks/signalr?code=THE-DEFAULT-KEY-FROM-FUNC-APP-APPKEYS_HOST_DEFAULT
My actual function.json looks like this:
{
  "bindings": [
    {
      "type": "signalRTrigger",
      "name": "invocation",
      "hubName": "mailbox",
      "category": "messages",
      "event": "heartbeat",
      "connectionStringSetting": "AzureSignalRConnectionString",
      "parameterNames":[
        "mailboxId"
      ],
      "direction": "in"
    },
    {
      "type": "signalR",
      "name": "signalRMessages",
      "hubName": "mailbox",
      "connectionStringSetting": "AzureSignalRConnectionString",
      "direction": "out"
    }
  ],
  "scriptFile": "../dist/heartbeat/index.js"
}

And the index.js
import { AzureFunction, Context } from "@azure/functions"

const heartbeatTrigger: AzureFunction = async function (context: Context, invocation: any): Promise<void> {
    context.log.info('Heartbeat function executed');
    let mbid = context.bindingData.mailboxId;

    // output a hearbeat received
    context.bindings.signalRMessages = [{
        "target": "heartbeatReceived",
        "arguments": [mbid]
    }];

};

export default heartbeatTrigger;

This hasn't triggered the function yet. I must be doing something else wrong?
Any help would be fab and thank you again for getting me on the right track.

The same seems to be for my connected/disconnection functions; they're not being executed.
My connected function.json
{
  "bindings": [
    {
      "type": "signalRTrigger",
      "name": "invocation",
      "hubName": "mailbox",
      "category": "connections",
      "event": "connected",
      "connectionStringSetting": "AzureSignalRConnectionString",
      "direction": "in"
    }
  ],
  "scriptFile": "../dist/heartbeat/index.js"
}

And the associated js.
import { AzureFunction, Context } from "@azure/functions"

const connectedTrigger: AzureFunction = async function (context: Context, invocation: any): Promise<void> {
    context.log.info('Client just connected');
    context.log(context.invocationId);
};

export default connectedTrigger;

Seems to be related - these are not being fired either.

Gah!
Ok, I found this https://github.com/Azure/azure-functions-signalrservice-extension/tree/master/samples/bidirectional-chat
Where it states a particular key be used.
I now have it working.
Thanks all and thank you for getting me on the right path!

@DarrenWainwright Glad that you were able to set things up.
We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


added upgrade options

Purpose of this PR:
Adds basic functionality
How to test:
I have a Scene set up in -> Assets/Dev/Fabio/RandomUpgrade
Within the scene show the options by going to the context menu for the UI/UpgradeOptions gameobjects and clicking "SHOW".
Then select any option with the number keys "1", "2", or "3"

Leaving this open for a bit to wait for other pr's to be implemented into this branch I guess

I am merging it since this ticket is not directly related to the health bar,
but the health bar is broken XD.
So that should be looked at


[VL] Bump Spark to 3.5.3

Description
Spark has released v3.5.3, https://spark.apache.org/releases/spark-release-3-5-3.html

cc @zhouyuan, @weiting-chen, @FelixYBW

Feel free to submit PR.

I have made some draft on Spark 352 support(https://github.com/apache/incubator-gluten/pull/7138). The major changes are

shuffle write API
query plan tag removed
The missing part is on shim layers update. Looks like Spark 353 does not introduce big changes. I'll try to push out early next week

thanks, -yuan


Updated static tokens for staging service

Problem statement
ImageMover (IM) reported on 10/7/21 that a few weeks their submissions to staging have been blocked with a 401 error. IM is looking to send a non-PHI test message to staging to validate the correction submission operation. IM would like to test in staging first before resubmitting correct Test kit IDs for OH (more listed in comments below)
What you need to know
IM is moved to PROD; it's possible we removed or disabled their staging key. There is also the other issue where staging keys renew with new value. https://app.zenhub.com/workspaces/prime-data-hub-5ff4833beb3e08001a4cacae/issues/cdcgov/prime-reportstream/2101
Acceptance criteria
IM is able to send data to staging with any errors
IM also resubmits the accessions for OH with the incorrect test kit IDs.
To do
Check Azure to ensure IM is still assigned a staging key
Ensure the key matches what we shared with them in keybase. If not, resend them the new staging key.
Follow up with IM to address the incorrect Test kit ID for OH.

Original message to IM:
Hi Joe,
For OH, we recently received records that contain the following test kit name which is invalid:
“Tide Labs DTPM COVID-19 RT-PCR Test*"
These message are failing for OH. Can you please resubmit with "DTPM COVID-19 RT-PCR Test*"? The Accession IDs are listed below:
a40bfdd9-bea5-45a7-844d-e170059ae37f
d91ece2b-40b1-41aa-a9d0-355b7c03af8e
6a796a39-bfb7-4c46-848f-bc4489086cf0
5d40b05b-1de4-4895-9fdd-b586d38ccbc1
c21ae87f-3c67-4c21-b293-03360d9e2f5e
de89c53b-7059-43ee-b404-5909e5a14af6
013b819e-4094-45d7-99ae-13b1870e2a28
edbde17f-2a57-4b32-8bad-dd3c15ae6497
600184b5-2ad4-4f89-8293-74a443203f54
e861f322-91ef-4e8f-a656-6a362f397b92
d62fc28c-b55a-43ac-9474-af4bf2712654
6f192321-e241-4892-a198-e98ee33b3a6a
e33c6e9a-5761-4d2a-bc29-8c9d564f3e8b
19525794-d026-437d-a01c-f9632e0139ce