[Bug] Stream/Broker Load value is wrong, 0.000999999999 becomes 0.001

Search before asking

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

Version
1.1.1
What's Wrong?
I have a json file that I'm trying to import into doris via stream load.
test_data2.json
[
  {
    "block_hash": "0edaee38f6809844245bf73a6967c6180871bef0ca3531a350d6bf6eaf1af36d",
    "amount_raw": -999999999999.99,
    "token_price": 0.000999999999
  },
  {
    "block_hash": "0edaee38f6809844245bf73a6967c6180871bef0ca3531a350d6bf6eaf1af36d",
    "amount_raw": -999999999999.99,
    "token_price": 0.000999999999
  },
  {
    "block_hash": "0edaee3d3b8b051324f39d006f855916394eb7affa31a7162eb286283406af67",
    "amount_raw": -999999999999.99,
    "token_price": "0.000999999999"
  },
  {
    "block_hash": "0edaf377745fe7b1148698589c12fad55a53aa6100a9836cc09547b72e81d26a",
    "amount_raw": -999999999999.99,
    "token_price": "0.000999999999"
  }
]

creat table sql:
create table if not exists example_db.load_data_demo(
  `block_hash` varchar(200) NULL COMMENT "",
  `amount_raw` double NULL COMMENT "",
  `token_price` double NULL COMMENT ""
) ENGINE=OLAP
UNIQUE KEY(`block_hash`)
COMMENT "OLAP"
DISTRIBUTED BY HASH(`block_hash`) BUCKETS 2;

stream load to doris
curl -v --location-trusted -u 'root:password' \
-H "format: json" -H "jsonpaths: [\"$.block_hash\", \"$.amount_raw\", \"$.token_price\"]" \
-H "strip_outer_array: true" \
-T test_data2.json \
http://localhost:8031/api/example_db/load_data_demo/_stream_load

check data in doris
SELECT * from example_db.load_data_demo

query result :

If the type of token_price is a number, the import result will be wrong, the value will change from 0.000999999999 to 0.001, and if the type of token_price is a string, the result will be correct.
What You Expected?
Stream load values should remain as they are
How to Reproduce?
See above
Anything Else?
Stream load csv file is working correctly
test_data2.csv :
0edae5db9a555babfbdbc7876dc1c9f6b31c4946f28dad8832acd7f1b471b2a3,-999999999999.99,0.000999999999
0edae5f163809b65a89ebaba45714cfae0d8b8686d8e2fa467c8171792240c46,-999999999999.99,0.000999999999
0edae648204e8429f711b1993038144fcdff18c4def672ca2c0abd879cf0775c,-999999999999.99,0.000999999999
0edae64c08397d3d406cb5cd4d13cd6e95faf35aee0bfed8f9c5cba8720758ed,-999999999999.99,0.000999999999
0edae64f169d6dbfe11f766adc52fcf043a2cda4e180debde13fb6483ed9ec95,-999999999999.99,0.000999999999
0edaee38f6809844245bf73a6967c6180871bef0ca3531a350d6bf6eaf1af36d,-999999999999.99,0.000999999999
0edaee3d3b8b051324f39d006f855916394eb7affa31a7162eb286283406af67,-999999999999.99,0.000999999999
0edaf377745fe7b1148698589c12fad55a53aa6100a9836cc09547b72e81d26a,-999999999999.99,0.000999999999

stream load
curl -v --location-trusted -u 'root:password' \
-H "columns: block_hash, amount_raw, token_price" \
-H "column_separator: ," \
-T test_data2.csv \
http://localhost:8031/api/example_db/load_data_demo/_stream_load

And Borker load has the same problem，Test results for different file formats

csv : correct
json : wrong
parquet : wrong

Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

You should use Decimal to ensure accuracy.


Canvas toBlob crop not working on Sandbox (iOS)

I've been wrestling with the canvas logic for getting the cropped image on Mobile Safari and toBlob/toDataURL consistently return null.
I thought it might be something with my own product code, but it appears that the same issue happens on the code sandbox within the IOS Simulator. Very easy to reproduce on an iPhone 15 simulator using the Sandbox url.
Does anyone have a work around?

I've run into this same issue for mobile users on Safari with the preview canvas toBlob method failing to return a blob. It had been working well for months, but on January 10 we started receiving bug reports, all from users on mobile Safari browser and iOS version >17.0.
The behavior I've seen is like in @tylerjbainbridge's screenshot above, where the preview canvas does not populate with an image when the image is first selected. This seems to be happening more often with larger images.
Thanks for looking into this issue, we're also keen to know if anyone's found a work around or a source of the issue.

Are you able to replicate the issue? There was a "Canvas lost" error regression in iOS 17 that was fixed in a patch, wondering if you are able to see what error is in the console

I included replication instructions in the issue- very easy to reproduce it.
I believe it has to do with Safari/iOS having a max size for canvases and any larger image (basically anything taken on an iPhone) causes toBlob to quietly fail and return null.
I ended up having to move my image cropping to the server because this bug was effecting so many users.

Thanks for looking into this issue, we're also keen to know if anyone's found a work around or a source of the issue.

I just experienced a similar error now. I can create an issue for this if needed.

I found a fix for this 💯
The solution is shown in the image below:

when we try to draw canvas on iOS, for downloadable canvas, the pixel ratio MUST be 1. if we use the default (the actual device pixelRatio which is 3 or more), the cropping is not going to work because the file will be too big to fit into a blob

the one in green works on both iOS and android. However, the one in red work for every versions of Android but some versions iOS on mobile are not working.

If. you look at Safari iOS the maximum size is 4096 x 4096 - https://jhildenbiddle.github.io/canvas-size/#/?id=test-results
I'm not sure if devicePixelRatio affects that you could just make a larger canvas and see.
So the formula is either:
const MAX_SIZE = 4096
or
const MAX_SIZE = 4096 / devicePixelRatio
Then just ensure the crop preview doesn't exceed that (size it down to the max dimensions if exceeded)

@sekoyo do you have example of this with the crop logic? I've tried to use the dWidth and dHeight params in your example but to no avail 😢

Hey All, just in case anyone else runs into this issue here is what I did, if you seen any flaws please respond to the comment 😓 .
import canvasSize from 'canvas-size'

export const processFile = async (
  crop: Crop,
  previewCanvasRef: HTMLCanvasElement,
  image: HTMLImageElement
) => {
  const ctx = previewCanvasRef.getContext('2d')

  if (!ctx || !crop) {
    return
  }

  const area = await canvasSize.maxArea()

  const constraints = area.success
    ? {
        height: area.height,
        width: area.width,
        pixels: area.height * area.width,
      }
    : { height: 4096, width: 4096, pixels: 4096 * 4096 }

  const pixelRatio = window.devicePixelRatio || 1

  const scaleX = image.naturalWidth / image.width
  const scaleY = image.naturalHeight / image.height

  const cropWidth = crop.width * scaleX * pixelRatio
  const cropHeight = crop.height * scaleY * pixelRatio

  const cropAspectRatio = cropWidth / cropHeight

  let resizedCropWidth = cropWidth
  let resizedCropHeight = cropHeight

  if (resizedCropWidth > constraints.width) {
    resizedCropWidth = constraints.width
    resizedCropHeight = resizedCropWidth / cropAspectRatio
  }
  if (resizedCropHeight > constraints.height) {
    resizedCropHeight = constraints.height
    resizedCropWidth = resizedCropHeight * cropAspectRatio
  }

  // Set canvas dimensions and adjust for device pixel ratio
  ctx.canvas.width = Math.floor(resizedCropWidth)
  ctx.canvas.height = Math.floor(resizedCropHeight)

  ctx.scale(pixelRatio, pixelRatio)
  ctx.imageSmoothingQuality = 'high'

  const cropX = crop.x * scaleX
  const cropY = crop.y * scaleY

  ctx.save()

  ctx.drawImage(
    image,
    cropX,
    cropY,
    cropWidth,
    cropHeight, // Source crop area in the image
    0,
    0,
    resizedCropWidth,
    resizedCropHeight // Destination on the canvas
  )

  ctx.restore()
}

Just to note on the above issue, there is an issue if your user is zoomed in or out, we need to consider this otherwise the crop will be off. This is on my list for next week so I'll update the above if I find a fix 🙇


Let's add Travis CI

Good day! Thanks for your work!
Let's add Travis CI to Shrine's repositories?

Thanks!

I forgot that you always need ~20 commits to get the CI working :). I will open a separate PR for fixing the test failures when I find time.

Added in https://github.com/janko-m/shrine/pull/11.


ONNX Runtime TensorRT

Describe the solution you'd like
Vespa supports only CPU or CUDA execution providers but Nvidia GPUs with tensor cores could theoretically give x2 inference performance with TensorRT execution providers.
Describe alternatives you've considered
Instead of checking for a GPU and automatically assigning CUDA if a GPU is present, implement a configurable execution provider with specific options. This approach can potentially be extended to support other backends
Additional context
TensorRT has time consuming initialisation and have to be warmed up in tricky way to avoid latency issues

I am on the finish line with TensorRT inference performance tests. I will attach them here as soon it well be ready


[QA] Assets get detached from the avatar while playing emotes

Explorer Alpha build versions:
v0.20.0
Issue Description:

When playing multiple emotes fast enough, the assets get detached from the avatar and keep playing even if the avatar already triggered other emote.
STR:

Play an emote with an asset
Start looping in between emotes with different assets as fast as possible

Expected behaviour:
The assets change to the corresponding emote
Current behaviour:
The assets get detached
Evidence:
https://drive.google.com/file/d/16eHxFxW3NW5PM2tsUPUmChx83F5MW72s/view?usp=sharing
https://drive.google.com/file/d/1-LA2f2d5qr0g2vnBYLgBXMrnIBOyHo9K/view?usp=sharing
Additional Notes:

Detected on v0.29.0 by a player during the alpha testing
https://github.com/user-attachments/assets/cf81ef49-13d6-4a40-bda4-9187c409d883


Where do you use the generated tfrecord file?

After running test_voc_utils.py some tfrecord files were generated,however these tfrecord files seems not used in testcenternet.py

I probably understood  that the path ./voc2007/ in the above snapshot should be path of the tfrecord files generated by running test_voc_utils.py.
After changing ./voc2007/ to r'D:\bu\tfrecord' which is  actual  path of my tfrecord files,I still got errors below.
Why does this error occur?
Python 3.7.3 (default, Mar 27 2019, 17:13:21) [MSC v.1915 64 bit (AMD64)]
Type "copyright", "credits" or "license" for more information.
IPython 7.4.0 -- An enhanced Interactive Python.
runfile('D:/bu/Object-Detection-API-Tensorflow-master/Object-Detection-API-Tensorflow-master/testcenternet.py', wdir='D:/bu/Object-Detection-API-Tensorflow-master/Object-Detection-API-Tensorflow-master')
WARNING: Logging before flag parsing goes to stderr.
W0905 16:30:31.336427  6236 deprecation_wrapper.py:119] From D:\bu\Object-Detection-API-Tensorflow-master\Object-Detection-API-Tensorflow-master\utils\tfrecord_voc_utils.py:153: The name tf.parse_single_example is deprecated. Please use tf.io.parse_single_example instead.
W0905 16:30:31.343424  6236 deprecation_wrapper.py:119] From D:\bu\Object-Detection-API-Tensorflow-master\Object-Detection-API-Tensorflow-master\utils\tfrecord_voc_utils.py:154: The name tf.FixedLenFeature is deprecated. Please use tf.io.FixedLenFeature instead.
W0905 16:30:31.396901  6236 deprecation_wrapper.py:119] From D:\bu\Object-Detection-API-Tensorflow-master\Object-Detection-API-Tensorflow-master\utils\image_augmentor.py:117: The name tf.image.resize_images is deprecated. Please use tf.image.resize instead.
W0905 16:30:31.414890  6236 deprecation_wrapper.py:119] From D:\bu\Object-Detection-API-Tensorflow-master\Object-Detection-API-Tensorflow-master\utils\image_augmentor.py:131: The name tf.random_uniform is deprecated. Please use tf.random.uniform instead.
W0905 16:30:33.253837  6236 lazy_loader.py:50]
The TensorFlow contrib module will not be included in TensorFlow 2.0.
For more information, please see:

https://github.com/tensorflow/community/blob/master/rfcs/20180907-contrib-sunset.md
https://github.com/tensorflow/addons
https://github.com/tensorflow/io (for I/O related ops)
If you depend on functionality not listed there, please file an issue.

W0905 16:30:33.434808  6236 deprecation.py:323] From D:\Anaconda3\lib\site-packages\tensorflow\python\ops\array_ops.py:1354: add_dispatch_support..wrapper (from tensorflow.python.ops.array_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.where in 2.0, which has the same broadcast rule as np.where
W0905 16:30:33.774861  6236 deprecation_wrapper.py:119] From D:\bu\Object-Detection-API-Tensorflow-master\Object-Detection-API-Tensorflow-master\utils\tfrecord_voc_utils.py:176: The name tf.data.Iterator is deprecated. Please use tf.compat.v1.data.Iterator instead.
W0905 16:30:33.774861  6236 deprecation.py:323] From D:\bu\Object-Detection-API-Tensorflow-master\Object-Detection-API-Tensorflow-master\utils\tfrecord_voc_utils.py:176: DatasetV1.output_types (from tensorflow.python.data.ops.dataset_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.compat.v1.data.get_output_types(dataset).
W0905 16:30:33.774861  6236 deprecation.py:323] From D:\bu\Object-Detection-API-Tensorflow-master\Object-Detection-API-Tensorflow-master\utils\tfrecord_voc_utils.py:176: DatasetV1.output_shapes (from tensorflow.python.data.ops.dataset_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.compat.v1.data.get_output_shapes(dataset).
W0905 16:30:33.774861  6236 deprecation.py:323] From D:\Anaconda3\lib\site-packages\tensorflow\python\data\ops\iterator_ops.py:348: Iterator.output_types (from tensorflow.python.data.ops.iterator_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.compat.v1.data.get_output_types(iterator).
W0905 16:30:33.774861  6236 deprecation.py:323] From D:\Anaconda3\lib\site-packages\tensorflow\python\data\ops\iterator_ops.py:349: Iterator.output_shapes (from tensorflow.python.data.ops.iterator_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.compat.v1.data.get_output_shapes(iterator).
W0905 16:30:33.774861  6236 deprecation.py:323] From D:\Anaconda3\lib\site-packages\tensorflow\python\data\ops\iterator_ops.py:351: Iterator.output_classes (from tensorflow.python.data.ops.iterator_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.compat.v1.data.get_output_classes(iterator).
W0905 16:30:33.774861  6236 deprecation_wrapper.py:119] From D:\bu\Object-Detection-API-Tensorflow-master\Object-Detection-API-Tensorflow-master\CenterNet.py:41: The name tf.get_variable is deprecated. Please use tf.compat.v1.get_variable instead.
W0905 16:30:33.790485  6236 deprecation_wrapper.py:119] From D:\bu\Object-Detection-API-Tensorflow-master\Object-Detection-API-Tensorflow-master\CenterNet.py:70: The name tf.placeholder is deprecated. Please use tf.compat.v1.placeholder instead.
W0905 16:30:33.790485  6236 deprecation.py:323] From D:\bu\Object-Detection-API-Tensorflow-master\Object-Detection-API-Tensorflow-master\CenterNet.py:343: conv2d (from tensorflow.python.layers.convolutional) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.keras.layers.Conv2D instead.
W0905 16:30:33.790485  6236 deprecation.py:506] From D:\Anaconda3\lib\site-packages\tensorflow\python\ops\init_ops.py:1251: calling VarianceScaling.init (from tensorflow.python.ops.init_ops) with dtype is deprecated and will be removed in a future version.
Instructions for updating:
Call initializer instance with the dtype argument instead of passing it to the constructor
W0905 16:30:34.062977  6236 deprecation.py:323] From D:\bu\Object-Detection-API-Tensorflow-master\Object-Detection-API-Tensorflow-master\CenterNet.py:332: batch_normalization (from tensorflow.python.layers.normalization) is deprecated and will be removed in a future version.
Instructions for updating:
Use keras.layers.BatchNormalization instead.  In particular, tf.control_dependencies(tf.GraphKeys.UPDATE_OPS) should not be used (consult the tf.keras.layers.batch_normalization documentation).
W0905 16:30:34.620997  6236 deprecation.py:323] From D:\bu\Object-Detection-API-Tensorflow-master\Object-Detection-API-Tensorflow-master\CenterNet.py:412: max_pooling2d (from tensorflow.python.layers.pooling) is deprecated and will be removed in a future version.
Instructions for updating:
Use keras.layers.MaxPooling2D instead.
W0905 16:30:35.788212  6236 deprecation.py:323] From D:\bu\Object-Detection-API-Tensorflow-master\Object-Detection-API-Tensorflow-master\CenterNet.py:422: average_pooling2d (from tensorflow.python.layers.pooling) is deprecated and will be removed in a future version.
Instructions for updating:
Use keras.layers.AveragePooling2D instead.
W0905 16:30:37.288661  6236 deprecation.py:323] From D:\bu\Object-Detection-API-Tensorflow-master\Object-Detection-API-Tensorflow-master\CenterNet.py:358: conv2d_transpose (from tensorflow.python.layers.convolutional) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.keras.layers.Conv2DTranspose instead.
W0905 16:30:48.037235  6236 deprecation_wrapper.py:119] From D:\bu\Object-Detection-API-Tensorflow-master\Object-Detection-API-Tensorflow-master\CenterNet.py:154: The name tf.train.AdamOptimizer is deprecated. Please use tf.compat.v1.train.AdamOptimizer instead.
W0905 16:30:55.296688  6236 deprecation_wrapper.py:119] From D:\bu\Object-Detection-API-Tensorflow-master\Object-Detection-API-Tensorflow-master\CenterNet.py:280: The name tf.train.Saver is deprecated. Please use tf.compat.v1.train.Saver instead.
W0905 16:30:57.357138  6236 deprecation_wrapper.py:119] From D:\bu\Object-Detection-API-Tensorflow-master\Object-Detection-API-Tensorflow-master\CenterNet.py:286: The name tf.summary.scalar is deprecated. Please use tf.compat.v1.summary.scalar instead.
W0905 16:30:57.357138  6236 deprecation_wrapper.py:119] From D:\bu\Object-Detection-API-Tensorflow-master\Object-Detection-API-Tensorflow-master\CenterNet.py:287: The name tf.summary.merge_all is deprecated. Please use tf.compat.v1.summary.merge_all instead.
------------------------- epoch 0 -------------------------
reduce lr, lr= 0.0001 now
Traceback (most recent call last):
File "", line 1, in
runfile('D:/bu/Object-Detection-API-Tensorflow-master/Object-Detection-API-Tensorflow-master/testcenternet.py', wdir='D:/bu/Object-Detection-API-Tensorflow-master/Object-Detection-API-Tensorflow-master')
File "D:\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 786, in runfile
execfile(filename, namespace)
File "D:\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 110, in execfile
exec(compile(f.read(), filename, 'exec'), namespace)
File "D:/bu/Object-Detection-API-Tensorflow-master/Object-Detection-API-Tensorflow-master/testcenternet.py", line 76, in
mean_loss = centernet.train_one_epoch(lr)
File "D:\bu\Object-Detection-API-Tensorflow-master\Object-Detection-API-Tensorflow-master\CenterNet.py", line 295, in train_one_epoch
_, loss = self.sess.run([self.train_op, self.loss], feed_dict={self.lr: lr})
File "D:\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 950, in run
run_metadata_ptr)
File "D:\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 1173, in _run
feed_dict_tensor, options, run_metadata)
File "D:\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 1350, in _do_run
run_metadata)
File "D:\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 1370, in _do_call
raise type(e)(node_def, op, message)
InvalidArgumentError: 2 root error(s) found.
(0) Invalid argument: Need minval < maxval, got 0 >= -208
[[{{node random_uniform_1}}]]
[[IteratorGetNext]]
[[center_detector/cond_59/SparseToDense/_829]]
(1) Invalid argument: Need minval < maxval, got 0 >= -208
[[{{node random_uniform_1}}]]
[[IteratorGetNext]]
0 successful operations.
0 derived errors ignored.

Is your tensorflow is tf2.0
my code could not used in tf2.0
use tf1.14 tf1.13 tf1.12

As shown in the picture,I am using tensorflow-gpu 1.14.0

windows should use
'D:\bu\tfrecord

InvalidArgumentError: 2 root error(s) found.
(0) Invalid argument: Need minval < maxval, got 0 >= -208
[[{{node random_uniform_1}}]]
[[IteratorGetNext]]
[[center_detector/cond_123/SparseToDense/_1685]]
(1) Invalid argument: Need minval < maxval, got 0 >= -208
[[{{node random_uniform_1}}]]
[[IteratorGetNext]]
0 successful operations.
0 derived errors ignored.

my os is windows 10. After changed to 'D:\bu\tfrecord\',still got the same error above

my os is windows 10. After changed to 'D:\bu\tfrecord\',still got the same error above

'D:\bu\tfrecord\'

Yes. After changed to 'D:\\bu\\tfrecord\\' or  'D:\\bu\\tfrecord'  still got the same error above

InvalidArgumentError: 2 root error(s) found.
(0) Invalid argument: Need minval < maxval, got 0 >= -208
[[{{node random_uniform}}]]
[[IteratorGetNext]]
[[center_detector/cond_59/SparseToDense/_829]]
(1) Invalid argument: Need minval < maxval, got 0 >= -208
[[{{node random_uniform}}]]
[[IteratorGetNext]]
0 successful operations.
0 derived errors ignored.

your tfrecord generation may be wrong


King Command

A configuration change would be something outside of our code that we change with our production environment, such as environment variables, virtual machine tier or quantity, or service providers.

Primary person:
Second person:
When:
Zoom URL:

What is the configuration change?
Why are we updating this configuration?
What risks are there with this configuration change?
If an issue happens, how do we roll back?
Once the change is verified good, please close this issue.

Enter number to call King Command as: 1(937)419-1790.


Examples for semver and digest update strategy

Proposal examples to use semver and digest update strategy

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Already found this helpful. Thank you!


Fix String escaping and add test

Fixes #352 by escaping Strings the right way. Technically we should also remove the altering of the query we do in the query_method_processor (replacing newlines and multiple sequential spaces) but I think those changes are better placed in the queryparser (which is in the works but not quite ready for a PR :wink:  )

Thanks for the fix and the quick update on the query parser!
I totally agree that we should take care about the transformed queries. They've been causing too much trouble.

I also changed the other places where the query is inserted into the queryAdapter

I just ran the integration tests and it seems that we can't use r""" """ quotes because we reference dart values when using IN clauses. But these are just interpreted literally in raw strings.
There are two solutions:

not using raw strings and just escaping it (like the first iteration did)
using raw strings but inserting the variables for the in clause in a special way.

Anyways, IN clauses are also something which I want to adress in the queryparser, mainly because we are currently able to be sql-injected via them (although the risk and the consequences are small).

Because of the issues mentioned above, I will close this PR in favor of #361.


Parameters after the program name

ISSUE
Hello, @lasantosr! All my commands that I run after receiving them from intelli-shell fall due to such an error:
$ dconf list
error: no command specified

If I get the command back with the up arrow, and execute it again, then everything works.
Second example:
$ docker ps --all

Usage:  docker [OPTIONS] COMMAND

Third example:
$ ps aux
    PID TTY          TIME CMD
  11720 pts/0    00:00:00 bash
  11890 pts/0    00:00:00 ps

Tried this in the ubuntu:latest container from docker and it works great!
ENVIRONMENT
OS: Fedora 37
Shell: GNU bash, version 5.2.15(1)-release (x86_64-redhat-linux-gnu)

The mentioned Docker container:
FROM ubuntu:latest
WORKDIR /app
RUN apt-get update && apt-get install -y curl
COPY install.sh .

The bug is related to bash integration on intelli-shell.sh not on the program itself, so if any bash-expert can help us here it would be great!
I'll have a look when i have some time, but i'm no expert.

Thanks, bug fixed. Very useful program!


Resolve differences between sdkconfig.esp32dev & sdkconfig.esp32dev-ei

@LIFsCode There are some differences between the two version of sdkconfig. I think it would make more sense just to have one. I'm unsure of whats are required settings & what happens to be 'just different'.
Could you perhaps take a look & see whats needed from your code?
I've enabled PSRAM/SPIRAM & set the flash size to 16MB in both versions.

@OOHehir I just had a look at the differences acutally all is requierd!
They affect:

https://github.com/LIFsCode/ELOC-3.0/issues/26
Firmware update & partition layout

@LIFsCode @EDsteve I've just pushed a new commit that more closely aligns the non-EI & the EI build. I hope this won't cause any build issues for you both, please let me know if it does.
There doesn't appear to be a straightforward way of using the same sdkconfig file for both builds so looks like we'll just have to keep them manually identical. I considered using a 'linked' file but might cause cross-platform issues.

I combined both sdkconfig files into a single .defaults file.
Here  is a short explanation about the hierarchy of sdkconfig files.
So it is still possible to add different sdkconfig options for esep32dev and esp32dev-ei build, but both now run from the same default config

@LIFsCode Further to this discussion I added a comment here to clarify the handling of these generated files.


Fix some issues with ksh syntax support

This pull request implements support for proper syntax highlighting when using the following features in ksh93:
- Added syntax highlighting for ksh namespaces.
- Don't treat namespace variables (such as ${.sh.subshell}) as errors, since these are valid in ksh93.
- Properly highlight $"..." and $'...' strings in ksh scripts.
- Added support for the ;& operator in ksh case statements.
Here's a script you can use to test these changes:
#!/bin/ksh
namespace foo {
	integer one=1
	integer two=2
	integer three=3
}

printf $"Script running in ${.sh.version}"$'\n'

case $((.sh.version)) in
	2020*) exit ${.foo.one} ;;
	2021*) ;&
	2022*) exit ${.foo.two} ;;
	*) exit ${.foo.three} ;;
esac

cc @cecamp

The changes made here were apparently already upstreamed as part of commit 6ba83ba9ee. Thus, this pull request no longer needs to stay open.


[SUPPORT][LIVE-7336] move evm to own package

📝 Description
Move evm family in coin-evm package
❓ Context

Impacted projects: ``
Linked resource(s): LIVE-7336

✅ Checklist

[x] Test coverage
[x] Atomic delivery
[ ] No breaking changes  || logic moved to new package

📸 Demo

🚀 Expectations to reach
Please make sure you follow these Important Steps.
Pull Requests must pass the CI and be internally validated in order to be merged.

Bot passes -> https://github.com/LedgerHQ/ledger-live/actions/runs/5122762065


Support scope validators at server level

Is your suggestion related to a missing or misleading document? Please describe.
We need to add docs related to the feature in https://github.com/wso2/product-is/issues/8245

Resolved with https://github.com/wso2/docs-is/pull/2190.


Impending Numba default argument value change

When importing stemtool, numba raises the following warning (multiple times):

NumbaDeprecationWarning: The nopython keyword argument was not supplied to the numba.jit decorator. The implicit default value for this argument is currently False, but it will be changed to True in Numba 0.59.0. See https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-object-mode-fall-back-behaviour-when-using-jit for details.

The current Numba version is 0.58.0, and based on their previous release schedule I'd expect 0.59.0 within the next six months or so.  My understanding is that this warning means that if there is any code in stemtool which is currently falling back to the python interpreter for function calls not supported supported by Numba, after 0.59.0 they will instead raise an error unless nopython is explicitly set to False.
I'm not sure if this will affect stemtool or not, but as there was no current open issue regarding this change it seemed like a good idea to open one.

I am slowly removing numba dependencies. numpy is plenty fast on it's own, and parallelization through dask works better in my experience. The next release should be numba free.
I am keeping this open, and will close it once numba is completely gone.


Feature Request: Follow user's view

Problem: When my teammate is talking about something on a board over a call, I have to continually move the board around to find where their pointer is to understand the context. This breaks the flow of conversation. To get around this, we sometimes screenshare, but then this creates a new problem where I have to keep exiting slack/zoom full screen mode and change applications.
Solution request: Add the ability to follow a user which will have the client's viewport follow the target user's. It should follow the current view location of the user, as well as their zoom level. There may be some intricacies worth discussing to get this working well (what happens when the target user is on a 16:9 monitor talking about something at the horizontal edge when the following user is on 3:4, for example).

There may be some intricacies worth discussing to get this working well (what happens when the target user is on a 16:9 monitor talking about something at the horizontal edge when the following user is on 3:4, for example).

Also:

What about multiple users. Which one to follow?
Does it mean you won't be able to scroll yourself (when you need to when drawing)?
What if you don't want that. We'd need a separate UI for that.

This feature is available in Figma and very useful. I'll describe how it works in Figma (apologies if you folks already know that).

Presence of users (who's in the diagram) need to be explicitly stated. Kinda like user avatars that show up when a user opens a doc in Google Doc.

In Figma, if you double click on an avatar, then you are indicating that you want to follow that user.

So, the center of your viewport is the same as the users. It doesn't matter how big my screen is. As long as the center of my viewport is the same as that of the user I am following.

You double click on user avatar to unfollow.

It is extremely useful feature.

This is a good idea to show a list of all the connected users. I’ve always wanted to see who is there.

Yes I remember using a tool that implemented the feature I described, but can't for the life of me remember what. It could very well may have been Figma.
I think you detached yourself from the user whenever you made some form of interaction like editing the canvas, click to drag viewport etc. You could still move your cursor, mind.
Once a 'detaching action' occurred, you would then need to 'refollow' the user. So when following you are not prevented in doing actions, it's just that those actions simply breaks the following state.
Having some form of list of users seems like a good first chunk of work that could be done. In my mind I thought a list could be in the live-collab menu, but the Gsuite-style avatars in the top right would save on clicks when following/re-following.

Right. Note that since we don't have authentication, the avatars would just be colored icons with initials. And since we don't require users to pick names, lot of the time we couldn't even show any initials.

I think the issue of avatars and initials goes back to first principles.
Is this tool meant for collaborating and discussing as much as it is for
creating. If it is for collaborating then what is the best way to identify
collaborators? Initials? Gravatar? Full name? Profile pic? And if P2P
collab design will support such a system? Identity is pretty crucial to
collab products.
On Sun, Jun 7, 2020 at 9:41 AM David Luzar<EMAIL_ADDRESS>wrote:

Right. Note that since we don't have authentication, the avatars would
just be colored icons with initials. And since we don't require users to
pick names, lot of the time we couldn't even show any initials.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/excalidraw/excalidraw/issues/1721#issuecomment-640221024,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABGRLZTZBES7MU2RCPSTGBLRVOKJDANCNFSM4NUMIFGA
.

The fact that we don't have avatars or initials it's OK.. I think once the list of participants will be visible, people will start editing their names.. For now we can just do colors and it's fine!

I'd love to contribute by building this feature; at least the first part, which is to show user avatars with colored icons.
I looked at the contributing guidelines and saw that only an issue needs to be open.
Any advice on the process of contributing such a feature. Just send pull requests or should I share beforehand how I am planning to implement first?

I just started on this work @sg1705 - literally only a few hours before your comment! I was going to get something up over the next couple of days, at least as a draft for us to review (especially design)

@sg1705 There are plenty of open issues if you would like to contribute with something else.. That was kind of a bit unusual and unlucky.. it's good that you asked :D

Thanks @lipis . Is there any issue that you think I can pick that would be good for someone just starting out in this project.

You can click on the avatars now to go to their cursors!

I know this is old and closed. I landed here via Google as the current functionality does not really implement "follow" but "jump to" instead. I'm not sure if you'd like to reopen an issue or rather have a new one.


When bulk operations are enabled, the bulk checkbox label is displayed as raw HTML in the preview page

Bug report
What I did:
Enabled previews and bulk operations in a CRUD controller
$this->crud->allowAccess(['show']);
$this->crud->enableBulkActions();

What I expected to happen:
Not having a bulk operations checkbox in the preview page.
What happened:
A HTML label and a checkbox is displayed.

What I've already tried to fix it:
Removed the blank_first_column and bulk_actions columns in \Backpack\CRUD\app\Http\Controllers\Operations\Show
@@ -43,6 +43,9 @@ trait Show
         $this->crud->removeButton('show');
         $this->crud->removeButton('delete');

+        // remove bulk actions colums
+        $this->crud->removeColumns(['blank_first_column', 'bulk_actions']);
+
         // load the view from /resources/views/vendor/backpack/crud/ if it exists, otherwise load the one in the package
         return view($this->crud->getShowView(), $this->data);
     }

Backpack, Laravel, PHP, DB version:

Backpack 3.4
Laravel 5.6
PHP 7.2
MySQL 5.7

You're totally right. Thank you @dandarie - such an obvious bug on my end, very sorry. Your PR fixes it perfectly, merged, thank you!


in_unix: cause "[error]: #0 unexpected error in json payload error" or "[warn]: #0 incoming data is broken" with huge data

Describe the bug
When it send the very long data at once from the client, it causes error with JSON data or warning with MessagePack format.
In my environment, this always happens when I send more than 256 KB at once.
To Reproduce
It just sends data using following code
# frozen_string_literal: true
require "socket"
require "json"
require "msgpack"

FORMAT = :json
UNIX_SOCKET_PATH = "/tmp/fluentd-unix.sock"

DATA_LENGTH = 1024 * 256

def data_generater
  d = ['test', Time.now.to_i, {"length_#{DATA_LENGTH}": "a" * DATA_LENGTH}]
  case FORMAT
  when :json
    d.to_json
  when :msgpack
    MessagePack.pack(d)
  else
    raise "unknown format: #{FORMAT}"
  end
end

begin
  s = UNIXSocket.new(UNIX_SOCKET_PATH)
  loop do
    data =
    s.send(data_generater, 0)
    sleep 1
  end
rescue Errno::EPIPE => e
  p e
ensure
  s&.close
end

client side
ruby unix_client.rb

Fluentd side
bundle exec bin/fluentd -c ~/socket_unix.conf --workers 1

Expected behavior
No errors
Your Environment
- Fluentd version: git master
- Package version:
- Operating system:
- Kernel version:

Your Configuration
<source>
  @type unix
  path /tmp/fluentd-unix.sock
</source>

<match **>
  @type file
  path /tmp/fluentd.log
</match>

Your Error Log
JSON
Send JSON data from client
$ bundle exec bin/fluentd -c ~/socket_unix.conf --workers 1
2024-11-02 09:44:04 +0900 [info]: init supervisor logger path=nil rotate_age=nil rotate_size=nil
2024-11-02 09:44:04 +0900 [info]: parsing config file is succeeded path="/home/watson/socket_unix.conf"
2024-11-02 09:44:04 +0900 [info]: gem 'fluentd' version '1.17.1'
2024-11-02 09:44:04 +0900 [warn]: define <match fluent.**> to capture fluentd logs in top level is deprecated. Use <label @FLUENT_LOG> instead
2024-11-02 09:44:04 +0900 [info]: using configuration file: <ROOT>
  <source>
    @type unix
    path "/tmp/fluentd-unix.sock"
  </source>
  <match **>
    @type file
    path "/tmp/fluentd.log"
    <buffer time>
      path "/tmp/fluentd.log"
    </buffer>
  </match>
</ROOT>
2024-11-02 09:44:04 +0900 [info]: starting fluentd-1.17.1 pid=16001 ruby="3.3.5"
2024-11-02 09:44:04 +0900 [info]: spawn command to main:  cmdline=["/home/watson/.rbenv/versions/3.3.5/bin/ruby", "-r/home/watson/.rbenv/versions/3.3.5/lib/ruby/site_ruby/3.3.0/bundler/setup", "-Eascii-8bit:ascii-8bit", "bin/fluentd", "-c", "/home/watson/socket_unix.conf", "--workers", "1", "--under-supervisor"]
2024-11-02 09:44:04 +0900 [info]: #0 init worker0 logger path=nil rotate_age=nil rotate_size=nil
2024-11-02 09:44:04 +0900 [info]: adding match pattern="**" type="file"
2024-11-02 09:44:04 +0900 [info]: adding source type="unix"
2024-11-02 09:44:04 +0900 [warn]: #0 define <match fluent.**> to capture fluentd logs in top level is deprecated. Use <label @FLUENT_LOG> instead
2024-11-02 09:44:04 +0900 [info]: #0 starting fluentd worker pid=16025 ppid=16001 worker=0
2024-11-02 09:44:04 +0900 [warn]: #0 Found existing '/tmp/fluentd-unix.sock'. Remove this file for in_unix plugin
2024-11-02 09:44:04 +0900 [info]: #0 listening fluent socket on /tmp/fluentd-unix.sock
2024-11-02 09:44:04 +0900 [info]: #0 fluentd worker is now running worker=0
2024-11-02 09:44:07 +0900 [error]: #0 unexpected error in json payload error="lexical error: invalid string in json text.\n                                     [\"test\",1730508247,{\"length_26214\n                     (right here) ------^\n"
  2024-11-02 09:44:07 +0900 [error]: #0 /home/watson/src/fluentd/lib/fluent/plugin/in_unix.rb:175:in `<<'
  2024-11-02 09:44:07 +0900 [error]: #0 /home/watson/src/fluentd/lib/fluent/plugin/in_unix.rb:175:in `on_read_json'
  2024-11-02 09:44:07 +0900 [error]: #0 /home/watson/.rbenv/versions/3.3.5/lib/ruby/gems/3.3.0/gems/cool.io-1.9.0/lib/cool.io/io.rb:123:in `on_readable'
  2024-11-02 09:44:07 +0900 [error]: #0 /home/watson/.rbenv/versions/3.3.5/lib/ruby/gems/3.3.0/gems/cool.io-1.9.0/lib/cool.io/io.rb:186:in `on_readable'
  2024-11-02 09:44:07 +0900 [error]: #0 /home/watson/.rbenv/versions/3.3.5/lib/ruby/gems/3.3.0/gems/cool.io-1.9.0/lib/cool.io/loop.rb:88:in `run_once'
  2024-11-02 09:44:07 +0900 [error]: #0 /home/watson/.rbenv/versions/3.3.5/lib/ruby/gems/3.3.0/gems/cool.io-1.9.0/lib/cool.io/loop.rb:88:in `run'
  2024-11-02 09:44:07 +0900 [error]: #0 /home/watson/src/fluentd/lib/fluent/plugin_helper/event_loop.rb:93:in `block in start'
  2024-11-02 09:44:07 +0900 [error]: #0 /home/watson/src/fluentd/lib/fluent/plugin_helper/thread.rb:78:in `block in thread_create'

MessagePack
Send MessagePack data from client
$ bundle exec bin/fluentd -c ~/socket_unix.conf --workers 1
2024-11-02 09:45:01 +0900 [info]: init supervisor logger path=nil rotate_age=nil rotate_size=nil
2024-11-02 09:45:01 +0900 [info]: parsing config file is succeeded path="/home/watson/socket_unix.conf"
2024-11-02 09:45:01 +0900 [info]: gem 'fluentd' version '1.17.1'
2024-11-02 09:45:01 +0900 [warn]: define <match fluent.**> to capture fluentd logs in top level is deprecated. Use <label @FLUENT_LOG> instead
2024-11-02 09:45:01 +0900 [info]: using configuration file: <ROOT>
  <source>
    @type unix
    path "/tmp/fluentd-unix.sock"
  </source>
  <match **>
    @type file
    path "/tmp/fluentd.log"
    <buffer time>
      path "/tmp/fluentd.log"
    </buffer>
  </match>
</ROOT>
2024-11-02 09:45:01 +0900 [info]: starting fluentd-1.17.1 pid=16161 ruby="3.3.5"
2024-11-02 09:45:01 +0900 [info]: spawn command to main:  cmdline=["/home/watson/.rbenv/versions/3.3.5/bin/ruby", "-r/home/watson/.rbenv/versions/3.3.5/lib/ruby/site_ruby/3.3.0/bundler/setup", "-Eascii-8bit:ascii-8bit", "bin/fluentd", "-c", "/home/watson/socket_unix.conf", "--workers", "1", "--under-supervisor"]
2024-11-02 09:45:01 +0900 [info]: #0 init worker0 logger path=nil rotate_age=nil rotate_size=nil
2024-11-02 09:45:01 +0900 [info]: adding match pattern="**" type="file"
2024-11-02 09:45:01 +0900 [info]: adding source type="unix"
2024-11-02 09:45:01 +0900 [warn]: #0 define <match fluent.**> to capture fluentd logs in top level is deprecated. Use <label @FLUENT_LOG> instead
2024-11-02 09:45:01 +0900 [info]: #0 starting fluentd worker pid=16185 ppid=16161 worker=0
2024-11-02 09:45:01 +0900 [warn]: #0 Found existing '/tmp/fluentd-unix.sock'. Remove this file for in_unix plugin
2024-11-02 09:45:01 +0900 [info]: #0 listening fluent socket on /tmp/fluentd-unix.sock
2024-11-02 09:45:01 +0900 [info]: #0 fluentd worker is now running worker=0
2024-11-02 09:45:04 +0900 [warn]: #0 incoming data is broken: msg=97
2024-11-02 09:45:04 +0900 [warn]: #0 incoming data is broken: msg=97
2024-11-02 09:45:04 +0900 [warn]: #0 incoming data is broken: msg=97
2024-11-02 09:45:04 +0900 [warn]: #0 incoming data is broken: msg=97
2024-11-02 09:45:04 +0900 [warn]: #0 incoming data is broken: msg=97
--- (snip) ---

Additional context
No response

The data received by the cool.io gem is delimited to 16384 bytes or less and passed to the application.
However, Fluentd might not handle it properly.
require 'bundler/inline'
gemfile do
  source 'https://rubygems.org'
  gem 'cool.io'
end

require "socket"
require "json"
require 'fileutils'

UNIX_SOCKET_PATH = "/tmp/fluentd-unix.sock"
DATA_LENGTH = 1024 * 256

FileUtils.rm_f(UNIX_SOCKET_PATH)

class Client
  def data_generater
    d = ['test', Time.now.to_i, {"length_#{DATA_LENGTH}": "a" * DATA_LENGTH}]
    d.to_json
  end

  def run
    Thread.new do
      s = UNIXSocket.new(UNIX_SOCKET_PATH)
      sleep 0.5
      data = data_generater
      s.send(data, 0)
      puts "[client] sent size = #{data.size}"
      s.close

      puts "[client] Finished!!"
    end
  end
end

class ServerConnection < Cool.io::UNIXSocket
  def on_connect
    puts "[server] connected"
  end

  def on_close
    puts "[server] disconnected"

    exit
  end

  def on_read(data)
    puts "[server] received size = #{data.size}"
  end
end

server = Cool.io::UNIXServer.new(UNIX_SOCKET_PATH, ServerConnection)
server.attach(Cool.io::Loop.default)

Client.new.run

Cool.io::Loop.default.run

$ ruby coolio.rb
/home/watson/.rbenv/versions/3.3.5/lib/ruby/3.3.0/json/common.rb:3: warning: ostruct was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0.

It seems that Unix sockets have a limit on the size of data that can be sent at one time.
# frozen_string_literal: true
require "socket"
require "json"
require "fileutils"

UNIX_SOCKET_PATH = "/tmp/socket.sock"
DATA_LENGTH = 1024 * 512

FileUtils.rm_f(UNIX_SOCKET_PATH)

## Server
Thread.new do
  UNIXServer.open(UNIX_SOCKET_PATH) do |serv|
    s = serv.accept
    loop do
      data = s.recv(DATA_LENGTH * 2)
      # Show data size, data size in KB, and last 20 characters
      p [data.size, "#{data.size / 1024} KB", data[-20..]]
    end
  end
end

## Client
sleep 0.5

begin
  s = UNIXSocket.new(UNIX_SOCKET_PATH)
  loop do
    data = ['test', Time.now.to_i, {"length_#{DATA_LENGTH}": "a" * DATA_LENGTH}]
    s.send(data.to_json, 0)
    sleep 1
  end
rescue Errno::EPIPE => e
  p e
ensure
  s&.close
end

$ ruby unix.rb
[219264, "214 KB", "aaaaaaaaaaaaaaaaaaaa"]
[219264, "214 KB", "aaaaaaaaaaaaaaaaaaaa"]
[219264, "214 KB", "aaaaaaaaaaaaaaaaaaaa"]
[219264, "214 KB", "aaaaaaaaaaaaaaaaaaaa"]
[219264, "214 KB", "aaaaaaaaaaaaaaaaaaaa"]
[219264, "214 KB", "aaaaaaaaaaaaaaaaaaaa"]

I need to check the settings to exchange logs that exceed the limit...

I guess that it related to buffer size of Unix socket...
$ sysctl net.core.rmem_max
net.core.rmem_max = 212992

It is not always possible to send everything at once.
The client needs to calculate the size that can be sent and process it appropriately.
The data may be separated on the server side, so it is necessary to assemble it appropriately.
# frozen_string_literal: true
require "socket"
require "json"
require "fileutils"

UNIX_SOCKET_PATH = "/tmp/socket.sock"
DATA_LENGTH = 1024 * 512

FileUtils.rm_f(UNIX_SOCKET_PATH)

## Server
Thread.new do
  UNIXServer.open(UNIX_SOCKET_PATH) do |serv|
    s = serv.accept
    loop do
      data = s.recv(DATA_LENGTH * 2)
      # Show data size, data size in KB, and last 20 characters
      p [data.size, "#{data.size / 1024} KB", data[-20..]]
    end
  end
end

## Client
sleep 0.5

begin
  s = UNIXSocket.new(UNIX_SOCKET_PATH)
  loop do
    data = ['test', Time.now.to_i, {"length_#{DATA_LENGTH}": "a" * DATA_LENGTH}].to_json
    sent = 0
    data_length = data.size
    # Send a data that it may be separated
    while sent < data_length
      send_length = data_length - sent
      sent += s.send(data[sent, send_length], 0)
    end
    sleep 1
  end
rescue Errno::EPIPE => e
  p e
ensure
  s&.close
end

Hmm, this issue is a mistake in the script written in ‘To Reproduce’.
It should be following.
# frozen_string_literal: true
require "socket"
require "json"
require "msgpack"
require "fileutils"

FORMAT = :msgpack
UNIX_SOCKET_PATH = "/home/watson/prj/sandbox/fluentd/socket.sock"

DATA_LENGTH = 1024 * 1024 * 10

def data_generater
  d = ['test', Time.now.to_i, {"length_#{DATA_LENGTH}": "a" * DATA_LENGTH}]
  case FORMAT
  when :json
    d.to_json
  when :msgpack
    MessagePack.pack(d)
  else
    raise "unknown format: #{FORMAT}"
  end
end

begin
  s = UNIXSocket.new(UNIX_SOCKET_PATH)
  loop do
    data = data_generater
    sent = 0
    while sent < data.size
      send_length = data.size - sent
      sent += s.send(data[sent, send_length], 0)
    end
    sleep 1
  end
rescue Errno::EPIPE => e
  p e
ensure
  s&.close
end


How much time does it take to train one class on some a consumer GPU (1080 Ti or 3080)?

Please indicate how much time does it take to train DIS approximately on a consumer GPU?

Took me some 2 days.

@ogladkov how many iterations did it take to stop training?


Dual boot system with windows

Thanks for creating this resource I am seriously excited to possibly drop a lot of grub cruft I have been dealing with. My one issue that I am wondering if you have experience with is a system that also boots into windows. This style of booting from uefi directly is new to me and I am wondering how this would work. Does the windows side just work by creating its own uefi entry and there is no overlap, or would I have to get the same private key generated from scripts embedded into the windows filesystem somehow?
if you aren’t familiar with this then no worries, just seeing if it’s possible to know about this before diving in.

Hello, glad you found this interesting!
I did have to install Windows as dual-boot a few times for some short experiments, always used UEFI method, Windows will just add its entry and that's it.
However you are right to suspect issues with Secure Boot - I dont know if it's possible to force Windows to use our own keypair, since I didn't need it for long I just disabled Secure Boot when I needed to boot into Windows.
Alternatively you should look into this approach: https://wiki.archlinux.org/title/Unified_Extensible_Firmware_Interface/Secure_Boot#Using_a_signed_boot_loader
I don't particularly like the approach, as earlier in that same wiki page they mention a downside when using manufacturer's key:

Default manufacturer/third party keys aren't in use, as they have been shown to weaken the security model of Secure Boot by a great margin[3]

But I guess it's better than disabling Secure Boot altogether :)

Okay sounds good that’s enough for me to dive in and give it a try. Happy to hear that It goes through its own entry and I was hoping to not have to share the private key to the windows system. If I learn anything interesting about the process I’ll report back here for others.

@skbolton what did you learn? Did you find a working list of steps? best to install windows first? delete windows keys or use them?

I never attempted as shortly after getting this system up and running I switched to nixos.


fix prometheus metric name and label key sanitizer

The original sanitizer mistakenly replaces digits in the middle of a string with an underscore. This pull request fixes this issue

Hey there, and thanks for your contribution!
I had actually just merged #290 today which fixed this problem for metric names, but not label keys.  Would you be willing to update this PR to utilize the same approach for label keys as was taken for metric names?

Hey there, and thanks for your contribution!
I had actually just merged #290 today which fixed this problem for metric names, but not label keys. Would you be willing to update this PR to utilize the same approach for label keys as was taken for metric names?

Updated. By the way, the original code adds a new underscore before keys starting with double underscores. But technically, triple underscores still start with double underscores. I think it'd better leave it as is.

Updated. By the way, the original code adds a new underscore before keys starting with double underscores. But technically, triple underscores still start with double underscores. I think it'd better leave it as is.

Hmmmmm, yeah... it's tricky because the regex they give for valid label keys is [a-zA-Z_][a-zA-Z0-9_]* but then they also say that label keys starting with __ is reserved for internal use... so it's not clear if they only mean __foo or, if as you point out, ___foo would be considered "reserved" because it happens to have two underscores at the front.
I agree that we can leave your PR as-is and I'll try to do some more research to see how officially libraries handle this, if they handle it at all.

Released in<EMAIL_ADDRESS>


PV forecast in browser - pyodide

To investigate if pyodide (https://pyodide.org/en/stable/) can be used to run the a PV forecast in a browser application on WebAssembly.

@mrchrisadams I made this github issue for your comment. We can use this issue as place to discuss this.

Thanks @zakwatts!
I think for this to run in a browser, I think we'd need to check that the list of packages used by this quartz solar forecast would be compatible with Pyodide, and there is a list of packages pre-installed already in pyodide. you can see them, below, along with information about how to create pre-compiled wheels to make including new packages possible:
https://pyodide.org/en/stable/usage/packages-in-pyodide.html
Once something is in the browser, it should be possible to use the browser geolocation tools, to allow it to provide the latlngs. I think this would mean anyone in the world accessing the page in a modern browser would be able to perform a local solar forecast for where they are (as long as the data coverage for the necessary inputs is ok).
You can see an example of using the the browser's geolocation API in this notebook:
https://nextjournal.com/greenweb/experiments-with-the-free-marginal-carbon-intensity-from-wattime

I've added a post here on social media, to see if any further advice comes in
https://mastodon.social/@mrchrisadams/111900393206118727

Ok, I've had a bit more of a look.
The following packages are dependencies in this project:
pandas
xarray
pv-site-prediction
pydantic
huggingface_hub # only for evaluation
python-dotenv

If a package is python it works with pyodide "out of the box". If it uses some underlying C library like pandas, then there needs to be a step to compile it for WASM.

pandas - has pyodide friendly version already
xarray - is pure python
pv-site-prediction - likely has a bunch of C/C++ deps, from the looks of it
pydantic - appears to be python (I thought it used rust internally now though)
huggingface_hub - I think it's pure python
python-dotenv - pure python, i think

For this to be possible, you'd probably need to figure out how to make the pv-site-prediction library work in pyodide. that might be quite a mission. It's possible and the steps are outlined below for compiling in this way:
https://pyodide.org/en/stable/development/new-packages.html
However, this is definitely beyond my knowledge. If I bump into some WASM / pyodide ninja who can help, I'll update here, but I'm also aware I don't have that much time to commit to this idea, as cool as it might be.
I've made a note to close this issue at the end of the month if that helps keep this issue list easier to manage.

Closing this issue for now

@all-contributors please add @mrchrisadams for ideas.


gapless playback

I'm mighty impressed with tap.
I note it seeks inspiration from cmus. That offers gapless playback. Is there any chance of adding gapless playback for tap please?
About 10% of my music collection is ruined without it.

Thanks for the feedback and glad you're enjoying the app!
Gapless playback is something I intend to implement. It's actually more of a bug that I've pushed to the back of the pile as Symphonia (which we use for decoding via Rodio) already provides it. I've been putting it off fixing it because I intended to remove the Rodio dependency at some point.
The last update fixed a lot of things so I hope to fix this and also implement file seeking in the next update.

So I just pushed a release that should implement gapless playback (seeking will have to be for another time). If you could let me know if this is working as you'd expect that would be appreciated!

Yes, from limited testing, gapless playback is working as expected! Thanks. I'm going to crack on with my review.
It'll be easier to verify everything is ok when track seeking is implemented.

Yeah, especially when tracks that use it tend to be on the longer side! Unfortunately seeking requires changes that are a bit more extensive, going to have to think about the neatest way to incorporate it
Thanks for offering to write a review. It will be useful to hear any negatives so don't hold back!

I wrote up my review fwiw. I'm using tap as my daily music driver!

Thanks for writing such a detailed review, it's very useful to hear how someone experiences using the app.
The suggestions you make I think are pretty good.
I think I will add an independent volume control as I have an idea of how to add it without cluttering the UI.
I also have code that speeds up the initial loading for a user set directory by using a cache, just need to iron out some of the wrinkles with that.
Also, pretty sure I introduced the 'occasional blinking' when I added gapless playback. Should be able to fix that.
Aside from these changes, plus seeking, I think the program will be in a nice state.
Further suggestions / bug reports are very welcome!

Just a heads up, latest release adds volume control and the ability to set a default directory for a faster startup

I look regularly to see if there are new commits, clone and build without waiting for an actual release as I'm that keen to see developments :)

Latest release implements seeking. Also fixes the annoying the 'blink' that occurred every once in a while between track changes

I've written a review of the latest version.
tap is just so cool now.
11 GitHub stars -- meh. tap deserves 11K.

Thanks for taking the time to do that. Glad you're enjoying some of the new features!
I agree a config file would be useful now we have the color option. Might look at adding that next

A bug in v0.4.10 is evident (I did all my testing using v0.4.9 as v0.4.10 was released just after finishing my review).
I've noticed that when v0.4.10 finishes playing a track, it just repeats that track (though the interface indicates the next track is being played). This happens with the precompiled binary and the deb package.

Thanks Luke.
I cleaned some of the cruft in the last release, as well as the line of code that increments the file in the queue...🤦♂

This should be fixed now!

Yes, lovely jubbly!


Create view for viewing individual application

Frontend Skeleton for such a view/page (No fuctionality)
We should have a view for viewing individual applications. This view should include application text, positions the applicant has searched for, and other relevant information.
Here is the Samf3-solution.

Usikker på om denne er ferdig, har gjort meste her, men må sjekke


Teamviewer

Getting
Apr 05 18:06:36 nixos systemd[1]: PID file /run/teamviewer.pid not readable (yet?) after start.
Apr 05 18:08:06 nixos systemd[1]: teamviewerd.service start operation timed out. Terminating.
Apr 05 18:08:06 nixos systemd[1]: Failed to start TeamViewer remote control daemon.
Apr 05 18:08:06 nixos systemd[1]: Unit teamviewerd.service entered failed state.
Apr 05 18:08:06 nixos systemd[1]: teamviewerd.service failed.

If I manually do teamviewerd -d - everything is ok.
Ideas?


feat: add maxWidth msg option

Signed-off-by: fufesou<EMAIL_ADDRESS>For some apps, chat window is a popup widget. It may be not suitable to use device's screen size. Instead user may want to set specified message max width, which is adapted to widget width.

Hey, thanks for your contribution! I can definitely see how useful it can be!
The only changes necessary are:

In lib/src/models/message_options.dart you don't need to init the param to null, it will already be null by default
In lib/src/widgets/message_row/message_row.dart you don't need to add a maxWidth param because you can already get it from the messageOptions param

Thanks for your careful review.

@all-contributors please add @fufesou for code


Fiona <-> OGR field mappings take 2 (refactor)

Follow up on #1358.
The project's original mappings predated OGR's sub-types (https://gdal.org/development/rfc/rfc50_ogr_field_subtype.html) and those were kinda bolted on. In this version we embrace them. We map (fieldtype, subtype) tuples to Fiona field types.
The extremely gross sections of if/else conditionals in the OGR and Fiona feature builders have been reduced to looking up a class in one of the maps and calling one of its methods. The increase in lines of code is largely explained by the new small classes and lack of normalization.
Original tests pass, save one, which had the wrong expected value.
TODO: benchmarking. I suspect this makes writing a collection a bit faster, but I don't have numbers yet.
When reviewing, use the "split" view, it's much easier to read for these particular changes.

@mwtoews @snorfalorpagus @perrygeo I'm tagging you for review of this refactor PR. Meanwhile I'm going to work on benchmarking.

Last call for review!


Add OwningRef::new_assert_stable_address

I’d like to use OwningRef with parking_lot::RwLockReadGuard but can’t implement the StableAddress trait because coherence rules.

https://github.com/Amanieu/parking_lot/commit/3a1baba65d0c22f684d690ba03fd22dacd59fa8c removes the need for this in my specific case.

Still looks like a useful addition, thanks!


Update 134.1-heart-curve.md

Discrete Fourier Transformation of a Heart Curve, using Processing.
A GIF version of the sketch can be found here: https://github.com/Carla-de-Beer/Processing/tree/master/Fourier Transformations/FourierTransformHeart

Lovely ❤

Amazing work @Carla-de-Beer!

Thanks, Daniel. Your enthusiasm is always so infectious and inspiring!


If you intend to create a child node, you may end up creating a sibling node.

Tested versions

Reproducible in: Godot v4.3.dev (c9c17d6ca)

System information
Godot v4.3.dev (c9c17d6ca) - Debian GNU/Linux trixie/sid trixie - X11 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3070 (nvidia) - Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz (8 Threads)
Issue description
When a node is created, it is clearly selected in the left panel (labeled "scene") as well as in the left panel (labeled "inspector"). However, if you place your mouse pointer right over its name, right-click and select "Add Child Node", you will get a sibling node.
This problem is avoided by clicking first with the left button and then with the right button. However, it is annoying behavior.
Steps to reproduce
The key to reproducing this bug is to never left-click on the node name in the "scene" panel. YOU CAN EVEN MOVE AND ROTATE THE NODE (for example if it is a MeshInstance3D) in the central window, and this bug will still occur.
In the screen captures I show what I said. You can clearly see which node is selected and that I have pulled down the menu by right clicking. However, as seen in the image, a sibling node is created.

Minimal reproduction project (MRP)
I think a file is unnecessary

Probably fixed by https://github.com/godotengine/godot/pull/75062

@kitbdev

Probably fixed by Allow right and middle click focus #75062

I think that other bug was addressed during 2023... but I experience this bug in v4.3 built a few days ago.

can't repoduce on mac on neither Godot v4.2.1.stable nor 7d151c83811f8ac8873439826c16d88c83aba12f
In fact right clicking does indeed select and focus. Might be OS dependent
config :  macOS 14.4.0 - Apple M1 Pro - Apple M1 Pro (8 Threads)


thaumcraft crashing when trying to start the server.

So i have Baubles-1.12-1.5.2 and Thaumcraft-1.12.2-6.1.BETA25 installed and im getting this error: https://pastebin.com/VgLASrTZ

ok thanx for answering and sorry for the duplicate


 I'm trying to close out all bugs by Friday.

Let's go with the first: A great deal, A lot, A moderate amount, A little, Not at all. So, delta from current version should be just Very much --> A lot


Support regexp_instr function

What problem does this PR solve?
Issue Number: ref #6115
Problem Summary:
What is changed and how it works?
Check List
Tests

[x] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/cc @gengliqi @windtalker

/hold

/unhold

Also need to add some fullstack tests. And since regexp related function have different behavior if the input is empty or not, we need add test of empty input explicitly.

okk

/run-all-tests

/run-all-tests

/run-all-tests

ERROR 1139 (42000) at line 1: Got error 'Not support binary collation so far' from regexp

/run-all-tests

/merge

/run-all-tests

ERROR 1139 (42000) at line 1: Got error 'Not support binary collation so far' from regexp

resolved


Doesn't compile with macOS 10.12 SDK

If you try and compile flucoma-core against the 10.12 SDK that is installed with Xcode 13, there is a conflict with some blas headers. I'm not sure why but it tries to include MKL support which has some conflicting types with the Accelerate blas headers.
In file included from /Users/oli/Dev/flucoma-core/examples/describe.cpp:19:
In file included from /Users/oli/Dev/flucoma-core/include/algorithms/public/Loudness.hpp:16:
In file included from /Users/oli/Dev/flucoma-core/include/algorithms/public/../util/TruePeak.hpp:13:
In file included from /Users/oli/Dev/flucoma-core/include/algorithms/public/../util/FFT.hpp:15:
In file included from /Users/oli/Dev/flucoma-core/build/_deps/hisstools-src/HISSTools_FFT/HISSTools_FFT.h:40:
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.h:20:
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Accelerate.framework/Headers/../Frameworks/vecLib.framework/Headers/vecLib.h:50:
/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/fortran_blas.h:27:5: error: conflicting types for 'icamax_'
int icamax_(int *n, void *cx, int *incx)
    ^
In file included from /Users/oli/Dev/flucoma-core/examples/describe.cpp:17:
In file included from /Users/oli/Dev/flucoma-core/build/_deps/eigen-src/Eigen/Core:100:
In file included from /Users/oli/Dev/flucoma-core/build/_deps/eigen-src/Eigen/src/Core/util/MKL_support.h:113:
/Users/oli/Dev/flucoma-core/build/_deps/eigen-src/Eigen/src/Core/util/../../misc/blas.h:67:8: note: previous declaration is here
int    BLASFUNC(icamax)(int *, float  *, int *);
       ^

Note: it works with macOS 11 SDK

This should already be fixed on the dev branch. If you comment out the
EIGEN_USE_BLAS bit in CMakeLists for flucoma-core you should be golden
On Tue, 7 Dec 2021, 15:12 Oli Larkin, @.***> wrote:

Note: it works with macOS 11 SDK
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/flucoma/flucoma-core/issues/69#issuecomment-988017669,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGQHIYOQ2DP4SHHGEXAEN6LUPYP7VANCNFSM5JRQBIEQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

great, thanks!


Add support for vfat formatted config drive

PR to resolve rancher/os#1643
Mounting a vfat formatted config drive requires the nls_iso8859-1 kernel module.

ok, I'm going to assume - and then build 4.9.31 with it.
mergifying.


back-end/test: add test suite for user create and delete functions

Adds the necessary tests for every exported function in
createFiles/createUser.js. The createUser function requires both
Mongo and Mongoose. createUser.js has also been modified for style
consistency. Also added tests for exported function in
deleteFiles/deleteUser.js. This one also requires both Mongo and
Mongoose for proper testing.

I finished a pair programming session with James and we fixed all the issues with this PR. All tests pass and design changes made are reasonable. Approved.


Google Play App Updates Blocked

I am (was) using hBlock as part of several blocklist subscriptions through NextDNS. When I tried to update my apps on the Play Store, nothing was working. I disabled my Private DNS and that fixed the problem, so then I went into NextDNS logs and found that hBlock is blocking many sites on the gvt1.com domain. I removed hBlock from my NextDNS settings and re-enabled Private DNS, then the Google Play updates worked again. Screenshot included of my NextDNS logs.

Can confirm this, disabled hBlock from block list in nextDNS allowed me to update my play store apps.

This is Real i was facing the Same thing. Can't Update my apps in Google playstore.
ALLOW -  ||gvt1.com^

I just added the two web links below as exceptions (in Allowlist) and the Google Play update was enabled again.
rr1---sn-uxax3vhna-aw0s.gvt1.com
rr2---sn-uxax3vhna-aw0s.gvt1.com

Hello Hector,
I'm a member of the uBlock Origin team and just wanted to inform you that a fix has been made for this issue. You can refer to the following comment for information regarding the issue:
https://old.reddit.com/r/uBlockOrigin/comments/1d8wqdn/why_is_the_gvt1com_domain_blocked/l7arr37/
Best regards, and thanks for the report.

Thank you all, problem solved!


[Mining] Statistics

ac:

tari statistics
monero mining statistics are not going to be available, it's too complicated to get this on initial launch
data should be equal to sum of amounts for WalletTransaction events with event field with value 'mined'

filters:
Monthly filter: as on the screenshot above, if we only have data for one month, don't show "vs" comparisons
Yearly filter:  should show all months in the selected year, with values of mined xtr, xmr for each month, if we only have data for one year, don't show "vs" comparisons
All filter:  should be disabled if we only have data for only one year, otherwise show year by year results, don't show "vs" indicator on coin balances (nothing to compare)

tarnas14 commented:
@alex1307 @CjS77
I assume blockchain stores the information about mined coins by each node
should we assume that this information is available from backend and we can just request it?

tarnas14 commented:
question ~pending~ about "all" and "yearly" filters
answer included in description

CjS77 commented:
There are 2 ways of getting "blocks mined" information:

By querying UTXOs that are both coinbase UTXOs and are mined / confirmed. (This gets you history)
By signing up for notifications. We currently only allow notifications via a shell script, but are looking into piping the events directly to the Tauri FE (This gets you live events)

CjS77 commented:
@alex1307 - We should add Tauri commands that make this a simple call. The FE should not be wrangling this data.
Bear in mind that the historical events call is somewhat expensive, so some discussion on the API would serve us well.
How often will you be requesting the full history?
Can we assume the FE caches previous calls, so we can return new changes since a given timestamp?

tarnas14 commented:
since I don't think historical data ever changes in blockchain, it wouldn't hurt us to save the data somewhere
is it possible to make an API that would return results with daily resolution, called for specific windows, e.g. from=2022-04-01&to=2022-04-30?
FE could then save the results internally and make sure never to call for that window again (assuming the window is in the past)
and then when the user changes filters on the statistics view, and we don't have data to show to them, we would call the api for missing windows?
I don't know how the UTXO is queried and how expensive this API is, so all suggestions are welcome.

tarnas14 commented:
@CjS77 @alex1307 do you have any new info on this?

CjS77 commented:
@alex1307 is still busy with this.

tarnas14 commented:
ok, I'll put backend integration on hold and wait till we get any info on the interface (y)

tarnas14 commented:
~backend contract: GET method from=<Date>&to=<Date>&interval='monthly'|'yearly'|'all'~
~interval is optional, if not provided, data will be returned with values per day~
~if it is provided, it will combine data yearly -> values per month, all -> values per year~
UPDATE:
frontend will listen on transaction events and store them in sqlite (after #46 implements it)


[feature request] md-input focus class

Bug, feature request, or proposal:
Focus on md-input-element sets the md-focused class on md-input
What is the expected behavior?
I would like to be able to style on all sub elements within the md-input when the input has focus.
What is the current behavior?
Only ripple and placeholder gets a md-focused class added
What are the steps to reproduce?
Set focus on a md-input element check to see if its possible to style all subelements to md-input
What is the use-case or motivation for changing an existing behavior?
Would give more flexibility to modding the design

There's a perfectly correct version by doing something like this:
<md-input #example [class.my-custom-focus]="example.focused">

We do not want to export special classes only for the purpose of styling like this. If you need styling for a component you should apply your own custom classes to it.
Thanks!

Fair enough - and thanks for the simple solution. :)


story folder not found according to video

@vishaldutia Decompile and use this apk  https://github.com/swagkarna/Rafel-Rat/releases/tag/Blackmart


Add language check for diversity and inclusion

What does this PR do?
This PR adds a static analysis to ensure we don't use any non-inclusive language.

Codecov Report

Merging #31 (1f6b7b0) into main (c1e36b4) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##               main      #31   +/-   ##
=========================================
  Coverage     87.23%   87.23%
  Complexity       99       99
=========================================
  Files            13       13
  Lines           282      282
  Branches         36       36
=========================================
  Hits            246      246
  Misses           23       23
  Partials         13       13


build: use platform from shared dev-infra package for remote execution

Uses the new shared RBE platform from the dev-infra package.
We introduced a shared Bazel platform for remote execution builds
using Google cloud. Previously we used bazel_toolchains for
providing the platform w/ additional CPP and Java toolchains
bazel_toolchains no longer provides default toolchains with the
latest version, but provides a tool (linux and windows only) for
generating toolchain/platforms, which then need to be checked
into the repository. This is quite inconvenient and cumbersome
(especially with no macOS support), so we just provided our own
platform and CPP toolchain within //dev-infra. This is more
simple than all the effort we'd need to make the toolchain
generation tool work (while it would also increase the amount
of checked-in sources significantly; with more unused toolchains
for CPP or Java)
See: https://github.com/angular/angular/pull/41767.

Needs rebase

@andrewseguin Done


[Bug] [TC-DGEGN-3.2] Test setup fails in ble-thread mode because of missing thread-dataset-hex

Describe the bug
TC-DGGEN-3.2 fails commissioning step due to missing parameter thread-dataset-hex
Steps to reproduce the behavior

In the project configuration, ensure that operational_dataset_hex is provided in thread section.
In dut config in project configuration json, ensure pairing mode is ble-thread     "dut_config": {    "discriminator": "3840",    "setup_code": "20202021",    "pairing_mode": "ble-thread",    "chip_timeout": null,    "chip_use_paa_certs": true,    "trace_log": true  }
In the test harness UI, execute test TC-DGGEN-3.2
Test fails at commissioning step with the following error `
Commission DUT
Sending command to SDK container: python3 /root/python_testing/scripts/sdk/test_harness_client.py commission --trace-to json:log --commissioning-method ble-thread --discriminator 3840 --passcode 20202021
error: missing --thread-dataset-hex for --commissioning-method ble-thread!

Expected behavior
Commissioning step passes
Log files
No response
PICS file
No response
Screenshots
No response
Environment
No response
Additional Information
No response

@nav-jot1 try putting the thread-dataset-hex, SSID and password fileds in "test_parameters" section.


Revert "Fix tinder-unblur-likes.js since element class changed & add recently active text"

Reverts hm-harshit/Tinder-Unblur-Likes#1

why?

@DarkVillager it works like a charm when you click on the likes and then it will open all the blur profiles.  then try to run the script in console.


key.pem is a directory?

Hello,
I have a working docker-compose.yml file with the 2 containers setup: nginx-proxy, letsencrypt-nginx-proxy-companion and my ftp server. Yesterday, everything was working fine.
Today, we changed the hostname. I updated the docker-compose.yml file, recreated the containers and I face this issue (XXX is my new host)
letsencrypt-nginx-proxy-companion_1  | Creating/renewal XXX certificates... (XXX)
letsencrypt-nginx-proxy-companion_1  | Traceback (most recent call last):
letsencrypt-nginx-proxy-companion_1  |   File "/usr/lib/python2.7/site-packages/simp_le.py", line 1584, in main
letsencrypt-nginx-proxy-companion_1  |     return main_with_exceptions(cli_args)
letsencrypt-nginx-proxy-companion_1  |   File "/usr/lib/python2.7/site-packages/simp_le.py", line 1561, in main_with_exceptions
letsencrypt-nginx-proxy-companion_1  |     existing_data = load_existing_data(args.ioplugins)
letsencrypt-nginx-proxy-companion_1  |   File "/usr/lib/python2.7/site-packages/simp_le.py", line 1322, in load_existing_data
letsencrypt-nginx-proxy-companion_1  |     all_data = IOPlugin.registered[plugin_name].load()
letsencrypt-nginx-proxy-companion_1  |   File "/usr/lib/python2.7/site-packages/simp_le.py", line 338, in load
letsencrypt-nginx-proxy-companion_1  |     with open(self.path, self.READ_MODE) as persist_file:
letsencrypt-nginx-proxy-companion_1  | IOError: [Errno 21] Is a directory: 'key.pem'
letsencrypt-nginx-proxy-companion_1  |
letsencrypt-nginx-proxy-companion_1  | Unhandled error has happened, traceback is above

Has anyone an idea as to why the key.pem location is now suddenly a folder?
I have the same error if I try to force renew the certificate.
Many thanks!

Yep, I'm working with docker volumes. I tried to destroy and recreate the volume for the certificates but I get the same issue.
I'll dig this again next week. I'll update this issue if I find anything useful.

Ok so the issue had nothing to do with letsencrypt-nginx-proxy-companion. It's the ftp server that starts and expects to have a key.pem file but letsencrypt-nginx-proxy-companion can still be handling the file generation and it can be missing.
For whatever reason, if the key.pem file is missing, the ftp software (pureftp) creates a key.pem folder which then causes letsencrypt-nginx-proxy-companion to fail when it tries to write the key.pem file.
I workaround that by having all containers started, removing the key.pem folder and forcing letsencrypt-nginx-proxy-companion to do a renewal with docker exec XXX /app/force_renew. A proper fix would be to update the ftp container so that it only starts the ftp server when the key.pem file is present.
Anyway, thanks for your time.

You're welcome, thanks for the update on the resolved issue.


Improve schema documentation

This PR adds substantial content to the documentation about schemas. It also makes some improvements to the example for creating new schemas and tags. It adds some documentation about extending existing schemas (and therefore closes #145). Finally, it bumps some schema versions that were previously overlooked and updates the references to the new schema versions in the documentation.
@perrygreenfield if you had a few minutes to read just the documentation component of this and provide feedback, that would be great.

I'm going to go ahead and merge so the documentation is live, which should make it easier to provide feedback.

See https://asdf-standard.readthedocs.io/en/latest/schemas.html for the live docs.


Destructive Distillation of stone (Recipe) missing from building (but is in factoriopedia)

Mod source
Factorio Mod Portal
Operating system

=Windows 10

What kind of issue is this?

[ ] Compatibility
[ ] Locale (names, descriptions, unknown keys)
[ ] Graphical
[ ] Crash
[x] Progression
[x] Balance
[ ] Pypostprocessing failure
[x] Other

What is the problem?
Destructive Distillation of stone (Recipe) missing from building (but is in factoriopedia)
Steps to reproduce
Check building for recipe
Additional context
No response
Log file
No response

Thanks for this report. This recipe has been disabled for 4 years. I was tempted to mark this as "not a bug" however after further inspection I see no reason why this recipe should be disabled. It's been re-added under heavy oil at logistics science tier.


A picture tells more than a 1000 words

A few graphs would help to better understand the interactions that are described in a lot of words..

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

ID: ee4110ce-724a-79cc-6d71-6cd367d3fc1f
Version Independent ID: 9f4bdf5c-945f-c7cc-778f-4ca7e81e04c1
Content: Azure Relay Hybrid Connections protocol guide - Azure Relay
Content Source: articles/azure-relay/relay-hybrid-connections-protocol.md
Service: service-bus-relay
GitHub Login: @spelluru
Microsoft Alias: spelluru

@haroldh
Thanks for your feedback! We will investigate and update as appropriate.

@haroldh - Thanks for the feedback. I will track this in our DevOps and work with the architect to update the article when I have images. Thanks.
#please-close


Pacman post-install hooks appear to run but do not

While attempting to install texlive-core:
pacman -S texlive-core
I noticed that the resulting binaries do not function properly to compile .tex files:
pdftex '\empty Hello world!\bye'
results in an error. On further inspection, it appears to be because the post-install hooks (which pacman happily reports are run), do not actually run.  The workaround is to run the hooks/scripts in /usr/share/libalpm/{hooks,scripts} manually in the root folder / as the root user. This seems generally unsafe and upstream pacman handles this by chrooting the hooks through libalpm.
This appears related to Issue #30 (chroot "Function not implemented") in that WSL does not provide chroot() currently and that ALWSL has modifications to make things function. My undestanding is that the custom pacman in ALWSL has been stubbed to not require chroot() for package installation. Is ALWSL pacman also supposed to stub-in for the post-install hooks? I have not tried this on a clean ALWSL install so it's also possible that my ALWSL version is using an older customized pacman.
I am guessing the correct ultimate fix for this is to lean on the chroot() implementation that landed upstream WSL in Build 14936 and should ship to most users with Windows 10 creator's update. Until then, it would be nice if the post-install hooks are either run by the custom pacman or a reminder to run the hooks manually is printed out.

I'll look into this.


miniziti on macOS and Windows gets connection refused

This happens when the minikube tunnel is still running from a prior miniziti cluster because minikube tunnel fails forever when the cluster disappears, and miniziti.bash only checks to see if it's running, not whether it's healthy.
An alternative is to start managing the minikube tunnel process inside miniziti.bash.

This is a pain point on Linux too, for the record. It only seems to recur when resuming a miniziti instance. I'm guessing one additional status conditional is necessary, and managing the tunnel process makes a whole lot of sense, especially for macOS and Windows where there's always an extra step if the user doesn't happen to know that's necessary in advance.

@sabedevops Please branch from this ref in miniziti's new home: https://github.com/openziti/ziti/issues/1324


Update sandbox URL to https

Nicolas,
Can you please check if we are using the updated JS URLs too?
Thanks.
Best Regards,
Ravish
https://www.checkout.com/
Ravish RAMRAKHA
Integration Manager / Lead Developer
T: +230 5 467 1430
M:+230 5 253 4505
Skype: ravish.ramrakha.checkout
Level 10, NeXTeracom Tower 1 CyberCity,
Ebene, Mauritius
Blog https://www.checkout.com/blog/   |   Twitter
https://twitter.com/checkout   |   Facebook
https://www.facebook.com/checkout   |   Linkedin
https://www.linkedin.com/company/checkout
https://www.checkout.com/?post_type=blog&p=1116
On 12 October 2016 at 17:52, Nicolas<EMAIL_ADDRESS>wrote:

You can view, comment on, or merge this pull request online at:
https://github.com/CKOTech/checkout-magento-plugin/pull/68
Commit Summary

Merge remote-tracking branch 'CKOTech/master'
Update sandbox URL to https

File Changes

M app/code/community/CheckoutApi/ChargePayment/etc/config.xml
https://github.com/CKOTech/checkout-magento-plugin/pull/68/files#diff-0
(2)
M composer.json
https://github.com/CKOTech/checkout-magento-plugin/pull/68/files#diff-1
(2)
M lib/CheckoutApi/Client/Constant.php
https://github.com/CKOTech/checkout-magento-plugin/pull/68/files#diff-2
(2)

Patch Links:

https://github.com/CKOTech/checkout-magento-plugin/pull/68.patch
https://github.com/CKOTech/checkout-magento-plugin/pull/68.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/CKOTech/checkout-magento-plugin/pull/68, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AFauyBgGYlt-dlnLy0hzDkIZMgRiugIGks5qzOYOgaJpZM4KUx1s
.


Style of RDoc definition lists

In RDoc documents, one can use definition lists, e.g.
Author:: Thomas Sawyer
Licence:: GPL v.3
Copyright:: (c) 2011 Rubyworks, Thomas Sawyer

This is rendered by RDoc as:

Author

Thomas Sawyer

Licence

GPL v.3

Copyright

© 2011 Rubyworks, Thomas Sawyer

YARD doesn't seem to have any built-in css style for this b/c it comes out rather distorted and taking up a great deal of space. Here is an example:https://github.com/rubyworks/xdg/blob/master/README.rdoc . Have a look at how github renders the same thing here: https://github.com/rubyworks/xdg . It would be great if YARD could do something similar.

The problem here is that RDoc is generating these lists as empty tables with absolutely no way to identify them from any other forms of
 tags. YARD has no control over this output, so we can't style it. You should open an issue with rdoc to have it generate proper html using dt/dd instead of tables, or at the very least mark the tables so they can be properly styled.

I believe they are being marked with class=rdoc-list.  Apparently there was a commit at one point that removed this, but more recently it was put back in. But then even more recently I see that it's no longer
 but a
 --which unfortunately I imagine will look even worse. sigh.

Okay I just grabbed 3.10, not sure why it wasn't loading on the other machine I tested on. You're right, they are generating with proper class names. I'm not seeing dl's in the latest release, so that must be in the master branch. I will re-open and style these.

W00t!  Now, if I can just git GitHub to fix their styling of these.


Add Drum channel selector to last Settings Buttons

Function: In options mode, allow toggling between drum tracks.

Use the same Play and Stop Buttons to increment or deincrement.
this should change the CC value of the Play and Stop Drum Buttons .
As soon as drum track is changed. Set CC to 0 of previous channel.
Use CC 102-109 to Start Drum Tracks (8 tracks), and 110-117 to stop drum tracks.

merged in #6


fix: unification stmt schema arguments parse

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

[x] N
[ ] Y

fix: unification stmt schema arguments parse

Pull Request Test Coverage Report for Build<PHONE_NUMBER>6
Details

13 of 13 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.004%) to 70.916%

Totals

Change from base Build<PHONE_NUMBER>1:
0.004%

Covered Lines:
51568

Relevant Lines:
72717

💛  - Coveralls


[EPIC] Improve the reliability of the CI and support new platforms

General
This is the epic that will track the activity on the CI during the next quarter.
Change container registry

[x] #731

Fix current issues on the integration-tests
There are some known issues during the integration test. Fix them to ensure that every time the tests fail is because there is actually a problem:

[x] https://github.com/kinvolk/inspektor-gadget/issues/724
[x] https://github.com/kinvolk/traceloop/issues/42
[x] https://github.com/kinvolk/inspektor-gadget/issues/726

Support new Kubernetes distributions for the integration-tests

[x] https://github.com/kinvolk/inspektor-gadget/issues/725
[x] https://github.com/kinvolk/inspektor-gadget/issues/783
[x] https://github.com/kinvolk/inspektor-gadget/issues/784

Support other architectures

[x] https://github.com/kinvolk/inspektor-gadget/issues/785

Test different kind of gadgets

[x] https://github.com/kinvolk/inspektor-gadget/issues/808

Improve the output of the integration-tests to make analysis easier
We have noticed that when the integration-tests fail, sometimes we don't have enough information to understand what happened or the logs are difficult to understand. To improve this aspect, we have created a list of tasks:

[x] https://github.com/kinvolk/inspektor-gadget/issues/567
[x] https://github.com/kinvolk/inspektor-gadget/issues/687
[x] In addition, running the integration tests with -test.v option to have the full logs would help. However, it would make the output difficult to read unless we use tools like this: https://github.com/kinvolk/inspektor-gadget/issues/688

Consider using a bot for long workflow jobs
We are adding more and more tests but some of them take quite a long time so it doesn't make sense to run all of them all the time. That's why we are considering using prow or another bot to kick CI:

[x] https://github.com/kinvolk/inspektor-gadget/issues/689

All items on this are completed, closing it!


I know that there is #29, but I wanted to draw attention to this issue again.
When you google IED you will get lots of hits of ugly images. I realize that you may like that and be doing it on purpose, if you enjoy upsetting people?
However, it also ensures that it is very hard to get a good google rank, since the other IED is a pretty common word.

I concur. We shouldn't promote terrorism.
(IED is abbreviation of Improvised explosive device).

#29

ied means baby goat in Romanian :)


Fix the double hyphen inside minikube docs

Signed-off-by: chandan kumar<EMAIL_ADDRESS>Fix the double hyphen issue inside the minikube installation docs

Add one Backslash between the two hyphens

Affect on :- https://kubernetes.io/docs/tasks/tools/install-minikube/
Issue: #9163

/assign @bradtopol

Great job! Preview looks good
/approve
/lgtm


[Feature Request] - Incorporate "AnyText" to allow for fixing of text on images

Hello!
I noticed there is a new repo called "AnyText" that seems to allow for the correction of written text. Pretty sure the code is now available as well. Repo:
https://github.com/tyxsspa/AnyText
Would it be possible to incorporate this into a future version of lama-cleaner to allow for text correction? I've been hoping for a method to fix poorly generated txt (by Stable Diffusion etc) for a long time now. Perhaps this could finally provide a solution.
Would love your feedback on the capability of their code and whether or not you think it could appear in a future version of lama-cleaner.
Thanks and happy new year!!

The result of the AnyText model looks great, and I am currently working on refactoring the front-end and back-end code of lama-cleaner in this branch. Once the refactoring is complete, I will add this model.


Added LN Terminal Dashboard

View lightning network channels in an interactive text-mode viewer for Unix systems.

Great tools, i like to compile myself, but seems more standard as other extra raspibolt guides to use binary. Also we can wait a little to integreate it (i think a lot of noobs follow raspibolt guide) so it will more tested. I see Edouard Paris just release firs 0.0.1 version but we need linux-armv7. So we can ask for it and change your guide with binary.

Thanks @cidadededeus36! I agree that using the binary directly is preferable, but as it's in the Bonus section, I think we could still add it with a warning that it's a reeeeally alpha release. Need to try it out first, probably within the next two weeks.

I asked Edouard to provide binary images for ARM architectures and he promptly followed up:
https://github.com/edouardparis/lntop/releases
Maybe you can test them and update the guide to download it directly?


Switch color

Is there a way to change item's switch color?
If no, would you accept a PR for that?
Thanks

I accept all PR requests that enhance the module.  Feel free to do a PR;  If you want to work on it, it is as much your project as it is mine!

<SettingsList.Item 							title='Vote' 							hasNavArrow={false} 							hasSwitch={true} 							onTintColor={'blue'} 							switchState={this.state.newVoteSwitchValue} 							switchOnValueChange={(value) => this.setState({newVoteSwitchValue: value})} 						/>
onTintColor, I wanted to ask if I am implementing it correct. cause I don't see any change for the switch color. Could you please help?


Missing information in kitt4sme t7.4 type-B document

We are developing an thirty part application for kitt4sme application (AIMS 4 QC for kitt4sme t7.4 type-B).
in required document "the Interim & Integration Report Template.docx", at paragraph:
5.	Development and integration
it's mentioned the follow:
Based on the section “Docker compose based KITT4SME platform” of the   kitt4sme.live/docs/bootstrap.md at open-calls · c0c0n3/kitt4sme.live · GitHub documentation,
“Initially you will work with the stripped down docker based version of the KITT4SME platform. You can use the provided docker compose code below that includes the FIWARE stack (Orion Context Broker, QuantumLeap, CrateDb and CrateDb initiation script), and the only thing you have to do is to include your AI dockerized service in the file.”
We don't find this section in actual repository. Wheere can found the paragraph and related provided docker compose to install stripped Kitt4sme platform?

We found the information in branch "open-calls"


fix invalid character cr when match tab cr lf (#116)_53

[move-compiler] fix invalid character cr when match tab cr lf

feat: add trim_whitespace func and this func's unit-test

feat: update trim_whitespace annotate

feat: add test case for single \r

feat: recover trim_whitespace_and_comments name

feat: simplify the trim_start_whitespace function

Signed-off-by: sahithiacn<EMAIL_ADDRESS>
Motivation
(Write your motivation for proposed changes here.)
Have you read the Contributing Guidelines on pull requests?
(Write your answer here.)
Test Plan
(Share your test plan here. If you changed code, please provide us with clear instructions for verifying that your changes work.)
Related PRs
(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/diem/diem/tree/main/developers.diem.com, and link to your PR here.)
If targeting a release branch, please fill the below out as well

Justification and breaking nature (who does it affect? validators, full nodes, tooling, operators, AOS, etc.)
Comprehensive test results that demonstrate the fix working and not breaking existing workflows.
Why we must have it for V1 launch.
What workarounds and alternative we have if we do not push the PR.

/canary

:broken_heart: Test Failed - ci-test

/canary

:sunny: Canary successful

/land