Error at Compiling and Installing Phonetisaurus:

root@raspberrypi:~/Phonetisaurus/src# ./configure
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether g++ supports C++11 features by default... no
checking whether g++ supports C++11 features with -std=gnu++11... no
checking whether g++ supports C++11 features with -std=gnu++0x... no
checking whether g++ supports C++11 features with -std=c++11... no
checking whether g++ supports C++11 features with -std=c++0x... no
configure: error: *** A compiler with support for C++11 language features is required.

It looks like you're using a really outdated compiler version. You can check that with g++ -v.

I am using latest g++ version only shown bellow.

No, gcc 4.6.3 is not the latest version. It's more than 4 years old (released March 1, 2012). The current version is gcc 6.1.

I know this is closed, but for anyone who stumbles on it, the steps below works in Jessie (which has 4.9, so isn't as old as 4.6.3 but still falls behind @Holzhaus! :wink: ) on a Raspberry Pi 3.
Am assuming you downloaded and prepared Phonetisaurus something akin to:

wget https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/phonetisaurus/is2013-conversion.tgz
(ie from https://code.google.com/archive/p/phonetisaurus/downloads )
tar -zxvf is2013-conversion.tgz (to unpack)
cd /is2013-conversion/phonetisaurus/src(as folder structures slightly changed)

If you follow the instructions (sudo make) you'll get an error compiling, as it needs a flag set for C++11. I'm rusty on C++ but it was as simple as editing Makefile and adding this line at the top (after the comments):
CXXFLAGS=-std=c++11
and then re-trying sudo make.  Be prepared for a bit of a wait! Initially it did nothing, so I wondered if it got stuck but then you see it slowly go through the stages and complete.

Tried to add CXXFLAGS=-std=c++11 to Makefile but it fails the same way...
Argument -std=c++11 is on g++ command :
pi@raspberrypi:~/is2013-conversion/phonetisaurus/src $ sudo make
g++ -O2 -I3rdparty/sparsehash -I3rdparty/utfcpp -std=c++11   -c Phonetisaurus.cpp -o Phonetisaurus.o
In file included from /usr/local/include/fst/rational.h:31,
                 from /usr/local/include/fst/closure.h:29,
                 from /usr/local/include/fst/fstlib.h:62,
                 from Phonetisaurus.cpp:34:
/usr/local/include/fst/replace.h: In constructor ‘fst::ArcIterator<fst::ReplaceFst<A, T> >::ArcIterator(const fst::ReplaceFst<A, T>&, fst::ArcIterator<fst::ReplaceFst<A, T> >::StateId)’:
/usr/local/include/fst/replace.h:1069:46: error: expected ‘;’ before ‘::’ token
       (fst_.GetImpl())->template CacheImpl<A>::InitArcIterator(state_,
                                              ^~
                                              ;
make: *** [Makefile:54: Phonetisaurus.o] Error 1

Here’s my g++ version :
$ g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/8/lto-wrapper
Target: arm-linux-gnueabihf
Configured with: ../src/configure -v --with-pkgversion='Raspbian 8.3.0-6+rpi1' --with-bugurl=file:///usr/share/doc/gcc-8/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-8 --program-prefix=arm-linux-gnueabihf- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libitm --disable-libquadmath --disable-libquadmath-support --enable-plugin --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-sjlj-exceptions --with-arch=armv6 --with-fpu=vfp --with-float=hard --disable-werror --enable-checking=release --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf
Thread model: posix
gcc version 8.3.0 (Raspbian 8.3.0-6+rpi1)

Same trouble i got
gcc version 8.3.0 (Debian 8.3.0-6)

Same trouble i got
gcc version 8.3.0 (Debian 8.3.0-6)

Given the project was last touched by the developers four years ago and most of the code seems unchanged since six years ago, you might want to consider whether this is going to be worth it.
Another sign to suggest caution are all the unanswered issues (the closed ones seems closed by the openers from what I see)

Given the project was last touched by the developers four years ago and most of the code seems unchanged since six years ago, you might want to consider whether this is going to be worth it.
Another sign to suggest caution are all the unanswered issues (the closed ones seems closed by the openers from what I see)


feat: allow default configuration of layout

@pjlast I can do the rest of this if you think it's a good idea. Didn't want to do the rest if you didn't like it.
Should let people do :CodyToggle float or :CodyToggle split etc.

I'm wondering if we should trim the options for now, and have it only work as follows:
CodyChat/CodyToggle always opens the side chat bar
CodyDo always does the hover window thing
And we keep our flexibility to a minimum for now.
Then when the core experience is a bit more stable, we explore ways to make it flexible.
Otherwise weird edge cases and personal preferences might keep us from working on the more useful features

Superseded by #189


We need a changelog

Recently in version 20w25b, the option --prerun was removed. Although the change was not that significant or special, lots of these changes over time can significantly change the character of this project.
I therefore propose adding a changelog as CHANGELOG.md to keep track of the differences of each release.
I believe this task should be tasked to new contributors to help them get up to speed with the project as a whole.

I added this in myself, but I did not include every version. Contributions are still welcome.


netbox: external-db.yaml missing a "."

I made a note here
The include for the netbox.databasePassword seems to be missing a "." thus leaving you with this error message:
Error: template: netbox/templates/Secret/external-db.yaml:13:57: executing "netbox/templates/Secret/external-db.yaml" at <include>: wrong number of args for include: want 2 got 1

Attached to https://github.com/startechnica/apps/pull/72

Thank you for your notice, hope v5.0.10 fixed it for good.


Convert tensorflow tensor to Keras tensor

I have a trained tensorflow model that I've loaded using the checkpoint and meta files. The model loads properly. But now I'd like to work with the same model using Keras, instead of direct tensorflow.
I got the input and output tensor of the loaded model:
images_placeholder = tf.get_default_graph().get_tensor_by_name("input:0")
embeddings = tf.get_default_graph().get_tensor_by_name("embeddings:0")

Now I want to create a Keras model with these, so I tried this:
model = Model(images_placeholder,embeddings)
This however, gives me this error:
TypeError: Input tensors to a Model must be Keras tensors. Found: Tensor("input:0", shape=(?, 160, 160, 3), dtype=float32) (missing Keras metadata).
Any ideas on how to fix this? I also don't know the architecture of this model, so I wanted to do model.summary() after the keras model is loaded. I thought Keras worked seamlessly with Tensorflow and Theano graphs..

perhaps this tutorial can help? https://blog.keras.io/keras-as-a-simplified-interface-to-tensorflow-tutorial.html

Have you been able to solve this issue? I am trying something similar (see here). The link from @ahundt did not help me unfortunately. It appears that Dense#set_input() is no more in the current version of Keras.

No, I haven't been able to solve my issue . But I think yours is slightly different. I don't face this problem when working purely with tensorflow, I face it only when I apply Keras based operations directly on tensorflow tensor. For your case btw, can't you just to "-1 * img" instead of tf.mul etc ? Scalar multiplication and addition works directly in both TF and Keras.

No I haven't been able to solve my issue. I face the problem when I apply keras based operations directly on tensorflow tensors, I don't face it when I use pure tensorflow without keras. Also for your case, I think just -1*img should work, instead of tf.mul or merging with mul etc? Scalar multiplications and additions directly work in both TF and Keras.

I'm dealing with this as detailed in these releated issues:

https://github.com/fchollet/keras/issues/5356
https://github.com/fchollet/keras/issues/5368
http://stackoverflow.com/questions/42184863/how-do-you-make-tensorflow-keras-fast-with-a-tfrecord-dataset

So far it seems you have to either convert the tf tensors to numpy arrays or write/use TF only training code as supplied in tf itself, or potentially making use of https://github.com/ppwwyyxx/tensorpack or https://github.com/zsdonghao/tensorlayer.
My code where I'm trying out some of these things is here:
https://github.com/ahundt/tf-image-segmentation/blob/ahundt-keras/tf_image_segmentation/recipes/pascal_voc/FCNs/densenet_fcn.py
I'd be happy to collaborate and/or interested in your solutions to these holes in the API as well.

Oh this stackoverflow question also looks like it might be very helpful:
http://stackoverflow.com/questions/36026892/how-can-i-convert-tfrecords-into-numpy-arrays

I'm having this issue also. Has anyone found a solution?
https://stackoverflow.com/questions/44466066/how-can-i-convert-a-trained-tensorflow-model-to-keras

ah whoops! I thought this was about tfrecords.
You can extract numpy arrays from a tensorflow model, and you can set keras weights from a numpy array. You can use the layer name strings to access specific layers. Therefore:

create a keras model that matches the tf model
figure out the exact name string of each tf model layer and its corresponding keras layer
extract the numpy array from each tf layer, and load it into each keras layer
save the keras model

That's the way to do the conversion.
extracting weights:
https://www.quora.com/How-do-I-save-weights-of-training-data-from-MNIST-testing-on-tensorflow-for-future-use
Inspecting tfrecord model weight checkpoints (get the names):
python ~/src/tensorflow/tensorflow/python/tools/inspect_checkpoint.py --file_name=/path/to/tf_image_segmentation_checkpoints/resnet_v1_101.ckpt > ~/tf_image_segmentation_checkpoints/resnet_v1_101_chkpt_tensors.txt

@ahundt So there's no way to do this without rewriting the whole model in keras? (It's kind of a complex model, so this wouldn't be trivial)

Maybe someone wrote something that can convert models from tf to keras, try googling around? To my knowledge it isn't built into in the Keras API.

@mddrill This has an example of how to convert models from TF to keras, you could implement something similar:
https://github.com/titu1994/MobileNetworks

Has anybody found an answer to this one?
I am training to do the following:
model = VGG16(weights='imagenet', include_top=True)
input_1 = model.input
output_1 = model.output
new_model = Model(inputs=input_1,outputs=output_1)

TypeError: Input tensors to a Model must be Keras tensors. Found: Tensor("input_1:0", shape=(?, 224, 224, 3), dtype=float32) (missing Keras metadata).

@bottydim I stopped working on this problem a year ago. But you may want to check out https://stackoverflow.com/questions/44466066/how-can-i-convert-a-trained-tensorflow-model-to-keras

Make your own layer: https://keras.io/layers/writing-your-own-keras-layers/

please explain more specificly, how and way to use a custom layer can solve this problem. I am stuck in this for a long time. Thanks

The core is the build function, where you create the trainable weights.
If you only want to wrap your weights into a Keras layer, pass them to the class and skip the definition of the new tensor.
For example, from:
class MyLayer(Layer):
def __init__(self, output_dim, **kwargs):
    self.output_dim = output_dim
    super(MyLayer, self).__init__(**kwargs)

def build(self, input_shape):
    assert isinstance(input_shape, list)
    # Create a trainable weight variable for this layer.
    self.kernel = self.add_weight(name='kernel',
                                  shape=(input_shape[0][1], self.output_dim),
                                  initializer='uniform',
                                  trainable=True)
    super(MyLayer, self).build(input_shape)  # Be sure to call this at the end

to:
class MyLayer(Layer):
def init(self, your_matrix, **kwargs):
self.your_matrix = your_matrix
super(MyLayer, self).init(**kwargs)
def build(self, class_param):
    super(MyLayer, self).build(class_param)  # Be sure to call this at the end

I hope this helps.

@fornaciari It helped me a lot! I wonder how to call this MyLayer and what is this your_matrix means?

@fornaciari I raised a question at https://stackoverflow.com/questions/55354612/how-to-turn-a-tf-tensor-to-some-form-that-keras-can-fit, and someone metioned your custom layer way. You can see my code shown below, I tried as you explained to me just now, and still got some error:
_AttributeError: 'NoneType' object has no attribute 'inbound_nodes'
def pointnet2(nb_classes):
    input_points = tf.placeholder(tf.float32, shape=(16, 1024, 3))
    model_input = Input(tensor=input_points)

    sa1_xyz, sa1_points = set_abstraction_msg(model_input,
                                              None,
                                              512,
                                              [0.1, 0.2, 0.4],
                                              [16, 32, 128],
                                              [[32, 32, 64], [64, 64, 128], [64, 96, 128]])

    sa2_xyz, sa2_points = set_abstraction_msg(sa1_xyz,
                                              sa1_points,
                                              128,
                                              [0.2, 0.4, 0.8],
                                              [32, 64, 128],
                                              [[64, 64, 128], [128, 128, 256], [128, 128, 256]])

    sa3_xyz, sa3_points = set_abstraction(sa2_xyz,
                                          sa2_points,
                                          [256, 512, 1024])

    # point_net_cls
    c = Dense(512, activation='relu')(sa3_points)
    c = BatchNormalization()(c)
    c = Dropout(0.5)(c)
    c = Dense(256, activation='relu')(c)
    c = BatchNormalization()(c)
    c = Dropout(0.5)(c)
    c = Dense(nb_classes, activation='softmax')(c)
    prediction = Flatten()(c)
    output_keras = TfToKerasLayer()(prediction)
    model = Model(inputs=model_input, outputs=output_keras)

    # turn tf tensor to keras
    return model

class TfToKerasLayer(Layer):
    def __init__(self, **kwargs):
        super(TfToKerasLayer, self).__init__(**kwargs)

    def build(self, input_shape):
        # 为该层创建一个可训练的权重
        super(TfToKerasLayer, self).build(input_shape)  # 一定要在最后调用它


copy logic to read in additional settings files from awx

This would allow settings to be placed in
/etc/ansible_base/settings.py
/etc/ansible_base/conf.d/*.py.

now just have to figure out how to test it

I don't love this concept of a dynamic_settings.py anyways (though it didn't give me quite the negative reaction that dynamic_urls.py did).  Perhaps someone can explain to me exactly what problem it is intended to solve?

@jbradberry there needs to be some locations for settings to live that can be mounted into a container. I believe this exists for AWX, but not for other things.

Closing as this is going to be handled somewhere else.


[SPARK-47125][SQL] Return null if Univocity never triggers parsing

What changes were proposed in this pull request?
This PR proposes to prevent null for tokenizer.getContext. This is similar with https://github.com/apache/spark/pull/28029. getContext seemingly via the univocity library, it can return null if begingParsing is not invoked (https://github.com/uniVocity/univocity-parsers/blob/master/src/main/java/com/univocity/parsers/common/AbstractParser.java#L53). This can happen when parseLine is not invoked at https://github.com/apache/spark/blob/e081f06ea401a2b6b8c214a36126583d35eaf55f/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/csv/UnivocityParser.scala#L300 - parseLine invokes begingParsing.
Why are the changes needed?
To fix up a bug.
Does this PR introduce any user-facing change?
Yes. In a very rare case, when CsvToStructs is used as a sole predicate against an empty row, it might trigger NPE. This PR fixes it.
How was this patch tested?
Manually tested, but test case will be done in a separate PR. We should backport this to all branches.
Was this patch authored or co-authored using generative AI tooling?
No.

cc @wzhfy

Feel free to land to the release branches too if needed, @HyukjinKwon . I'll leave this to you.


Add prefix to category methods to prevent name collision.

Hello,
after using HexColors within our project, via TSMessage pod, I have discovered that the category methods are not prefixed. Which in turn led to name collision with similar category used by another pod.
As it turns out this was one of those sneaky bug's to discover :).
Method name that collided was:
colorWith8BitRed:(NSInteger)red green:(NSInteger)green blue:(NSInteger)blue

I think it is a good pratice to have prefix on categories.
And by the way thanks for all your work, this is one of those must have libraries.

TSMessages is using HexColors as a dependency maybe it's because of this.
But yeah prefixing is really a good thing to do. I creating a new major release for this because it's api breaking changes :)

Great thanks :)


.checkbox-single & .radio-single clickable area issue

When the checkbox/radio-button is without a label (using .checkbox-single or .radio-single accordingly), the clickable area is buggy:

The clickable area is not as big as the icon
The :hover effect switches from cursor to default depending which area of the icon I hover

I think the reason for this is that the input button does not take the whole parent div.
note: I just noticed that the 2nd issue is also happening when the checkbox/radio-button is with a label
ps. testing on Chrome Version 48.0.2564.103 (64-bit)

+1

+1

@adrien-be , you can use this:

     <input type="checkbox" name="item_check[]" id="mycheckbox">

just create an empty label but has a for referenced to checkbox

+1

+1

+1 for this, i also ave problems with the clickable area not being the full size, this is when im using with labels. bit confusing for the users.

+1 same issue, @ahmadbadpey 's solution works although it makes the clickable area larger than it should be. Better too large than too small in that case.

While the empty label approach works in most cases, there are some where it doesn't. For example, trying to get this working correctly with bootstrap-table has been a real pain (still can't get it working in the header right because of this).


Change main colour

Is your feature request related to a problem? Please describe.
Not a problem, more a design choice
Describe the solution you'd like
Change the main colour to the colour the TU uses
Additional context
This is in the correct colour

Go ahead, added you as collaborator. In this file you can add global style overwrites.

For reference the correct colour is ##00A6D8


Firmware Upgrade Issue with Mcumgr On STM32H743 controller

I am working on the Firmware upgrade with mcumgr on STM32H743 controller.
I have flash the signed primary and signed secondary image and using mcumgr command I am able to see the file list.
mcumgr command : mcumgr image list --conntype serial --connstring "COM7,baud=115200"
But when I try to test or confirm the secondary image, i am getting error.
mcumgr command : mcumgr --conntype serial --connstring "COM7,baud=115200" image test [hash of the secondary image]
Response: Error 1
After debugging I observed that for STM32H743 controller flash driver only accept write flash address value divisible by 32.
During image test or image confirm, image trailer of secondary image needs to be updated. During this process when code
tries to update the magic number in the flash memory, the address of the magic number field is not divisible by 32 and
due to this code returns the error.
Code fails inside the function flash_stm32_valid_range() in file flash_stm32h7x.c
This issue only exist for STM32H743 controller as i have already tested the firmware upgrade on STM32F429 with same steps and it works fine.  For stm32h7 controller there is difference in flash layout and sector size compare to STM32F429 controller.
Does Firmware upgrade support on STM32H743 controller ? Is there any change needs to be done for STM32H743 controller to support the firmware upgrade?

@vipulkute-eaton If the issue is around creation of the image, can you check if using --align 32 when calling imgtool can help situiation?
There's a dedicated zephyr option for this -DCONFIG_MCUBOOT_EXTRA_IMGTOOL_ARGS="--align 32".
Note that you might need to escape the command: -DCONFIG_MCUBOOT_EXTRA_IMGTOOL_ARGS=\"--align\ 32\"

@vipulkute-eaton I believe what you are seeing is related to this mcuboot issue.

@vipulkute-eaton I believe what you are seeing is related to this mcuboot issue.

Yes it was related to same issue but is there any solution provided in any release?

In main.py inside imgtool folder I dont see there is 32byte alignment choice present.
@click.option('--align', type=click.Choice(['1', '2', '4', '8']), required=True)

I tested both MCUboot upgrades and MCUmgr after this commit https://github.com/zephyrproject-rtos/mcuboot/commit/66cdd46b4494be95ea549db811bad242b253c51e, on a Nucleo-H753ZI and everything worked correctly. So you just need to be sure you are after that commit, or using main. I think there was no MCUboot release after that PR was merged. Also afair you don't need to add extra parameters to imgtool, since west already fetches the alignment from the DTS, if using west sign...

Closing based on this comment. Please reopen if it's still an issue.

@utzig can you please confirm your Zephyr release version on which you have tested the firmware upgrade?. Bootloader side i will clone the commit ID as highlighted by you.

@utzig can you please confirm your Zephyr release version on which you have tested the firmware upgrade?. Bootloader side we will clone the commit ID as highlighted by you.

Since I am not working with embedded systems anymore, I removed my local Zephyr clone, and didn't think of writing down the version I tested. I only remember it was just after the merge of the fix commit I pointed above. Anyway I suggest you just go with main as is, because if this stopped working for any reason, or you find some other issue, main is what will have to be fixed, in which case just reopen this issue.


Improve test suite

This PR adopts DBAL's latest test suite improvements from https://github.com/doctrine/dbal/pull/597, https://github.com/doctrine/dbal/pull/643, https://github.com/doctrine/dbal/pull/779 and https://github.com/doctrine/dbal/pull/758
Supersedes https://github.com/doctrine/doctrine2/pull/1285

@deeky666 Great job!

You're welcome. Actually I forgot to bake in https://github.com/doctrine/dbal/pull/779 (doh!). Will do now

okay now it's finished!


Connected UDP Sockets Pool

Thi pull request modifies PooledUdpTransport class by using a pool of connected udp sockets as discussed in #85
Benchmarks results:
Before:

Method
Mean
Error
StdDev
Median
Scaled
Gen 0
Allocated

SendWithoutPool
53.76 us
1.8980 us
2.5338 us
51.65 us
1.00
0.1221
440 B

SendWithPool
14.08 us
0.0811 us
0.1189 us
14.05 us
0.26
0.0610
208 B

After:

Method
Mean
Error
StdDev
Scaled
Gen 0
Allocated

Send
51.714 us
0.1015 us
0.0847 us
1.00
0.1221
440 B

SendWithPool
8.890 us
0.1292 us
0.1209 us
0.17
-
40 B

SendWithPoolSwitcher
11.839 us
0.0425 us
0.0398 us
0.23
0.0153
67 B

SendWithPoolSwitcher bench tests edge case when endpoint changes every milisecond

I was able to reproduce test failures on my mac, created a ticket in corefx (https://github.com/dotnet/corefx/issues/31206)

The failed test could just maybe be a manifestation of differences in OS behaviours a bit like how we have to have this code:
https://github.com/justeat/JustEat.StatsD/blob/554633f110b6e9292a5d69055c171e9a0ebc32da/src/JustEat.StatsD/UdpTransport.cs#L52-L56

I've fixed Unix tests by binding loopback ports to a UDP socket as seen in UdpListeners.cs

Thank you for your contribution @dv00d00! 🥇


[Program]: Write a R program to convert string to constantcase

Description
Write a R program to convert string to constantcase
Constantcase is a style of writing in which all letters are uppercase and spaces are replaced with underscores.
Input  : "hello world"
Output : "HELLO_WORLD"

How to contribute

Save the solution in program/program/convert-string-to-constantcase/program/convert_string_to_constantcase.r file

!assign


chore(test): enable TS_NODE_TYPE_CHECK

Description:
This PR completes the changes to the test suite outlined in #3680.
The test script in package.json now sets the TS_NODE_TYPE_CHECK environment variable so that ts-node performs type checking.
/cc @kwonoj @darthtrevino I've also added a test_no_type_check script which is somewhat faster. Based on your comments in #3565, you might want to use it in your watched builds.
Related issue (if exists): #3411

If we bump up ts-node to latest ( > 6.0) https://github.com/TypeStrong/ts-node/releases/tag/v6.0.0 it went back to enable type checking by default, does not require setting env variable.

Upgraded to ts-node 6, renamed test_no_type_check to test_transpile_only and relied upon type checking being enabled by default.

Coverage increased (+0.2%) to 96.945% when pulling b32e7944a9b7ff5eda7e1ef2492c1054ca2957cc on cartant:issue-3411-8 into 3b290ea76e76ef66f9d0c641d4db0da53a9cbaea on ReactiveX:master.


Fixed Durham One Call Link

Fixed broken Durham One Call Link. Let me know if there are any further changes you want to this section in the future.

It looks like the city retired the old form in favor of the citizen engagement tool from Accela.  iOS and Android apps are also available.

What, mobile Durham One Call apps? Sweet!

How come we didn't get the memo...


Unable to create Account

click the "Create Account" button and there is no response

This is expected for now - right now the only way to use the app is via github login. It will support creating other accounts by 1.0, which is slated for July 4th if I can make it. Thanks, will put this in a milestone so it doesn't get forgotten :)


Project Setup: Running react-native and building ios fails due to errors in MultiplatforBleAdapter pod

[ ] I am running the latest version
Yes - 2.0.2
[ ] I checked the documentation and found no answer
Yes
[ ] I checked to make sure that this issue has not already been filed
Yes, I have tried to reach out to ios repos regarding this issue as well
[ ] I followed every installation step mentioned in README file.
Yes, my team confirms the errors indicate in logs that they are realted to rn - ble-plx

Setup problem
Please describe the problem you are experiencing.
Steps to Reproduce
Please provide detailed steps for reproducing the issue.

Init project in react native
install rn - ble-plx and import in any module
pod install
command to build and run on ios simulator (any iPhone)

Context
I am trying to run an organization repository (react native app on ios and Andriod). I have not tried android yet since I only have access to the ios simulator through xcode. My team is working on it but similar issue arised after recent install of this library for bluetooth com.

Library version: X.Y.Z

Platform: iOS

Platform logs (logcat/XCode):

Contents of the package.json file:

@t3db0t's fix worked for me. I didn't need step 3 though, after yarn/npm install the podspec in react-native-ble-plx was already updated.
Also, you might want to reference a commit hash in your package.json dependency (e.g. "react-native-ble-plx": "https://github.com/below/react-native-ble-plx#55ff5cb") Just in case more commits get added to that repo (nefarious or otherwise), you might not want to bring those into your repo too.

I'm getting ../node_modules/react-native-ble-plx/ios/Pods/Target Support Files/Pods-BleClient/Pods-BleClient.debug.xcconfig:1:1: unable to open file (in target "BleClient" in project "BleClient")
Any clues ?

This is fixed with 2.0.3
This issue can be closed

Hi! It was fixed in the 2.0.3 release! 🔥
So I am closing this issue.


Can't build from editor but build works from visual studio

Hello, i'm sending this because i've an issue with Xenko, my pc is set to install everything on the D drive so visual studio etc all installed on the D drive, and i noticed that it probably caused an issue in xenko since i can't build from the xenko editor, i get an error related to the .NET 4.6.1 framework not found (while it works perfectly in visual studio)
that's the error i get,
[D:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(1179,5)]: Error: Les assemblys de référence pour le Framework ".NETFramework,Version=v4.6.1" sont introuvables. Pour résoudre ce problème, installez le SDK ou le Targeting Pack pour cette version de Framework, ou reciblez votre application vers une version du Framework pour laquelle le SDK ou le Targeting Pack est installé. Les assemblys seront résolus à partir du Global Assembly Cache (GAC) et seront utilisés à la place des assemblys de référence. C'est pourquoi votre assembly peut ne pas cibler correctement le Framework souhaité.
it's in french since my pc is french, but i can translate quickly, it means that
"the .net framework v4.6.1 is not found, to resolve the issue , install the SDK or the targetting pack for this framework version or retarget the application to an other version of the framework
and the assemblies will be resolved with the GAC and would be used as reference assemblies"

Install the .NET Core build tools from the Visual Studio 2017 installer.

I already did it, i can build the xenko project from visual studio, but xenko gamestudio doesn't find it

That toolset is for Visual Studio, you need the .Net Core for Visual Studio Build Tools.

i tried, didn't work either, but as i said it's probably because i use the D drive, you're using the C drive in your case so there's no problem for you

So at the moment i'll start prototyping my game using unity since xenko doesn't want to work, but once there will be a fix, i would gladly switch back to xenko since i love the xenko api and interface, i just need it to work

Hm, that could be the case. Though just as a last check/thing to try do you have
.NET Framework 4.6 targeting pack
.NET Framework 4.6.1 SDK
.NET Framework 4.6.1 targeting pack
Installed for Build Tools (and Visual Studio)?

yes, and for both

Sorry, I'm not sure what I'm missing here. When I had this problem myself I was able to fix it by following some of the suggestions in https://github.com/Microsoft/msbuild/issues/2532
It could've be adding "C:\Program Files\dotnet" to my Path environment variable and rebooting... Can't say for certain that will work. If you're still up for trying.

i tried it, didn't work either
well, it changed the problem but i still get errors caused by the fact that it doesn't find a kind of "telemetry" task in the dotnet core sdk

That's too bad. Could be a Windows 10 only thing as I never had that issue come up. Regardless, new users shouldn't have to go through all this just to try Xenko, its not a good first look.
If you don't manage to fix it yourself, check back in a couple weeks/whenever the next version releases, hopefully the set-up process should be much more straightforward by then.

Regardless, new users shouldn't have to go through all this just to try Xenko, its not a good first look.

That's only because @pikachuk setup is not standard. If you want to be a super user and change default behaviours/expected paths of software and tools, don't expect any software vendor to support any and all exotic configurations that people can come up with.
I'm pretty sure mixing C: drive and D: drive for .Net Dev/SDK tools is not properly supported by itself.
@pikachuk Any compelling reason why you don't install them in your C: drive? When I have a setup with multiple drives and/or partitions, I usually keep everything system-related (that includes SDKs) on the main drive and only move data/projects on the secondary drive. The reason is that most tools also rely on system processes/files that live in the Windows, Program Data or default Program Files folders (for example the GAC). But having such tools split into several drives only make it slower/unreliable (incorrect PATH, duplicates in both drive/partition, disk seeks, etc.).

I wasn't able to install them on the C drive because of limited space (i've a 80gb hdd for the boot drive, windows already fills a good part, i can't put the sdks on it)
i feel like a good fix would be to be able to manually set the sdks path in xenko settings when it doesn't detect them manually

@pikachuk You are right. We can explore a way to have some parts of the PATH overridden in the settings. I I don't believe that it will fix all possible issues, but if it can at least fix yours that's already a win.
I wonder if that should be global or on a per-project basis.

maybe both, a section for project specific settings and a section for default settings

We can't really control the SDK path as we simply defer most of the job to MSbuild, like Visual Studio does. The fact it is on D shouldn't bother.
So we'll have to investigate what is wrong, could be the tip of a bigger iceberg (maybe something that should be an absolute path but is a relative path, resulting in losing the HDD part of the path, etc...).

if it does the same as visual studio it's weird that the build works on visual studio but not on the xenko gamestudio...
is there something i could do to help you to identify the problem ? like a kind of debug mode that displays every single search path etc in the xenko console ?

@xen2 I found a webpage that might explain the problem and it seems it can be fixed by using FrameworkPathOverride in the msbuild command https://dzone.com/articles/how-i-resolved-the-error-the-reference-assemblies since xenko calls msbuild, using the frameworkpathoverride in the msbuild command might help to avoid issues

so a fix would be to be able to set manually the framework path and it would be added to the msbuild command for the build

I downloaded the engine to test and tried running First Person Shooter example, it gave this output: [D:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1175,5)]: Error:The reference assemblies for framework ".NETFramework,Version=v4.6.1" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend.

I was able to resolve this on my computer, after experiencing a similar issue again with a different .NET project.
Issue
I discovered that my system contained both a C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework and a D:\Program Files (x86)\Reference Assemblies\Microsoft\Framework directory. The C: directory contained many versions within .NETCore, .NETFramework, and .NETPortable subfolders, but the D: directory only had subfolders for v3.0 and v3.5.  I presume that Visual Studio Installer was placing these in the C: folder, but they were being looked for in the corresponding D: folder.
Solution
To resolve this, I first removed the version of the Frameworks folder in the D: filesystem, leaving D:\Program Files (x86)\Reference Assemblies\Microsoft as an empty directory. Then, I ran the following in Command Prompt as Administrator:

mklink /J "D:\Program Files (x86)\Reference Assemblies\Microsoft\Framework" "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework"

After this created a symlink directory junction, the issue disappeared and I am now able to build from the editor.


fixed the managed cluster deletion not work

When we delete the managed cluster from the database, the deletedAt column may not be filled if the delete obj is not a pointer.
When the cluster is re-imported again, the deletedAT should be NULL.

/cc @morvencao @clyang82

/hold

/hold

/unhold

/cc @morvencao


Is "estimated payment for next week" correct?

This is confusing, to me it looks like a payout for next week, but it may actually just be funded dues accruing. Placeholder to look at code when I'm more awake.

See #4667.


docker ps

Expected behavior
Actual behavior
Information about the Issue
Steps to reproduce the behavior

...
...

Accidental.


I type too fast for the terminal :-(

If I type a command, like say ls -al, into my terminal and hit return, something strange happens.
jmt@nala:~$ ls -
alls: cannot access '-': No such file or directory
jmt@nala:~$ al

I wonder if somehow the return keystroke has some kind of higher priority and interrupts whatever keys are in the buffer to be added to the terminal.
It's pretty easy to reproduce, just type really fast. :-)

@the-j0k3r thanks for the pointer!  Suggestion 3 would be to find an alternative solution which is actively maintained and which provides terminal support.  Any recommendations?

95% of the time I spend in Atom I have an xterm or two open in the correct directories, so I have functional workarounds.

Well there is that, but honestly, ho much does that suck? Switching between windows is a workflow killer

It's not integrated the way M-x shell is within Emacs, that's true, but for my biggest current project, compilation takes between 3-15 seconds depending on the changes I'm making, so window switching isn't my biggest pain point.

In my case if push comes to shove that will have to be the direction to go, but the reason I started using atom is to do as much as possible eliminating a dozen programs for one.
 No thanks, Ill Dump atom for a better option, the choice for me to use atom was to have a better more efficient way built into something Atom in this case.
tbh Im not too hot on supporting yet another Microsoft nonsense, but VScode is starting to look mighty good.

There is 1 maintained project, terminationhttps://github.com/Fred-Barclay/Termination but its somewhat like going back in time to terminal-plus and mmm, well you be the judge.
The others are all unmaintained afaik, 900 million terminal project 899 million are terminally terminal terminated. :+1:

Alas, termination has the same defect from typing too quickly. :-(  It also uses a little extra screen real estate for its terminal windows, so I think I'm going to go back to platformio's terminal, and close this issue.


Starting position of event renderer

Hi,
Thanks for your works, really amazing component.
I found something, not sure it was designed as it is or not
The start position of the event display box does not match the grid in the calendar
This gap gets worse as it goes down

Hi
I've seen similar issue before #165, do you have any CSS that force changing the box-sizing property?
To eleminate if it's a CSS issue, can you check this sandbox does it have the same issue? https://codesandbox.io/s/heights-test-y9ct17
If no, can you add your code to make it breaks like this? This will help me debug
Thank you

Thank you for very quick response!
The same issue happens on the link you provided.
Actually the first screen capture I posted was also from sandbox examples, not my code.
This issue happens on Firefox, chrome. I haven't checked edge.
Thanks in advance!

I tried the link and it works as expected. I was having the same error, and it was indeed a matter of box-sizing. By using Chakra UI it places box-sizing: border-box to almost everything. I fixed it by wrapping the Scheduler on a div like:
<div class="scheduler-container">
   <Scheduler
   ...
   />
</div>

and in the css
.scheduler-container * {
  box-sizing: initial !important
}


fix the #6167 - F key misleading message

Summary
Fixes #6167
Changed the
"Press f to run all tests. " to "Press f to quit "only failed tests" mode" when inside only failed tests mode.
Test plan
Scenario is covered by the "shows the correct usage for the f key in "only failed tests" mode".
Also:

And

Codecov Report

Merging #6182 into master will increase coverage by 0.13%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #6182      +/-   ##
==========================================
+ Coverage   64.19%   64.32%   +0.13%
==========================================
  Files         219      219
  Lines        8423     8423
  Branches        3        4       +1
==========================================
+ Hits         5407     5418      +11
+ Misses       3015     3004      -11
  Partials        1        1

Impacted Files
Coverage Δ

packages/jest-cli/src/watch.js
79.02% <ø> (+6.99%)
:arrow_up:

packages/jest-cli/src/get_no_test_found_failed.js
0% <ø> (ø)
:arrow_up:

packages/jest-cli/src/lib/update_global_config.js
91.66% <0%> (+4.16%)
: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 4ae3e40...0917645. Read the comment docs.

Does this fix the case reported in #6167? While I think this message is clearer, it's unclear to me how it would fix the bug?

As far as I understood and verified the bug is actually about displaying a wrong information, the behavior is correct.
The keys are doing what they are supposed to be doing.
One more improvement that we could do here is that while you are in "failed tests only" mode and you press a, it would also disable the "failed tests only" mode.

Oh, that's a very good point. It's just confusing that the message is the same 🙂


Fix SelectRandomAgent

Description
Fixes #10
Fix SelectRandomAgent.
Type of Change

[x] Bug Fix
[ ] New Feature
[ ] Breaking Change
[ ] Refactor
[ ] Documentation
[ ] Other (please describe)

Checklist

[x] I have read the contributing guidelines
[x] Existing issues have been referenced (where applicable)
[x] I have verified this change is not present in other open pull requests
[x] Functionality is documented
[x] All code style checks pass
[x] New code contribution is covered by automated tests
[x] All new and existing tests pass

Will fix the README lint issues in another branch

Will fix the README lint issues in another branch

Cheers! :)


Integrated unit test framework and added travis-Ci support

With this commit, we have the ability to write unit tests for the
Autopilot and run them via a command line option. Along with this, the
travis-ci config file has been updated to instruct travis to run all
unit tests on windows, linux, and macos. It has also been updated to
attempt to build the code using the embedded compiler on macos and
windows (previously travis only made sure things built on linux).
Quick breakdown of why each file was added, deleted, or changed:
The gitignore file now ignores the new testBuild directories that are
created when unit testing is taking place.
The travis config file is updated to implement the features mentioned in the
first paragraph.
The CmakeLists file is updated to add the ability to perform a unit test build.
The build.bash file is updated to allow the new -t option, which instructs
cmake to build the unit tests, rather than build for the hardware.
The 2 Test_*_Skeleton files added to the UnitTestSrc directory are meant to
serve as examples for writing unit tests and also allow things to compile during the
unit test build (since the Altimeter and Imu modules already had partial
implementations that attempted to talk to hardware, they needed to be stubbed out).
The testMain.cpp file serves as a main function for the executable produced
when running unit tests. It should not be messed with.
The fff.h file is the complete fake functions framework, which provides us with
the ability to mock C stuff (while googletest's gmock gives us the ability to mock C++
stuff). It is being linked in to the unit test builds.
Lastly, the /Safety/Common folder is deleted. It was never meant to exist. It
was a symbolic link created by Cmake to cope with a bug that has already been
fixed. Since the build system is being updated in this commit, it is a good
opportunity to get rid of it.

Ran build.bash from cl on MacOS with gnu-arm-gcc. -t works without a hitch, tests pass thus far. My license for CLion has expired, otherwise I would have run it through CLion to double check (will look into this).
If I can wrangle another free license from jetbrains then I'll check it. If not, then it really won't matter all that much. New kiddies can learn to use the command line; it's good for them. Also, I can't imagine the IDE compile will go differently, but you never know.
TLDR: pass, works great on command line! Nonsequitur: we may need to axe CLion if they only do one year free for students.


Bump SHP submodule

Per our discussions on today community meeting, adding an update to the SHP dependency.

/approve


Remembering scroll position broken in Firefox

Broken in Firefox 35.0.1 by e2d52d6fa8374094aa77d5d3a5c9331f566539f6. Using the old code causes no problems.
It works in Chromium though - seems like the handling of apply for undefined values are different?

@Legogris Thanks for reporting!  Fixed in 0.5.11: https://github.com/yahoo/flux-router-component/releases/tag/v0.5.11


Gflops comparetion on gemm compare with other lib like ncnn or mnn?

Gflops comparetion on gemm compare with other lib like ncnn or mnn?

Hi @jinfagang
I'd advice searching for third-party papers doing this analysis and/or ML benchmark figures. ACL targets a wide range of ARM CPUs and GPUs so there is no simple answer to this question.


refactor(@backstage/plugin-azure-devops-backend): re-exported types from azure-devops-node-api

Re-exported types from azure-devops-node-api in @backstage/plugin-azure-devops-backend and consume those re-exported types in @backstage/plugin-azure-devops-frontend.
Task from #7641
Signed-off-by: Marley Powell<EMAIL_ADDRESS>
:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

This looks awesome, thanks for helping with these changes.
You'll need to regenerate the API Report - yarn build:api-reports

Thanks. Will regenerate the API report.


Complex

Basic complex value data type support for MXNet, and fit the cuFFT interface to validate the correctness. Known issues and to-do:

[ ] Only complex64 is supported for cuFFT (current implementation apply the cuFFT c2c mode which would cast the data into cufftComplex, the float complex data type). Interfaces for complex128 and other real type needed (cuFFT r2c, r2z, z2z).
[ ] None of any basic operators are successfully implemented, e.g. element wise sum, for some reasons. The openMP issue for CPU and illegal memory access issue for GPU are major problems presently.

Thank you for your time to review!

@haojin2
@reminisce


🐞 [Bug] UIPageViewController crash fix

📲 What
Attempts to fix an escalating crash that we've been seeing in our crash reports which appear to be linked to setViewControllers being called during a page transition. Although I have not been able to reproduce this crash myself, this is my suggested fix which I'd like to ship with the next release to see if it brings the reported crashes down.
🤔 Why
This crash has been rising in our crash reports (link below).
🛠 How

Added a ksr_setViewControllers extention to UIPageViewController which ensures this is always executed on the main thread.
Adds checks to our view models to ensure that this is not called during a paging transition.

👀 See
https://fabric.io/kickstarter2/ios/apps/com.kickstarter.kickstarter/issues/5b8409046007d59fcdf6275f?time=last-seven-days
https://stackoverflow.com/questions/25740245/assertion-failure-in-uipageviewcontroller
✅ Acceptance criteria

[ ] No regression on current functionality in the 3 affected VCs.

 Fix escalating page view controller bug


Graphql: Remove cityId from RouteStop type

Rename airport to stop, since it could be any kind of stop
see discussion in #322

@michalsanger can you please look on this PR also? thanks

@michalsanger 🚀


Deal gracefully with degenerate cases.

This edit deals with a degenerate case in Krippendorff's alpha - if there is only one class.
current behaviour throws a ZeroDivisionError, this edit changes that to return complete agreement (since there is only one class)
Happy to discuss alternative behaviours...
How should we deal with no data (ie: len(self.K)==0)? Currently it'll raise a zero division error also, which isn't too informative...

Nice, thanks +1

@drevicko: I suggest catching the zero division error and raising a ValueError with a more informative message


ANSI SGR sequences not correct on windows (but correct on WSL)

Does this issue occur when all extensions are disabled?: Yes

Version: 1.65.2 (system setup)
Commit: c722ca6c7eed3d7987c0d5c3df5c45f6b15e77d1
Date: 2022-03-10T14:33:55.248Z
Electron: 13.5.2
Chromium: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Windows_NT x64 10.0.19044
My apologies if this is a duplicate, but I couldn't find it.
Steps to Reproduce:
I wrote a little nushell script to test the ansi SGR escape code behavior of a terminal
def printcolors [] {
  for $color-offset in [30 40 90 100] {
    for $color in 0..9 {
      if $color != 8 { # 8 is not a color code
        for $style in 1..9 {
          build-string $"\e[($color + $color-offset);($style)m" $'\e[($color + $color-offset)($style)m' "\e[0m"
        } | str collect
      }
    } | flatten
  } | flatten
}

The interpretation and rendering is correct in WSL, but not in windows itself.

WSL
Windows

The following things go wrong:

Color inversion uses color 0 (black, but gray in my color theme) as foreground, instead of the background color
Dimmed colors are ignored
Invisibility is sometimes ignored
Using color 0 as background color (i.e. 40) does not seem to work (though bright black, i.e. 100, does seem to work)

This issue seems to originate from an upstream component and is not something VSCode can fix by making a change to our code. As such, I will go ahead and close it. Please try to reproduce in Windows Terminal and report to microsoft/terminal with repro steps.
If you cannot reproduce in Windows Terminal, chances are it's fixed in a later version of Windows. You can read more about how we consume conpty here. Thanks for understanding.
/label upstream terminal-conpty windows

@Tyriar You've probably considered this, but seeing as the terminal is a pretty important part of VSCode, wouldn't it be worth it to also bundle the latest conpty with VSCode on windows?

This would be good for users in that the terminal experience would be cutting edge.
This would be good for the competence of VSCode. Right now it the windows terminal always has the upper hand.
This would be good for the VSCode team because they would hopefully have less complaints from the community, meaning less time wasted with crunching issues like this one.


Pull Request for Set up 'Hello Microverse' Project

Description:
This pull request aims to set up the 'Hello Microverse' project, which serves as an introductory project for Microverse students. The project focuses on familiarizing students with the development environment and project structure.
The changes in this pull request include:
Project Structure: contains
Project structure and file setup
Basic HTML structure with 'Hello Microverse' greeting
CSS styling for visual enhancement
Updated project documentation in the README file
Thank you for your attention and feedback.

This pull request contains :

[ ] Updated project documentation in the README file

@osamaashraf6

[ ] I am submitting this pull request to incorporate the revised Readme files in accordance with the specified Microverse Readme template.

[ ]

[ ] This is the third request of me for this project only

[ ] I need you feedback accordingly

changes in this pull request:

[ ] Move README to header branch


Add the favicon

Hot links to the original website but cba to config Webpack

@zaccolley if you get time can you config w/ Webpack 👍


release 0.6.0

This PR is more or less just practice to move toward regular GRAN builds and the branching system outlined in http://nvie.com/posts/a-successful-git-branching-model/.
I created the release-0.6 branch from the devel branch several days ago and have been alert to simple bug fixes (no new features) that might need to be added to this release. Having not found any except in the Bayesian models, which I consider features in development for now, I'm ready to release 0.6 to the master branch and to GRAN for this week's build.

I think the travis-ci/push build tests the release-0.6 branch (at commit 883d063) while the travis-ci/pr build tests the master branch after merging in the change (https://github.com/travis-ci/travis-ci/issues/3241). They really shouldn't be different (they differ only in the version line of the DESCRIPTION file), but we've already established that travis can't always handle the computational burden of installing/compiling rjags. So because I have one passing test, I'm calling it good.


Icepak subregion mesh

Draft

Codecov Report
Attention: Patch coverage is 30.60241% with 288 lines in your changes are missing coverage. Please review.

Project coverage is 34.55%. Comparing base (bfa64a5) to head (29f3748).
Report is 1 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #4313       +/-   ##
===========================================
- Coverage   81.85%   34.55%   -47.30%
===========================================
  Files         107      107
  Lines       52100    52335      +235
===========================================
- Hits        42645    18084    -24561
- Misses       9455    34251    +24796


Integration Test - Release - 2018/12/12 07:09:08

Auto create for integration test. AnotherAuthorUpdatedArticleFlow

@PRMergerTest1 : Thanks for your contribution! The author, @v-caxian, has been notified to review your proposed change.

@PRMergerTest1 : Thanks for your contribution! The author, @v-caxian, has been notified to review your proposed change.


Implicit record type definitions

Strawman:
{
  name: String, // singular type
  numbers: Array(Number), // array type
  friends: [ Array('user'), 'friends' ], // array of link to user with inverse friends
  spouse: [ 'user', 'spouse' ], // singular link to user with inverse spouse
  enemies: Array('user'), // array link with no explicit inverse
  crush: 'user', // singular link with no explicit inverse
}

It can be a backwards compatible change. The new format will just be converted into the more explicit old way.

Done https://github.com/fortunejs/fortune/commit/c4b6dd819245f9bff401c120e65aeea0fa002358.


Testing: hou module should be within class code.

Changelog Description
hou module should be within the class code else we'll get pyblish errors from needing to skip the plugin.
Testing notes:

Submit Deadline render from Houdini.
Validate the renders are successfull.

After running the test, it works as expected from my side.

What are all the errors and failed tests?

After running the test, it works as expected from my side.

What are all the errors and failed tests?

After running the test, it works as expected from my side.

What are all the errors and failed tests?

It's not related to the houdini hosts.They are more likely from Unreal and MongoDB connection.
I can send you the log for references
test_OP_command_log.txt

@moonyuet I've updated the testing notes, cause we are not actually testing houdini host yet.


Add restart method to vim.lsp.client

Related to #2821
Add the ability to restart the rust-analyzer language server with updated settings.

Add a restart method to vim.lsp.client in lua/lspconfig/util.lua to support restarting with updated settings.
Implement the restart method to stop the client, update settings, and start the client again.
Update the LspRestart command in plugin/lspconfig.lua to support updating settings.
Use the new restart method in the LspRestart command.

does on_new_config not enough? why we need this?

Enhancements to vim.lsp.client should go in Nvim core. The docs for this repo should have made that very clear.


Loading model checkpoints from full parameter tuning

Thank you for your attention.
With help from #420, I was able to run full parameter finetuning without making use of the PEFT method as instructed here. However after training I got model checkpoints and not sure how to load them for inference or evaluation. I have the following files after training:
.
├── __0_0.distcp
├── __1_0.distcp
├── optimizer-0.pt
└── train_params.yaml

I would appreciate it if someone could guide me with this as I am using AutoModelForCausalLM.from_pretrained() for loading the model for inference when using base Llama2-7b.
Note: My training code is as follow:
torchrun --nnodes 1 --nproc_per_node 2  finetuning.py --enable_fsdp --model_name llama-2-7b-hf --dist_checkpoint_root_folder model_checkpoints --use_fast_kernels --output_dir finetuned_models/base_model --save_metrics

@bkhanal-11 you would need to use this script to convert you FSDP checkpoints back to HF format, then you can use HF AutoModel to load back.
Please let us know if that works for you.

@HamidShojanazeri Thank you for your response. This worked fine. Also cheers for the new llama3 models.


Shadow not working

can you please tell how can i fix this , shadow not taking effect when applied to

Since this is package is not a native CSS implementation but instead a JS workaround to achieve the squircle effect, I wouldn't ever expect it to work with native CSS properties like shadow, outline and so on. I will work on a solution for this though javascript, but at the moment it's not available at all.
There's a discussion open on this repo that I invite you to participate in, together we can find a good solution for having shadows in this project :) Link here: https://github.com/bring-shrubbery/squircle-js/discussions/9

of course thanks

Hey I would like to contribute to this issue with my own solution for making shadow behind Squircle component.
First approach
So my solution is to use drop-shadow on the Squircle component by the parent element. For this you could just make div as container (for now I will call it as SquircleContainer) with padding inside and then apply the drop-shadow and put Squircle in it, but there is a catch!
Second approach
Due to strange behavior of drop-shadow on text (making it blurry on animations and ruining some aspects of HTML rendering) I made SquircleContainer absolute and set the size of it to the size of siblings content. So now i can render anything that should this contain and apply anything to it.
ShadowSquircle component
So here is my approach to make ShadowSquircle component, hope it helps to understand my solution and helps in developing your websites. It could be extended but this is fine for me, feel free to make it more reusable and compact!
Also feel free to tell me some improvements, right now I've just started learning next.js/react/tailwind so I appreciate any kind of feedback!
I am using nextjs, tailwindcss and squircle-js (ofc 😅)
import React from 'react';
import {Squircle, SquircleProps} from "@squircle-js/react";

//interface for compact typing, just copied it from src of squircle-js
interface ShadowSquircleProps extends SquircleProps<"div">, Omit<React.ComponentPropsWithoutRef<"div">, keyof SquircleProps<"div">> {
    squircleClassName?: string //styling for tailwindcss of squircle, could be added style attribute for squircle also
}

const ShadowSquircle = ({
    children,
    cornerSmoothing,
    cornerRadius,
    squircleClassName,
    className,
    ...props
}:ShadowSquircleProps) => {
    return (

 //

 {//SquircleContainer}
                <Squircle
                    cornerSmoothing={cornerSmoothing}
                    cornerRadius={cornerRadius}
                    className={"absolute inset-0 "+(squircleClassName ?? "")}
                />

            {children} {//children - siblings of squircle container}

    );
};

export default ShadowSquircle;

It is possible to somewhat achieve a shadow, but it requires a wrapper div, and only supports the css filter drop-shadow(), not the css property box-shadow.

Note: sadly the box-shadow's <spread-radius> functionality is not available in drop-shadow, which was what i was hoping to use.
Here is a codesandbox demonstrating the approach:
https://codesandbox.io/p/sandbox/squircle-shadow-k5dmdr
If you'd be interested in it, I'd be happy to make a PR that accepts a dropShadow prop, which, when present, would wrap the squircle's div in another div, with the drop shadow's content in the parent styles.filter.
How it would look:
        <Squircle
          cornerRadius={64}
          width={256}
          height={256}
          dropShadow='0 0 10px #000'
        />


[BACKLOG-5676] Update the toolbar UI/Actions Menu with a Run/Run Opti…

…ons menu AND ran checkstyle @mdamour1976

I'm the new guy and VERY unfamiliar with the code, so bear with me....
From what I understand, xul does not support dropdown options for toolbar items, that's why this is coded in SWT. Xul allows hotkeys to be added in the .xul files, however, SWT has its limitations. I will be glad to change like the following if satisfactory, or we can revisit this from a different perspective.
Spoon.Run.Run=Run\t\t\t\t
Spoon.Run.F9=F9
However, there are other instances in messages files that append hotkeys, i.e. /Kettle UI/src/org/pentaho/di/ui/core/widget/messages/messages_en_US.properties
TableView.menu.RedoNotAvailable=Redo : not available \tCTRL-Y
WidgetDialog.Styled.Copy=Copy\tCtrl+C
TableView.menu.InsertAfterRow=Insert after this row
WidgetDialog.Styled.Replace=Replace\tCtrl+H
TableView.menu.KeepSelected=Keep only selected lines\tCTRL-K
TableView.menu.OptimalSizeWithoutHeader=Optimal Column size excl. header\tF4

Hello Dean,
Yes I know you're our new guy, and that's why I took the time to provide adequate feedback. Welcome aboard! :)
Seems I was wrong about the shortcuts. If there are already others, let's go ahead and add yours. I expanded the code above and below your changes in the GitHub UI to check if there were other instances and didn't see any, so I assumed there was none.


FFTTap: scale output based on frameCount

We should be returning fftData values that result in strictly negative amplitudes. After looking into Apple's documentation, it seems that a scaling factor is required. I used 1/n (n = frameCount) for this factor and after performing my amplitude calculations in FFTView they matched the same amplitude values that I was getting from Ableton Live's spectrum analyzer.

This looks great. Again as we're early in on this, I'm not so worried about hounds and stuff, and will do a bit of style review soon.

This looks great. Again as we're early in on this, I'm not so worried about hounds and stuff, and will do a bit of style review soon.


[Docs]

Description
KIND Cgroup v1 Bootstrap installer requirement
We know there is a need for KIND Cgroup v1 requirement and in the TKGm/TCE 1.4 Linux section of the installation documentation it is clearly noted.  Recently Docker Client 4.3.0+ has updated to leverage KIND Cgroup v2 however our documentation doesn't call this out this requirement for MacOS in either the TKGm / TCE installation (bootstrap) documentation.
Location
https://tanzucommunityedition.io/docs/latest/cli-installation/
In the Linux tab there is a call out for Cgroup v1 but not in the Mac or Windows tabs
Additional Context
It know this sounds extremely trivial but my customer spent hours troubleshooting TCE installation issues on Mac over the holiday break when the answer was in the Linux tab of the TCE documentation (and in the Linux section of TKGm installer documentation).  I believe Kind Cgroup v1 is a requirement regardless of the client bootstrap platform.
Just know that anyone that has Docker Client set to autoupdate on a MacOS is at version 4.3.2 by now and Cgroup v2 is now the default.

@modavid
do you have a good link to refer Mac customers to to change the cgroup?
As in I'm not sure where to refer customer Mac customers to for setting kernel (cgroup) parameters
we have links for Fedora, Arch Linux, OpenSuse here: https://tanzucommunityedition.io/docs/latest/support-matrix/#check-and-set-the-cgroup
does this suffice?


Activity page

Describe the feature you'd like
I would like to have a page that lists all activities that have been carried out recently, similar to the audit log, only public.
The administrative activities do not have to be shown there, only the changes to which the user has access.
Describe the benefits this would bring to existing BookStack users
It would help to see more quickly where work is being done and to help out.
e.g.

comments on other pages are quickly overlooked
it is difficult to find which pages were last updated

Can the goal of this request already be achieved via other means?
as admin you can, as user unfortunately not
Have you searched for an existing open/closed issue?

[X] I have searched for existing issues and none cover my fundamental request

How long have you been using BookStack?
1 to 5 years
Additional context
No response

Thanks for the request @Tealk.
The underlying desire here is very similar to #4308, so I may close this in favour of that existing issue.

Yes, that sounds like my anliegn, sorry I must have overlooked it in my search.


Add school

The previous request was immaturely closed. Please consider the request.

The school's official website URL: https://www.trelowny.edu.eu.org/
Old domain: trelowny.design
New domain: trelowny.edu.eu.org

@vadalind Regrettably, there are circumstances that suggest something absolutely outstanding in this request. I have to close it without merging.
Please apply for free educational license with an official document which proves that you are a student. You can do it using "OFFICIAL DOCUMENT" tab at https://www.jetbrains.com/shop/eform/students.
The domain will not be added to the trusted list.
Thank you for the understanding!


[Feature request] .gitignore file wanted(empty issue body)

What's wrong with this one?
https://github.com/vuejs/vue-cli/blob/master/.gitignore

@zzz6519003  Please, issue the request in the actual template repository missing the .gitignore file

@zzz6519003
2016-12-09 20:14 GMT+08:00 Eduardo San Martin Morote <
<EMAIL_ADDRESS>
Closed #260 https://github.com/vuejs/vue-cli/issues/260.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/vuejs/vue-cli/issues/260#event-888260169, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABjOCDFdddbMYItxbln7Ye3rdPXnFmDgks5rGUYLgaJpZM4LHyvX
.

--
yours,
正中赵
about.me/zzz6519003
[image: 正中赵 on about.me]
http://about.me/zzz6519003


pdfkit success in development, failing in production with Passenger

I am successfully creating a pdf in development by running rails with unicorn and multiple workers. The same pdf is failing in staging environment which is running on Passenger 3 in Engineyard hosted server.
It fails without an exitstatus:
RuntimeError: command failed (exitstatus=): /data/cashanalytics/shared/bin/wkhtmltopdf --page-size A3 --margin-top 0.3in --margin-right 0.3in --margin-bottom 0.3in --margin-left 0.3in --encoding UTF-8 --orientation Landscape - -
I have the wkhtmltopdf-binary gem in my bundle but it's also installed via a cookbook

Hi @castlese
This looks like PDFKit is generating the correct wkhtmltopdf command, but that there is an issue with wkhtmltopdf rendering your pdf.
Usually this is due to lack of access to an image or stylesheet that is referenced in your markup.
Here are some things that might help you debug the issue:
Can you render the page as HTML without any assets missing? Are there any image links that are broken? If you open your developer panel and look at the network pane, are you including any stylesheets or JS files that 404 or 500?

Hi @cdwort, thanks for the speedy response. You were right in that the compiled javascript asset was not being loaded correctly.
I'm still figuring out the fix. I am loading javascript to create a Google Visualization chart however, even though it works in the html version (no missing assets, no js errors - chart renders correctly), the same set up does not work in the pdf version. Is there any other way to troubleshoot javascript rendering in pdfkit?

Hi castlese,
Well, it depends. In relatively rare cases we do see issues with PDFKit, so if you can post the code you're using to call PDFKit, from your controller or middleware, that could be helpful.
More likely though, your problem is not troubleshoot javascript rendering in pdfkit but rather how to troubleshoot whatever wkhtmltopdf is complaining about.
What PDFKit gets you is the ability to build up the command you saw in your logs:
.../shared/bin/wkhtmltopdf --page-size A3 --margin-top 0.3in --margin-right 0.3in --margin-bottom 0.3in --margin-left 0.3in --encoding UTF-8 --orientation Landscape - -

The two dashes at the end mean that wkthmltopdf is looking for input from STDIN and outputting to STDOUT. So, it's possible that PDFKit is messing up the payload sent into STDIN.
Otherwise it's a wkhtmltopdf issue.
If you can post information about your setup here, maybe we can see something. Otherwise, making sure that the wkhtmltopdf versions are the same, can you hit your production HTML page? Can you run this command against it:
.../shared/bin/wkhtmltopdf --page-size A3 --margin-top 0.3in --margin-right 0.3in --margin-bottom 0.3in --margin-left 0.3in --encoding UTF-8 --orientation Landscape http://your.awesome.site/page.html

I would also encourage you to Google for "wkhtmltopdf javascript".
This answer that suggests absolute URLs is one that has been useful in the past: http://stackoverflow.com/questions/6949685/create-pdf-with-wkhtmltopdf-and-rendering-javascript

@cdwort thanks - I have encountered the absolute url solution and I'll try some of your suggested troubleshooting (&googling) and see what I come up with

Alright, I'm going to close this issue since GitHub Issues are for bug reports and feature requests. If you continue to post here, I will see it and I'll try to help.
In the future, StackOverflow is the place for usage problems.
Good luck!


Edit view - Users - Implementation of combobox

Is possible to add in edit view combobox with possibility select value instead of textbox?
I have in IdentityUser additional item called ProfessionId and I want to select the value from Combobox not add value to textbox.
Thanks.

It's not built in as of now.


fix for CVE-2022-37434

Checklist

[X] Used a personal fork of the feedstock to propose changes
[X] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

This is https://nvd.nist.gov/vuln/detail/CVE-2022-37434. This affects freetype since freetype contains zlib sources.
Patch is here: https://github.com/madler/zlib/commit/eff308af425b67093bab25f80f1ae950166bece1

By the way, it looks like this commit https://github.com/madler/zlib/commit/eff308af425b67093bab25f80f1ae950166bece1 causes segfault in curl, so I'll update the patch now with a new change https://github.com/madler/zlib/commit/1eb7682f845ac9e9bf9ae35bbfb3bad5dacbd91d

Thanks @ekomarova!


paly 2 song in one page

Version 3
Hi and thanks for your js  plugin . I was surprised by this plugin
i wanna to add lyric as a property .... it can be very useful for other
and i found one bug ... when i load json song by ajax and set on player last song does not stop and new song are set than 2 song are playing in one page ...
is there any way to fixed this problem

Hi @masiha68,
Can you send us a public link/URL where this is happening? That would help us out a lot.
Thanks for your reports!

thans
http://undermusic.ir/main/album/album_id/85
for first choose one song and sreach any word for get new song list and if you select an song last song and new song together palying

Hi @masiha68 ,
If you are dynamically adding a songs to a page with Amplitude 3.0 you will have to run Amplitude.bindNewElements() to add songs to the page. Hopefully this helps!

Also, if you need to explicitly stop the song you can always run Amplitude.pause() from anywhere in Javascript which should help!

I am going to close this issue because we are assuming that the question or issue has been resolved. If you have any questions or are still having issues, just comment on this thread and I can re-open the issue for you.
Thanks!


Dynamically switching between TOOLBAR and MENU_ITEM vesions

I currently see a problem with that.
All my fragments have a search view in a MENU_ITEM version, but I want it to be available as a TOOLBAR on the one specific fragment. So I just switch versions.  like this:
    // search view in defined in main activity and all fragments access it.
    // any fragment
    version = SearchView.Version.MENU_ITEM
    versionMargins = SearchView.VersionMargins.MENU_ITEM
    setTheme(SearchView.Theme.LIGHT, true)
    // `special` fragment
    version = SearchView.Version.TOOLBAR
    versionMargins = SearchView.VersionMargins.TOOLBAR_BIG
    setTheme(SearchView.Theme.LIGHT, true)

But here's a problem. If I open and close a SearchView on the 'normal' fragment, it's hidden when I open the 'special' fragment.
So I tried just to set searchView.visibility = View.VISIBLE in the 'special' fragment, but that's not gonna work because searchView has a cardView inside it which is also get's hidden in a close() method.
I guess SearchView should take things like this in a setVersion() method and reset state according to the requested version.
Or it's just the wrong way to implement this? Should my 'special' fragment have a separate instance of
a search view?

Have you tried .invalidate()?

I had a thought to try it, but it looks like the call to 'searchView.invalidate()' will invoke the default implementation.  I mean SearchView doesn't override it from the View class.
Given you're an author of the lib, I guess I should try it, shouldn't I?)

Yes, it will be default but you can setVersion after that. It should be functional, but if it does not work I will fix it ASAP.

That doesn't seem to work.
After an invalidate() call both searchView and mCardView (the inner variable of a SearchView) remain in GONE state and nothing is visible to the user.
And while I'm able to call searchView.visibility = VISIBLE, it still gets me nothing as I can't access private 'mCardView'.
Proper steps to reproduce, if you decide to investigate the issue:

init search view as a MENI_ITEM
do some actions so that open() and then close() will be invoked on that view
change version TOOLBAR

I'm still not sure if the view should support such behavior change in runtime, it's up to you.
I decided to handle my issue in following way - I have now a separate search view instance for all my fragments but one. The 'special' fragment has its own instance. Works fine so far.


python 2.x compatibility

there is a problem in
CT_CoreProperties._set_element_text (line 299)
value = str(value)

which will will fail in a default windows-python2.x installation when supplying unicode strings (e.g.):

UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in position 0: ordinal not in range(128)

This is because there is no default system encoding, so python tries to encode the unicode-string using 7-bit-ASCII, which of course fails.
My solution: Only convert to string, if its necessary. If it's already a string/unicode, don't touch.
if not isinstance(value, basestring):
    value = str(value)

Fixed in release v0.8.7 circa Aug 18 2018.


More Template Naming Options

I've created a Template with the name 'Blog'.
I've modified its plural to be 'Blog' also, so that it shows in the menu as such.
I've made its slug 'posts'.
See attached image where:

'Blog' as sidebar menu dropdown title is exactly as desired (this is based on the 'plural')
However, I would prefer to see 'All Posts' and 'New Post' in the dropdown menu

What's needed then is...

Collection name. Examples: Blog, News, Articles
Item name. Examples: Post, Article, Article
Plural items name. Examples: Posts, News, Articles

Take the blog example:

Blog
All Posts
New Post
Blog Settings

Take the news example:

News
All News
New Article
News Settings

Generalised:

[Collection Name]
All [Plural Name]
New [Item Name]
[Collection Name] Settings

...with still one final name for the slug, of course.
Existing fields: name, plural, slug
Add: singular
Full set: name, singular, plural, slug
...where name is the collection name, singular is the name of a single item, plural is the plural of a collection of items*, and slug is the URL-friendly name for API access.
* plural being distinct from collection name, because it isn't always semantically correct to use collection name - might be better referred to as "Section Name"


Added support for ctrl-l

As well as general support for clearing with ctrl-l, a new function was
added to perform the same action, for instance when a shell runs clear

Hey, thanks for the PR! I left two small comments, otherwise your changes are appreciated! (+1)

Thanks for the suggestions. I keep forgetting about little helper methods like and_then.

Changes are published as copperline v0.1.3.


redis crashing

--- RDB ERROR DETECTED ---
[offset 197624797] Internal error in RDB reading offset 0, function at rdb.c:1961 -> Duplicate set members detected
[additional info] While doing: read-object-value
[additional info] Reading key 'HANDLEDFILES_390'
[additional info] Reading type 2 (set-hashtable)
[info] 765533 keys read
[info] 1 expires
[info] 1 already expired
1:M 09 Jun 2024 14:55:09.506 # Terminating server after rdb file reading failure.
1:C 09 Jun 2024 14:56:10.517 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
1:M 09 Jun 2024 14:56:11.549 # Internal error in RDB reading offset 197132283, function at rdb.c:1961 -> Duplicate set members detected
[offset 0] Checking RDB file dump.rdb
[offset 26] AUX FIELD redis-ver = '7.2.5'
[offset 40] AUX FIELD redis-bits = '64'
[offset 52] AUX FIELD ctime = '1717943865'
[offset 67] AUX FIELD used-mem = '1951992656'
[offset 79] AUX FIELD aof-base = '0'
[offset 81] Selecting DB ID 0
--- RDB ERROR DETECTED ---
[offset 197624797] Internal error in RDB reading offset 0, function at rdb.c:1961 -> Duplicate set members detected
[additional info] While doing: read-object-value
[additional info] Reading key 'HANDLEDFILES_390'
[additional info] Reading type 2 (set-hashtable)
[info] 765533 keys read
[info] 1 expires
[info] 1 already expired
1:M 09 Jun 2024 14:56:12.682 # Terminating server after rdb file reading failure.
``

disks were dying, so this can be closed


Obfuscate misses out some modules to obfuscate

I have to obfuscate 7173 modules (application in ReactJS CoreUI framework). With this configuration:
plugins: [
  react(),
  obfuscator({
    compact: false,
    numbersToExpressions: true,
    identifierNamesGenerator: 'hexadecimal',
    selfDefending: true,
    renameGlobals: true,
  }),
]

All modueles are processed. But any other options added to the above config, like deadCodeInjection or splitStrings or stringArray or any other options from https://www.npmjs.com/package/javascript-obfuscator, the number of modules being processed are getting reduced to anything less than 6000 randomly and then build ends without any errors. This prevents the execution of the application overall.
What is being missed or is there anything that I need to configure in vite or obfuscator configuration to always ensure that 7173 modules are being executed.
I even tried adding space size:
{
  "scripts": {
    "build": "cross-env NODE_OPTIONS='--max_old_space_size=8192' vite build"
  }
}

Adding this further affects the number of modules being processed to anywhere between 2000 and 3000. Adjusting the values are of no help.
Without this Obfuscate configuration vite build always builds all the modules successfully.

Same question.
After using this plugin:
vite v3.2.10 building for production...
✓ 201 modules transformed.

Not using this plugin:
vite v3.2.10 building for production...
✓ 326 modules transformed.

Oh, finally i solve this by change option ignoreImports from false to true. Guess you can add this option to solve it too.
plugins: [
  react(),
  obfuscator({
    compact: false,
    numbersToExpressions: true,
    identifierNamesGenerator: 'hexadecimal',
    selfDefending: true,
    renameGlobals: true,
    ignoreImports: true // Add this
  }),
]


PubSub Awkward implementation of SubscriptionName::equals

Environment details

Fedora 38
Java version: 17.0.7
version(s): proto-google-cloud-pubsub-v1-1.105.17.jar

Steps to reproduce

Compare SubscriptionName to an object of another type

Code example
import com.google.pubsub.v1.SubscriptionName
import io.kotest.core.spec.style.WordSpec
import io.kotest.matchers.shouldBe

class PubSub:WordSpec({

    "equals" should{
        "not except when compared to an object of another class"{
            SubscriptionName.newBuilder().setSubscription("foo").setProject("bar").build().equals("foo") shouldBe false
        }
    }
})

Any additional information below
I'd imagine
    if (o != null || getClass() == o.getClass()) {
https://github.com/googleapis/java-pubsub/blob/main/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SubscriptionName.java#L140
Should be replaced with
 if (o != null && getClass() == o.getClass()) {
Though not an explicit breach of Object.equals' contract, I wouldn't expect any Object.equals override to throw an exception.

Transferring to sdk-platform-java repo because the code is generated by ResourceNameHelperClassComposer


Pin Secure Delay

There is a delay of pin entries being secure when typing fast

Hi @msbouchedid, this was intended behaviour to enable the user to have a brief glimpse at what was entered.
I will make this a configurable field in the next release to suit your requirement.

@xornorik I have put a PR for this https://github.com/xornorik/SVPinView/pull/42 :)


Complete split of Vaults and Insights

This PR completes the split between Insights and Vaults sites, enabling fully discrete sites with user-specific roles and permissions. It's a very large PR, for which I apologize, but the commits are in fairly sensible shape, so the code review may be easier commit-by-commit.
🚨 Note that you will need to run migrations and add two new env vars:
MEDIA_VAULT_URL: "http://vault.factcheckinsights.local:3000"
FACT_CHECK_INSIGHTS_URL: "http://www.factcheckinsights.local:3000"

MEDIA_VAULT_URL replaces the old URL, which can be removed. Also note that you if your local setup doesn't use those ports, then of course omit them. All that really matters is that these URLs fit the expected pattern of {site}.factcheckinsights.{tld}.
Testing:
Testing may be a bit laborious, as confirming each of these scenarios is a pretty multi-step process. Please ping me if you want to screenshare on all this.
Here are the scenarios covered by this PR:

When you apply for an account, all the confirmation and setup emails you receive should reflect which app you came from. E.g., applying from www should result in emails from "Fact-Check Insights" with URLs rooted at www, while applying from vault should result in emails from "MediaVault" with URLs appropriately rooted at vault.
Applicants from vault should be assigned MediaVault access upon creation, while applicants from www should not.
When logged in as an Insights-only user, you should not be able to access Vault URLs (e.g., vault.factcheckinsights.local:3000/archive). You should be able to view the Vault home page, however.
When logged in as a Vault-permitted user, you should be able to move back and forth between Insights and Vault without a problem.

Closes #301
Closes #378

Got the green light from @cguess to move on. 🎉


Hue component / discovery broken in 0.37.0

Home Assistant release (hass --version):
0.37.0
Python release (python3 --version):
Python 3.4.2
Component/platform:
hue
Description of problem:
Philips Hue broken after upgrading 0.36 > 0.37
I have two RPis running on the same network with HA, one configured with Philips Hue working, second without (so normally I see Discoveru / Hue config component in UI). After upgrading to HA 0.37, I cannot see my Philips Hue lights/bridge in HA.
Expected:
Working :)
Traceback (if applicable):
17-01-29 09:12:33 ERROR (MainThread) [homeassistant.components.light] Error while setting up platform hue
Traceback (most recent call last):
  File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 151, in _async_setup_platform
    entity_platform.add_entities, discovery_info
  File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
    value = future.result()
  File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
    raise self._exception
  File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/light/hue.py", line 128, in setup_platform
    allow_in_emulated_hue, allow_hue_groups)
  File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/light/hue.py", line 139, in setup_bridge
    config_file_path=hass.config.path(filename))
  File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/core.py", line 1107, in path
    return os.path.join(self.config_dir, *path)
  File "/usr/lib/python3.4/posixpath.py", line 79, in join
    if b.startswith(sep):
AttributeError: 'NoneType' object has no attribute 'startswith'

Same issue here:
Home Assistant release (hass --version):
0.37.0
Python release (python3 --version):
Python 3.4.2
Component/platform:
hue
Description of problem:
Philips Hue broken after upgrading 0.36.1 > 0.37
worked without issues on 0.36.1 after upgrading lights dissapeared and errors in the logs. Dowgrading fixes it again.
Expected:
Working :)
Traceback (if applicable):
17-01-30 20:52:26 ERROR (MainThread) [homeassistant.components.light] Error while setting up platform hue Traceback (most recent call last): File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 151, in _async_setup_platform entity_platform.add_entities, discovery_info File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__ yield self # This tells Task to wait for completion. File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup value = future.result() File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result raise self._exception File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run result = self.fn(*self.args, **self.kwargs) File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/light/hue.py", line 128, in setup_platform allow_in_emulated_hue, allow_hue_groups) File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/light/hue.py", line 139, in setup_bridge config_file_path=hass.config.path(filename)) File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/core.py", line 1107, in path return os.path.join(self.config_dir, *path) File "/srv/homeassistant/homeassistant_venv/lib/python3.4/posixpath.py", line 79, in join if b.startswith(sep): AttributeError: 'NoneType' object has no attribute 'startswith'

Seems like a duplicate of #5626

Closing, since it is a duplicate.


Yi Home 1080P BFUSY314 won't update firmware (flashing blue)

I've tried loading y20ga 0.2.1, 0.2.2 and 0.2.3 and only get a flashing blue led.
I formatted the MicroSD using the camera, downloaded the y20ga_0.2.x.tgz release and expanded to a folder then copied it onto the MicroSD Card but did this on a Windows 10 PC.  Inserted the MicroSD into the camera, powered it up. Got a solid yellow LED, a click and then a steady flashing blue LED. I let if run overnight but was still flashing the next morning.  Pulled the MicroSD and the camera restarts normally and can be accessed in the Yi app.
Do I need to use a Linux computer to copy the files onto the MicroSD card?

No, you don't need a linux comuter.
Try to change something about sd card:

use another sd
format the card with a different program (windows, linux...)

No, you don't need a linux comuter.
Try to change something about sd card:

use another sd
format the card with a different program (windows, linux...)

Thanks for the quick response...
I reformatted and tried again but no luck. I'll run out to Micro Center and pick up another MicroSD card. Just curious, what should the LED be doing while the firmware is being uploaded/installed (so I know that it's actually working) and how long should it take?
Thanks again for you help!

Thanks for the quick response...
I reformatted and tried again but no luck. I'll run out to Micro Center and pick up another MicroSD card. Just curious, what should the LED be doing while the firmware is being uploaded/installed (so I know that it's actually working) and how long should it take?
Thanks again for you help!

I reformatted and tried again but no luck. I'll run out to Micro Center and pick up another MicroSD card. Just curious, what should the LED be doing while the firmware is being uploaded/installed (so I know that it's actually working) and how long should it take?

Sorry but I don't remember exactly the led sequence because I confuse the various models: mstar, allwinner and allwinner-v2.
To check if the hack worked, wait for blue led and try to connect to the internal web site on port 8080:
http:/IP-CAM:8080

I reformatted and tried again but no luck. I'll run out to Micro Center and pick up another MicroSD card. Just curious, what should the LED be doing while the firmware is being uploaded/installed (so I know that it's actually working) and how long should it take?

Sorry but I don't remember exactly the led sequence because I confuse the various models: mstar, allwinner and allwinner-v2.
To check if the hack worked, wait for blue led and try to connect to the internal web site on port 8080:
http:/IP-CAM:8080

Sorry for the bother but . . . I've tried 3 different brands (SanDisk, Samsung & Micro Center) MicroSD cards but still can't get any Allwinner version to load. After inserting the MicroSD card, the camera will reboot, with a solid yellow LED for about 15 seconds, then a flashing blue for 10 seconds followed by a solid blue. No web access at http://IP-CAM:8080 but can access camera through the Yi Home app on my phone. Any last suggestions/ideas before I return these cameras?

Did you try to hack the cam with another hack before Allwinner?

On one of the cameras I tried to install TheCrypt0/Yi-Hack-V4 but it wouldn't load either. I bought a 4-pack of the cameras and have only tried to update the firmware on 2 of them.

Try a different cam.

Tried remaining 2 cameras, one with SanDisk MicroSD and the other with Samsung MicroSD.  On reboot, solid yellow LED for 15-20 seconds and then steady flashing blue LED.  I'm just going to return the cameras to Micro Center and get something else. Thanks for your willingness to help with this.  I know it's not much but I'll send you another €5.00 for your time.

Don't worry.
But I would like to understand why it doesn't work.
If you want to spend more time I can help you.
For example, you could make a dump with this procedure
https://github.com/roleoroleo/yi-hack-Allwinner/wiki/Dump-your-backup-firmware-(SD-card)

Another question.
Are you using the provided cable and wall adaptor?
If you use a weak adaptor, often the cam doesn't start correctly.

Thanks for the offer. I have been using the provided cable and wall adapter. I purchased three more MicroSD cards (each a different brand) but still can't get the camera to update (still solid yellow LED to steady flashing blue).  I also tried loading the firmware backup but got the same results. What is the camera looking for in the root of the MicroSD to boot from?  Is there a hidden system file that I'm missing? That .tgz file only had a factory folder with config.sh and factory_test.sh in it.

The cam looks for a file called /Factory/factory_test.sh (in the sd card) and, if it exists, executes the file /Factory/config.sh
config.sh applies the hack and rename the file home_y20gam.stage in home_y20gam.
Then reboot the cam and load the new file system contained in home_y20gam.

What program are you using to decompress the tgz archive.
Try with 7zip if you are using Windows.


UserAuth - Logout functionality with JWT

On logout, need to send jwt from frontend to backend
Create instance of a BlacklistedToken related to the user
Add additional check when logging in, if user tries to send a blacklisted jwt, should send back an error
Generate a background process to clean up expired BlacklistedTokens

@alexistorosina1
Has this issue closed? If so, please confirm the PR number using #

Closed with PR #17


support boolean arithmetic in where

boolean_arimetic

@j6k4m8 you might want to add even more complex test cases. I'm pretty sure this works. But it seems a bit inefficient and that can be refactored in later commits.

😍 @khoale88 this ROCKS! In my opinion your work this past week has taken this from a toy project to a real contender for a meaningful graph data toolkit; I really appreciate your work so much!
I'm going to merge this and then we can optimize and flesh out the tests in future work; I'm so excited to put this into use!


Update Charge.php

$this->card is already instance of \Paymentwall_Card

Close due as out of date


1723818: package server 4.1 to 4.2 upgrade should not fail

packageserver v0.10.1 replaces v0.9.0. This should kick off a
trigger that sets v0.9.0 to Replacing phase. The head CSV then
can take ownership of the APIService object.
TODO:

I directly modified the manifests folder. In a follow up PR
I will add the changes to the chart templates.

/retest

/retest

/retest


Add Kotlin source to the source JAR

Resolves #248

Coverage remained the same at 100.0% when pulling bc09e870021b2c653779c7a711825cd2387f2d0d on jeffgbutler:master into 893333207fc7c6e6c346453b5e6017b44182c105 on mybatis:master.


Include entity for UV custom sensor

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
I am using the OpenUV integration and it would be good if the current UV level could be displayed within this card in the attributes section.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Allow a custom sensor to be configured for current UV level by specifying an entity_id for the UV level (in a similar way for temp, humidity, pressure).
This could then be shown in the attributes section.
Additional context
Add any other context or screenshots about the feature request here.

Please let me know if this screenshot is matching your desired solution:

That looks great, thanks!

This is also an option, let me know which one you like:

Thanks, but I wasn't able to tell the difference between the 2. I also wonder if introducing a 4th column may make the display challenging especially on a phone. Perhaps the original UV value could be put under or above the sunrise and sunset values?

Thanks, will always test it on multiple devices, if it doesn't fit I will place it below the sunset values. The difference:
2.4 UV
or
UV: 2.4

"How do I add the UV sensor to the config?"

"How do I add the UV sensor to the config?"

You can add the following configuration option in your yml card configuration:
uv: sensor.current_uv_index
It is also possible to configure the UV entity in the visual card configurator under “alternate entities”.
Make sure you have installed an UV index integration, like “OpenUV”

"How do I add the UV sensor to the config?"

You can add the following configuration option in your yml card configuration:
uv: sensor.current_uv_index
It is also possible to configure the UV entity in the visual card configurator under “alternate entities”.
Make sure you have installed an UV index integration, like “OpenUV”

Thanks tis work nice 😊


Plugin crashes obsidian when the rendered file contains ill input

Hello !
Everything is in the title. No other plugins were activated.
The plugin version is 0.7.2 and obsidian up to date as of writing.
I attach to this message a file that can trigger such crash.
Asciicrash3.md
Thank you for your plugin, and thank you for your attention.

In my debug, it must be the \n\n in the first math block, and I made a mistake when recognizing its token type.

If there is no problem, I will try to update its dependency and this plugin. Thank you for your bug report.