MacOS Big Sur

With MacOS Big Sur set to be released tomorrow, I setup a fresh installation (11.0.1) of the public beta in a VM to test my application + dependencies.
I installed PHP via Homebrew (brew install php) and have 7.4.12 installed.
I then installed the ODBC driver via:
brew tap microsoft/mssql-release https://github.com/Microsoft/homebrew-mssql-release
brew update
HOMEBREW_NO_ENV_FILTERING=1 ACCEPT_EULA=Y brew install msodbcsql17 mssql-tools

The ODBC driver appears to have installed successfully.
Finally, I attempted to install the PDO_SQSRV driver via pecl:
pecl install pdo_sqlsrv

This is resulting in the following messages:
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [pdo_sqlsrv.la] Error 1
ERROR: `make' failed

I have used the steps above to successfully install PDO_SQLSRV on macOS Catalina, using PHP 7.4.8, which was the latest release at the time.
Thanks

Thanks @keithbrinks we will do the investigation on our side and get back to you on this.

Same error I am getting.
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [sqlsrv.la] Error 1
ERROR: `make' failed

MAC OS:

Brew:
Homebrew 2.5.11 Homebrew/homebrew-core (git revision f4b6f; last commit 2020-11-16)
Pecl:
PEAR Version: 1.10.12 PHP Version: 7.4.12 Zend Engine Version: 3.4.0

Yes @abdulwahhabkhan we are aware of this issue. We do not officially support macOS Big Sur yet, but we are looking into this. Please stay tuned.

Thanks @yitam
I did end up upgrading over the weekend. The driver does work if it was already compiled/installed. Just can't install fresh.

Thanks for the info @keithbrinks. I'm sure some people will find it useful.
Homebrew does not provide support for macOS Big Sur yet but is working on it

Hi @yitam ,
Thanks for the update, do we have any other way to install the SQLSRV meanwhile its get fixed?
I just moved from windows to MAC and due to this struggling a  lot :(
Thanks

@abdulwahhabkhan please use other macOS that we officially support, from High Sierra to Catalina.

For those who are looking to get the MSSQL driver working on Big Sur, you can manually download the binaries and install them. Here is how I did that:

Download the binaries: https://github.com/Microsoft/msphpsql/releases. I'm running PHP 7.4, so I downloaded the file Mac-7.4.tar under v5.8.1.
Locate the directory your PHP extensions are stored in:

$ php --info | grep extension_dir
extension_dir => /usr/local/lib/php/pecl/20190902 => /usr/local/lib/php/pecl/20190902
sqlite3.extension_dir => no value => no value

In my case, for some reason the extension_dir that PHP reports isn't where other extensions are located: /usr/local/lib/php/20190902 -- note the missing pecl folder. You can put them anywhere you want. If you choose not to use the reported extension_dir you'll simply need to specify the full path to the drivers.
3. Extract the tar file you downloaded in step 1 and copy the .so files to the extension directory you determined in step 2. There are both threadsafe and non-threadsafe drivers. For a discussion about those, go here. You probably don't need both, but do whatever you like.
4. Identify where PHP reads its configuration from:
$ php --ini
Configuration File (php.ini) Path: /usr/local/etc/php/7.4
Loaded Configuration File:         /usr/local/etc/php/7.4/php.ini
Scan for additional .ini files in: /usr/local/etc/php/7.4/conf.d  <=== We want this one
Additional .ini files parsed:      /usr/local/etc/php/7.4/conf.d/ext-opcache.ini

Create a file named ext-sqlsrv.conf and place it in the directory listed above. Use PHP's rules (documented in the base php.ini file) for details on how to set yours. Here are a couple of examples:

# Example: Using a full path
$ echo -e "extension=/usr/local/lib/php/20190902/php_sqlsrv_74_nts.so\nextension=/usr/local/lib/php/20190902/php_pdo_sqlsrv_74_nts.so" >/usr/local/etc/php/7.4/conf.d/ext-sqlsrv.ini

# ----- OR -----

# Example: File is located in `extension_dir` and matches PHP's expected naming convention
$ mv /usr/local/lib/php/20190902/php_sqlsrv_74_nts.so /usr/local/lib/php/20190902/php_sqlsrv.so
$ mv /usr/local/lib/php/20190902/php_pdo_sqlsrv_74_nts.so /usr/local/lib/php/20190902/php_pdo_sqlsrv.so
$ echo -e "extension=sqlsrv\nextension=pdo_sqlsrv" >/usr/local/etc/php/7.4/conf.d/ext-sqlsrv.ini

Check to verify that the sqlsrv and pdo_sqlsrv drivers are loaded:

$ php --info | grep 'sqlsrv support'
pdo_sqlsrv support => enabled
sqlsrv support => enabled

Thanks @nm777 for your info!
Yet, sqlsrv / pdo_sqlsrv depends on the ODBC driver, which does not officially support Big Sur either for the time being.

@yitam, that's a good point. However, for me I can say that the steps in the Microsoft docs (https://docs.microsoft.com/en-us/sql/connect/odbc/linux-mac/install-microsoft-odbc-driver-sql-server-macos?view=sql-server-ver15) for installing the ODBC drivers worked and in combination with the steps above, I'm able to query my local (docker-based) MSSQL instance from my PHP application.
Obviously in an unsupported configuration like this, others may have different results. I'm hoping my experience helps someone along the way.

Thanks @nm777 again for your contributions! This is in our priority list and we will get to it as soon as possible.

Thanks @nm777 ,
I followed the esxample you given but get following errors:
/usr/local/lib/php/pecl/20190902/sqlsrv.so: code signature in (/usr/local/lib/php/pecl/20190902/sqlsrv.so) not valid for use in process using Library Validation: library load disallowed by system policy)) in Unknown
Any idea how to solve this.
Thanks

I forgot that the first time I used the drivers I believe Mac's security kicked in. If you go to System Preferences >> Security & Privacy >> General, do you see a warning in the lower section about a blocked app? If so, click the button to allow it. You'll have to do this twice since there are 2 drivers.
I hope I'm not forgetting anything else....

Thanks @nm777
It workks
Thanks

Closing this issue due to inactivity. Please feel free to reopen this if necessary.

Hi @justindantzer , this is a known issue with macOS install. Please check our FAQ Why pecl install fails on macOS with "Warning: mkdir(): File exists in System.php" message?

Hi @justindantzer , this is a known issue with macOS install. Please check our FAQ Why pecl install fails on macOS with "Warning: mkdir(): File exists in System.php" message?

sudo pecl install sqlsrv-5.9.0beta2

I can install this library, but when running an error like this appears in Bigsur PHP 7.4.11
Exception Message:\n\nSQLSTATE[IMSSP]: This extension requires the Microsoft ODBC Driver for SQL Server to communicate with SQL Server. Access the following URL to download the ODBC Driver for SQL Server for x64: https:\/\/go.microsoft.com\/fwlink\/?LinkId=163712

sudo pecl install sqlsrv-5.9.0beta2

I can install this library, but when running an error like this appears in Bigsur PHP 7.4.11
Exception Message:\n\nSQLSTATE[IMSSP]: This extension requires the Microsoft ODBC Driver for SQL Server to communicate with SQL Server. Access the following URL to download the ODBC Driver for SQL Server for x64: https:\/\/go.microsoft.com\/fwlink\/?LinkId=163712

Yes @armadeas. In case other people are looking for an answer to this, the ODBC driver is the prerequisite to sqlsrv or pdo_sqlsrv

Yes @armadeas. In case other people are looking for an answer to this, the ODBC driver is the prerequisite to sqlsrv or pdo_sqlsrv

Hello, something with MacBook Pro 13' (M1) BigSur 11.5.2, PHP 7.4.23:
when i try:
sudo pecl install pdo_sqlsrv
.
.
.
/private/tmp/pear/temp/pdo_sqlsrv/shared/xplat.h:30:10: fatal error: 'sql.h' file not found
#include <sql.h>
^~~~~~~
1 error generated.
make: *** [pdo_dbh.lo] Error 1
ERROR: `make' failed
@nm777 I try download and copy the files, but I get:
PHP Warning:  PHP Startup: Unable to load dynamic library 'php_pdo_sqlsrv' (tried: /opt/homebrew/lib/php/pecl/20190902/php_pdo_sqlsrv (dlopen(/opt/homebrew/lib/php/pecl/20190902/php_pdo_sqlsrv, 9): image not found), /opt/homebrew/lib/php/pecl/20190902/php_pdo_sqlsrv.so (dlopen(/opt/homebrew/lib/php/pecl/20190902/php_pdo_sqlsrv.so, 9): no suitable image found.  Did find:
/opt/homebrew/lib/php/pecl/20190902/php_pdo_sqlsrv.so: mach-o, but wrong architecture
/opt/homebrew/lib/php/pecl/20190902/php_pdo_sqlsrv.so: mach-o, but wrong architecture)) in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library 'php_pdo_sqlsrv' (tried: /opt/homebrew/lib/php/pecl/20190902/php_pdo_sqlsrv (dlopen(/opt/homebrew/lib/php/pecl/20190902/php_pdo_sqlsrv, 9): image not found), /opt/homebrew/lib/php/pecl/20190902/php_pdo_sqlsrv.so (dlopen(/opt/homebrew/lib/php/pecl/20190902/php_pdo_sqlsrv.so, 9): no suitable image found.  Did find:
/opt/homebrew/lib/php/pecl/20190902/php_pdo_sqlsrv.so: mach-o, but wrong architecture
/opt/homebrew/lib/php/pecl/20190902/php_pdo_sqlsrv.so: mach-o, but wrong architecture)) in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'php_sqlsrv' (tried: /opt/homebrew/lib/php/pecl/20190902/php_sqlsrv (dlopen(/opt/homebrew/lib/php/pecl/20190902/php_sqlsrv, 9): image not found), /opt/homebrew/lib/php/pecl/20190902/php_sqlsrv.so (dlopen(/opt/homebrew/lib/php/pecl/20190902/php_sqlsrv.so, 9): no suitable image found.  Did find:
/opt/homebrew/lib/php/pecl/20190902/php_sqlsrv.so: mach-o, but wrong architecture
/opt/homebrew/lib/php/pecl/20190902/php_sqlsrv.so: mach-o, but wrong architecture)) in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library 'php_sqlsrv' (tried: /opt/homebrew/lib/php/pecl/20190902/php_sqlsrv (dlopen(/opt/homebrew/lib/php/pecl/20190902/php_sqlsrv, 9): image not found), /opt/homebrew/lib/php/pecl/20190902/php_sqlsrv.so (dlopen(/opt/homebrew/lib/php/pecl/20190902/php_sqlsrv.so, 9): no suitable image found.  Did find:
/opt/homebrew/lib/php/pecl/20190902/php_sqlsrv.so: mach-o, but wrong architecture
/opt/homebrew/lib/php/pecl/20190902/php_sqlsrv.so: mach-o, but wrong architecture)) in Unknown on line 0
I´m with docker : mcr.microsoft.com/azure-sql-edge
I´m trying this :
https://www.microsoft.com/en-us/sql-server/developer-get-started/php/mac
but nothing:
Any ideas please?

Hi @angelsv please try again by following the instructions here
https://github.com/microsoft/msphpsql/blob/master/Linux-mac-install.md#installing-the-drivers-on-macos

@yitam Perfect!!! thanks


Module 4 exercises [Francisca Ameley Armah]

WS2_M4E1_Francisca.docx

Well done, Francisca. You clearly grasped the material outlined in Module 4 and successfully applied it to these exercises. Thank you for your participation! Please be sure to fill out the post-Module survey before you begin the next Module.


Report FTM content JSON version # in all Firebase events

User Story
As a data analyst,
I want to add a json_version_number to all custom FTM Firebase events (session_start, session_end, level_completed, and puzzle_completed) that uses the "majversion" and "minversion" fields from the generated JSON in a {majversion}.{minversion} format (ex. 1.1, 5.3, etc.).
Full spec
Acceptance Criteria
Given that I have played FTM web and generated session_start, session_end, puzzle_completed, and level_completed events,
When I view the events in BigQuery,
Then I should see a json_version_number attached to each event that corresponds to the major and minor versions listed in the JSON file used to power the language the events were generated for.

HI @burrage , for the languages already in production we need to regen the JSONS for updating this. Please suggest what needs to be done
Thanks,
Divya


Could you add stop_mining in BMMiner?

I see that stop_mining func in BMMiner class can't really stop miner, could you add this?

Technically BMMiner on its own doesn't support shutdown or "sleep" mode, this is usually implemented by a downstream class (see pyasic/miners/backends/antminer.py under the AntMinerModern class).
If you have a way to shutdown BMMiner using only the API, I'm open to it, otherwise I will just have to implement it for whatever miner you're trying to shutdown.

The power_off command works well, and power_on to start mining again.
There will be a message in Miner Logs:
01-27 18:50:24 Suspend btminer as by whatsminer API

When powered off via API.

@s0kil isnt that for BTMiner, not BMMiner?

Oh right, I've misread the title.
Well, if you want a safe way to ensure the machine won't hash. Set the pools to null, or empty. And It will force it not to hash.

@b-rowan BMMiner doesn't support sleep mode?


feat: adds codeblock component to dialtone vue

DT-1015: Adds DtCodeblock component to Dialtone Vue

:hammer_and_wrench: Type Of Change

[ ] Fix
[x] Feature
[ ] Refactoring
[ ] Documentation

:book: Description
Adds a codeblock component to Dialtone Vue called DtCodeblock. The component takes one required prop text which is the preformatted text to be rendered inside the codeblock.
:bulb: Context
For DP2.0, we're currently planning out the implementation for inline rich media in text messages (link to tech spec). For most of these types of rich media, we're planning to create and use Dialtone Vue components. The designs and behavior for codeblocks are finalized so we decided to go ahead with implementing the Dialtone-side component that we'll use in DP2.0.

:pencil: Checklist

[x] I have reviewed my changes
[x] I have added tests
[x] I have added all relevant documentation
[x] I have validated components with a screen reader
[x] I have validated components keyboard navigation
[x] I have considered the performance impact of my change
[ ] I have checked that my change did not significantly increase bundle size
[ ] I am exporting any new components or constants in the index.js in the component directory
[ ] I am exporting any new components or constants in the index.js in the root

:crystal_ball: Next Steps

[ ] Add syntax highlighting (TBD)

:camera: Screenshots / GIFs

:link: Sources

DP2.0 Inline Rich Media Tech Spec
Jira ticket

sweet, will check this out later today.

Discussed with @braddialpad offline about order of operations between this work and the d-codeblock Dialtone work.
I'm gonna do the following:

Finish up this PR and merge in
Make a PR in Dialtone to add the d-codeblock class
Modify this component to use d-codeblock


Remove MuxPeerRaw

Remove:

[ ] MuxPeerRaw
[ ] any direct usage of runPeer and runPipelinedPeer (in ouroboros-consensus)
[ ] any direct usage of runPeerWithLimits and runPiplinedPeerWithLimits (in ouroboros-consensus)

This should allow us to hide Channel from ouroboros-consensus.

This should allow us to hide Channel from ouroboros-consensus.

We use Channel explicitly in our consensus tests that simulate multiple nodes:
https://github.com/input-output-hk/ouroboros-network/blob/4fa690a1fbd7fee5bca8d57e1df7ee2345146289/ouroboros-consensus/ouroboros-consensus-test-infra/src/Test/ThreadNet/Network.hs#L1067
We will still be able to do this, right?

You should move all  App types to use a MuxPeer or MuxPeerPipelined constructors.  It would work for tests, the question is if it is possible to use MuxPeer & MuxPeerPipelined in Apps?

I removed the consensus label. If this Issue gets reconsidered, please let us know what you'd need from us. cc @coot

This issue should be closed.  We actually went in the opposite direction.
A large refactoring of the network API was done in #4462.


Refactor: cosign key types

Fixes no issue
Description

several different types of keys (ecdsa, rsa) and references (email, kms) are being added to cosign and integrated for connaisseur
the handling and identification of key type is being refactored to improve extension

Checklist

[x] PR is rebased to/aimed at branch develop
[x] PR follows Contributing Guide
[x] Added tests (if necessary)
[x] Extended README/Documentation (if necessary)
[x] Adjusted versions of image and Helm chart in values.yaml and Chart.yaml (if necessary)

Codecov Report

Merging #415 (1957ea4) into develop (f035e57) will increase coverage by 0.22%.
The diff coverage is 100.00%.

:exclamation: Current head 1957ea4 differs from pull request most recent head d57ff4f. Consider uploading reports for the commit d57ff4f to get more accurate results

@@             Coverage Diff             @@
##           develop     #415      +/-   ##
===========================================
+ Coverage    94.24%   94.47%   +0.22%
===========================================
  Files           22       22
  Lines         1095     1104       +9
===========================================
+ Hits          1032     1043      +11
+ Misses          63       61       -2

Impacted Files
Coverage Δ

connaisseur/validators/cosign/cosign_validator.py
98.87% <100.00%> (+2.62%)
: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 f035e57...d57ff4f. Read the comment docs.


Merge versus concatenate issues with Sequential

Hello,
I am having troubles moving over to Concatenate from Merge because of the deprecation of Merge when merging Sequentials.  For my application, it would be very hard for me to use the functional API.  In order to show this problem, I have created two virtual environments old_keras which uses Keras (2.1.6) installed with pip install keras.  I also have another virtual environment using new_keras which uses Keras (2.1.6) installed with pip install git+git://github.com/keras-team/keras.git --upgrade --no-deps.  I don't know the differences between the subversions, but they both return 2.1.6 for keras.__version__.
I am running two different scripts:
tm.py (try merge):
import keras
from keras.layers import Dense, Merge
from keras.models import Sequential
from keras.utils.vis_utils import model_to_dot
import numpy as np

left = Sequential()
right = Sequential()
left.add(Dense(1, input_shape=(1,)))
right.add(Dense(1, input_shape=(1,)))
both = Sequential()
both.add(Merge([left, right], mode='concat'))
both.add(Dense(1))
both.compile(loss='binary_crossentropy', optimizer='adam', metrics=['accuracy'])
print model_to_dot(both)
both.fit([np.array([[1]]), np.array([[1]])], np.array([[1]]), batch_size=1, epochs=2, verbose=1)

and tc.py (try concatenate):
import keras
from keras.layers import Dense, Concatenate
from keras.models import Sequential
from keras.utils.vis_utils import model_to_dot
import numpy as np

left = Sequential()
right = Sequential()
left.add(Dense(1, input_shape=(1,)))
right.add(Dense(1, input_shape=(1,)))
both = Sequential()
both.add(Concatenate([left, right]))
both.add(Dense(1))
both.compile(loss='binary_crossentropy', optimizer='adam', metrics=['accuracy'])
print model_to_dot(both)
both.fit([np.array([[1]]), np.array([[1]])], np.array([[1]]), batch_size=1, epochs=2, verbose=1)

In the old_keras environment, using tm.py, I get
(old_keras) WE35016:tmc hage581$ python tm.py
Using TensorFlow backend.
tm.py:12: UserWarning: The `Merge` layer is deprecated and will be removed after 08/2017. Use instead layers from `keras.layers.merge`, e.g. `add`, `concatenate`, etc.
  both.add(Merge([left, right], mode='concat'))
digraph G {
rankdir=TB;
concentrate=True;
node [shape=record];
4697463056 [label="dense_1_input: InputLayer"];
4697597392 [label="dense_2_input: InputLayer"];
4697462800 [label="dense_1: Dense"];
4697463568 [label="dense_2: Dense"];
4697598608 [label="merge_1: Merge"];
4697705616 [label="dense_3: Dense"];
4697463056 -><PHONE_NUMBER>;
4697597392 -><PHONE_NUMBER>;
4697462800 -><PHONE_NUMBER>;
4697463568 -><PHONE_NUMBER>;
4697598608 -><PHONE_NUMBER>;
}

Epoch 1/2
2018-05-16 12:43:12.713797: I tensorflow/core/platform/cpu_feature_guard.cc:140] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
1/1 [==============================] - 0s 200ms/step - loss: 1.1921e-07 - acc: 0.0000e+00
Epoch 2/2
1/1 [==============================] - 0s 2ms/step - loss: 1.1921e-07 - acc: 0.0000e+00

which is the expected result.
In the new_keras environment, using tc.py, I get
(new_keras) WE35016:tmc hage581$ python tc.py
Using TensorFlow backend.
/Users/hage581/envs/new_keras/lib/python2.7/site-packages/keras/engine/sequential.py:109: UserWarning: `Sequential.model` is deprecated. `Sequential` is a subclass of `Model`, you can just use your `Sequential` instance directly.
  warnings.warn('`Sequential.model` is deprecated. '
digraph G {
rankdir=TB;
concentrate=True;
node [shape=record];
4644568976 [label="concatenate_1: Concatenate"];
4644565456 [label="dense_3: Dense"];
}

Traceback (most recent call last):
  File "tc.py", line 16, in <module>
    both.fit([np.array([[1]]), np.array([[1]])], np.array([[1]]), batch_size=1, epochs=2, verbose=1)
  File "/Users/hage581/envs/new_keras/lib/python2.7/site-packages/keras/engine/training.py", line 950, in fit
    batch_size=batch_size)
  File "/Users/hage581/envs/new_keras/lib/python2.7/site-packages/keras/engine/training.py", line 676, in _standardize_user_data
    self._set_inputs(x)
  File "/Users/hage581/envs/new_keras/lib/python2.7/site-packages/keras/engine/training.py", line 574, in _set_inputs
    assert len(inputs) == 1
AssertionError

It can be seen that not only do I error out because of the assertion error, but I don't even get the right network structure (only showing two nodes, not all of the nodes of each subbranch).  I have also had troubles with keras.layers.merge.concatenate (note the lower case c).  Is there a capability to do this with Concatenate or the like, or is Keras pushing everything towards the functional API?

Oh yes, a matrix of the versions and the scripts

old_keras
new_keras

tm.py
expected result
ImportError

tc.py
ValueError
AssertionError, incorrect structure

ValueError: The first layer in a Sequential model must get an input_shapeorbatch_input_shape argument.
ImportError: cannot import name Merge
AssertionError: Shown above

how to migrate this code?
from keras.layers import Input, merge
from keras.models import Model
import numpy as np

input_a = np.reshape([1, 2, 3], (1, 1, 3))
input_b = np.reshape([4, 5, 6], (1, 1, 3))

a = Input(shape=(1, 3))
b = Input(shape=(1, 3))
test = [a, b]
concat = merge(test, mode='concat', concat_axis=-1) # this breaks
dot = merge([a, b], mode='dot', dot_axes=2)
cos = merge([a, b], mode='cos', dot_axes=2)

model_concat = Model(input=[a, b], output=concat)
model_dot = Model(input=[a, b], output=dot)
model_cos = Model(input=[a, b], output=cos)

print(input_a)
print(input_b)
print(model_concat.predict([input_a, input_b]))
print(model_dot.predict([input_a, input_b]))
print(model_cos.predict([input_a, input_b]))
 python test.py
/Users/jpope/miniconda2/envs/tensorflow/lib/python3.5/site-packages/h5py/__init__.py:34: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.
  from ._conv import register_converters as _register_converters
Using TensorFlow backend.
/Users/jpope/miniconda2/envs/tensorflow/lib/python3.5/importlib/_bootstrap.py:222: RuntimeWarning: compiletime version 3.6 of module 'tensorflow.python.framework.fast_tensor_util' does not match runtime version 3.5
  return f(*args, **kwds)
Traceback (most recent call last):
  File "test.py", line 11, in <module>
    concat = merge([a, b], mode='concat', concat_axis=-1)
TypeError: 'module' object is not callable

https://stackoverflow.com/questions/42823627/how-to-use-merge-layer-concat-function-on-keras-2-0-0
Keras 1.2.2 code:
from keras.engine import merge
m = merge([init, x], mode='sum')
Equivalent Keras 2.0.2 code:

from keras.layers import add
m = add([init, x])

I have encountered this problem now(AssertionError). Excuse me, have you solved it now?

from keras.layers import add m = add([init, x])

Hi, I still got the same problem. This is my code:
    view2_model = build_mlp_net(layer_sizes2, input_size2, reg_par)

    model = Sequential()
    # model.add(Concatenate([view1_model, view2_model]))
    # model.add(concatenate([view1_model, view2_model](axis=-1))
    model = add([view1_model, view2_model])

    model_optimizer = RMSprop(lr=learning_rate)

def build_mlp_net(layer_sizes, input_size, reg_par):
    model = Sequential()
    for l_id, ls in enumerate(layer_sizes):
        if l_id == 0:
            input_dim = input_size
        else:
            input_dim = []
        if l_id == len(layer_sizes)-1:
            activation = 'linear'
        else:
            activation = 'sigmoid'

        model.add(Dense(ls, input_dim=input_dim,
                                activation=activation,
                                kernel_regularizer=l2(reg_par)))
    return model```

I have also tried `Concatenate` and `concatenate`, `Merge` and `merge`, but all gave me the same error ```     18     model = Sequential()
---> 19     # model.add(Concatenate([view1_model, view2_model]))
     20     # model.add(concatenate([view1_model, view2_model](axis=-1))
     21     model = add([view1_model, view2_model])

NameError: name 'Merge' is not defined```

I got a similar problem... anybody figured how to fix

I managed to resolve the problem by taking a detour to use totally functional API rather than building layers by sequential. Using Sequential will inevitably hit "assert len(inputs) == 1".

I am getting the same problem as mentioned in tc.py with new keras. Have you found the solution?

Anyone got this to work?


Errors with  dialog box (open file, open directory, save as )

VSCode Version: Code 1.11.1 (d9484d12b38879b7f4cdd1150efeb2fd2c1fbf39, 2017-04-06T13:58:12.954Z)
OS Version: Windows_NT ia32 10.0.16170
Extensions:

Extension
Author
Version

html-snippets
abusaidm
0.1.0

vscode-javascript-snippet-pack
akamud
0.1.5

vscode-node-readme
bengreenier
1.0.7

GBKtoUTF8
bukas
0.0.2

vscode-wxml
coderfee
0.1.9

vscode-express
Compulim
0.0.5

vscode-npm-source
dkundel
1.0.0

python
donjayamanne
0.6.0

xml
DotJoshJohnson
1.7.0

we-app-vscode
emeryao
0.6.0

beautify
HookyQR
1.0.2

NodeAssertionSnippets
jaymorrow
0.1.0

vscode-exec-node
miramac
0.4.1

node-modules-resolve
naumovs
1.0.2

emoji
Perkovec
0.0.3

partial-diff
ryu1kn
0.2.0

vscode-hexdump
slevesque
1.2.1

expresssnippet
vladmrnv
0.1.0

JavaScriptSnippets
xabikos
1.4.0

Steps to Reproduce:

click File option in the title bar
choose "Open File" , "Save as" or "Open Directory"
the dialog box doesn't appear.

Is there anything in the devtools' console? (Help > Toggle Developer Tools)

Does this always occur or only in some cases? Could start with code --disable-extensions and confirm the problem is still there?

@Kylinking with other tools do the dialogs open without issues?

I have tried serveral applications with the same operations. There may be some problems with the latest Windows preview version. It looks like a general problem with dialog operations in some third applications, even the Microsoft series( VS and VSC).

Closing as this is not under our control.


(FACT-1075) Tests

(FACT-1075) Add show-legacy acceptance tests
Adds tests confirming show-legacy outputs all facts identified as hidden in the schema if they have values. Also adds tests that show-legacy with json and hash output print hidden facts.
(FACT-1075) Add tests for writing legacy facts
No unit tests existed for writing legacy (hidden) facts. Adds tests for writing hidden facts as json, yaml, and a hash.

@er0ck

:+1:

CLA signed by all contributors.


ImportError: Numba could not be imported

Reporting a bug

[ ] I am using the latest released version of Numba (most recent is visible in
the change log (https://github.com/numba/numba/blob/master/CHANGE_LOG).
[ ] I have included below a minimal working reproducer (if you are unsure how
to write one see http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports).

@fuaadkptiger thanks fo opening this. My guess would be, this was a duplicate of #5600

Hi Haenel,
The issue came up when I tried to use 'pyts' package for time series
classification. The following was the code I ran:
from pyts.image import GramianAngularField
https://pyts.readthedocs.io/en/stable/generated/pyts.image.GramianAngularField.html#pyts.image.GramianAngularField
ImportError: Numba could not be imported.
If you are seeing this message and are undertaking Numba development work,
you may need to re-run:
python setup.py build_ext --inplace
(Also, please check the development set up guide
http://numba.pydata.org/numba-doc/latest/developer/contributing.html.)
If you are not working on Numba development:
Please report the error message and traceback, along with a minimal
reproducer
at: https://github.com/numba/numba/issues/new
If more help is needed please feel free to speak to the Numba core
developers
directly at: https://gitter.im/numba/numba
Thanks in advance for your help in improving Numba!
The original error was: 'DLL load failed: The specified module could not be
found.'
If possible please include the following in your error report:
*The numba version I was using is the latest one (Numba 0.49). But it
worked when I reinstalled with numba 0.48 version. *
On Wed, Apr 22, 2020 at 12:48 PM Valentin Haenel<EMAIL_ADDRESS>wrote:

@fuaadkptiger https://github.com/fuaadkptiger thanks fo opening this.
My guess would be, this was a duplicate of #5600
https://github.com/numba/numba/issues/5600
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/numba/numba/issues/5610#issuecomment-617598316, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AM2RDUJY3BOZHFU7FZHJRGLRN2K5HANCNFSM4MN4MKYQ
.

--
Regards,
Fuaad KP
--
Disclaimer https://www.tigeranalytics.com/disclaimer/


Add files via upload

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
Homework_1: I added a png diagram of the logical model for two tables from the "farmers market" db.
Homework_2: Added code, updating homework_2.sql
Homework_3: Added code, updating homework_3.sql
Homework_4: Added code, updating homework_4.sql
Homework_5: Added code, updating homework_5.sql
Homework_6: Added text, updating homework_6.md
What did you learn from the changes you have made?
Homework_1: I learned to browse db with the "DB Browser for SQLite" and to draw diagrams with draw.io (also about the Ludcid web-based diagram builder).
Homework_2: I used in practice the "Fundamental three commands" (SELECT, FROM, WHERE), ORDER BY/LIMIT, CASE and (INNER) JOIN. All is cool, but I'm not getting one thing. WHY IS SQL SHOUTING? (lol)
Homework_3: usage of Aggregation functions (GROUP BY, COUNT, SUM, HAVING), temporary tables (TEMP TABLE), date (strfrtime modifers: %m and %Y)
Homework_4: How to substitute NULLs with the COALESCE(); to concatenate the columns into strings with "||"; some Windowed Functions, such as ROW_NUMBER() and DENSE_RANK; to manipulate string using SUBSTR and INSTR; and UNION (ALL)
Homework_5: JOIN and CROSS JOIN functions; creating, deleting, and inserting into tables; altering table with UPDATE and substituting NULs with COALESCE.
Homework_6: made me recall my previous experience as a BI analyst and current interpreter's work, and how I would like to implement best ethics practices in my future work.
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
Homework_1: I was hoping to import db tables and get the job done in fewer clicks. But I had to describe the table columns in the "import" section of draw.io (lucid wasn't better). Unless I missed the import aspect, the name of this functionality in the draw.io is misleading.
Homework_2: Apart from "forgiving" nature of SQL lite (e.g. optional ";" and "AS"), at this stage I can figure only one way (oh, Ruby...).
Homework_3: I thought the 4ht ("Date") assignment (get 'customer_id', 'month' and 'year' of every purchase in the 'customer_purchases') I could use the EXTRACT function instead. But I couldn't figure it.
Homework_4: as per the task, ROW_NUMBER() and DENSE_RANK() were used with a similar output.
Homework_5: in the last task there may be a way to update the current_quantity using JOIN, but I didn't have time to try it.
Homework_6: I am not sure I understood the question. I hope it was about my previous work experience. If it was about the class-work - I would have answered in a different way. E.g. referring to the last class with the talks on ethics/security and the presentation by Annie.
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
Homework_1: I wasn't sure about the table relations, but it seem to have clarified towards the end of the submission.
Homework_2: I couldn't consult the code we wrote during the class 1 and 2. But The PDFs were really helpful.
Homework_3: My typos would take a lot of time to debug the code)
Homework_4: Just the stress of postponing for too long.
Homework_5: the last part of the homework was really tough to comprehend.
Homework_6: keeping the size of the text in the limits. Not mentioning too many proper names. Checking up spelling (no hope for grammar, lol).
How were these changes tested?
Homework_1, 2, 3, 4, 5, 6 : I opened the link in another browser in safe/private mode.
A reference to a related issue in your repository (if applicable)
Homework_1, 2, 3, 4, 5, 6: n/a
Checklist

[*] I can confirm that my changes are working as intended

Good job!

For HW2, for where query task, in end use order by command, others good. ORDER BY market_date, vendor_id, product_id

Good Job for HW3.

Good job on HW4, Pass:)

HW5, HW6 Marked, Passed.

Assignment Missing.


Various bug fixes and minor cleanups

A couple patches to the mechanics of VideoStim and VideoFrameCollectionStim.
-Changed the get_frame method to only accept an onset argument on VideoStims, since this becomes ambiguous for VideoFrameCollectionStims anyways
-Updates to make the sampling more accurate (rounded at the appropriate moment) in the FrameSamplingFilter. Made it possible to perform upsampling, but took away the ability to sample on an already-sampled VideoFrameCollectionStim
Resolves #294
Resolves #298
Cherry picked some commits from #299.
-Resolves #290. Removes punctuation that count as tokens
-Small update to the speech_contexts argument for the GoogleSpeechAPIConverter
-Small fix for audio sampling rate if initialized from an existing clip
-Added functionality to ComplexTextStim to enable output to .srt files

Coverage decreased (-0.4%) to 93.795% when pulling e3ad263924da76a6230fdba13e4709af6d91a9a8 on bug-fixes into b4e3d1567c4f1aecf7c4d43789b1d09ffb340461 on master.


Item Menu Toggle

I have implemented the ability to switch between the old item menu and the new item menu as some people might like to use the old item menu.

You just edit the macro NEW_ITEM_MENU.

First, item menus should not be distinguished by new and old. The scrolling item menu is a feature that came with the very first Undertale (Japanese needs to be enabled) because Japanese item names are long.

Also I found a bug where you can't switch from slot 4 (bottom right) to slot 5 when the number of items is only 5.
Your idea is good, but not technically. A possible solution would be to separate slots and pages for large numbers of items (more than 4), instead of setting slot1->slot8.
That's why we rejected your PR. Hopefully you can provide a better solution.

Yeah, I should probably rename that.
It’s not a bug, I was just recreating exactly what was in undertale, but I can change it pretty easily if you want.
I could also add that if you want


refactor data providers into standalone module

This pull request refactors our Data Provider functionality into a standalone module that allows clients to leverage our DataProviders with testng automation.

@sebady I'm making changes and moving this to a branch.

closing and re-opening against new branch.


[FLINK-19530] Reorganise contents of Table API concepts

The PR involves the following changes -

Move dynamic tables, time attributes and joins page under a new unbounded data processing section
Rewrite and add new content to Dynamic Tables and Joins Page.
Move the Query Configuration inside the Dynamic Tables page.

I am going to do a proper review tomorrow but a few notes:

There is a merge conflict that needs to be resolved, please rebase on master
In general, please put the ticket in the commit message
Please move the files back to where they were. Everything under the streaming folder is relevant for unbounded processing and moving the files breaks links to our docs. I don't think there is any need for the additional subsection.

The FLIP-60 mentions a new section for unbounded data processing. I Will revert to older structure.


Error in console on HtmlInfoWindow setBackgroundColor

I'm submitting a ...  (check one with "x")
[ ] question
[x] any problem or bug report
[ ] feature request
The plugin version:  (check one with "x")
[x] multiple_maps branch
[ ] 2.0-beta3 (github)
[ ] 2.0 (npm)
If you choose 'problem or bug report', please select OS:  (check one with "x")
[x] Android
[x] iOS
cordova information:  (run $> cordova plugin list)
insert the output from the command here

If you use @ionic-native/google-maps, please show me the package.json
Current behavior:
An error appear in console;
class="pgm-html-info-tail-left" do not respect background color
Expected behavior:
No error in console
Set background color on whole HtmlInfoWindow
Steps to reproduce:
call setBackgroundColor on HtmlInfoWindow
Screen capture or video record:

Related code, data or error log (please format your code or data):
ERROR Error: Uncaught (in promise): TypeError: Cannot read property 'style' of undefined
TypeError: Cannot read property 'style' of undefined
    at HTMLInfoWindow.setBackgroundColor (HtmlInfoWindow.js:429)
    at l (vendor.js:1)
    at vendor.js:1
    at vendor.js:1
    at new t (polyfills.js:3)
    at vendor.js:1
    at A (vendor.js:1)
    at t.<anonymous> (vendor.js:1)
    at t.value [as setBackgroundColor] (vendor.js:1)
    at e.showInfoWindow (main.js:1)
    at HTMLInfoWindow.setBackgroundColor (HtmlInfoWindow.js:429)
    at l (vendor.js:1)
    at vendor.js:1
    at vendor.js:1
    at new t (polyfills.js:3)
    at vendor.js:1
    at A (vendor.js:1)
    at t.<anonymous> (vendor.js:1)
    at t.value [as setBackgroundColor] (vendor.js:1)
    at e.showInfoWindow (main.js:1)
    at c (polyfills.js:3)
    at new t (polyfills.js:3)
    at vendor.js:1
    at A (vendor.js:1)
    at t.<anonymous> (vendor.js:1)
    at t.value [as setBackgroundColor] (vendor.js:1)
    at e.showInfoWindow (main.js:1)
    at e._next (main.js:1)
    at e.__tryOrUnsub (vendor.js:1)
    at e.next (vendor.js:1)

Do you use multiple_maps branch? If so, wait. I know the reason.

Yes, i am on multiple_maps branch

Fixed.


Build system refactoring

Ready for review. @raduom , please test on Mac OS.

Ready for review. @raduom , please test on Mac OS.

I had to add
#define __MATH_LONG_DOUBLE_CONSTANTS

in floattest.cpp

I will make a separate pull request to get Mac OS working, then. @bmmoore or @theo25 , can you review?

That's a very good catch! We weren't catching it during testing because the kframework binary package depends on opam which recommends ocaml which depends on libtinfo-dev. I updated the install instructions and will merge when the tests pass, then I will try to fix the cause of the bug in the testing infrastructure.


USD to SDF: some fixes

Signed-off-by: ahcorde<EMAIL_ADDRESS>🦟 Bug fix
Summary
Fixed

Link, we were using the copy of the link not the reference
Link scale
cylinder collision scale
path to get the transforms

Checklist

[ ] Signed all commits for DCO
[ ] Added tests
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[ ] codecheck passed (See contributing)
[ ] All tests passed (See test coverage)
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

Codecov Report

Merging #991 (90f04f0) into sdf12 (a593db2) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 90f04f0 differs from pull request most recent head a919394. Consider uploading reports for the commit a919394 to get more accurate results

@@           Coverage Diff           @@
##            sdf12     #991   +/-   ##
=======================================
  Coverage   65.38%   65.38%
=======================================
  Files           2        2
  Lines          26       26
=======================================
  Hits           17       17
  Misses          9        9

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 a593db2...a919394. Read the comment docs.

@osrf-jenkins retest this please


Fix playground

Playground was not working with various incomprehensible errors being thrown in the browser.
After some debugging I figured it could be because of .wasm compilation issues caused by tree-sitter-cli and emscripten versions mismatch. See more on emscripten versions required
Also, I've added start.sh that starts a simple python http.server and opens a default browser.

Yeah, npm run playground does the same job.
However, I've seen you have playground folder and files in that folder became outdated and it doesn't work. So maybe it's worth removing playground folder to avoid confusion and just keep you npm run playground script?

@ilyakochik: Yes, it does. I'd like to remove such obsoleted files (https://github.com/takegue/tree-sitter-sql-bigquery/pull/109)
Sorry for troubling you and thanks for reporting!


Unable to create an event emitter using Codegen

Description
I am trying to create a library using TurboModules that can handle events emitted at a random pace. I have events from a Bluetooth Heart Rate Monitor that can come in at a random pace. Using the old architecture I was able to use RCTEventEmitter but there seems to be no equivalent in the new arch. My codegen interface looks like this.
import type { TurboModule } from 'react-native';
import { TurboModuleRegistry } from 'react-native';
import type { DirectEventHandler } from 'react-native/Libraries/Types/CodegenTypes';

export interface Spec extends TurboModule {
  multiply(a: number, b: number): number;
  add(a: number, b: number): number;
  randomEvent?: DirectEventHandler<number>;
}

export default TurboModuleRegistry.getEnforcing<Spec>('RtmPedometer');

But trying to run Codegen when I have DirectEventHandler written here just creates errors. If I remove it everything works great.
If there is another way to add event emitters under the new arch please let me know but it doesn't seem to be documented anywhere
The legacy documentation actually outlines how to do this really well https://reactnative.dev/docs/native-modules-android#sending-events-to-javascript . I don't know why the new arch docs don't explain this at all. It's pretty important to native module integrations.
UPDATE: I tried to use RCTResponseSenderBlock instead in the hope I could call a callback whenever a new event took place. Unfortunately it crashes the app and says I cannot call these more then once. There doesn't seem to be a way to manage events anywhere in the documentation either through event emitting or through callbacks
Documentation version
Version: 0.70.0
Link to Resource: https://reactnative.dev/docs/next/new-architecture-library-intro#codegen-helper-types

Ok

Related to https://github.com/facebook/react-native/issues/35488


update bert-hf fp32 results for 1x1 and 2x8

training logs:
bert_hf-nvidia-1x1-fp32.zip
bert_hf-nvidia-A100-2x8-fp32.zip


Remove no longer used autoscaling modes for {gardener,kube}-apiserver

How to categorize this PR?

/area control-plane
/area auto-scaling
/kind cleanup
What this PR does / why we need it:
The HVPA and HVPAForShootedSeeds were deprecated and locked to false with #10659, and the  VPAAndHPAForAPIServer  and VPAForETCD feature gates were promoted to GA and locked to true in #10599. Those PRs did not remove code which was essentially not used anymore as the VPAAndHPA remained the only autoscaling mode that could be used (out of VPAAndHPA, HVPA and Baseline)
This PR cleans up the autoscaling for {gardener,kube}-apiserver by removing the no-longer used code and also removing the AutoScalingMode enum. With this the only way the apiserver is scaled is by having both HPA and VPA configured on the same metric.
I will open separate PRs that will:

Cleanup the autoscaling code for ETCD
Add logic to clean up HVPA CRDs and CRs from clusters - imho this should be kept until after gardener v1.109.0 has been released as the HVPA feature gate was locked to false in gardener v1.106.0
Remove the deprecated HVPA and HVPAForShootedSeed featuregates and update docs
Remove the promoted VPAForETCD and HVPAAndHPAForApiserver feature gates and update docs

Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Keeping this as draft until I open the other PRs.
/cc @ialidzhikov @voelzmo
Release note:

The `Baseline` and `HVPA` autoscaling modes (which are unconditionally disabled since v1.105.0) are removed for `{gardener,kube}-apiserver`. Before updating to this version of Gardener, make sure that you upgraded to v1.106.0 and all Seed and Garden resources reconciled with that version.

/assign

/hold
until v1.108.0 is released

/hold cancel
as https://github.com/gardener/gardener/pull/10836 is merged

/retest

/retest

/test pull-gardener-e2e-kind-operator-seed

Failure reason for pull-gardener-e2e-kind-operator-seed:
Starting post-deploy hooks...
⏳ Checking last operation state and conditions for garden/local...
❌ ERROR: Last operation state not 'Succeeded' or VirtualComponentsHealthy not met for garden/local after 600 seconds.

    - lastTransitionTime: "2024-11-14T08:03:56Z"
      lastUpdateTime: "2024-11-14T08:03:56Z"
      message: 'Deployment "garden/gardener-extension-admission-local" is unhealthy:
        observed generation outdated (0/1)'
      reason: DeploymentUnhealthy
      status: Progressing
      type: RuntimeComponentsHealthy

/test pull-gardener-e2e-kind-operator-seed


Speedup AbstractCoalescingBufferQueue::remove

Motivation:
AbstractCoalescingBufferQueue::remove is performing slow-path type check against ByteBuf's to check if it's of type ChannelFutureListener
Modifications:
Performing concrete type checks to speedup performing the right decision on which type the element belong
Result:
Fixes one of the cases at #13745

This is fixing this case
--------------------------
8:      io.netty.buffer.UnpooledSlicedByteBuf
Count:  40123310
Types:
        io.netty.channel.ChannelFutureListener
Traces:
        io.netty.channel.AbstractCoalescingBufferQueue.remove(AbstractCoalescingBufferQueue.java:157)
                class: io.netty.channel.ChannelFutureListener
                count: 40123310
--------------------------

but it introduces 2 changes:

the number of casts is now increased (but ChannelFutureListener type check shouldn't really happen, for real, anymore)
we don't die anymore due to ClassCastException if the queue's element isn't ChannelFutureListener or ByteBuf

@normanmaurer this is one of the cases which should work fine with https://github.com/netty/netty/issues/13745#issuecomment-1866031400, but it requires JDK 22.
The impact now is visible in some profiling data
eg

the violet part is the remove, which in theory should be super cheap, but its cost is due to:

the mentioned slow path type check
the synchronized block at https://github.com/netty/netty/blob/ba804498ac1baf4da91275326eeba45552ab6ebf/common/src/main/java/io/netty/util/concurrent/DefaultPromise.java#L181 (it's running against JDK 21 which doesn't have biased locking anymore...)

As said earlier, this change is mostly a low hanging fruit which speedup an already cheap but visible operation, so feel free to reject if the change make the code too much complex if compared to what it is now.

I wonder if we can make the listener/wait/notify thing more efficient, with biased locking gone. I made an attempt a few years ago with #11799, but that was rather complicated and did not address the addListener0 locking.

@normanmaurer FYI
I've run some profiling sessions to see how much this have impacted, and the saving in term of CPU cycles is interesting
before:

this this pr:

the io/netty/channel/CoalescingBufferQueue.remove part has moved from 191 samples to 85 samples, which is a 2X speedup, which in the global picture looks like...from this:

to this:

That's reducing the global cost of it from ~5% to ~2%; it's not a huge win, but is a free lunch, still


Max re-subscribing interval?

Is there a maximum re-subscribing interval used? It was not obvious to me looking at the source code.
2024-01-21 10:11:46 matter-server chip.DMG[1] ERROR Failed to establish CASE for re-subscription with error 'src/protocols/secure_channel/CASESession.cpp:553: CHIP Error 0x00000032: Timeout'
2024-01-21 10:11:46 matter-server matter_server.server.device_controller.[node 4][1] INFO Previous subscription failed with Error: 50, re-subscribing in 2222147 ms...
The above is a wait for 37 minutes and if the next attempt results in even a longer retry interval, it could start to get painful.
In the code it looks like this is the setup for the interval:
        node_logger.info("Setting up attributes and events subscription.")
        interval_floor = 0
        interval_ceiling = (
            random.randint(60, 300) if battery_powered else random.randint(30, 120)
        )

What are the units for these numbers? Seconds / Minutes?
Are these the numbers used as a based for the "re-subscribing in X ms"?

we are currently relying on the sdk for resubscriptions but it does not have a good implementation for operational node discovery. So in case of an offline node it starts polling and increases the interval to insane heights.
We are going to change this behavior soon and do our own mdns discovery of operational nodes.
Until then: do not power off matter nodes ;-)


File not found

static/img/header.jpg

referenced in staticfiles/css/creative.css: line 181

I will take a look; acknowledged.


Drupal created an alias for users when changing mailchimp subscription status

I discovered that I could batch change Land Portal user information in Drupal, including whether or not users are subscribed to the newsletter. I had realized it was a problem, and that perhaps a great many people were not subscribed to the newsletter. I batch subscribed all those marked as using the English interface as a subscribed to the English newsletter (presumably connected to mailchimp). This seemed to be working, but when finished, I said it created an alias for each user with a -0 at the end. I don't see any reason why an alias would need to be created for everyone simply because we were updated a subscription preference. This is the bug, as now apparently we have nearly 1000 uneccessary aliases for Land Portal users.

for the record there was 39 aliases involved.
It have been cleanup


Question about future work (tag sub-entity of the same class)

Thank you for your article.
I am solving a nested ner task for clinical notes and using similar architecture with some additions like contrastive learning etc.
So I have the same problem with nested entities of the same type. What’s your idea for a solution?
Any suggestions would be helpful for me.

There are few approaches to nested NER listed below. I hope you will find them helpful. I believe some of them handle nested entities of same type.

Shibuya, T., & Hovy, E. (2020). Nested Named Entity Recognition via Second-best Sequence Learning and Decoding. Transactions of the Association for Computational Linguistics, 8, 605–620. https://doi.org/10.1162/TACL_A_00334

Katiyar, A., & Cardie, C. (2018). Nested named entity recognition revisited. Proceedings of the NAACL HLT 2018, 1, 861--871. https://doi.org/10.18653/v1/n18-1079

WANG, J., Shou, L., Chen, K., & Chen, G. (2020). Pyramid: A Layered Model for Nested Named Entity Recognition. Proceedings of the ACL 2020, 5918--5928. https://doi.org/10.18653/v1/2020.acl-main.525

Sohrab, M. G., & Miwa, M. (2020). Deep exhaustive model for nested named entity recognition. Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, EMNLP 2018. https://doi.org/10.18653/v1/d18-1309

Ju, M., Miwa, M., & Ananiadou, S. (2018). A Neural Layered Model for Nested Named Entity Recognition. NAACL HLT 2018 - 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies - Proceedings of the Conference, 1, 1446–1459. https://doi.org/10.18653/V1/N18-1131

So approaches from this articles handle nested entities of the same type, but main question is “Can we handle entities of the same type using architecture from your article with some additions (and what additions)?” without changing architecture to a pyramid network or span-based network.

We have shared task for Wojood NER and the results will be published in ArabicNLP/EMNLP 2023. In the shared task I believe some participants handled nested entity mentions with same type.


add time-tune to tinytask

execute task with slid, like Scheduled.initialDelay

rate - first time on this jvm
idle - first time on this jvm
cron - each time
tune - can be negative

change schema revision=2021_1026_02L


HV-1739 - HV-1740 - Assorted changes related to @SafeHtml

Is there any recommended replacement for the now deprecated SafeHtml annotation?

I'm long overdue on the announcement, will write something tomorrow.


Feature/sdl 0269 new vehicle data climate data

Implements https://github.com/smartdevicelink/rpc_spec/issues/215
This PR is [not ready] for review.
Summary
Add new vehicle data ClimateData
CLA

[x] I have signed the CLA

@atiwari9 please review this PR

Approved contingent on successful test pass of https://github.com/smartdevicelink/sdl_atf_test_scripts/pull/2491

@JackLivio This PR is ready for Livio review. Thank you!


New feedback pattern for eQ

There is a new feedback pattern to be implemented in eQ. Currently eQ is using the current patten as documented on the service manual here. This uses the feedback call to action component which links to another page with a feedback form to fill in.
The new pattern shown in this overflow. This moves the feedback form from being on its own page to being inside what is now the call to action. This was decided because users were found to be more likely to fill in the feedback form if it was on the thank you page rather than if they had to navigate via the link to another page.
Because of this the documentation in the service manual will need to be updated and the component in the DS will need to be updated. As this component is only used by eQ and that pattern will no longer be used I think we should remove the component and add a feedback pattern instead which will show the user what the feedback form will look like and how to implement it.

eQ user research outcomes - https://confluence.ons.gov.uk/pages/viewpage.action?pageId=133930302#SatisfactionScale&signingupforresearch-mandatory
Findings from the UR sessions that this pattern was tested in
https://confluence.ons.gov.uk/display/SDC/17+May+2022
https://confluence.ons.gov.uk/pages/viewpage.action?pageId=77301090


Account type free.

Account Type:   free
Data Limit:<PHONE_NUMBER> GiB
License Key:    vK70R9y5-w78Rua30-2s418mTN
How do  I get this to generate plus unlimited keys?

This isn't a bug, You can't generate Warp+ keys with unlimited traffic, but you can generate keys with very high limits.

How do I change to generate those Warp+ keys?

This program generates Warp+ Key with 1.92EB of traffic by default, which is enough in most cases.

The principle of this program is that Warp+ users get 1GB of traffic for every person they invite, and this program generates a lot of fake invitations to get a large quota.
That's why it is shown as "Free key".


Summery not clear

[Enter feedback here]
Azure DNS resolves public DNS; public websites and such.  When I read this marketing explanation it almost confuses me and for any business entity looking to move their on-prem. DNS to Azure, this will turn them off and your Azure adoption rate will drop.

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

ID: 56c25cb6-7add-579e-a928-c61b83e1c58f
Version Independent ID: b323fd56-255d-0924-b4b2-967cc66619df
Content: What is Azure DNS?
Content Source: articles/dns/dns-overview.md
Service: dns
GitHub Login: @rohinkoul
Microsoft Alias: rohink

@rohinkoul Thanks for the feedback !  I have assigned this issue to content author to investigate and update the document as appropriate.

This statement must have been removed from the article. I don't see it.  Sorry for the long delay addressing this.


Recompile plugin with steampipe-plugin-sdk v5.10.0 and add support for connection key columns

Closing the PR in favor of steampipe-plugin-sdk v5.10.3


SPIFFS: mount failed, -10025 (IDFGH-4702)

Environment

Development Kit:     [ESP32-DevKitC]
Kit version  [v1]
Module or chip used:  [ESP32-WROOM-32]
IDF version :v4.3-dev-2940-g6e776946d
Build System:         [idf.py]
Compiler version: xtensa-esp32-elf-gcc (crosstool-NG esp-2020r3) 8.4.0
Operating System: Windows
(Windows only) environment type: Plain Command Prompt.
Using an IDE?: Yes eclipse
Power Supply:    USB

Problem Description
SPIFFS flash success to write but unable to be mounted.
Expected Behavior
SPIFFS flash should be mounted without api flashing as is already flash using mkspiffs.
Actual Behavior
SPIFFS flash only mounted once the spi flash formatted in esp_vfs_spiffs_register api. consequence restating esp32 does not formatting the flash again as expected.
Steps to reproduce

Create new project using spiffs template with default config and partitions_example.csv.
run mkspiffs.exe -c data -b 4096 -p 256 -s 0xF0000 spiffs.bin in the main project folder.
run esptool --chip esp32 --port com6 --baud 115200 write_flash 983040 spiffs.bin --flash_mode dio
build project and observe terminal result:

Debug Logs
I (28) boot: ESP-IDF v4.3-dev-2940-g6e776946d 2nd stage bootloader
I (29) boot: compile time 13:12:16
I (29) boot: chip revision: 1
I (33) boot_comm: chip revision: 1, min. bootloader chip revision: 0
I (40) boot.esp32: SPI Speed      : 40MHz
I (45) boot.esp32: SPI Mode       : DIO
I (49) boot.esp32: SPI Flash Size : 2MB
I (54) boot: Enabling RNG early entropy source...
I (59) boot: Partition Table:
I (63) boot: ## Label            Usage          Type ST Offset   Length
I (70) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (77) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (85) boot:  2 factory          factory app      00 00 00010000 00100000
I (92) boot:  3 storage          Unknown data     01 82 00110000 000f0000
I (100) boot: End of partition table
I (104) boot_comm: chip revision: 1, min. application chip revision: 0
I (111) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=065e0h ( 26080) map
I (129) esp_image: segment 1: paddr=00016608 vaddr=3ffb0000 size=02b4ch ( 11084) load
I (134) esp_image: segment 2: paddr=0001915c vaddr=40080000 size=00404h (  1028) load
I (137) esp_image: segment 3: paddr=00019568 vaddr=40080404 size=06ab0h ( 27312) load
I (156) esp_image: segment 4: paddr=00020020 vaddr=400d0020 size=1914ch (102732) map
I (193) esp_image: segment 5: paddr=00039174 vaddr=40086eb4 size=04674h ( 18036) load
I (207) boot: Loaded app from partition at offset 0x10000
I (207) boot: Disabling RNG early entropy source...
I (218) cpu_start: Pro cpu up.
I (218) cpu_start: Starting app cpu, entry point is 0x40080f8c
I (0) cpu_start: App cpu up.
I (233) cpu_start: Pro cpu start user code
I (233) cpu_start: cpu freq: 160000000
I (233) cpu_start: Application information:
I (237) cpu_start: Project name:     spiffs
I (242) cpu_start: App version:      1
I (247) cpu_start: Compile time:     Feb  7 2021 13:13:28
I (253) cpu_start: ELF file SHA256:  acad00a83994dc73...
I (259) cpu_start: ESP-IDF:          v4.3-dev-2940-g6e776946d
I (265) heap_init: Initializing. RAM available for dynamic allocation:
I (272) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (278) heap_init: At 3FFB3380 len 0002CC80 (179 KiB): DRAM
I (285) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (291) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (297) heap_init: At 4008B528 len 00014AD8 (82 KiB): IRAM
I (305) spi_flash: detected chip: generic
I (308) spi_flash: flash io: dio
W (312) spi_flash: Detected size(4096k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
I (326) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (336) example: Initializing SPIFFS
W (356) SPIFFS: mount failed, -10025. formatting...
I (8326) example: Partition size: total: 896321, used: 0
I (8326) example: Opening file

I have to change the partition from default to bytes, add flash size configuration in the config and run the flash again and it works. those closing this issue


feat(kv): update kv impl

:tada: This PR is included in version 1.0.0-alpha.6 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Retry logic is not working properly

2021-11-11 03:16:08,885 Error [agora.utils.Utility] - Exception happened while trying to get validator addresses: Bad Gateway
2021-11-11 03:16:09,409 Error [agora.utils.Utility] - Exception happened while trying to get validator addresses: Bad Gateway
2021-11-11 03:16:09,410 Error [agora.utils.Utility] - Exception happened while trying to get validator addresses: Bad Gateway
2021-11-11 03:16:09,410 Error [agora.utils.Utility] - Exception happened while trying to get validator addresses: Bad Gateway
2021-11-11 03:16:09,410 Error [agora.utils.Utility] - Exception happened while trying to get validator addresses: Bad Gateway
2021-11-11 03:16:09,411 Error [agora.utils.Utility] - Exception happened while trying to get validator addresses: Bad Gateway
2021-11-11 03:16:09,411 Error [agora.utils.Utility] - Exception happened while trying to get validator addresses: Bad Gateway
2021-11-11 03:16:09,411 Error [agora.utils.Utility] - Exception happened while trying to get validator addresses: Bad Gateway
2021-11-11 03:16:09,412 Error [agora.utils.Utility] - Exception happened while trying to get validator addresses: Bad Gateway
2021-11-11 03:16:09,412 Error [agora.utils.Utility] - Exception happened while trying to get validator addresses: Bad Gateway
2021-11-11 03:16:09,412 Error [agora.utils.Utility] - Exception happened while trying to get validator addresses: Bad Gateway
2021-11-11 03:16:09,413 Error [agora.utils.Utility] - Exception happened while trying to get validator addresses: Bad Gateway
2021-11-11 03:16:09,413 Error [agora.utils.Utility] - Exception happened while trying to get validator addresses: Bad Gateway
2021-11-11 03:16:09,413 Error [agora.utils.Utility] - Exception happened while trying to get validator addresses: Bad Gateway
2021-11-11 03:16:09,413 Error [agora.utils.Utility] - Exception happened while trying to get validator addresses: Bad Gateway

I have the following log, there is no problem I think;
2021-11-18 09:12:01,940 Error [agora.utils.Utility] - Exception happened while trying to get validator addresses: Failed to connect to <IP_ADDRESS>:3426: refused
2021-11-18 09:12:01,941 Error [agora.utils.Utility] - Exception happened while trying to get validator addresses: Failed to connect to <IP_ADDRESS>:3426: refused
2021-11-18 09:12:01,941 Error [agora.utils.Utility] - Exception happened while trying to get validator addresses: Failed to connect to <IP_ADDRESS>:3426: refused
...
2021-11-18 09:12:06,940 Error [agora.utils.Utility] - Exception happened while trying to get validator addresses: Failed to connect to <IP_ADDRESS>:3426: refused
2021-11-18 09:12:06,941 Error [agora.utils.Utility] - Exception happened while trying to get validator addresses: Failed to connect to <IP_ADDRESS>:3426: refused
2021-11-18 09:12:06,941 Error [agora.utils.Utility] - Exception happened while trying to get validator addresses: Failed to connect to <IP_ADDRESS>:3426: refused

There should be a delay between retries, as configured with retry_delay:
https://github.com/bosagora/agora/blob/9d7369dc6dd96d96f9da19b7d6b60b39cd59b770/doc/config.example.yaml#L24-L26


Delete unused Javascript Files in Public

Currently Gatsby still creates the javascript files in public even though they are unused.
It would be great if the plugin would make sure that they do not get created or it deletes them afterwards automatically.

@marvinrabe
This feature would need some more research to see if it is possible, I know we have access to change Gatsby's Webpack configuration through some of the APIs but I'm not sure what an implementation for this would look like right now.

Having looked into this a little more one solution would be to simply delete the files at the end of the build process using the onPostBuild node hook https://www.gatsbyjs.org/docs/node-apis/#onPostBuild.
Simply deleting the files after does not seem ideal though, it would be great if we could figure out a way to modify Gatsby's webpack configuration to never include these Gatsby scripts in the first place. This approach would also have the added benefit of being able to delete some of the code already written in this plugin such as implementations of onRenderBody and onPreRenderHTML SSR hooks.


Adds target status code to HTTP client retry method

This PR adds the ability to pass an additional argument to the retry method called "$targetStatusCode", see below:
Http::retry(5, 1000, targetStatusCode: 200)->get('http://example.com');

The reason for this addition is that the current logic uses $response->successful() which quite rightly returns true if the status code is between 200 and 299.
This doesn't work if you are polling an endpoint and you're expecting a specific status code within the successful region, ie. 200-299, such as a 200 OK but the endpoint returns a 202 Accepted for example until the endpoint is ready to return its response.

This PR's tests fail and it changes a method signature which is a breaking change. Please send this to master with passing tests. Thanks.


Extension install can be corrupted due to cleanup while extension is installing

Does this issue occur when all extensions are disabled?: No, related to extension installation

VS Code Version:
Version: 1.78.0 (Universal)
Commit: 252e5463d60e63238250799aef7375787f68b4ee
Date: 2023-05-03T20:11:00.813Z
Electron: 22.4.8
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: <IP_ADDRESS>-electron.0
OS: Darwin arm64 22.4.0
Sandboxed: No
OS Version: macOS 13.3.1 connected to a codespace

Steps to Reproduce:

Have a large extension setup to sync via Settings Sync. I've been able to reproduce this with Copilot and Copilot Nightly so far.
Create a codespace
🐛 The Copilot extension installs, but it's missing some files and fails to activate

2023-05-05 21:30:05.044 [info] ExtensionService#_doActivateExtension GitHub.copilot-nightly, startup: false, activationEvent: 'onStartupFinished'
2023-05-05 21:30:05.049 [error] Activating extension GitHub.copilot-nightly failed due to an error:
2023-05-05 21:30:05.049 [error] Error: Cannot find module '/home/codespace/.vscode-remote/extensions/github.copilot-nightly-1.85.76/dist/extension'
Require stack:
- /vscode/bin/linux-x64/252e5463d60e63238250799aef7375787f68b4ee/out/vs/loader.js
- /vscode/bin/linux-x64/252e5463d60e63238250799aef7375787f68b4ee/out/bootstrap-amd.js
- /vscode/bin/linux-x64/252e5463d60e63238250799aef7375787f68b4ee/out/bootstrap-fork.js
	at Function.Module._resolveFilename (node:internal/modules/cjs/loader:956:15)
	at Function.Module._load (node:internal/modules/cjs/loader:804:27)
	at Function.b._load (/vscode/bin/linux-x64/252e5463d60e63238250799aef7375787f68b4ee/out/vs/workbench/api/node/extensionHostProcess.js:127:29948)
	at Function.h._load (/vscode/bin/linux-x64/252e5463d60e63238250799aef7375787f68b4ee/out/vs/workbench/api/node/extensionHostProcess.js:127:26698)
	at Function.I._load (/vscode/bin/linux-x64/252e5463d60e63238250799aef7375787f68b4ee/out/vs/workbench/api/node/extensionHostProcess.js:91:24489)
	at Module.require (node:internal/modules/cjs/loader:1028:19)
	at require (node:internal/modules/cjs/helpers:102:18)
	at Function.i [as __$__nodeRequire] (/vscode/bin/linux-x64/252e5463d60e63238250799aef7375787f68b4ee/out/vs/loader.js:5:98)
	at v.rb (/vscode/bin/linux-x64/252e5463d60e63238250799aef7375787f68b4ee/out/vs/workbench/api/node/extensionHostProcess.js:127:27962)
	at async Promise.all (index 0)

I've verified that the files on disk are only partially there for the extension. Manually inspecting the VSIX content shows that there are more files that are not present on disk. Note in the screenshot below that there is no extension.js file on disk.

Looking at the extension extraction trace logs, it looks like the issue is that the temporary generated folder which is being used for the Copilot extension extraction is deleted in the middle of the extraction process. This deletes the files that were initially extracted. The folder is then recreated almost immediately as additional files are extracted. The result is that the extension install is corrupted with some of the earlier extracted files missing.
2023-05-05 21:46:54.415 [trace] Started extracting the extension from /home/codespace/.vscode-remote/extensionsCache/github.copilot-nightly-1.85.76 to /home/codespace/.vscode-remote/extensions/.005916ee-49f5-4c1a-86f4-648769425c03
...
2023-05-05 21:46:54.425 [trace] [File Watcher (node.js)] [raw] ["rename"] .005916ee-49f5-4c1a-86f4-648769425c03
...
2023-05-05 21:46:54.538 [trace] [File Watcher (node.js)] [ADDED] /home/codespace/.vscode-remote/extensions/.005916ee-49f5-4c1a-86f4-648769425c03
...
2023-05-05 21:46:54.539 [trace] [File Watcher (node.js)] >> normalized [ADDED] /home/codespace/.vscode-remote/extensions/.005916ee-49f5-4c1a-86f4-648769425c03
...
2023-05-05 21:46:56.053 [trace] ExtensionManagementService#removeGeneratedFolders
...
2023-05-05 21:46:56.058 [trace] Deleting the generated extension folder file:///home/codespace/.vscode-remote/extensions/.005916ee-49f5-4c1a-86f4-648769425c03
...
2023-05-05 21:46:56.281 [trace] [File Watcher (node.js)] [DELETED] /home/codespace/.vscode-remote/extensions/.005916ee-49f5-4c1a-86f4-648769425c03
...
2023-05-05 21:46:56.357 [trace] [File Watcher (node.js)] >> normalized [DELETED] /home/codespace/.vscode-remote/extensions/.005916ee-49f5-4c1a-86f4-648769425c03
...
2023-05-05 21:46:57.227 [trace] [File Watcher (node.js)] [raw] ["rename"] .005916ee-49f5-4c1a-86f4-648769425c03
2023-05-05 21:46:57.329 [trace] [File Watcher (node.js)] [ADDED] /home/codespace/.vscode-remote/extensions/.005916ee-49f5-4c1a-86f4-648769425c03
2023-05-05 21:46:57.404 [trace] [File Watcher (node.js)] >> normalized [ADDED] /home/codespace/.vscode-remote/extensions/.005916ee-49f5-4c1a-86f4-648769425c03
...
2023-05-05 21:47:04.354 [info] Extracted extension to /home/codespace/.vscode-remote/extensions/.005916ee-49f5-4c1a-86f4-648769425c03: github.copilot-nightly
2023-05-05 21:47:04.394 [info] Renamed to /home/codespace/.vscode-remote/extensions/github.copilot-nightly-1.85.76
2023-05-05 21:47:04.407 [trace] [File Watcher (node.js)] [raw] ["rename"] .005916ee-49f5-4c1a-86f4-648769425c03
2023-05-05 21:47:04.410 [trace] [File Watcher (node.js)] [raw] ["rename"] github.copilot-nightly-1.85.76
2023-05-05 21:47:04.430 [info] Extracting extension completed. github.copilot-nightly

This might be related to the cleanup code that was added back in February in https://github.com/microsoft/vscode/pull/173484. cc @sandy081

This is caused by https://github.com/microsoft/vscode/pull/176663/files#diff-ea2598061ccd634fa22f0e32765b8ea0e2a659d81ebb758278aaa31a76a43feeR239 that delayed extension clean up to later in time.

@sandy081 I don't think the repo matters very much, but I was able to reproduce on a small sample repo jkeech/simple-server using a 2-core codespace. I've also heard multiple internal reports of this happening on GitHub's much larger monorepo. In both cases, the Copilot extension which is being installed is brought in by Settings Sync, and it's such a large extension that I think it's more likely to run into this timing issue since it takes a few seconds to extract.

I tried to repro it with couple of repos and it did not happen to me. I know when it can happen and I have the fix. But I would like to know if there is a consistent way to repro it so that I can verify the fix.
BTW I tried reproing with your sample repo jkeech/simple-server and the bug did not happen to me.

Pushed a tactical fix for recovery - clean up task (deleting generated folders) only deletes the generated folders tagged with removal of extension.

To verify:

Using Insiders build

In Desktop, have GitHub Copilot nightly extension installed and synced using settings sync
Go to codespaces settings page, if you see settings sync option, enable it - https://github.com/settings/codespaces
Create a codespace on any repo and make sure GitHub Copilot nightly extension is installed and activated
Try above step on 2 to 3 or other repos.
In Desktop, install and uninstall any extension. Restart VS Code Insiders and make sure the extension is deleted in the disk. (Use command Open Extensions Folder)

Using Stable build

In Desktop, install and uninstall any extension. Restart VS Code and make sure the extension is deleted in the disk. (Use command Open Extensions Folder)

Verification failed on the Stable build

Can you please share shared process log while reproducing?

I confused restarting with reloading. VS Code Stable LGTM. I still need to verify Insiders.

@sandy081,
This is an old issue that happens on remote servers as well as locally.
See: #181246


Feature/prio question

This pull requests adds tests for LQPriorityQuestion and LQPriorityQuestionBuilder.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+2.3%) to 82.289%

Totals

Change from base Build<PHONE_NUMBER>:
2.3%

Covered Lines:
3127

Relevant Lines:
3800

💛  - Coveralls

Fixes #263


Clarifying spot check error messages

Pull Request instructions:

Please follow the update protocol
Answer the questions below in detail. Your responses will be emailed to experimenters.
If the experimenters must do anything new, provide detailed step by step instructions on the wiki
If computer maintainers need to manually update anything, provide detailed step by step instructions
Use markdown syntax in order for your comments to be rendered reliably in the email: "1." instead of "1)", use four spaces for indents.
If you use the keyword "skip email" in the title, it will skip the email updates
Merges from "develop" into "production_testing" should use the keyword "production merge" in the title for reliable indexing of updates
Merges from "production_testing" into "main" should use the keyword "update main"

Describe changes:
If the spot check fails, you will see this message.

Please verify that you didn't mis-type the measurement. Then repeat the spot check. If both spot checks fail, then do a full calibration of that solenoid.
This was already the policy, but I had failed to update the text when the spot check failed.
What issues or discussions does this update address?
https://github.com/AllenNeuralDynamics/aind-behavior-blog/issues/543
Describe the expected change in behavior from the perspective of the experimenter
See above
Describe any manual update steps for task computers
None
Was this update tested in 446/447?

[ ] tested in 447

@XX-Yin @hanhou This is ready for review


Deprecation warning for pip

Running docker build -t themisto:1.0 . issues a deprecation warning.
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.

The pip3 commands should be updated according to these instructions.

Submitted a new pull request on fixing deprecation warning for pip.


Bioschema controllers and API

[x] Add condition check in API to just fetch public models.
[x]  add "distribution" when available

already solved


Adding Veterinary subdomain for University of Agronomic Sciences and Veterinary Medicine of Bucharest

Institution/School Name
University of Agronomic Sciences and Veterinary Medicine of Bucharest
PDF showing emails are issued to students: {PDF}
Instiution/School Website
{Website URL}
Email Users
Please place an x between the square brackets if yes

[x] Students
[ ] Academic/Teaching Staff
[ ] Other/Support Staff
[ ] Alumni

Education Levels
Please place an x between the square brackets if yes

[x] Post-graduate research
[x] Graduate School
[x] College (University) or Undergraduate School or equivalent
[ ] Community College or equivalent
[ ] High School or equivalent
[ ] Elementary School or equivalent

@Shining0103 Thank you for your patience while waiting for a review and processing your request. Pull request merged.
Please start requesting the licenses in about an hour, to let the changes to propagate through our system.


FieldError when using custom user model

Django docs suggest to inherit custom user model from AbstractBaseUser class:
https://docs.djangoproject.com/en/1.8/topics/auth/customizing/#specifying-a-custom-user-model
AbstractBaseUser has an attribute "is_active" that is True by default (it's not a database field)
https://github.com/django/django/blob/master/django/contrib/auth/models.py#L199
In this case django-rest-framework-jwt throws an error "FieldError: Cannot resolve keyword 'is_active' into field." when trying to do authentication:
https://github.com/GetBlimp/django-rest-framework-jwt/blob/deea4ad14dfd4611fb19ad3cab133b8dd3e8959c/rest_framework_jwt/authentication.py#L55
Also token verifycation and refresh fail:
https://github.com/GetBlimp/django-rest-framework-jwt/blob/faa772c53efe7123776206fa0513d597c5e2c368/rest_framework_jwt/serializers.py#L115

Fixed here 48b2c086d71d485b75f100a83179324b7feb1ece. Checked for user.is_active instead of querying for it.

Had the same problem and your fixes worked well!

@timmy2702 great to hear!

May I know when will a new package be released with this fix?

@ianveshi We'll look into try to do so this week.

@jpadilla Thanks.


Support for SE/GW Translations

There currently is no built-in mechanism in the API for paragraph-by-paragraph translation lookup between SE and GW as is implemented in PEP-Web (it's not currently supported by PEP-Easy, only on PEP-Web, and this is SE/GW specific, though it could be applied elsewhere.)
Need to define API Endpoint for that, or a generalized version of that.

Thought: Basically, fetch a paragraph by the GW/SW paragraph ID (and could be made more general)

@bakerac4 @billdami @adistasio @napafundi
This is set in the server--all related paragraphs are indexed, and the links are in the returned XML and HTML
IN XML, para ID is SEA89a11 (referenced in GW), and this points to GW para: GWS123a18
There are, to be sure, numerous opponents of hypnosis who have formed their judgement in a more easy-going manner. They have not tested the new therapeutic method and employed it impartially and carefully, as one would, for instance, a newly recommended drug; they have
To translate this para, just call with your return format of choice:
.../v2/Documents/Concordance?paralangid=GWS123a18&return_format=XML
Likewise, same technique and attributes, translating from GW to SE.


Bug/Feature: Going back to home doesn't keep scroll

When opening specific notes (or threads), navigating back to the Home timeline resets the scroll to the top. It's king of annoying over time when you use the app a lot.
It would be nice to keep the scroll position
From a technical POV we should keep the timeline on memory (the entire screen probably). Not clear it from memory to be more precise. If we want to persist over re-opening of the app then a more sophisticated solution might be required, like keeping a reference of the note visible on the screen, for accounting of new notes that could appear between close and open.

This is already working with the latest changes on navigation of the new UI 👍


Stealthy e-magging

Description
It's still possible to e-mag doors bypassing the e-mag sound and visual effects.

Screenshots
https://cdn.discordapp.com/attachments/1090584863649824878/1090584864299950150/Space_Station_14_-_Corvax_Station_RU_2023-03-29_13-31-11.mp4
Additional context
Bug was found by Lomcastar, Corvax discord.

Fixed at some point.

Whoops, this was fixed by #25836


refactor(protocol): USDCAdaptor gas optimization

change to immutable

We do not want this to be immutable - but changeable - with upgrades.

Immutable can be changed with upgrades
On Sat, 30 Dec 2566 BE at 09:40 D @.***> wrote:

We do not want this to be immutable - but changeable - with upgrades.
—
Reply to this email directly, view it on GitHub
https://github.com/taikoxyz/taiko-mono/pull/15435#issuecomment-1872432933,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALHZG2W7TC6MSPDE7FHD5B3YL55K5AVCNFSM6AAAAABBG5CYMWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZSGQZTEOJTGM
.
You are receiving this because you were mentioned.Message ID:
@.***>

Immutable can be changed with upgrades

Well, yes and no at the same time.
Yes, because we could modify the logic to work, but no because the USDC (in your code) is not stored on storage slot 0.
Tho we would be able to change to a different address, the IUSDC public immuable USDC; as you proposed is not stored in slot 0, because the compiler does not allocate storage slot for immutable, but rather the __gap[0] would be on slot 0. And it would require to have __gap size on 50 (not 49) and use the gap later (if we want to change), so I think it is good as is, but thanks. Please keep contributing, and try to make it more meaningful. Tiny optimizations are helpful too, but we need to keep other considerations in mind.


Ensure that links to the spec are local

[x] This repo - #910
[x] Go:

[x] https://github.com/open-telemetry/opentelemetry-go/pull/2380
[x] #917

[x] Java:

[x] https://github.com/open-telemetry/opentelemetry-java/pull/3868
[x] #918

[x] Python:

[x] https://github.com/open-telemetry/opentelemetry-python/pull/2276
[x] #919

[x] Ruby:

[x] https://github.com/open-telemetry/opentelemetry-ruby/pull/1018
[x] #920

All done!


Looking forward to your updated complete code, thank you

Thanks for you interest in our work! The codes of our FastECG have been uploaded.


Build Karabo and it's dependencies against CUDA

After reading conda cuda builds, I think we should do the same (if I understood the article correctly, please correct me if I may have misunderstood something). This would have the following advantages I think:

We wouldn't rely on a specific toolkit-version where some users might have issues if they a gpu-driver which is not up to date (even though the minimum  required driver-version is only dependent on the major version of cuda-toolkit (see cuda compatibility).
We wouldn't have to worry about fixed-toolkit which could constrain us on which package & version we intend to include

This would imply changing the conda-build recipe of karabo and cuda-enabled packages of the Feedstock as well as changing the github-workflows and the dockerfiles.

Wouldn't this mean we'd have to test against all CUDA versions?
Using the oldest-possible CUDA versions means we're compatible with most drivers. That looks like a win. This proposal would result in Karabo crashes for users with out-of-date drivers.

If we can test against CUDA (which we don't do at the moment because the CI doesn't have GPUs), I think we shouldn't have to care about the toolkit-version because conda should identify the highest compatible version according to the documentation.

That's at least my understanding about the text written in conda cuda builds I've posted in the first comment.


add onUpdate in addition to onChange

redux-form unfortunately doesn't work with Belle's custom components. To be honest I haven't tried yet, but the only event we don't implement as far as I know is onChange. Here the issue: https://github.com/nikgraf/belle/issues/188
We decided to go for onUpdate as a standard rather than onChange. This is because using native events properly cross-browsers is hard to do and prune to many errors. On the other hand we didn't want to re-implement the custom event objects with all their details. We also decided against implementing an incompatible onChange behaviour. see a more detailed post here: https://github.com/nikgraf/belle/issues/58
Would you be willing to implement onUpdate next to onChange or is something you rather not have in there? I'm happy to submit a PR.
kind Regards

Sounds reasonable. Done. v1.7.0.

Wow, thank you very much :+1:


Create simple UPM packaging only pipelines for release publishing

The purpose of these pipelines is to package MRTK for public release (preview or official) once CI and testing has been completed.
They will form the artifact creation portion of the release pipelines.
To keep things simple (and to mirror existing pipelines), there is one for official releases and one for preview releases.
Once this change is merged, these pipelines will be enabled as part of the release process.

/azp run

/azp run


Add secure_random() and secure_random(lower,upper) Presto functions

https://github.com/facebookincubator/velox/issues/5762

Addressing the comments from https://github.com/facebookincubator/velox/pull/6085.
@aditi-pandit could you please review?

@aditi-pandit I renamed the test function name, could you help take another look when you have time?

@Yuhta @kagamiori : Please can you help with review and merge.

@Yuhta @kagamiori Could you please help review this PR? Thank you.

@Yuhta @kagamiori reping, thx

Hi @wills-feng it looks like we lost track of this change as it was never merged, could you rebase and update the PR?

@kevinwilfong Rebased the PR and all checks passed.

@wills-feng  it looks like the CI is failing, I see
2024-06-13T21:12:04.4353912Z /__w/velox/velox/velox/functions/prestosql/tests/RandTest.cpp:119: Failure
2024-06-13T21:12:04.4354576Z Expected: (result) < (std::numeric_limits<int64_t>::max()), actual:<PHONE_NUMBER>854775807) vs<PHONE_NUMBER>854775807
2024-06-13T21:12:04.4354819Z [  FAILED  ] RandTest.secureRandInt64 (0 ms)
in the logs
running with UBSan I see
velox/functions/prestosql/Rand.h:104:48: runtime error: signed integer overflow:<PHONE_NUMBER>854775807 - -9223372036854775808 cannot be represented in type 'long'
coming from velox/functions/prestosql/tests/RandTest.cpp:117
also
velox/functions/prestosql/Rand.h:104:48: runtime error: signed integer overflow: 0 - -9223372036854775808 cannot be represented in type 'long'
coming from velox/functions/prestosql/tests/RandTest.cpp:214

@kevinwilfong Ci is passed. Could you please take another look?


[Request]: A numeric state for how many devices are connected to guest network

this can be useful for each opened network, but the guest can be nice for automations

@CosticaPuntaru , interesting suggestion, thanks.
Will sensors of the number of connected clients in this branch be convenient for you?
P.S. sensors named *interface_stats* have additional attributes telling how many guest or hilink devices are connected to the specific interface

unfortunately, the Huawei mash network's guest mode it's completely retarded, it only turns guests on the primary router, and I can't have guests connected to it as the primary router is not in the living area, making my idea to use guests' device count unusable in my case, as I am forced to connect them to my main network,
the only thing I can do is have a list of my devices and count new connections, but this is not practical.
thx for the response and intention to help

@CosticaPuntaru
Yes, their implementation of the guest network is terrible. I have an idea how to get out of the situation, maybe it will work?


NetworkInfo().getWifiName();  gives null instead of Actual WiFi SSID in Android 14

Platform
Android 14
Plugin
network_info_plus
Version
5.0.3
Flutter SDK
3.19.6
Steps to reproduce
I have connected to WiFI Jarvis which have good internet connection.... When Look for that SSID using this package getting null
I have tried in the Other WiFiIOT package too that gives me
Code Sample
if (await Permission.locationWhenInUse.request().isGranted) {
                          // Check if connected to WiFi
                          var connectivityResult = await (Connectivity().checkConnectivity());
                          log("ConnectivityResult====> $connectivityResult");
                          var _net = NetworkInfo();
                          String? ssid = await _net.getWifiName();
                          log("SSID: $ssid");
                          if (connectivityResult[0] != ConnectivityResult.wifi) {
                            log("Wificonectionn====> false");
                          } else {
                            log("Wificonectionn====> true");
                            // Try to get the current WiFi SSID
                            String? currentWifi = await WiFiForIoTPlugin.getSSID();
                            log("SSID: $currentWifi");
                            if (currentWifi == "Jarvis") {
                              log("Device connected to Jarvis Wi-Fi!");
                            } else {
                              log("Device not connected to Jarvis Wi-Fi.");
                            }
                          }
                        } else {
                          log("Location permission denied");
                        }

Logs
[log] ConnectivityResult====> [ConnectivityResult.wifi]
[log] SSID: null
[log] Wificonectionn====> true
[log] SSID: <unknown ssid>
[log] Device not connected to Jarvis Wi-Fi.

Flutter Doctor
[✓] Flutter (Channel stable, 3.19.6, on macOS 14.3.1 23D60 darwin-arm64, locale en-IN)
• Flutter version 3.19.6 on channel stable at /Users/veerasivaraman/Documents/fluttersdk/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 54e66469a9 (7 weeks ago), 2024-04-17 13:08:03 -0700
• Engine revision c4cd48e186
• Dart version 3.3.4
• DevTools version 2.31.1

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at /Users/veerasivaraman/Library/Android/sdk
• Platform android-34, build-tools 34.0.0
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160)
• All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 15A507
• CocoaPods version 1.15.2

[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160)

[✓] VS Code (version 1.84.2)
• VS Code at /Users/veerasivaraman/Downloads/Visual Studio Code.app/Contents
• Flutter extension version 3.90.0

[✓] Connected device (4 available)
• SM E045F (mobile) • R9ZW90BCNHY • android-arm64 • Android 14 (API 34)
• iPad Pro (11-inch) (4th generation) (mobile) • D9078B58-9458-48A3-9898-C8EF4EEA128F • ios • com.apple.CoreSimulator.SimRuntime.iOS-17-0 (simulator)
• macOS (desktop) • macos • darwin-arm64 • macOS 14.3.1 23D60 darwin-arm64
• Chrome (web) • chrome • web-javascript • Google Chrome 125.0.6422.141
! Error: Browsing on the local area network for iPhone 4. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac.
The device must be opted into Developer Mode to connect wirelessly. (code -27)
! Error: Browsing on the local area network for iPhone 1. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac.
The device must be opted into Developer Mode to connect wirelessly. (code -27)
! Error: Browsing on the local area network for iPhone 2. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac.
The device must be opted into Developer Mode to connect wirelessly. (code -27)

[✓] Network resources
• All expected network resources are available.

• No issues found!

Checklist before submitting a bug

[X] I searched issues in this repository and couldn't find such bug/problem
[X] I Google'd a solution and I couldn't find it
[X] I searched on StackOverflow for a solution and I couldn't find it
[X] I read the README.md file of the plugin
[X] I'm using the latest version of the plugin
[X] All dependencies are up to date with flutter pub upgrade
[X] I did a flutter clean
[X] I tried running the example project

I am not able to fully understand your explanation.
For what I can see, network_info_plus returns null as SSID. What is the other plugin WiFiForIoTPlugin.getSSID() returning you? From your log it says <unknown ssid>, which doesn't look good either.
Do you have
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />

in your Android manifest?

Yes I have ACCESS_FINE_LOCATION permission in manifest. Even though I didn't get the SSID. I tried network_info_plus package first that gives me null, After that I tried wifi_iot packages that too give me <unknown ssid>
But When I this         android:requestLegacyExternalStorage="true"
in my manifest I'm able to get the SSID.
Is this a correct fix ?

That's so weird :)
I have no idea why would the storage permissions affect the WIFI name permissions.

I get the same issue, i am working on an old tablet, and it also does not work, I even added the storage permission and it did not work.
also why are all the tests failing in the action area.

also why are all the tests failing in the action area. for network info plus

Can you specify which tests exactly?
Integration tests are flaky due to emulator taking too long to start on GitHub Actions.

I just ran the example app on my device, and it works for me, I can see the Wi-Fi Name, BSSID, etc.
Can you try with the example app in the repo, as provided, and see if you get the same results?

i tried again, just found out the location permission was not enabled, for that specific app
so this actions error list is normal?
https://github.com/fluttercommunity/plus_plugins/actions/workflows/network_info_plus.yaml

so this actions error list is normal?
https://github.com/fluttercommunity/plus_plugins/actions/workflows/network_info_plus.yaml

Depends on the job. Like I said, many of the integration_test runs on Android fail because of the emulator starting issues.
If there is a specific job you would like to know more, let me know.
Otherwise, I'd ask you to keep a positive and professional attitude when interacting with the team.


Updated navigation bar as assigned

Description

Related Issues

Closes #

Type of PR

[x] ()

Screenshots / videos (if applicable)

Checklist

[x] I have gone through the contributing guide
[x] I have updated my branch and synced it with project main branch before making this PR
[x] I have performed a self-review of my code
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[x] I have commented my code, particularly in hard-to-understand areas.

Additional context:

@AditiKushwaha01 resolve the conflicts and also please mention the issue number assigned to u in PR description.

I have updated it please review it


Slack import: Fix mis-imported user avatars

If you import a Slack organization with the new user/stream ID importing process, any mentions for the users/streams that are imported end up with the wrong data-user-id / data-stream-id values in the rendered_content.  I haven't figured out why, but it's pretty obvious (users have each others' avatars).
This is using https://github.com/zulip/zulip/pull/8943 in case it matters.

I confirmed the problem here is actually as follows:

ensure_medium_avatar_image doesn't overwrite an image that's already there
I had previously done an import with a previous version that had written some other user's avatar in the path for that size-medium avatar (because some other user had that user ID in the previous import).

Blowing away the /var/uploads directory locally fixed this (and I think may have also fixed the custom emoji import issue).
I think what we should do to avoid similar confusion in the future (since this was a pain to track down) is add an option to ensure_medium_avatar_image to called force_create (to make it always generate the image, even if one already exists) and use that option in the import tool.


All guides should have a distinct time, not a range

Issue
This guide reads 15-30 minutes. Let's be consistent. Either introduce the notion that guides have a distinct time, not a range, so this would be 30 min. Or all guides have a range.
Acceptance Criteria:
Any guide with a time range should be set to a distinct time value

This is fixed.


Set fourth group of historical unknown licenses

Successor to #1743. This is the last batch of "unknown" licensed mods for which I'm able to find a license. The remaining ones either have weird custom licenses or actually don't specify one.

#rebuild

Validating metadata: 'AoATechnologies/AoATechnologies-<IP_ADDRESS>_pre.ckan'
39008 [1] FATAL CKAN.NetKAN.Program (null) - Connection reset by peer

This works fine locally, and the download is still there. I don't know why SpaceDock would get flaky for this one file. Will try waiting a few hours.

#rebuild


Fixing up initializtion of new material

This PR branches off #202 at 077e0c673c1de95b332792f0a260b5ee58033488 (Monday night's version)
Stage 1

[x] catch stage 1 tutorial up to current marker
[x] fix unattached callbacks for spectrum viewer
[x] eliminate 2nd dotplot

Stage 2

[x] make sure tutorial state initializes

commit d992eea04ec152ed4b648e3f7b8f44432a220daf seems to fix #201

Sort of ready for review
One issue is that stage 3 seems to ignore the starting marker of a student

This runs cleanly with #191 on a first pass through the experience, which is our priority for tomorrow. I found a few state issues when logging back in, but I will note those in new issues. Thanks, @johnarban!