How to overwrite the scss for pdf.

Hi, I have read the documentation. And it seem the way to change is to add our file to extra_css in config file.
extra_css:
    - css/extra.css

I have done so. On build, the file extra.css wll be addded in site but nothing seem to happen

extra_css is mkdocs's option(pure css file - not SCSS/SASS).
see material sample extra.css.
Please check debug_html option of this plugin.
...and browse output with chrome Chrome Print Preview Mode will you help.
Note: WeasyPrint and Google Chrome are not fully compatible.

extra_css is mkdocs's option(pure css file - not SCSS/SASS).
see material sample extra.css.
Please check debug_html option of this plugin.
...and browse output with chrome Chrome Print Preview Mode will you help.
Note: WeasyPrint and Google Chrome are not fully compatible.

Thank you @orzih and also thank you for excellent work also.

Thank you @orzih and also thank you for excellent work also.


float.sh must print exactly three digits after the dot

I had some issues with previous with fork installation and etc..  so I reforked and rewrite the code and added new tests and modify other tests to ensure from my code I run make test and make lint everything works fine for me.
Sorry for interruption. please review it and let me know if you have any concerns.Thanks
@yegor256

@LaithAlebrahim looks like shellcheck is not happy about your code. Try again locally: make lint

@LaithAlebrahim looks like shellcheck is not happy about your code. Try again locally: make lint

@yegor256 Should be fixed now ,Hopefully :(

@LaithAlebrahim thanks!


Error during Inference of LSTM Tflite model

1. System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Raspbian Buster
TensorFlow library (version, if pip package or github SHA, if built from source): tflite-runtime 2.7 compiled using pip
Device: Raspberry pi 4 32 bit armv7l

2. Issue
I did create a custom LSTM model using the below architecture
def My_LSTM(X_train, y_train, X_test, y_test):
    model = Sequential()
    model.add(Masking(mask_value= -27/255 , input_shape=(None, 600)))
    model.add(LSTM(32, return_sequences=True))
    model.add(LSTM(32, return_sequences=False))
    model.add(Dropout(0.5))
    model.add(Dense(16,activation='tanh'))
    model.add(Dropout(0.5))
    model.add(Dense(4,activation='softmax'))

    model.compile(loss = 'sparse_categorical_crossentropy', optimizer= Adam(learning_rate = 1e-3, decay = 1e-6),metrics = ['accuracy'])

    reduce_lr = ReduceLROnPlateau(monitor='val_loss', factor=0.1, patience=5, min_lr=1e-9)
    stop = EarlyStopping(monitor='val_accuracy', patience=20, verbose=1, mode='auto', baseline=None, restore_best_weights=True)

    model.fit(X_train, y_train, epochs=40, batch_size= 128, validation_data=(X_test, y_test), callbacks=[reduce_lr, stop], verbose =1)

    return model

and then I did convert it to tflite extension using the following converter, which successfully converted the model.
def Create_tflite_Model(ModelName, savePath):

    keras_model = tf.keras.models.load_model(ModelName, compile = False)
    converter = tf.lite.TFLiteConverter.from_keras_model(keras_model)
    converter.optimizations = [tf.lite.Optimize.DEFAULT]
    converter.experimental_new_converter=True
    converter.target_spec.supported_ops = [tf.lite.OpsSet.SELECT_TF_OPS, tf.lite.OpsSet.TFLITE_BUILTINS]
    tflite_model = converter.convert()
    tflite_model_dir = pathlib.Path(savePath)
    tflite_model_file = tflite_model_dir/"My_model.tflite"
    tflite_model_file.write_bytes(tflite_model)

    return tflite_model

I did make inference using tf.lite.Interpreter in Tensorflow 2.7 on my PC and was working fine. But when I migrate to my Raspberrypi 4 with armv7l 32bit and try to make inference using tflite-runtime 2.7 using the following code:
Super_Interpreter = tf.lite.Interpreter(model_path='My_model.tflite')
Super_Interpreter.get_signature_list()
Super = Super_Interpreter.get_signature_runner('serving_default')
Result = Super(masking_input = "File to Classify")
object = np.argmax(Result.get('dense_1'))
print(Classes[object])

It returns this error:
RuntimeError: Select TensorFlow op(s), included in the given model, is(are) not supported by this interpreter. Make sure you apply/link the Flex delegate before inference. For the Android, it can be resolved by adding "org.tensorflow:tensorflow-lite-select-tf-ops" dependency. See instructions: https://www.tensorflow.org/lite/guide/ops_selectNode number 14 (FlexTensorListReserve) failed to prepare.

I also tried using tflite-runtime 2.5 which returns this error:
Unsupported data type 14 in tensor
In addition, I tried using the tensorflow 2.4 library on armv7l, which is the last version that can be installed on this system and tried making the same inference but I still get this error:
Unsupported data type 14 in tensor
Is there any solution for this issue?

@MTawfik93
In order to expedite the trouble-shooting process, please provide a code snippet to reproduce the issue reported here. Thanks!

@MTawfik93,
Use tflite_runtime 2.6 or higher. There shouldn't be any additional step to run the the delegate. Take a look at the guide to use Select TF ops is in https://www.tensorflow.org/lite/guide/ops_select#run_inference. Similar issue #40157. Thanks!

@MTawfik93, Use tflite_runtime 2.6 or higher. There shouldn't be any additional step to run the delegate. Take a look at the guide to use Select TF ops is in https://www.tensorflow.org/lite/guide/ops_select#run_inference. Similar issue #40157. Thanks!

I did try doing this but unfortunately still having the same error. I did solve it by upgrading the hardware to arch64 and installing a tensorflow 2.7 for Arm and using tf.lite.Interpreter function, but never succeeded in running the tflite_runtime using the LSTM tflite model, always running into the same error that I mentioned earlier.

@MTawfik93 The code seems to be working on TF 2.11 and tflite_runtime==2.11. Could you please check the  gist here and let us know if it helps. Thank you.


[stable/mariadb] Pod goes to CrashLoopBackOff when deleted with PVC enabled

Describe the bug
Install the chart with persistence enabled. When all pods are running, delete slave pod. Then when the pod comes back again it is stuck with CrashLoopBackOff, because it is using the previous pvc. I am using NFS Server Provisioner chart that creates automatic pvc for required pods.
The same happens when you delete the deployment and redeploy. If you delete the pvc before redeploying then everything is smooth.
Version of Helm and Kubernetes:
helm version
Client: &version.Version{SemVer:"v2.13.1", GitCommit:"618447cbf203d147601b4b9bd7f8c37a5d39fbb4", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.13.1", GitCommit:"618447cbf203d147601b4b9bd7f8c37a5d39fbb4", GitTreeState:"clean"}
kubeadm version
kubeadm version: &version.Info{Major:"1", Minor:"13", GitVersion:"v1.13.4", GitCommit:"c27b913fddd1a6c480c229191a087698aa92f0b1", GitTreeState:"clean", BuildDate:"2019-02-28T13:35:32Z", GoVersion:"go1.11.5", Compiler:"gc", Platform:"linux/amd64"}
Which chart:
#mariadb chart
version: 5.11.1
appVersion: 10.1.38
What happened:
Pod goes to CrashLoopBackOff when deleted with PVC enabled.
What you expected to happen:
All pods should be in running state. When using StatefulSet, the mariaDB image should be capable enough to reuse the PV that was provisioned previously. This might be a big issue when scalingDown and then scalingUp the StatefulSets..
How to reproduce it (as minimally and precisely as possible):
helm install --name my-release stable/mariadb
$kubectl get pvc #check pv is provisioned
$kubectl delete <slave-pod>
$kubectl get pods
mariadb-lcm-master-0                                         1/1     Running            0          2d21h
mariadb-lcm-slave-0                                          0/1     CrashLoopBackOff   4          2m14s
$kubectl logs <slave-pod>
INFO  ==> ** Starting MariaDB setup **
INFO  ==> Validating settings in MYSQL_*/MARIADB_* env vars..
INFO  ==> Initializing mariadb database...
INFO  ==> Persisted data detected. Restoring...
INFO  ==> Stopping mariadb...
INFO  ==> ** MariaDB setup finished! **
INFO  ==> ** Starting MariaDB **
2019-06-17 16:12:48<PHONE_NUMBER>67136 [Note] /opt/bitnami/mariadb/sbin/mysqld (mysqld 10.1.38-MariaDB) starting as process 1 ...
2019-06-17 16:12:48<PHONE_NUMBER>67136 [ERROR] mysqld: File './mysql-bin.index' not found (Errcode: 22 "Invalid argument")
2019-06-17 16:12:48<PHONE_NUMBER>67136 [ERROR] Aborting

Anything else we need to know:
The same didn't have any trouble when running the deployment the first time.

Hi,
I was unable to reproduce the issue. This is what I got after deleting the slave pod.
 1 ❯ kubectl logs quaffing-bronco-mariadb-slave-0 -f

Welcome to the Bitnami mariadb container
Subscribe to project updates by watching https://github.com/bitnami/bitnami-docker-mariadb
Submit issues and feature requests at https://github.com/bitnami/bitnami-docker-mariadb/issues
Send us your feedback at<EMAIL_ADDRESS>
INFO  ==> ** Starting MariaDB setup **
INFO  ==> Validating settings in MYSQL_*/MARIADB_* env vars..
INFO  ==> Initializing mariadb database...
INFO  ==> Persisted data detected. Restoring...
INFO  ==> Stopping mariadb...
INFO  ==> ** MariaDB setup finished! **

INFO  ==> ** Starting MariaDB **
2019-06-17 16:12:43 0 [Note] /opt/bitnami/mariadb/sbin/mysqld (mysqld 10.3.15-MariaDB-log) starting as process 1 ...
2019-06-17 16:12:43 0 [Note] InnoDB: Using Linux native AIO
2019-06-17 16:12:43 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2019-06-17 16:12:43 0 [Note] InnoDB: Uses event mutexes
2019-06-17 16:12:43 0 [Note] InnoDB: Compressed tables use zlib 1.2.8
2019-06-17 16:12:43 0 [Note] InnoDB: Number of pools: 1
2019-06-17 16:12:43 0 [Note] InnoDB: Using SSE2 crc32 instructions
2019-06-17 16:12:43 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
2019-06-17 16:12:43 0 [Note] InnoDB: Completed initialization of buffer pool
2019-06-17 16:12:43 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2019-06-17 16:12:43 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2019-06-17 16:12:43 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2019-06-17 16:12:43 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2019-06-17 16:12:43 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2019-06-17 16:12:43 0 [Note] InnoDB: 10.3.15 started; log sequence number 1643873; transaction id 48
2019-06-17 16:12:43 0 [Note] InnoDB: Loading buffer pool(s) from /bitnami/mariadb/data/ib_buffer_pool
2019-06-17 16:12:43 0 [Note] InnoDB: Buffer pool(s) load completed at 190617 16:12:43
2019-06-17 16:12:43 0 [Note] Plugin 'FEEDBACK' is disabled.
2019-06-17 16:12:43 0 [Note] Server socket created on IP: '<IP_ADDRESS>'.
2019-06-17 16:12:43 0 [Warning] 'proxies_priv' entry '@% root@quaffing-bronco-mariadb-slave-0' ignored in --skip-name-resolve mode.
2019-06-17 16:12:44 0 [Note] Reading of all Master_info entries succeded
2019-06-17 16:12:44 0 [Note] Added new Master_info '' to hash table
2019-06-17 16:12:44 10 [Note] Slave I/O thread: Start asynchronous replication to master 'replicator@quaffing-bronco-mariadb:3306' in log 'mysql-bin.000002' at position 342
2019-06-17 16:12:44 0 [Note] /opt/bitnami/mariadb/sbin/mysqld: ready for connections.
Version: '10.3.15-MariaDB-log'  socket: '/opt/bitnami/mariadb/tmp/mysql.sock'  port: 3306  Source distribution
2019-06-17 16:12:44 11 [Note] Slave SQL thread initialized, starting replication in log 'mysql-bin.000002' at position 342, relay log './mysql-relay-bin.000004' position: 641
2019-06-17 16:12:44 10 [Note] Slave I/O thread: connected to master 'replicator@quaffing-bronco-mariadb:3306',replication started in log 'mysql-bin.000002' at position 342

❯ kubectl get pv | grep bronco
pvc-82e29baa-911a-11e9-adfc-42010a80003a   8Gi        RWO            Delete           Bound       default/data-quaffing-bronco-mariadb-master-0   nfs                     16m
pvc-82efe6b4-911a-11e9-adfc-42010a80003a   8Gi        RWO            Delete           Bound       default/data-quaffing-bronco-mariadb-slave-0    nfs                     16m

Could you provide more details about your platform?

That's weird. Here are some information on Storage class and MariaDB chart
# kubectl describe storageclasses.storage.k8s.io
Name:                  nfs
IsDefaultClass:        Yes
Annotations:           storageclass.kubernetes.io/is-default-class=true
Provisioner:           cluster.local/e2eo-infra-paas-nfs-server
Parameters:            mountOptions=vers=4.1
AllowVolumeExpansion:  <unset>
MountOptions:          <none>
ReclaimPolicy:         Delete
VolumeBindingMode:     Immediate
Events:                <none>

I initially tried it with Image: bitnami/mariadb:10.1.38
But the same happens with latest image and latest chart too. Is there any other info you would like me to share?

Could you share the command you used to deploy the nfs server provisioner chart?

@javsalgar sure, following are some difference from the current values.yaml in nfs server provisioner chart
image:
  tag: v1.0.9
persistence:
  enabled: true
  storageClass: "-"
  size: 100Gi
  accessMode: ReadWriteOnce
storageClass:
  create: true
  defaultClass: true
  parameters:
    mountOptions: vers=4.1

I am creating a PV that nfs's PVC can claim
apiVersion: v1
kind: PersistentVolume
metadata:
  name: data-nfs-server-provisioner-0
spec:
  capacity:
    storage: {{ .Values.persistence.size }}
  accessModes:
    - {{ .Values.persistence.accessMode }}
  hostPath:
    path: /srv/volumes/data-nfs-server-provisioner-0

One difference in the NFS chart is that an additonal  mountOptionsis introduced
    - noatime```
I have already share my default StorageClass above. Following is the command I used to install NFS server.
`helm install stable/nfs-server-provisioner`

I am also running other DBs (e.g. Cassandra) using the PVC from the same NFS provisioner. But they seam to start fine when the pod is deleted, this only happens to mariadb.

Not sure about the deployment, You installed the Chart for the nfs storage provisioner but you didn't use  'persistence.storageClass=nfs' on your MariaDB install command, so probably you are using other storage provisioner:

helm install --name my-release stable/mariadb

Apart from that, I deployed using the following:
$ helm install stable/nfs-server-provisioner
$ helm install --name mariadb-maca stable/mariadb --set persistence.storageClass=nfs
$ ROOT_PASSWORD=$(kubectl get secret --namespace default mariadb-maca -o jsonpath="{.data.mariadb-root-password}" | base64 --decode)
$ helm upgrade mariadb-maca stable/mariadb --set rootUser.password=$ROOT_PASSWORD

After that I killed the slave pod to see if I the error appear, but I was not able to replicate it. Could you provide more information about how to replicate this issue?

@miguelaeh thanks you
My nfs  storageClass is configured to be default so I dont have to specify --set persistence.storageClass=nfs this is selected by default.
In your case, can I ask who provisions the PVClaim that is made for stable/nfs-server-provisioner ? In my case I created a separate PersistantVolume yaml based on hostPath filesystem based (as described above).
# kubectl get pvc,pv
persistentvolumeclaim/data-infra-paas-nfs-server-0                    Bound   data-nfs-server-provisioner-0              100Gi      RWO                           7d

persistentvolume/data-nfs-server-provisioner-0              100Gi      RWO            Retain           Bound    default/data-infra-paas-nfs-server-0

You have just mentioned all the steps I followed exactly. But the issue is specific to my setup? Can you confirm if you used a seperate PV for the PVC on the NFS server?

Hi,
I used the local provisioner PV (which is based on hostpath) and found no issues
local-pv-a9e728ff                          19Gi       RWO            Delete           Bound       kube-system/data-nfs-provisioner-nfs-server-provisioner-0   fast-disks              16m

@javsalgar Thank you for your response.
Not sure why this happens in my clusters.. If none can experience this issue, I better close this issue..

Just realised this issue is because of slow PV response time.
Fixed in PR: https://github.com/bitnami/bitnami-docker-mariadb-galera/pull/38


External documentation about protocol simulation

Generate documentation for external users about what is happening during protocol upload and simulation, what kinds of errors are caught at each phase, and what options they have to change parts of that flow. This will require internal alignment around the language we use for the protocol lifecycle.
Acceptance criteria:

New documentation, as described above.
Alignment with UX and other stakeholders about how to present this info (now info architecture on site, in-app, etc)

Closing due to other "fast sim" route taken.


broadcom-sta fails to build in combination with grsecurity/Pax

Issue description
While trying to build Nixos .17:03 with grsecurity/Pax support. The build fails on compiling broadcom-sta:
 from /tmp/nix-build-broadcom-sta-<IP_ADDRESS>1-4.9.20.drv-0/broadcom-sta/src/wl/sys/wl_cfg80211_hybrid.c:26:
/nix/store/y6320ln7x2fw7300ga1jdgawwdg22j9c-linux-4.9.20-dev/lib/modules/4.9.20-grsec/source/arch/x86/include/asm/string_64.h:56:7: note: expected 'void *' but argument is of type 'const struct wl_cfg80211_event_loop *'
void *memset(void *s, int c, size_t n);
^
Steps to reproduce
Hardware needs broadcom-sta and in configuration.nix:
nixpkgs.config.allowUnfree = true;
security.grsecurity.enable = true;
Technical details

System: NixOS: 17:03
Nix version: 1.11.8
Nixpkgs version: 17.03.899.c87abfae79

Unfortunately, out-of-tree modules are apt to break with grsec, and it's not much we can do about it on our end. I think you'll have more luck reporting this upstream.

If you have powerful hardware, you can experiment with disabling some of the PaX plugins (constification, &c).

Thank you for the explanation.
I tried to get nixos to build via experimenting with disabling GrSecurity and PaX settings as you mentioned, but I unfortunately I could not obtain a succesful build. Is there a way to explicitely exclude out-of-tree modules like broadcom-sta from the hardening process?

Unfortunately, grsec is no longer supported.


Support list all dataset versions

Codecov Report
Patch coverage has no change and project coverage change: -58.96 :warning:

Comparison is base (41ce7ef) 72.80% compared to head (b2f2255) 13.84%.

Additional details and impacted files
@@              Coverage Diff              @@
##             master    #2511       +/-   ##
=============================================
- Coverage     72.80%   13.84%   -58.96%
+ Complexity    11158     2369     -8789
=============================================
  Files           790      792        +2
  Lines         63095    63367      +272
  Branches       7710     7747       +37
=============================================
- Hits          45934     8773    -37161
- Misses        14653    54084    +39431
+ Partials       2508      510     -1998

Impacted Files
Coverage Δ

...com/github/ambry/account/CachedAccountService.java
0.00% <0.00%> (-64.04%)
:arrow_down:

.../com/github/ambry/account/MySqlAccountService.java
0.00% <0.00%> (-35.95%)
:arrow_down:

...ava/com/github/ambry/account/mysql/DatasetDao.java
0.00% <0.00%> (-82.12%)
:arrow_down:

.../github/ambry/account/mysql/MySqlAccountStore.java
0.00% <0.00%> (-93.94%)
:arrow_down:

.../java/com/github/ambry/account/AccountService.java
0.00% <0.00%> (-44.00%)
:arrow_down:

...github/ambry/config/MySqlAccountServiceConfig.java
0.00% <0.00%> (-100.00%)
:arrow_down:

.../com/github/ambry/frontend/DatasetVersionPath.java
0.00% <0.00%> (ø)

...src/main/java/com/github/ambry/rest/RestUtils.java
0.00% <ø> (-92.46%)
:arrow_down:

...ub/ambry/frontend/AccountAndContainerInjector.java
0.00% <0.00%> (-78.50%)
:arrow_down:

...om/github/ambry/frontend/DeleteDatasetHandler.java
0.00% <0.00%> (-95.07%)
:arrow_down:

... and 4 more

... and 618 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

In my opinion, we don't need "synchronize" the listDataSetVersions with deleteVersion etc. It's ok to show up deleted version. And since the requests can get to any frontend node, the "synchronization" won't help either.
Other than that, it's good to me. Approved.

Checked with @Arun-LinkedIn, the synchronize is actually to prevent request sending from same frontend might close a connection in one method while other method is still in progress. I'll move the synchronize at one layer above which is MySqlAccountStore. And will try to use hikari library to create a connection pool instead of using single connection in a future pr since the qps has been increased.


Update README.md

Secrets need both global and local per-service declaration, otherwise fails as "not found". Local configuration added for both app and db.

More context added:
When I try to use the secrets example as published using docker-compose up -d, the resulting containers don't have an access to file stored secrets. This results in these errors in the container log:
[secret-init] Evaluating MYSQL_ROOT_PASSWORD__FILE,
[secret-init] ERROR: Cannot find secret in MYSQL_ROOT_PASSWORD__FILE,
[secret-init] Evaluating MYSQL_PASSWORD__FILE,
[secret-init] ERROR: Cannot find secret in MYSQL_PASSWORD__FILE

Looking at the Docker Compose reference documentation (V3+), it says:

Defining a secret does not imply granting a service access to it.

The examples that follow in the reference documentation all use a per service secret access configuration (in other words this secret will be used here in this container) in addition to top-level secrets configuration (in other words here we declare the secret by linking it to an external file),
When per-service configuration is added as per my pull request, the secrets are correctly evaluated, as demonstrated by:
[i] pre-init.d - processing /scripts/pre-init.d/01_secret-init.sh,
[secret-init] Evaluating MYSQL_ROOT_PASSWORD__FILE,
[secret-init] Success! MYSQL_ROOT_PASSWORD set from MYSQL_ROOT_PASSWORD__FILE,
[secret-init] Evaluating MYSQL_PASSWORD__FILE,
[secret-init] Success! MYSQL_PASSWORD set from MYSQL_PASSWORD__FILE

Prerequisities:
docker-compose version 1.25.0
docker version 19.03.13
docker-compose.yml using v3.7

Docker Image for build 2 is available on DockerHub as jc21/nginx-proxy-manager:github-pr-943

Docker Image for build 3 is available on DockerHub as jc21/nginx-proxy-manager:github-pr-943


Using BLE for very short distance

Hi,
I just bought a NodeMCU-ESP32 board. I created a BLE Server on the board in Arduino IDE. I'd like to build a Check In-Check Out system where people can use their smartphone to connect to ESP32 and check in or check out. It works fine but I want to decrease the strength of the signal because currently anybody can connect to it within ~10 meters. I want to reduce the distance to only a few centimeters. I changed ::setPower but it seems to me that the strength of the signal doesn't change at all no matter what value I set.
Here is the part of the code:
BLEDevice::init("MyESP32");
  BLEDevice::setPower(ESP_PWR_LVL_N14);
  //BLEDevice::setPower(ESP_PWR_LVL_P7);

  pServer = BLEDevice::createServer();
  pServer->setCallbacks(new MyServerCallbacks());

  BLEService *pService = pServer->createService(SERVICE_UUID);

 pCharacteristic = pService->createCharacteristic(
                                         CHARACTERISTIC_UUID,
                                         BLECharacteristic::PROPERTY_READ |
                                         BLECharacteristic::PROPERTY_WRITE
                                       );

  pCharacteristic->setCallbacks(new MyCallbacks());

  pCharacteristic->setValue("Hello World");
  pService->start();

Is there any way to reduce the distance between devices to a few centimeters only?

What u need to do , is use the scan function and ask for the rssi. Then you will filter with and if statement if value<maxrssiwante then do what you want


fix problem with colons in title being assigned to bylines in the Source feed in the sidebar

we might need to bring in @rossbruniges on this one, unless @ryanpitts wants to read over the code and see what's going on there.

fixed by #189


Backport classNameMapper injectability from #144 to graphqlite v3

This pull requests backports #144 to GraphQLite v3
Why?
For the moment we are still using Symfony 3 components in our system, whereas GraphQLite master is already using Symfony 4 components. As we will take a while to update to Symfony 4 components, we are locked on GraphQLite v3

The code coverage decrease looks tricky to me, i'll have a look at it later

Yehaw, everything :green_heart:
do you think you could make a v3.1 release with this @moufmouf?

Excellent. Let's merge this!

Tagged as 3.1.0: https://github.com/thecodingmachine/graphqlite/releases/tag/v3.1.0


How does shuffle = 'batch' work in the background?

When I train the model using the .fit() layer there is the argument shuffle preset to True.
Let's say that my dataset has 100 samples and that the batch size is 10. When I set shuffle = True then keras first randomly selects randomly the samples (now the 100 samples have a different order) and on the new order it will start creating the batches: batch 1: 1-10, batch 2: 11-20 etc.
If I set shuffle = 'batch' how is it supposed to work in the background? Intuitively and using the previous example of 100 samples dataset with batch size = 10 my guess would be that keras first allocates the samples to the batches (i.e. batch 1: samples 1-10 following the dataset original order, batch 2: 11-20 following the dataset original order as well, batch 3 ... so on so forth) and then shuffles the order of the batches. So the model now will be trained on the randomly ordered batches say for example: 3 (contains samples 21 - 30), 4 (contains samples 31 - 40), 7 (contains samples 61 - 70), 1 (contains samples 1 - 10), ... (I made up the order of the batches).
Is my thinking right or am I missing something?
Thanks!

shuffle: boolean, whether to shuffle the training data before each epoch.

@AdityaSoni19031997  shuffle except for True, False can also take batch value according to their documentation. In that case how does the shuffling work?

I think the doc is just wrong. shuffle = "batch" isn't implemented.

Not true, it is implemented. See keras/keras/engine/training_arrays.py

Same questionÇÇ

From the documentation:

batch' is a special option for dealing with the limitations of HDF5 data; it shuffles in batch-sized chunks.


DOC: optimize.linprog: adjust tutorial to address gh16531

Reference issue
Addresses linprog part of gh-16531
What does this implement/fix?
A warning is emitted in the linprog tutorial due to outdated usage. This updates the tutorial to avoid the warning.
Additional information
Please tell GitHub to ignore whitespace changes. My IDE removes the trailing spaces automatically.

All green thanks Matt and Nicholas!


Check for k3s policy and provide install hints

For #1583

Note, requires that yum install -y container-selinux selinux-policy-base is run, even when using --disable-selinux or installing from k3s pre v1.17.4

Maybe something like rpm-ostree install https://rpm.rancher.io/k3s-selinux-0.1.1-rc1.el7.noarch.rpm for Fedora CoreOS ? ( Not sure if k3s is working on FCOS )


Add ability to override response Content-Type header when extracting response body elements

In case the API you're using does not set the correct Content-Type header value in the response.

Will probably be a solution similar to #73, using an enumeration called ExtractAs to maximise readability.

Added in https://github.com/basdijkstra/rest-assured-net/commit/34afd7d41e28b8eb67d2f0f96019edc657d40c73.


[module] Cannot run compiled examples

Issue description
Compilation is ok, but I cannot run compiled files. Error: Entry point for procedure "timeEndPeriod" not found at DLL kernel32.dll
Environment
Windows 7 x64, raylib_installer_v300.tcc
Issue Screenshot

Code Example
All examples failed to run.

timeEndPeriod() function is contained in WinMM library but early versions of Windows 7 do not include this library. To avoid using WinMM you should edit raylib/src/config.h and change it to use SUPPORT_BUSY_WAIT_LOOP instead of SUPPORT_HALFBUSY_WAIT_LOOP:
// Use busy wait loop for timing sync, if not defined, a high-resolution timer is setup and used
#define SUPPORT_BUSY_WAIT_LOOP      1
// Use a half-busy wait loop, in this case frame sleeps for some time and runs a busy-wait-loop at the end
//#define SUPPORT_HALFBUSY_WAIT_LOOP

Now you must recompile raylib library, it can be done with Notepad++ script raylib_source_compile. Recompile your example again and it should work.
Please, feel free to reopen the issue if it still fails.


the audio is broken and is very loud

the audio is VERY loud and changing sound doesnt often work on some stuff.
Before installing the integartion the sound was fine.

What mods do you have installed? Does the issue still occur with no mods?

heres the mods i have installed
i will try soon without the mods and say if its  the same.
my friend has same mods and had even worse problem with sound. So it may
prob be bcs of mods. Will check
On Fri, Oct 6, 2023 at 10:20 AM Truman Kilen @.***>
wrote:

What mods do you have installed? Does the issue still occur with no mods?
—
Reply to this email directly, view it on GitHub
https://github.com/trumank/drg-mod-integration/issues/96#issuecomment-1750104391,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A2Y4LX6NJXMXH6T5F6SA6YTX56WLNAVCNFSM6AAAAAA5VMAL2CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJQGEYDIMZZGE
.
 Master volume slider seemed to affect all the sounds I heard. What specific sounds are loud and which volume control is failing to affect them?

i dont know exactly
so i will try to record video exapmle of how loud stuff is and point out
some of the mods
On Sun, Oct 8, 2023 at 1:28 AM Truman Kilen @.***>
wrote:

I installed the mods and nothing seemed obviously broken. Master volume
slider seemed to affect all the sounds I heard. What specific sounds are
loud and which volume control is failing to affect them?
—
Reply to this email directly, view it on GitHub
https://github.com/trumank/drg-mod-integration/issues/96#issuecomment-1751844047,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A2Y4LX4EUNGMY2LMJJYIMA3X6HJRZAVCNFSM6AAAAAA5VMAL2CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJRHA2DIMBUG4
.
You are receiving this because you authored the thread.Message ID:
@.***>

Closing for now as sound inconsistencies seem to stem from DRG's broken modding implementation. If you find clips or reproductions steps pinpointing the issue feel free to post them.

If still working this out, its the fumo mod https://mod.io/g/drg/m/fumo-drg-mod for sure, seen the rocket in the loading screen get max volume and slosh sounds from the Sludge Pump and Menace ignoring volume controls.


Set commit-timeout based on timeConfiguration

About this change - What it does
This PR sets the commit-timeout configuration for the Alpakka Kafka consumer to be based on the configured time-configuration plus an extra configurable commit-timeout-buffer
Why this way
Since Guardian has manual control over committing cursors from read topics which it overrides it makes sense for Guardian to also set the commit-timeout option due to the fact that the user has no control over commit strategies. In other words, if you set a time-configuration of 1 minute then the commit-timeout should be larger than that because Guardian will commit the cursor around every minute.
The commit-timeout-buffer is there to give us some headroom (delays in commits, latency between kafka cluster and the client since timestamp is based off Kafka's cluster timestamp etc etc). I set the buffer to a default of 10 seconds as a ballpark figure but this can be changed afterwards.

LGTM, only have a comment regarding the naming of the command line option ...

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

3 of 3 (100.0%)  changed or added relevant lines in 1 file are covered.
2 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.4%) to 76.243%

Files with Coverage Reduction
New Missed Lines
%

core-restore/src/main/scala/io/aiven/guardian/kafka/restore/KafkaProducer.scala
1
72.73%

core/src/main/scala/io/aiven/guardian/kafka/codecs/Circe.scala
1
95.24%

Totals

Change from base Build<PHONE_NUMBER>:
-0.4%

Covered Lines:
276

Relevant Lines:
362

💛  - Coveralls


Added explicit tilt/erb require, added params helper.

Hey @etagwerker,
This PR fixes this warning when rendering an ERB file:
WARN: tilt autoloading 'tilt/erb' in a non thread-safe way; explicit require 'tilt/erb' suggested.
I also added a helper method for easier access to the params hash.
Please check it out, thanks!

@mauro-oto Thanks! 👍


Unable to find consistent max/min

Hello,
I am trying to use perlin2d to generate noisemaps.
I want specific values in the noisemap to correlate with specific outcomes.
However, I am unable to establish a consistent range across the noisemap.

I believe the noise range is bias+amplitude*[0,1]. Thus amplitude should be set to (max-min) and the bias should be set to (min). Then, the noise output would be in range [min, max].


operator project-quay (3.7.10)

Add v3.7.10 to community operators

/merge possible

/merge possible


Update admin-site to support json schema

For the main backend changes, see #1178.
Updates the admin-views to support viewing applications, download CSVs and edit the JSON schema.
The backend + the frontend structure supports adding fields, reordering fields, etc. but this is not implemented in the GUI yet. Would rather do this in a later PR.
The functionality to change the top questions (info and phone number in the screenshot in #1179) is not yet implemented, but will match the visual preview for group-leaders.
Visual preview
Admin page for group-leaders and recruiters

Admin page for admission-admins

Resolves ABA-515, ABA-516

Converted to draft to ensure it is not merged before 2023 admissions, will merge some time after that.


Add SAM endpoints and CH/WW locations

Pull request
Description
This PR adds the ability to select the SAM endpoints in the Lists section of the demo app, as well as setting the IL location to CH or WW.
Changes made

Rework the DemoItem class, so it can be distinguished between URL and URN.
Update PlayerModule.createRepository() to support passing the forceSAM and ilLocation arguments, based on the desired configuration.
Update MainNavigation to propose the new backend configurations.

Checklist

[x] Your branch has been rebased onto the main branch.
[ ] APIs have been properly documented (if relevant).
[ ] The documentation has been updated (if relevant).
[x] New unit tests have been written (if relevant).
[x] The demo has been updated (if relevant).
[x] All pull request status checks pass.

I think the forced location should be also set for playback (mediaComposition calls) otherwise, what is the point?

@StaehliJ this can be reviewed again now. Most of the changes are in Playlist and DemoItem, because of the change of implementation of DemoItem.

[!NOTE]
The failing Android Tests don't seem to be linked to my change. It looks like the emulator fails to start. I've restarted the build already, with the same result: https://github.com/SRGSSR/pillarbox-android/actions/runs/11290145790/job/31401749426?pr=736.
I'll check again later to see what we can do.
# Run Android Tests > Launch Emulator
sh to create a custom hardware profile? [no] [command]/usr/bin/sh -c \printf 'hw.cpu.ncore=2
' >> /home/runner/.android/avd/test.avd/config.ini
/usr/bin/sh: 1: cannot create /home/runner/.android/avd/test.avd/config.ini: Directory nonexistent

The failing Android Tests don't seem to be linked to my change.

Indeed, the same is happening on #726: https://github.com/SRGSSR/pillarbox-android/actions/runs/11292597001/job/31409000873?pr=726
I'm investigating now to see what we can do

The issue seems to be related to the fact that ubuntu-latest now points to ubuntu-24.04 instead of ubuntu-22.04. Forcing ubuntu-22.04 works as expected. We can use that for now to not block our PRs.
In the meantime, I'll investigate the difference between ubuntu-22.04 and ubuntu-24.04 to see if there's something to do on our side, or if it's an issue in the new image version.
I've opened this ticket for tracking.

I've reverted my change to the runner.
See https://github.com/SRGSSR/pillarbox-android/issues/747#issuecomment-2410190157


Identity check with 3rd parties

The idea is to check user identity with a third-party identity checker. If they hold illegal files and the government comes to us, we will redirect them to the third-party checker to get their real identity, and we will not be held responsible.
Constraits

Don't keep any of the user data. We don't want to complicate things with GDPR
Only keep some reference from the identity checker

Indentity checkers
What 3rd party provider can we use for that? LinkedIn uses Persona

https://withpersona.com/
https://www.authenticid.com
https://www.identity.com
https://chain.link/

https://chatgpt.com/share/6741ced3-2a24-8003-94b5-186bbf95ff88
Structure

Create a dedicated crate for this that uses rencfs (the core) as a lib. You can create abstractions and common minimalistic generic functionality in the core but keep the core more generic

Check

@CQuerini247 check what? :)


MONDO_0021937 Asrar Facharzt Haque syndrome is the same as MONDO_0011273 'H syndrome'?

I believe MONDO_0021937 Asrar Facharzt Haque syndrome is a synonym for MONDO_0011273 'H syndrome'.
Gard links out to this paper. The syndrome is named after the authors names, and it is also called Rosai-Dorfman disease, I believe.
I think those two classes should be merged.

Thanks! I will take care of this.
I just added a new label 'merge request' (duplicate is for dupe tickets not classes!)

cc @GARDInfoCenter


Errors during make

Hello. Please tell me during the make I get such errors, what can I do?
downloadmanagerwidget.cpp:29:44: error: ‘class QWebEngineDownloadItem’ has no member named ‘downloadFileName’
29 |       path + QDir::separator() + download->downloadFileName();
|                                            ^~~~~~~~~~~~~~~~
downloadmanagerwidget.cpp:44:48: error: ‘class QWebEngineDownloadItem’ has no member named ‘downloadFileName’
44 |                                      download->downloadFileName();
|                                                ^~~~~~~~~~~~~~~~
downloadmanagerwidget.cpp:45:17: error: ‘class QWebEngineDownloadItem’ has no member named ‘setDownloadFileName’
45 |       download->setDownloadFileName(n_proposed_file_name);
|                 ^~~~~~~~~~~~~~~~~~~
downloadmanagerwidget.cpp:55:15: error: ‘class QWebEngineDownloadItem’ has no member named ‘setDownloadFileName’
55 |     download->setDownloadFileName(proposed_file_name);
|               ^~~~~~~~~~~~~~~~~~~
g++ -c -pipe -O2 -std=gnu++1z -Wall -W -D_REENTRANT -fPIC -DQAPPLICATION_CLASS=QApplication -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG_OUTPUT -DGIT_HASH="906ca7e" -DGIT_BRANCH="main" -DBUILD_TIMESTAMP="2023-08-02T15:59:17UTC" -DVERSIONSTR="4.14" -DQT_NO_DEBUG -DQT_WEBENGINE_LIB -DQT_WEBENGINEWIDGETS_LIB -DQT_WEBENGINECORE_LIB -DQT_QUICK_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_WEBCHANNEL_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_POSITIONING_LIB -DQT_CORE_LIB -I. -Isingleapplication -Iwidgets/MoreApps -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWebEngine -isystem /usr/include/x86_64-linux-gnu/qt5/QtWebEngineWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtWebEngineCore -isystem /usr/include/x86_64-linux-gnu/qt5/QtQuick -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtWebChannel -isystem /usr/include/x86_64-linux-gnu/qt5/QtQml -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtPositioning -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o main.o main.cpp
make: *** [Makefile:1326: downloadmanagerwidget.o] Ошибка 1
make: *** Ожидание завершения заданий…
downloadwidget.cpp: In constructor ‘DownloadWidget::DownloadWidget(QWebEngineDownloadItem*, QWidget*)’:
downloadwidget.cpp:17:39: error: ‘class QWebEngineDownloadItem’ has no member named ‘downloadFileName’
17 |   auto downloadFileName = m_download->downloadFileName();
|                                       ^~~~~~~~~~~~~~~~
downloadwidget.cpp: In lambda function:
downloadwidget.cpp:29:50: error: ‘class QWebEngineDownloadItem’ has no member named ‘downloadFileName’
29 |       QDesktopServices::openUrl(QUrl(m_download->downloadFileName()));
|                                                  ^~~~~~~~~~~~~~~~
make: *** [Makefile:1331: downloadwidget.o] Ошибка 1
In file included from mainwindow.h:30,
from main.cpp:10:
notificationpopup.h:19:10: fatal error: QWebEngineNotification: Нет такого файла или каталога
19 | #include
|          ^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

Which version of Qt you are using for compiling the project?

I install qt libraries from ubuntu 20.04.1 repo. There is version 5.12.8-0ubuntu1

Oh, actually this method was added to QWebEngineDownloadItem class in Qt 5.14
https://doc.qt.io/qt-5/qwebenginedownloaditem.html#downloadFileName
We need to check of alternative is available in 5.12 and refactoring the code to support both version if we want.

Thank you for your reply. I'll try to compile qt 5.15 from source

Thanks again.
I managed to compile qt 5.12.2, though with some features for whatsie, after which I built the whatsie project

.


Unable to inspect in appium inspector and the appium get crashing , while launching the appium inspector

1.I have installed appium 1.3.7 version in mac machine.
2. I have started appium server for android app in android device.  In android device, the app get installed and opened successfully.
3.I have clicked the show inspector button and then I can able to see the inspector screen and then my appium inspector get crashed.
4. I have attached the screen shot below for reference.

Hi, it seems like you have a problem with something called "appium". This is an issue tracker for a project called "hub", which is a command-line tool for git version control.
Maybe you want to open an issue in the appium project instead? You might also want to search their existing issues for similar reports. Thanks


Requesting information on updated steps for "Documentation" on Crossfeed User Guide (Documentation)

💡 Summary
What is the work, as a high-level summary? High Level summary. Requesting updated information for the following link:
https://docs.crossfeed.cyber.dhs.gov/dev/quickstart/#documentation
Motivation and context
Why does this work belong in this project? This would be useful because ASM Solutions is required to provide the most accurate User Guide to CISA Leadership.
Implementation notes
Please provide details for implementation, such as:

an example for how this would be used
what this would look like
how this would act
any related work, including links to related issues

Acceptance criteria
How do we know when this work is done? New User Guide will be routed to leadership for approval.
Please deliver updated steps to myself, Nicole Q. as I will revise and provide documentation to leadership.

[ ] Criterion

Closing issue as the steps to update this documentation is completed by developers. The following change request are being tracked:

https://github.com/cisagov/XFD/issues/106
https://github.com/cisagov/XFD/issues/105
https://github.com/cisagov/XFD/issues/101
https://github.com/cisagov/XFD/issues/98
https://github.com/cisagov/XFD/issues/81


Open external URLs with SPFX Extension listview command set dialog

Question : How to enable  list view commandset to open an external URL when clicked.
Requirement : I have a need to open an external URL and pass list item properties to it as additional parameters. I have a command set extension developed and in the onExecute event i am capturing the item properties which i need to pass as parameter and open a modal dialog to an external URL. I am not finding direct way to call window.Showmodaldialog within the code. Do i have to create a seperate dialog object from BaseDialog and code there to open dialog ?
public onExecute(event: IListViewCommandSetExecuteEventParameters): void {
switch (event.itemId) {
case 'COMMAND_1':
const filePath: string = event.selectedRows[0].getValueByName("ServerRedirectedEmbedUrl");
{Open showdialog here }
// Dialog.alert(${this.properties.sampleTextOne});
break;

I am wanting to do something similar and open an existing dialog in SharePoint.  Anyone done this before?


CI/CD: format convention (eslint, GH action)

@adamlui
Do you have any format config files to share?
I think this issue can be easily solved by asking ChatGPT.

No I didn't configure anything yet, I'm looking at the node.js to npm action though

GH action can be like:
name: ESLint

on:
  push:
    branches:
      - main
  pull_request:
    branches:
      - main

jobs:
  eslint:
    runs-on: ubuntu-latest
    steps:
    - name: Check out repository code
      uses: actions/checkout@v2

    - name: Set up Node.js
      uses: actions/setup-node@v2
      with:
        node-version: 16

    - name: Install dependencies
      run: npm ci

    - name: Run ESLint
      run: npm run lint

@adamlui
the
        }
    }
}

issue you mentioned can be done by minified feature provided by tools like esbuild, it even compress them into one line

@adamlui the
        }
    }
}

issue you mentioned can be done by minified feature provided by tools like esbuild, it even compress them into one line

Yes I know, I said userscripts don't compress so you should considering one line style and no semicolons for those projects

Ok, I will try to add this rule in the eslint config

Ok, I will try to add this rule in the eslint config

Wait a large commit is pushing that includes eslint's dependencies, you should make changes after the change

I won't add that rule cause I don't find a rule like that

Additionally, it would be nice to enable the "autodelete" branch after it has been merged. This option can be turned on in the repository settings.

Ok it has been activated


Comments are invisible

This is a commonly used technique: https://unix.stackexchange.com/questions/33994/zsh-interpret-ignore-commands-beginning-with-as-comments?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa
But with zsh-syntax-highlighting turned on, all characters after # become invisible.

Nevermind, I found a solution:
ZSH_HIGHLIGHT_STYLES[comment]='none'

Comments are highlighted in gray. Your terminal's colour scheme may be out of tune.

Your terminal's colour scheme

Terminology with solarized-light theme.

Comments are highlighted in gray

Thank you.

@danielshahaf Isn't it hard coded as black?
https://github.com/zsh-users/zsh-syntax-highlighting/blob/5eb494852ebb99cf5c2c2bffee6b74e6f1bf38d0/highlighters/main/main-highlighter.zsh#L62
This is completely invisible. I tested with the stock terminal of macos(11.2.1) and built-in theme.

Any string starting with a # or $ is completely invisible.

For # it'll be because INTERACTIVE_COMMENTS is set.
For $, things like $foo ls -l, where $foo would be elided, highlight $foo as a comment would be highlighted. The remainder of the line would be highlighted normally.

I tested in many different terminals with their built in theme. Only iTerm2 shows grayish color.

It shows as grey in a plain xterm and libvte, at least.

I also tried ssh to a ubuntu server

The color codes are decided by the terminal emulator running locally. ssh'ing wouldn't affect the outcome at all, unless the remote box generates different escape sequences than the local box.
You haven't proposed an alternative.
See also #780 and #739.

I tried xterm on my mac through a x server. It also shows as black. But it's mac. I could be wrong.
My proposal:
Ideally, you can query the background color from terminal and assign a color with reasonable contrast.
At least, you can set it to a gray color, instead of black. After searching the issues, I set ZSH_HIGHLIGHT_STYLES[comment]=fg=245. This can be set as the default.
BTW, I know ssh should not make a difference. I just find that INTERACTIVE_COMMENTS is unset by default on the remote machine.

Ideally, you can query the background color from terminal and assign a color with reasonable contrast.

Well, maybe.  Or maybe those terminals that use the same colour values for "bold black" and "background" are buggy.  If they use TERM=xterm, I'd argue they are, because xterm itself doesn't do that.

At least, you can set it to a gray color, instead of black. After searching the issues, I set ZSH_HIGHLIGHT_STYLES[comment]=fg=245. This can be set as the default.

Hmm.  Interesting.  First, can we assume the terminal supports 256 colours, or do we need to check this, and if so, how to check this portably?  Second, do all supported zsh versions support 256-colour values in the colour specification syntax?
Reopening.  Thoughts, anyone?

Use brightened color for bold is a feature, that can be disabled. I'm not sure if it's the default, or all terminals support that. I would rather not assume all terminals have this feature.
I assumed most people using 256 or 24bits color. Might not be true. But for 16 colors, we also have 'grey', which could replace 'black'. I believe there are more people using 'black' background instead of 'grey' background.
I'm not expert in this, but checking for TERM.includes('256color') maybe enough?
I checked http://downloads.sourceforge.net/zsh/zsh-4.3.10-doc.tar.bz2 It supports 256 colours.

Use brightened color for bold is a feature, that can be disabled. I'm not sure if it's the default,

xterm's default behaviour is to render bold black as grey.  Indeed, that can be disabled with the +bdc flag (at least) — but anyone setting that should also change the colour values, otherwise they won't be able to see bold black text in any program, not just in z-sy-h.

or all terminals support that. I would rather not assume all terminals have this feature.

That's a red herring.  All that z-sy-h assumes is that that a standard foreground colour is readable against the default background colour.

But for 16 colors, we also have 'grey', which could replace 'black'.

What colour would that be?  There's { black/red/green/yellow/blue/magenta/cyan/white } × { bright, non-bright }.

I'm not expert in this, but checking for TERM.includes('256color') maybe enough?

I was thinking more of (( ${terminfo[colors]} >= 256 )), but I wasn't sure how sensitive/specific it would be.

I checked http://downloads.sourceforge.net/zsh/zsh-4.3.10-doc.tar.bz2 It supports 256 colours.

Thanks, that's very helpful.  The oldest bug report I remember is from a 4.3.9 user in 2016, so 4.3.10 today should be more than old enough.

That's a red herring. All that z-sy-h assumes is that that a standard foreground colour is readable against the default background colour.

on my mac, i use alacritty, iterm2 and terminal. alacritty does not have this. iterms 2 and terminal have brighten bold text. But they are disabled by default.

What colour would that be? There's { black/red/green/yellow/blue/magenta/cyan/white } × { bright, non-bright }.

sorry. grey as a name is not supported in zsh. From what I remember you can use 'grey' in Vim. It's actually bright black. But since 256 colors is ok. you can explicitly use fg=8. This does not change anything. Your intention is to use brightened black. Am I correct?
A quote from zsh manual
On recent terminals and on systems with an up-to-date terminal database the number of colours supported may be tested by the command ‘echotc Co’; if this succeeds, it indicates a limit on the number of colours which will be enforced by the
line editor. The number of colours is in any case limited to 256 (i.e. the range 0 to
255).

This built in command is already there for version 4.3.10. So we could take advantage of it directly.

What colour would that be? There's { black/red/green/yellow/blue/magenta/cyan/white } × { bright, non-bright }.

sorry. grey as a name is not supported in zsh. From what I remember you
can use 'grey' in Vim. It's actually bright black. But since 256 colors
is ok. you can explicitly use fg=8. This does not change anything. Your
intention is to use brightened black. Am I correct?

The code currently uses fg=black,bold.  That's what we've been discussing all along.  (And to be precise, "bold" and "bright" aren't the same thing, in xterm at least.)

A quote from zsh manual
On recent terminals and on systems with an up-to-date terminal  database the number of colours supported may be tested by the command  ‘echotc Co’; if this succeeds, it indicates a limit on the number of  colours which will be enforced by the line editor. The number of colours is in any case limited to 256 (i.e.  the range 0 to 255).
This built in command is already there for version 4.3.10. So we could
take advantage of it directly.

Yeah, though we try to avoid forks for Cygwin, and there remains the question of whether the value would be correct (i.e., whether fg=245 would work whenever the number of colours reported is 256).

The code currently uses fg=black,bold.  That's what we've been discussing all along.  (And to be precise, "bold" and "bright" aren't the same thing, in xterm at least.)

fg=8,bold then. BTW, bright black's translation should be color 8.

Yeah, though we try to avoid forks for Cygwin, and there remains the question of whether the value would be correct (i.e., whether fg=245 would work whenever the number of colours reported is 256).

If it reports 256 but does not really work, it's the problem of terminal developer. But at least I just had a try on cygwin. It's working when i set TERM to xterm-256color

fg=8,bold then.

What's the difference between fg=black,bold and fg=8,bold?

If it reports 256 but does not really work, it's the problem of terminal developer.

Well, yes, but the design process doesn't stop at that. Behaviour in failure modes needs to be considered too.

Just noticed this
https://github.com/zsh-users/zsh-autosuggestions/blob/ae315ded4dba10685dbbafbfa2ff3c1aefeb490d/src/config.zsh#L10

So zsh-autosuggestions uses fg=8,bold. Any chance you can grep their issues list for tickets analogous to this one?

What's the difference between fg=black,bold and fg=8,bold?
If it reports 256 but does not really work, it's the problem of terminal developer.

There is not difference on environments with 256 colors support; on 16 colors environment, it seems to fall back to default foreground, which is at least better than being invisible. This fallback seems controlled by zsh, so should be safe?

So zsh-autosuggestions uses fg=8,bold. Any chance you can grep their issues list for tickets analogous to this one?
It has been that way since that file was created.

There is not difference on environments with 256 colors support; on 16 colors environment, it seems to fall back to default foreground, which is at least better than being invisible. This fallback seems controlled by zsh, so should be safe?

Possibly, but there's no point in checking unless we know of at least one terminal where fg=8,bold behaves better than fg=black,bold does.

It has been that way since that file was created.

That's certainly relevant, but doesn't answer the question you were asked.

I thought I'd throw a datapoint in favor of fg=8,bold. Just tested on my dark themes using iTerm2 (tokyo_night, Dark Background, Tango Dark) and fg=8,bold is much more readable.

@danielshahaf Thought I drop in a datapoint in favor of fg=8,bold instead of fg=black,bold. I just tested on both light and dark background using iTerm2 (tokyo_night, {Dark|Light} Background, Solarized {Dark|Light}).


Fix overflow for Counter32 counters.

On SNMPv1/2c Hardware, Counters with the type Counter32 will overflow. This results in peaks being generated. I think this should be fixed, but I have no solution for this myself.

This would be an issue for influxdb (specifically, handling derivatives) -- this app simply passes along whatever data it finds.


Validation messages should be customizable

This is a feature request for a future version -- not urgent.
There should be some mechanism to easily change the validation strings since these will appear in multiple systems with multiple personalities and multiple target audiences who might need less or more detail in the messages.
In my library pluserable, this is achieved simply by accumulating the strings in a base class which can then be subclassed by the user and dependency-injected:
https://github.com/nandoflorestan/pluserable/blob/master/pluserable/strings.py

I'm not sure what you mean, could you give a fuller example.
Really I think this should use gettext translations.

I think @nandoflorestan means something like this https://github.com/django/django/blob/master/django/forms/fields.py#L45. As you can see each field have a default_error_messages, but it's possible to redefine them passing error_messages into constructor.

Yes, this is about changing the text of the default error messages. I am not talking about i18n.
If I understand the django code correctly... I don't like it. It feels like too much work to need to pass in a dictionary of default error messages for every form (or every field!) that an application creates. I would prefer a simpler, global mechanism first. I would just configure pydantic at application startup and then forget about it.

Maybe this can be done as part of #162, or maybe once #162 is implemented it would be possible to process the error dictionary and substitute your custom messages into each error based on the code.

The second idea does not sound very good to me because validation messages might contain variables in them, making it hard to substitute these.
Anyway, we shouldn't worry much about this right now. There are more important things to do.
By the way, thank you for creating this awesome library!

closing this, let's discuss on #162.


WinAppDriver - Unable to Run on Microsoft Azure Windows 10 VMs (Virtual Desktops)

When try to use WinAppDriver in Microsoft Azure Windows 10 VMs getting below error. Already raised a support ticket with Microsoft but support team is saying its not an issue with the provided VMs and they are actually using Windows 10 image.
Error:

@DannMendis Did you try the latest version https://github.com/microsoft/WinAppDriver/releases/tag/v1.2.99?
Looks like WinAppDriver cannot correctly detect Windows type on the latest build Windows 10 Build 19043 (21H1)
@DHowett could you help with this?

Thanks @Shakevg I will try this version as well.


Update all charts to conform to the removal of extensions/v1beta1

In Kubernetes v1.16, extensions/v1beta1 will be removed.  The charts all need to be updated to reflect the new apps/v1 spec instead.

The following are affected:
➜ grep "extensions/v1beta1" */templates/*.yaml| awk '{FS="/"} {print $1}' | sort -u
comcast/templates/deployment.yaml:apiVersion:
modem-stats
nzbget
radarr
rtorrent-flood
sonarr
speedtest
uptimerobot

[ ] comcast
[ ]
[ ]
[ ]
[ ]
[ ]

The unchecked items did not actually require remediation.


fixed some issues (including issue #46)

I've fixed an issue with the song cover art animation (Issue #46), an issue where the song homepage elements are cropped, aligned header titles in playlist view and aligned shuffle, loop, play/pause and skip buttons. The shuffle and repeat buttons also now turn green when enabled. I've got some friends to make sure that all of my changes work. I'm an amateur so there might be some redundant lines of code so feel free to delete anything you don't feel is relevant.

@Astromations Im not a professional coder too i am also an amateur
This bloom theme creation honor always belongs to william ha
I appreciate your fix
@kyrie25 in latest fix changed ./ to cdn.js......
So @kyrie25 must review this fix
And if you can please change color to accent color

@Astromations Can you work regarding this?
Thanks for your pr

@kyrie25 Thanx again friend to your review

submitted a new commit. not sure why it says i edited so much cause i only replaced some class names in lines 1599-1655.

@Astromations don't get disappointed
Kyrie said that you have changed lots of places by studying whole code its good
But some changes might effect badly on future updates
Thats what kyrie means
So dont get disappointed


Rows rendered outside of view

Steps to reproduce

visit https://bvaughn.github.io/react-virtualized/#/components/List
set "Num rows" to 100000
scroll top bottom
click "Use dynamic row heights?"

What happens
The list is just white. Everything is fine when "Num rows" is set to 10000. The DOM nodes are positioned outside of the list. It's possible to bypass this issue by making DEFAULT_MAX_SCROLL_SIZE very large.

At a glance, I think this maybe indicates a bug with cached styles and scaling. RV handles resized rows properly in non-scaling case (eg 1000 rows) but needs a nudge to properly reset itself when things change from non-scaling to scaling (or maybe when scaling changes from one scale to another, note sure).
FWIW when I say "scaling" I'm referring to this which is done by this.

I am seeing a similar behavior with a table component inside an AutoSizer. A new row gets dynamically added about twice a second and after about 16000 rows I see the screen going blank with every update. If I scroll up or down a bit it comes back and then blanks out when the next row is added.

I can not reproduce anymore.

Still an issue, I didn't test properly when closing.

This used to work, but detection of Chromium based browsers broke when chrome.webstore was removed around v71. Submitted pull request: https://github.com/bvaughn/react-virtualized/pull/1355


Fix dead link to chat formatting in dye colors doc

Thanks for the contribution! You need to sign the commit and then it'll be ready to merge


openFd Permission denied

Hi. I'm trying to get kmonad working on nixos. I read the discussion here. I've added the uinput kernel module and added myself to the input group.
When I attempt to run kmonad:
$ sleep 2 && kmonad .local/etc/kmonad.kbd
/dev/uinput: openFd: permission denied (Permission denied)
Encountered raw IO Exception attempting restart

/dev/uninput is owned by root:root. Should I set the group ownership to input?

Hey, my experience has been (and I've tried a bunch of things) that I could never get it to work without running it as root.

I completely missed this section of the docs. I'm setting up a uninput group with udev rules now. If I get it working, i'll paste a snippet of my configuration.nix for others to follow in the future.

On arch I had to use input group as stated in the doc, then in /lib/udev/rules.d/40-input.rules I added:
KERNEL=="input", MODE="0660", GROUP="input", OPTIONS+="static_node=input"

`/dev/uinput

So on my machine,  dev/uinput is owned by the uinput group and /dev/input/event* is owned by the input group.
I added the following two udev rules and my user to both groups:
KERNEL=="uinput", MODE="0660", GROUP="uinput", OPTIONS+="static_node=uinput"
KERNEL=="input", MODE="0660", GROUP="input", OPTIONS+="static_node=input"

I'm still getting the same permission error:

OK I got it working. For any other nixos users, here is what worked for me:

Create a kmonad derivation that pulls the static binary from github:

let
  pkgs = import <nixpkgs> { };

  kmonad-bin = pkgs.fetchurl {
    url = "https://github.com/david-janssen/kmonad/releases/download/0.3.0/kmonad-0.3.0-linux";
    sha256 = "4545b0823dfcffe0c4f0613916a6f38a0ccead0fb828c837de54971708bafc0b";
  };
in
  pkgs.runCommand "kmonad" {}
    ''
      #!${pkgs.stdenv.shell}
      mkdir -p $out/bin
      cp ${kmonad-bin} $out/bin/kmonad
      chmod +x $out/bin/*
    ''

Load the kmonad derivation in configuration.nix using a let block:

let
    kmonad =  import /path/to/kmonad.nix;
in {
  ...
}

Add the uniput kernel module to configuration.nix:

  boot.kernelModules = [ "uinput" ];

create a uinput group in `configuration.nix:

  users.groups = { uinput = {}; };

Add your user to input and uinput groups:

  users.extraUsers.myUser = {
    home = "/home/myUser";
    extraGroups = [ "audio" "docker" "networkmanager" "wheel" "input" "uinput" ];
    ...
}

Add the udev rule for uinput:

  services.udev.extraRules =
    ''
      KERNEL=="uinput", MODE="0660", GROUP="uinput", OPTIONS+="static_node=uinput"
    '';

Reboot and launch kmonad with your config. : )

I can clean up these instructions and add them as a PR to the docs if desired.

Happy to hear you got it running. If you could add the instructions to the docs that would be great! I await your PR :-)

@solomon-b: regarding step 3, is it uniput or uinput? (I am guessing the latter)


Enable embedding custom metadata in the commit journal

This PR allows embedding a metadata field (meta) in the commit object at zed lake load. The meta field can include any ZSON/ZNG data such that external applications can embed any custom metadata in the commit journal and implement arbitrary data provenance and governance capabilities later.
For example,
Load data with -meta option:
zed lake load -meta '{class: "sensitive"}' in.zson
Filter commits by metadata:
zed lake query "from pool@main:log | meta.class=='sensitive'"
One can embed any ZSON/ZNG data, e.g.,
zed lake load -meta '[{a:1}, {b:"hi there"}]' in.zson
This PR does not do/check: allowing data to be arbitrarily large (that it can't fit in an HTTP header over the load endpoint with remote driver).

Nice work @silveryfu!


Enable dedicated test gradle plugins for GradlePluginDevelopmentExtension that aren't available everywhere - just testImplementation

I wrote a configureRepositories() function in a RespotoriesConfig.kt file under buildSrc/ that I would like to test in Gradle TestKit.
// buildSrc/../RespotoriesConfig.kt
internal fun Project.configureRepositories() {
  // ..
}

However, I’m seeing unable to resolve class exception when I reference configureRepositories() in a TestKit test.
// Gradle TestKit in `buildSrc/src/test/..`
val buildFile = File(testProjectDir, "build.gradle.kts")

buildFile.writeText(
    """
        configureRepositories() // throws
    """.trimIndent()
)

What do I need to do to ensure that configureRepositories() is available on the classpath in TestKit tests?
Current solution
Create a precompiled kts build script plugin (that calls configureRepositories(), and use withPluginClasspath() to be able to leverage it.
// buildSrc/../testRepositoryConfig.gradle.kts - precompiled script plugin
configureRepositories()

// Gradle TestKit in buildSrc/src/test/..
val buildFile = File(testProjectDir, "build.gradle.kts")

buildFile.writeText(
    """
        plugins {
            id("testRepositoryConfig")
        }
    """.trimIndent()
)

Problem
This exposes the precompiled kts build script plugin downstream and can unnecessarily affect build times - I only want this plugin to be available to testImplementation of buildSrc. Is this possible at all? Or is there some workaround to manually load the classpath correctly so configureRepositories() does not throw a class loading exception?

What you see is expected as TestKit is designed to test things through a fully independent build.
Given that your code is only a function, you should instead do a unit test with something like ProjectBuilder.

you should instead do a unit test with something like ProjectBuilder.

I can't remember exactly what I tried with ProjectBuilder but it ended up not working and I just fell back on consuming a plugin shipped from the same module

you should instead do a unit test with something like ProjectBuilder.

I can't remember exactly what I tried with ProjectBuilder but it ended up not working and I just fell back on consuming a plugin shipped from the same module and it was easier. I would prefer to be able to generate an internal precompiled script plugin - but only make it available to testImplementation instead of downstream to all other subprojects.

Given that your code is only a function

It's not a pure function as input comes from other files in the gradle build - so a full functional test is useful. Ultimately, I still want to be able to do a full functional test with Gradle TestKit.
Check out this use case https://gist.github.com/ZakTaccardi/a4e1b62b31a7e1069c309a2a169b1058
https://github.com/gradle/gradle/issues/19474#issue-1092654774
I've created a function, ProvderFactory.gradleProperty(project, propertyName): Provider<String> that adds local.properties and project-level gradle.properties support - but being able to do a full functional test is useful as I can test for things like config cache support


fix source command for tab-completion

Ubuntu 14.10 - Server
I've installed docker.io with apt-get, then
source /etc/bash_completion.d/docker.io

was not working for me, since the file is called docker, not docker.io.
My proposal is to change the wiki to:
source /etc/bash_completion.d/docker*

There might be versions with 'io' ending; asterisk is general enough.

Can you please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "patch-1" git@github.com:pragmaticfrank/docker.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

hey so this depends on if you are installing docker.io which ubuntu manages or lxc-docker which we manage and the completions are called docker I guess the asterisk could work for either.

I'm not sure, if I get it right. I've installed Docker from the official Ubuntu repository, with
sudo apt-get install docker.io

After that I had the file /etc/bash_completion.d/docker, but I did not have /etc/bash_completion.d/docker.io. Maybe they have changed the file name, I do not know.
However asterisk would work either way: with .io or without.

oh ok you may need to file this bug with them upstream because they should
honestly source it for you in the install script so you don't even have to
worry about it
but @tianon is the source of truth on these matters
On Tue, Feb 17, 2015 at 10:55 AM, Ferenc Szabo<EMAIL_ADDRESS>wrote:

I'm not sure, if I get it right. I've installed Docker from the official
Ubuntu repository, with
sudo apt-get install docker.io
After that I had the file /etc/bash_completion.d/docker, but I did not
have /etc/bash_completion.d/docker.io. Maybe they have changed the file
name, I do not know.
However asterisk would work either way: with .io or without.
—
Reply to this email directly or view it on GitHub
https://github.com/docker/docker/pull/10857#issuecomment-74727231.

I believe you cannot alter the parent shell's environment, so you have to source the file or restart your session; the doc says the same:

Then, to enable tab-completion of Docker commands in BASH, either restart BASH or:  source [...]

So you cannot do it from an install script, I think.
This is just a little 'typo' in the docs, did not caused me to stuck - I just thought, it might worth mentioning.

I recon its a worthwhile fix for the docs LTGM - @fredlf @jamtur01


CB-10668 Moved node_modules to root

Added dependencies to package.json
Added bundledDependencies to package.json
Updated prepare.js to use ios_CFBundleVersion and ios_CFBundleIdentifier instead of osx_ prefix because those don't exist in cordova-common yet
Updated create.js to grab node_modules from root instead of bin/node_modules
Deleted bin/node_modules
Updated iOS references to OSX where applicable (API.js and prepare.js)

+1 LGTM

+1


feat(config): added initial keyring support (#83)

This PR adds initial support for the keyring.
I used zalando/go-keyring because of recent commits on repo (compared to 99designs/keyring).
When I say initial, I mean it's open for discussion and adding more features (create auth command and save it to keyring?).
How it works:
If a username is set and the password is empty, check the keyring for service upctl where the username is coming either from the config file or env.
This type of logic does not break current.
Problem:
This PR does not read the username from the keyring, so it still needs a username from config or env. Maybe to introduce a config command --keyring ?
For me, it works by using UPCLOUD_USERNAME and creating username/password upctl services on keyring so I can switch easily between accounts without providing passwords.

Thanks for the pull request! We'll do some testing with this and let's discuss what would be the best approach to get this merged.
We are also working on adding tokens support for authentication (product radar), so probably best to start with minimal implementation, like you described above, and add more features once the initial functionality is on the main.


GSNGM-514 switch swissforages URL to prod

... I forgot that part: we can already use the prod URL of swissforages!

demo works fine!


Adapted Swift 3 and SwiftPM

Adapted the latest Swift 3.0 (03/24/16 build)
Renamed tests directory for SwiftPM
Regenerated Xcode project using SwiftPM

Thanks for the contribution. Can you squash all of these commit into one commit.

done

Thanks merged.


Added a very nice python trick to count digits

If anything wrong, please let me know and dont mark spam.
Thank you

PR accepted @kalvik09 .
Successfully merged to HacktoberFest_22 repo.
🚀🚀👍


Rename ConfigSource and Source to RefSource

Changes
fixes #6350
/kind misc
Rename ConfigSource and Source to RefSource
Recently, we introduced a new field named provenance in TaskRun/PipelineRun CRD
status, and one of its subfields is named ConfigSource. Meanwhile, we introduced
source field into ResolutionRequest CRD status to pipe the value.
In this commit, we renamed both configSource and source to RefSource.
Reasoning:

ConfigSource is the SLSA name and ties to a specific SLSA version.
It also makes this a leaky abstraction, i.e. we are naming fields in our API
after how we want to use them. Additionally, config isn't a concept that
exists in Tekton.
The name source in ResolutionRequest status is too generic.

Backward compatibility: This PR doesn't remove the old field. Instead, it
keeps the old field while introducing the new name to give a release of warning.
The old name will be removed in future release for a smooth transition.
Signed-off-by: Chuang Wang<EMAIL_ADDRESS>
Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[x] Has Docs included if any changes are user facing
[x] Has Tests included if any functionality added or changed
[x] Follows the commit message standard
[x] Meets the Tekton contributor standards (including
functionality, content, code)
[x] Has a kind label. You can add one by adding a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
[x] Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings)
[ ] Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes
The subfield `ConfigSource` of the `provenance` field in the PipelineRun/TaskRun Status and the field `source` in ResolutionRequest status are both renamed to `RefSource`.
Note: The old name was not removed from this release, but it has been marked as deprecated and will be removed in future release.

/kind misc

/test check-pr-has-kind-label

Please take a look @bobcatfish . Thanks a lot!!
cc @jagathprakash @dibyom @wlynch

/test pull-tekton-pipeline-build-tests

Update: I've changed the name to RefSource based on the discussion in https://github.com/tektoncd/pipeline/issues/6350. PTAL.
cc @dibyom , @Yongxuanzhang , @wlynch , @jagathprakash , @bobcatfish
Thanks!

Backward compatibility: This field was just introduced recently as an alpha
feature gated by a dedicated feature flag. It should be okay being unstable :D.

Note that technically we do try to give one release of warning for backwards incompatible changes 🙏  This does make it much more annoying to implement but can make the transition a bit smoother

@tektoncd/core-maintainers, @chuangw6 is looking for reviews on this one!

/assign

Backward compatibility: This field was just introduced recently as an alpha
feature gated by a dedicated feature flag. It should be okay being unstable :D.

Note that technically we do try to give one release of warning for backwards incompatible changes 🙏 This does make it much more annoying to implement but can make the transition a bit smoother

Good point. Thanks @bobcatfish for the feedback. I've added the old field back and will remove it in future release then. Please take a look.

/assign

/lgtm


http auto redirect to https

Visiting http://chainsfer.io will not redirect to https://chainsfer.io

fixed in cloud front distribution behavior


AzureAD Provider Update

Description
Updating the provider for Azure AD to unblock usage for the refactored Azure AD Application Registration resource setup.
Does this introduce a breaking change

[ ] YES
[X] NO

Testing

Closing as no answer and the update would need refactoring on the output objects.


Reference test workflow locally

GitHub have now made it possible to reference other workflows locally, rather than needing to specify the repo and version.
Update the deploy workflow, which 'uses' the test workflow, to adopt this new, simpler approach.

A good example of why this change is needed – we recently merged a PR to run tests on Windows, but those tests are not currently being run on the main branch. This is because the test workflow is effectively pinned to an older version of the workflow (by the SHA reference) when run 'as part of' the deploy workflow.
Merging this will resolve that, and stop it being an issue in the future.


Update the README

Wow, the README is woefully out of date.

Moved to _old (marked for deletion) and put in a placeholder README.

This looks pretty much done now.


feat: use vite for bundling

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


log/date/time format error

I am trying to run
./goaccess /usr/local/var/log/nginx/access.log on the terminal, cause error:
Parsed 1 lines producing the following errors:
Token '08/Jun/2020' doesn't match specifier '%d'
Format Errors - Verify your log/date/time format
Here is the part of the log：
<IP_ADDRESS> - - [08/Jun/2020:17:01:00 +0800] "GET /favicon.ico HTTP/1.1" 200 4158 "http://localhost/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36"
<IP_ADDRESS> - - [08/Jun/2020:17:01:00 +0800] "GET / HTTP/1.1" 502 559 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36"
<IP_ADDRESS> - - [08/Jun/2020:17:01:01 +0800] "GET /favicon.ico HTTP/1.1" 200 4158 "http://localhost/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36"
<IP_ADDRESS> - - [08/Jun/2020:17:01:01 +0800] "GET / HTTP/1.1" 502 559 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36"
<IP_ADDRESS> - - [08/Jun/2020:17:01:01 +0800] "GET /favicon.ico HTTP/1.1" 200 4158 "http://localhost/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36"

I also run with goaccess access.log --log-format='%h %^[%d:%t %^] %v "%r" "%s" %b "%R" "%u" %^' --date-format=%d/%b/%Y --time-format=%T  but it doesn't work.

Please try:
LANG="en_US.UTF-8" bash -c 'goaccess access.log --log-format=COMBINED'

It works. Thank you!


add blogpost

Hi,
I accidentally added a PR to the master repository instead of staging. You can find the link here: https://github.com/iclr-blogposts/2023/pull/11
I know this is after the deadline, but if you take this into consideration, I would be very grateful!

No worries! I think you're missing your .bib file however - could you add it and let me know when it's ready to merge?
Thanks!

Hey,
Thank you! I have added the bib file now


Adding documentation to use travis-encrypt instead of Ruby Travis CLI

This pull request updates the documentation to use the travis-encrypt node module instead of the Travis CLI which requires Ruby. Closes #499.
Should only be merged after https://github.com/pwmckenna/node-travis-encrypt/pull/20 has been released.

Why not use the web ui?

Because the web UI only allows to set environment variables and not the encrypted Heroku API token.

Also, this PR can be merged now, they just released a 2.1.

@daffl

Because the web UI only allows to set environment variables and not the encrypted Heroku API token.

Just to confirm .. I'm pretty sure with heroku, that these types of encrypted keys can be read as environment variables or as special files.  Is this not the case with Travis?  Will it not look for an environment variable with this key?

No. There is no way to read environment variable in the .travis.yml (because it gets read before the system gets set up). Heroku API keys have to be encrypted using the command line.


Deposit and withdrawal calls are out of date

https://docs.gdax.com/#deposits
It looks like GDAX is now requesting specific parameters for transferring among coinbase vs. other payment methods.

Thank you for your updates, Eric!
This is being closed due to #14


Yep, SGTM


version bump

Version bump

Codecov Report
Patch coverage has no change and project coverage change: -3.07% :warning:

Comparison is base (ea1129a) 98.30% compared to head (aabfd16) 95.24%.
Report is 10 commits behind head on master.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3070      +/-   ##
==========================================
- Coverage   98.30%   95.24%   -3.07%
==========================================
  Files          74       74
  Lines        8038     8038
==========================================
- Hits         7902     7656     -246
- Misses        136      382     +246

Flag
Coverage Δ

unittests
95.24% <ø> (-3.07%)
:arrow_down:

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

Files Changed
Coverage Δ

rich/highlighter.py
100.00% <ø> (ø)

... and 3 files with indirect coverage changes

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


Update yarn run-ios-bte script ios target

Why:
Currently the yarn run-ios-bte script does not successfully build and
run the bte version of the app. The reason for this is because a recent
commit changed the bte ios target to 13.5, as it is required to use the
exposure notifications api, but the react-native cli does not correctly
find the ios 13.5 versions of the simulator to build to.
This commit:
Explicitly specifies iOS 13.5 in the build script.

I ran this, and it looks like the simulator instruction was ignored now:

I ran this, and it looks like the simulator instruction was ignored now:

@JacobJaffe do you have the ios 13.5 simulators installed?


*.wiki.fc2.com

New Issue Checklist (tick off like this: [x])

[x] I checked existing issues (open and closed) for possible duplicates
[x] I can reproduce the problem on the latest stable version (not nightly!)
[ ] If you have a problem with a specific website: adding the domain to your no-skip-urls-list does not solve the problem
[x] The issue is not about adding entries to the default no-skip-urls-list

What is your browser?

[x] Firefox
[ ] Chrome

What is your operating system?

[ ] Linux
[x] Mac
[ ] Windows

Description (please include examples/screenshots where applicable)
Format is https://*.wiki.fc2.com/jump/<protocol>/<url-encoded path>. It goes to an external link disclaimer page so it doesn't automatically redirect.
eg. https://practice.wiki.fc2.com/jump/http/help.fc2.com%2Fwiki%2Fmanual%2FHome%2Fmanual01%2Fedit.html => http://help.fc2.com/wiki/manual/Home/manual01/edit.html

This extension does not use path rules for specific URLs to find other URLs, it tries to match URLs in URLs in a more generic way. Just having wiki.fc2.com is not a good indicator for a URL.


Is there a way to call a renderer from outside the table or access current PivotData object?

I need to call a renderer with a button outside of the renderer selector. I've tried to call it from inside the onRefresh method, creating a new PivotData with the onRefresh configs, but it doesn't use the selected aggregator.

I've noticed that you can store the values after calling the renderer. Closing the issue. Thank you so much for your project! It has been very hepful!

@rubenfig I was trying to find how to make my own renderer.
I want to place a toggle button in the cell, so I'll be able to show a user if they clicked this cell before or not.
Any tip/reference you can share? Thanks.


[Doc][model] WEN XIN configuration

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
使用的文心一言Yi-34B-Chat
.env配置中的WEN_XIN_MODEL_VERSIO=该写什么，我写Yi-34B-Chat报错
Use case
Baidu wenxin
WEN_XIN_MODEL_VERSION=Yi-34B-Chat
WEN_XIN_API_KEY=xxxxxx
WEN_XIN_API_SECRET=xxxx
Related issues
No response
Feature Priority
None
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Same #964


PC104 sound

Hi,
its the iCubEdinburgh01 again. How can I enable sound input (output) on the head?
I tried the yarpdev portaudio according to the wiki page (http://wiki.icub.org/wiki/Grabbing_sound_with_PortAudio):
I checked the linux related steps:
-> noted that /dev/sndstat is not available. How would I get it? Is it required?
icub@icub-head:~$ sudo su
root@icub-head:/home/icub# modprobe snd-pcm-oss
root@icub-head:/home/icub# modprobe snd-mixer-oss
root@icub-head:/home/icub# cat /dev/sndstat
cat: /dev/sndstat: No such file or directory
root@icub-head:/home/icub# adduser icub audio
The user `icub' is already a member of `audio'.

checked that aplay see devices:
icub@icub-head:~/software$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 0: CS4207 Analog [CS4207 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 1: CS4207 Digital [CS4207 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: DAC [USB AUDIO    DAC], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

and checked that yarpdev has portaudio support
icub@icub-head:~$ yarpdev --list | grep portaudio
Device "portaudio", available on request (found in /usr/local/src/robot/yarp/build/lib/yarp/yarp_portaudio.so library), wrapped by "grabber".

but I still get this:
icub@icub-head:~$ yarpdev --device portaudio --id 1 --c 2 --read --rate 48000
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dmix.c:1029:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dmix.c:1029:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1029:(snd_pcm_dmix_open) unable to open slave
Device number 1
Expression 'parameters->channelCount <= maxChans' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1514
Expression 'ValidateParameters( inputParameters, hostApi, StreamDirection_In )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2818
An error occurred while using the portaudio stream
Error number: -9998
Error message: Invalid number of channels
yarpdev: ***ERROR*** driver <portaudio> was found but could not open
yarpdev: ***ERROR*** driver <grabber> was found but could not open
yarpdev: ***ERROR*** device not available.
Suggestions:
+ Do "yarpdev --list" to see list of supported devices.
+ Or append "--verbose" option to get more information.

So to me it looks like the Ubuntu Installation is missing something. Any idea what that might be?
Thanks in advance.
PS: More information on the loaded modules.
root@icub-head:/home/icub# lsmod | grep snd
snd_pcm_oss            49152  0
snd_mixer_oss          24576  1 snd_pcm_oss
snd_hda_codec_hdmi     53248  1
snd_usb_audio         176128  0
snd_soc_rt5640        114688  0
snd_hda_codec_cirrus    20480  1
snd_usbmidi_lib        36864  1 snd_usb_audio
snd_hda_codec_generic    77824  1 snd_hda_codec_cirrus
snd_soc_rl6231         16384  1 snd_soc_rt5640
snd_hda_intel          40960  0
snd_soc_core          212992  1 snd_soc_rt5640
snd_hda_codec         135168  4 snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel,snd_hda_codec_cirrus
snd_compress           20480  1 snd_soc_core
ac97_bus               16384  1 snd_soc_core
snd_hda_core           69632  5 snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_hda_codec_cirrus
snd_pcm_dmaengine      16384  1 snd_soc_core
snd_hwdep              16384  2 snd_usb_audio,snd_hda_codec
snd_pcm               106496  9 snd_soc_rt5640,snd_pcm_oss,snd_usb_audio,snd_soc_core,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_pcm_dmaengine,snd_hda_core
snd_seq_midi           16384  0
snd_seq_midi_event     16384  1 snd_seq_midi
snd_rawmidi            32768  2 snd_usbmidi_lib,snd_seq_midi
snd_seq                69632  2 snd_seq_midi_event,snd_seq_midi
snd_seq_device         16384  3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer              32768  2 snd_pcm,snd_seq
snd                    81920  17 snd_pcm_oss,snd_usb_audio,snd_soc_core,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec_generic,snd_usbmidi_lib,snd_hda_codec,snd_hda_intel,snd_seq_device,snd_compress,snd_mixer_oss,snd_hda_codec_cirrus
snd_soc_sst_acpi       16384  0
soundcore              16384  1 snd

After installing pulseaudio and rebooting I could at least get some sound output via the following command which is able to play the provided test wav:
icub@icub-head:~$  aplay -D plughw:2,0 test_audio.wav

It seems that the default sound card points to the wrong one.

Sorry @BrutusTT, it's taking somewhat long to follow this issue because at the moment we have no free resources. Don't despair though, we'll get back to you very soon 😃

Hi @BrutusTT,
have you followed the instructions here?
http://wiki.icub.org/wiki/Talking_head

Hi @BrutusTT
any feedback?

Closing, feel free to add more on this.


CFFL

CFFL

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_f17aw7rext/clone/recipe/meta.yaml:15: pip_install_args: pip install should be run with --no-deps.
ERROR: /tmp/abs_f17aw7rext/clone/recipe/meta.yaml:20: missing_wheel: For pypi packages, wheel should be present in the host section
WARNING: /tmp/abs_f17aw7rext/clone/recipe/meta.yaml:24: python_build_tool_in_run: The python build tool setuptools is in run depends
ERROR: /tmp/abs_f17aw7rext/clone/recipe/meta.yaml:28: missing_pip_check: For pypi packages, pip check should be present in the test commands
WARNING: /tmp/abs_f17aw7rext/clone/recipe/meta.yaml:37: missing_description: The recipe is missing a description
Errors were found


FFDC collection fix

Fixes:

Enforce logging on console quiet mode by default.
Remove checking for system in bad state "quiesce".
Delete error log and BMC dumps post FFDC is collected.

This improves FFD execution and contextual errors when collected
when test fails.

https://gerrit.openbmc-project.xyz/#/c/6678/


Retrying Setup: List Index is Out Of Range

Hello! Thanks for your hard work on this integration. I found the other old repo which doesn't work with the new Coway logins... and that led me here. It then took me a bit to realize I needed to migrate the old Coway account to a new Coway account before this integration would work. I finally got that all figured out and now the setup wizard works, the login is authorized, and the integration starts its setup. Problem is, I am getting an error on the Integration card after the wizard:

Any idea what might be going on here?
Thanks for any help you can provide!

Did you make sure to delete the old integration before installing this one / deleting your browser cache?

Yes, I deleted it, restarted HA twice, and cleared my browser cache. I have two of the 400S model air filters by the way.

Do you happen to use discord? I'll have to see why your account is doing that so I'll need temporary access.

Yep: Bosston#4561
No problem, I have a temporary password set up if you need to use the account.

Fixed in Version 0.1.6.
Caused by: Purifier not connected to WiFi.
Note: Only the purifier that is connected to WiFi will show up in Home Assistant. Once you get the other purifier connected again, Home Assistant will be able to pull it in as well.