Feature/added random password value

Description
I have removed to put the manual password, instead of that we can create random password
Motivation and Context
To enhance more security
Breaking Changes
It will not break any changes.
How Has This Been Tested?
yes

we already have support for this https://github.com/terraform-aws-modules/terraform-aws-rds/blob/master/main.tf#L16
This change would break users configurations

okay,Got it
Thanks @bryantbiggs


Website Bypass

Domain
link1s.com
Link
https://link1s.com/994m
Version
0.2251
What browsers are you seeing the problem on?
Microsoft Edge
What OS are you seeing the problem on?
Windows
Anything else?

Duplicate of #40


希望增加 OCR 识别中文 - seems possible, need to explore more and refine steps

你好，我查看了之前写的RPA项目，有些项目需要多次使用OCR识别中文，特别是 click 文字 using ocr  的时候。
read 识别中文结果是下面这样：

中文识别上，我经常用百度的AI，有大量免费使用量，付费识别也非常非常精准，这个以后可以考虑封装到 TagUI 里。

TagUI 用的是 OpenCV ，不知道  OpenCV  是否支持中文识别。

Hi @kangyiwen I don't think OCR supports Chinese directly. For read step you can read the XPath to a variable and echo Chinese characters. To display Chinese characters in command prompt you can do run chcp 65001 in the command prompt.
This is the syntax for read step:
read XPath to a
echo `a`

谢谢，chcp 65001 非常好用。
用到OCR的地方，是图片的识别，并不在Chrome里。例如 PDF 里面不是文字，而是图片，就需要用到OCR。

TagUI uses OpenCV through SikuliX engine. There is definitely options for Tesseract to support Chinese OCR.
I think the step is to download from a specific Tesseract GitHub repo the Chinese definition, and put in the specific folder for OCR for Chinese. But I have not tried that myself to validate if that works. Ruth, could you do a check how that can be done in the current SikuliX used by TagUI? The Tesseract version in that SikuliX is v3.05.
PS 1 - Tesseract is the OCR engine for doing OCR related actions. OpenCV is the computer vision engine to "see" the screen and do things like image matching and search.
PS 2 - cross-linking to a user query on the Python version of TagUI - https://github.com/tebelorg/RPA-Python/issues/336

According to SikuliX forum, to add the chinese library you can download from tesseract and place in the AppData\Roaming\Sikulix\SikulixTesseract\tessdata folder.
The tesseract data files for 3.05 can be found here: (chi_sim.traineddata)
https://github.com/tesseract-ocr/tessdoc/blob/main/tess3/Data-Files.md
I followed the steps here and it was able to recognise the chinese text on the screen.
https://answers.launchpad.net/sikuli/+faq/2709

@ruthtxh   我把 chi_sim.traineddata  放到 \Sikulix\SikulixTesseract\tessdata 后，下面这些命令要在哪里执行？？？
我尝试在 TagUI  和 CMD 里，都不行。
import org.sikuli.script.TextRecognizer as TR
Settings.OcrReadText = True
Settings.OcrLanguage = "chi_sim"
TR.reset()

Hi @kangyiwen
For SikuliX script you can write in vision block
vision begin
import org.sikuli.script.TextRecognizer as TR
Settings.OcrReadText = True
Settings.OcrLanguage = "eng"
TR.reset()
vision finish

谢谢，明白怎么运行 SikuliX script 了，之前也的确没理解 vision 是干嘛用的。
同时新问题又出现了：识别出的依然是乱码。
run cmd /c chcp 65001

//运行Sikuli代码把OCR设置成中文
vision begin
import org.sikuli.script.TextRecognizer as TR
Settings.OcrReadText = True
Settings.OcrLanguage = "chi_sim"
TR.reset()
vision finish

http://baidu.com
read (2426,529)-(2785,638) to txt
echo `txt`
dump `txt` to 000222.txt

我运行了2次，一次包含 vision ，一次不包含 vision ，发现保存的txt结果是不一样的，说明 OCR设置中文是有效的（见下图），但输入到TXT时的问题，我猜是编码出了问题。

@ruthtxh  请问你是什么编码下运行成功的？ chcp 要怎么设置？
谢谢

I don't have a Windows PC to test, maybe the issue is with the line you have in the .tag file
run cmd /c chcp 65001

run cmd will run a new command line process to do the chcp command. But it might not affect the actual cmd process that you are using to run TagUI. Maybe doing  chcp 65001 in the command prompt before you run tagui can help.
Other than this, probably will need to compare Ruth and your PC environment to see why there is different result.

我把 run cmd /c chcp 65001 先运行，然后再开始 .tag ，结果是一样的。

Hi @kangyiwen as mentioned on the call, I briefly tested with both SikuliX code (vision step) and TagUI code (read step). Only the SikuliX Code is able to give proper chinese output.
http://baidu.com
vision begin
import org.sikuli.script.TextRecognizer as TR
Settings.OcrReadText = True
Settings.OcrLanguage = "chi_sim"
TR.reset()
ocr_text = Region(960, 460, 350, 60).text()
tagui_text = open('tagui.sikuli/tagui_sikuli.txt','w')
tagui_text.write(ocr_text); tagui_text.close()
vision finish
vision_result = fetch_sikuli_text()
echo `vision_result`

Their region parameters are Region(x, y, w, h). http://doc.sikuli.org/region.html

Adding on @ruthtxh this is an interesting observation. Maybe more clues can be found by investigating the logs in tagui\src\tagui.sikuli folder. By right, TagUI read step would be doing similar sequence of SikuliX commands. From the information here, I cannot tell why would TagUI read step fail while doing it fully in vision code block works.

In addition, you may want to consider if the steps to do OCR for foreign languages can be added to the usage guide (perhaps under advanced concepts section). But only if the instructions can be done in a general way, so that users of other languages can follow along and enable OCR for their own languages.

@ruthtxh  谢谢，这个代码可以运行了。
多次尝试后，发现这个中文识别的错误率非常高，等我再熟悉些，会尝试封装一个用百度AI的OCR识别。

That's a good idea. For using Baidu API, one way is to use the api step to consume the REST API service directly - https://tagui.readthedocs.io/en/latest/reference.html#api
The second way is to consume it through Python, if the service has a Python package or implementation - https://tagui.readthedocs.io/en/latest/advanced.html#writing-python-within-flows
Lastly, the SikuliX that TagUI comes with is an older version that works better across Windows, Mac, Linux. There is an updated version of SikuliX that uses the next generation Tesseract version for OCR, that is based on AI/ML. That I believe will definitely be better than the current TagUI OCR, but I have not yet explored the steps how to enable that on the latest SikuliX.
Fyi @ruthtxh, if you could put a note to explore this. Because at some point in time, it will make sense to upgrade SikuliX in TagUI. An immediate downside is Mac users will have to install some dependencies manually. There may be more downsides, so I have not recommend an upgrade so far.

建议先独立尝试下 SikuliX 新版本 OCR英文、中文效果怎么样，如果改进明显，那再更新 TagUI 内的 SikuliX。

建议先独立尝试下 SikuliX 新版本 OCR英文、中文效果怎么样，如果改进明显，那再更新 TagUI 内的 SikuliX。

想了下，OCR还是需要做的TagUI底层里，这样才能 using ocr，例如：
click 百度一下 using ocr
hover 报名 using ocr

Thanks for your thoughts, indeed, to implement as part of TagUI steps, it will requires upgrading the SikuliX. Consuming Baidu's API would not be doable directly from the click and hover steps. Fyi @ruthtxh

等你应用完，我们现在没空弄这个。。。。哈哈哈。。
在 2022-04-29 08:40:56，"kangyiwen" @.***> 写道：
@ruthtxh 谢谢，这个代码可以运行了。
多次尝试后，发现这个中文识别的错误率非常高，等我再熟悉些，会尝试封装一个用百度AI的OCR识别。
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

Both the logs for vision step and read step output success, will have to dig more to find more clues.
Also added the upgrading SikuliX to the list of suggestions. Thanks @kensoh

Closing but please ping back if this is still relevant or an issue.


Cleanup temp directories across image providers

What happened:
See docker/sbom-cli-plugin#22 for the original problem; invocations of docker sbom (which uses the docker daemon provider) are not cleaning up temp files.
What you expected to happen:
All temp directories should be cleaned up.
How to reproduce it (as minimally and precisely as possible):
docker sbom alpine:latest and ls the temp directory to see that there are sbom-cli-plugin-* directories still left (docker sbom uses stereoscope).
Anything else we need to know?:
Today the docker daemon provider uses the tarball provider, each create sibling temp directories under a common root directory. We should be cleaning up the image.tar as soon as we create and provide an image from the tarball provider (from within the docker daemon provider --downside is that multiple calls to provide() will fail then [which hints that another solution may be needed here] ).

+1 on this - we noticed abnormal disk usage when utilizing syft and narrowed down the issue to this root cause as well.
The code to work around it is a bit clunky as users of our wrapper APIs expect that image.Cleanup() is enough - but that leaves .tar files hanging around.

I think this is an interesting problem. There are a few options here:

option 1: have the file.TempFileGenerator remember generators and call their cleanup method when the top level cleanup is called.... https://github.com/anchore/stereoscope/blob/main/pkg/file/temp_dir_generator.go#L16
option 2: provide a generic cleanup array on the image which can have methods added by any provider.
option 3: provide a Cleanup interface method for a provider - and have the provider call the cleanup. (this feels off since the client.go file is the one allocating the temp generator)

Recommendations from the team - I am happy to open a PR with a little guidance ☺

I think this is an interesting problem. There are a few options here:

option 1: have the file.TempFileGenerator  remember generators and call their cleanup method when the top level cleanup is called.... https://github.com/anchore/stereoscope/blob/main/pkg/file/temp_dir_generator.go#L16
option 2: provide a generic cleanup array on the image which can have methods added by any provider.
option 3: provide a Cleanup interface method for a provider - and have the provider call the cleanup. (this feels off since the client.go file is the one allocating the temp generator)

Personally I am a fan of option 1... but would like a recommendations from the team - I am happy to open a PR with a little guidance ☺

nm... I think I was wrong.
Based on a further research - only thing really needed is to call client.go Cleanup(). which releases the root generator and all children generators....effectively cleaning up the directories.
The comment above cleanup is misleading and what leads to the leak of files I believe.

I've just run into this myself - was using img.Cleanup per the basic example, only to find ~32gb of tmp files 😅
Switching to stereoscope.Cleanup() looks like it's resolved the problem - it would be good to know the backstory on the comment @slimdevl you've indicated, since it does seem like that should be called instead (or maybe in addition to?) img.Cleanup.

I've just run into this myself - was using img.Cleanup per the basic example, only to find ~32gb of tmp files from stereoscope😅
Switching to stereoscope.Cleanup() looks like it's resolved the problem - it would be good to know the backstory on the comment @slimdevl you've indicated, since it does seem like that should be called instead (or maybe in addition to?) img.Cleanup.

I did a little digging this weekend and discovered the following:

One cannot call stereoscope.Cleanup if the process uses the library for subsequent scan calls. This is because rootTempDirGenerator is the foundation of all allocated temp dirs, and the base directory attached to it is gone after first cleanup. This cascades into subsequent scan failures. So calling stereoscope.Cleanup is not a good option for long running processes.
selectImageProvider() allocates a child tempDirGenerator. It passes that to the Provider (in my case DaemonProvider), which in turn passes only the directory to the image.NewImage() call. This passes the responsibility to the Image.Cleanup() method to cleanup directories. However this cannot work because *only the passed directory is cleaned up by the image, and the DaemonProvider directory is leaked at this point.

This feels like an incomplete chain of responsibility. Because the DaemonProvider allocates a separate directory for the image.tar, which must exist until after the client.go calls image.Read(). This is partially because of the way v1.Image  lazy load feature behaves. Thus the relationships are broken during the Provide sequence.
IMHO - A better solution is to complete the chain of responsibility but having selectImageProvider() allocated a rootTempDirGenerator and pass it to the provider; which in turn passes the tempDirGenerator to the image.NewImage(), this completes the chain of responsibility.
If providers make a new generators, or directories, they are all passed to the image for cleanup after the image is no longer needed.


How to store tf dataset object to file?

URL(s) with the issue:
https://www.tensorflow.org/guide/data
Description of issue (what needs changing):
How to store tf.dataset object to file?
For instance,
dataset1 = tf.data.Dataset.from_tensor_slices(
    tf.random.uniform([4, 10], minval=1, maxval=10, dtype=tf.int32))
dataset1

How to store the dataset1 to file?
Clear description
For me, a saved copy of tokenized dataset saves lot of training time.
from transformers import AlbertTokenizer
import tensorflow as tf
import DataReader
import Tokenizer

def encode(type, dataPath='./qgdata/nq-train-sample.json'):
    entries = DataReader.read(dataPath)
    encoding = []
    for entry in entries:
        if type == 'context':
            context = Tokenizer.encode(
                entry['passage'], entry['answer'], entry['question'], True)
            encoding.append(context)
        else:
            question = Tokenizer.encode(
                entry['passage'], entry['answer'], entry['question'], False)
            encoding.append(question)
    data = tf.data.Dataset.from_generator(
        lambda: encoding, tf.int64, output_shapes=512)
    return data

def make_dataset(dataPath='./qgdata/nq-train-sample.json', batch_size=1):
    contextData = encode('context', dataPath)
    questionData = encode('question', dataPath)
    dataset = tf.data.Dataset.zip((contextData, questionData))
    return dataset.batch(batch_size)

Instead of running this batching script before each training, it would be very efficient to store the tokenzied dataset object to file and avoid retokenizing.
Usage example
Maybe like:
dataset1 = tf.data.Dataset.from_tensor_slices(
    tf.random.uniform([4, 10], minval=1, maxval=10, dtype=tf.int32))
dataset1.save_dataset(path_to_store)

@zzj0402, please refer to this doc.

The answer from @ashutosh1919 is the idiomatic solution for storing a dataset in a file.

this doc

filename = 'test.tfrecord'
writer = tf.data.experimental.TFRecordWriter(filename)
writer.write(serialized_features_dataset)

Would it work on any kind of tf.dataset? I think that tutorial is very poorly organized. It's separated from the dataset doc and majority of that doc is talking about making a tf.dataset.

I find this doc relevant: https://www.tensorflow.org/api_docs/python/tf/data/experimental/TFRecordWriter

Save/Load functions
def save(dataset, location='data/tf-records/'):
    dataset = dataset.map(tf.io.serialize_tensor)
    writer = tf.data.experimental.TFRecordWriter(location)
    writer.write(dataset)
    return location

def load(tf_record='data/tf-records/'):
    dataset = tf.data.TFRecordDataset(tf_record)
    dataset = dataset.map(lambda x: tf.io.parse_tensor(x, tf.int64))
    return dataset

Dataset
<BatchDataset shapes: ({input_ids: (None, 512), attention_mask: (None, 512), token_type_ids: (None, 512), position_ids: (None, 512)}, (None, 512)), types: ({input_ids: tf.int32, attention_mask: tf.int32, token_type_ids: tf.int32, position_ids: tf.int32}, tf.int32)>

Reproduction Code
        dataset = DataPatcher.make_dataset()
        model = Training.initial_model()
        path=DataPatcher.save(dataset)
        dataset_loaded = DataPatcher.load()
        Training.fit_model(dataset_loaded, model, 1, 'sample')

Error
Traceback (most recent call last):
  File "/Volumes/SAMSUNG_T5/natural-question-generation/test/test_dataset.py", line 71, in test_loading
    DataPatcher.save(dataset)
  File "/Volumes/SAMSUNG_T5/natural-question-generation/DataPatcher.py", line 96, in save
    dataset = dataset.map(tf.io.serialize_tensor)
  File "/Users/zijingzhang/Library/Python/3.6/lib/python/site-packages/tensorflow_core/python/data/ops/dataset_ops.py", line 1588, in map
    return MapDataset(self, map_func, preserve_cardinality=True)
  File "/Users/zijingzhang/Library/Python/3.6/lib/python/site-packages/tensorflow_core/python/data/ops/dataset_ops.py", line 3888, in __init__
    use_legacy_function=use_legacy_function)
  File "/Users/zijingzhang/Library/Python/3.6/lib/python/site-packages/tensorflow_core/python/data/ops/dataset_ops.py", line 3147, in __init__
    self._function = wrapper_fn._get_concrete_function_internal()
  File "/Users/zijingzhang/Library/Python/3.6/lib/python/site-packages/tensorflow_core/python/eager/function.py", line 2395, in _get_concrete_function_internal
    *args, **kwargs)
  File "/Users/zijingzhang/Library/Python/3.6/lib/python/site-packages/tensorflow_core/python/eager/function.py", line 2389, in _get_concrete_function_internal_garbage_collected
    graph_function, _, _ = self._maybe_define_function(args, kwargs)
  File "/Users/zijingzhang/Library/Python/3.6/lib/python/site-packages/tensorflow_core/python/eager/function.py", line 2703, in _maybe_define_function
    graph_function = self._create_graph_function(args, kwargs)
  File "/Users/zijingzhang/Library/Python/3.6/lib/python/site-packages/tensorflow_core/python/eager/function.py", line 2593, in _create_graph_function
    capture_by_value=self._capture_by_value),
  File "/Users/zijingzhang/Library/Python/3.6/lib/python/site-packages/tensorflow_core/python/framework/func_graph.py", line 978, in func_graph_from_py_func
    func_outputs = python_func(*func_args, **func_kwargs)
  File "/Users/zijingzhang/Library/Python/3.6/lib/python/site-packages/tensorflow_core/python/data/ops/dataset_ops.py", line 3140, in wrapper_fn
    ret = _wrapper_helper(*args)
  File "/Users/zijingzhang/Library/Python/3.6/lib/python/site-packages/tensorflow_core/python/data/ops/dataset_ops.py", line 3082, in _wrapper_helper
    ret = autograph.tf_convert(func, ag_ctx)(*nested_args)
  File "/Users/zijingzhang/Library/Python/3.6/lib/python/site-packages/tensorflow_core/python/autograph/impl/api.py", line 237, in wrapper
    raise e.ag_error_metadata.to_exception(e)
tensorflow.python.framework.errors_impl.OperatorNotAllowedInGraphError: in converted code:

    /Users/zijingzhang/Library/Python/3.6/lib/python/site-packages/tensorflow_core/python/ops/gen_parsing_ops.py:2236 serialize_tensor
        "SerializeTensor", tensor=tensor, name=name)
    /Users/zijingzhang/Library/Python/3.6/lib/python/site-packages/tensorflow_core/python/framework/op_def_library.py:351 _apply_op_helper
        with g.as_default(), ops.name_scope(name) as scope:
    /Users/zijingzhang/Library/Python/3.6/lib/python/site-packages/tensorflow_core/python/framework/ops.py:6249 __enter__
        return self._name_scope.__enter__()
    /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/contextlib.py:81 __enter__
        return next(self.gen)
    /Users/zijingzhang/Library/Python/3.6/lib/python/site-packages/tensorflow_core/python/framework/ops.py:4010 name_scope
        if name:
    /Users/zijingzhang/Library/Python/3.6/lib/python/site-packages/tensorflow_core/python/framework/ops.py:757 __bool__
        self._disallow_bool_casting()
    /Users/zijingzhang/Library/Python/3.6/lib/python/site-packages/tensorflow_core/python/framework/ops.py:520 _disallow_bool_casting
        "using a `tf.Tensor` as a Python `bool`")
    /Users/zijingzhang/Library/Python/3.6/lib/python/site-packages/tensorflow_core/python/framework/ops.py:505 _disallow_when_autograph_disabled
        " Try decorating it directly with @tf.function.".format(task))

    OperatorNotAllowedInGraphError: using a `tf.Tensor` as a Python `bool` is not allowed: AutoGraph is disabled in this function. Try decorating it directly with @tf.function.

Honestly, I didn't understand the documentation at all. I'm trying to find a way to save the modified dataset as a tfrecord file as well. I will be doing lots of filtering on the data, and it seems to slow down any training operation incredibly. I just want to do it once and save it like that.
datasets = tfds.load("nsynth", data_dir="data")
train_dataset, test_dataset, valid_dataset = datasets["train"], datasets["test"], datasets["valid"]
train_dataset = train_dataset.filter(lambda x: x['instrument']['family'] == 3)
tf_writer = tf.data.experimental.TFRecordWriter("filtered/onlyGuitar.tfrecord")
tf_writer.write(train_dataset)

Honestly, I didn't understand the documentation at all. I'm trying to find a way to save the modified dataset as a tfrecord file as well. I will be doing lots of filtering on the data, and it seems to slow down any training operation incredibly. I just want to do it once and save it like that.
datasets = tfds.load("nsynth", data_dir="data")
train_dataset, test_dataset, valid_dataset = datasets["train"], datasets["test"], datasets["valid"]
train_dataset = train_dataset.filter(lambda x: x['instrument']['family'] == 3)
tf_writer = tf.data.experimental.TFRecordWriter("filtered/onlyGuitar.tfrecord")
tf_writer.write(train_dataset)

I end up switching to Torch.

I'm having similar error as @zzj0402 :
OperatorNotAllowedInGraphError: using a tf.Tensoras a Pythonbool is not allowed: AutoGraph is disabled in this function.
It seems like we can't save a Dataset to file in Tensorflow...

I could finally do it :
You have to iterate your Dataset and define Example, one by one, by yourself.
def create_int_feature(value):
  return tf.train.Feature(int64_list=tf.train.Int64List(value=value))

with tf.io.TFRecordWriter("gs://my_bucket/data.tfrecord") as writer:
    for sample in dataset:
        feature = {
            'input_ids': create_int_feature(sample['input_ids']),
            'attention_mask': create_int_feature(sample['attention_mask']),
            'decoder_input_ids': create_int_feature(sample['decoder_input_ids']),
            'lm_labels': create_int_feature(sample['lm_labels'])
        }

        example = tf.train.Example(features=tf.train.Features(feature=feature))
        writer.write(example.SerializeToString())

To read your TFRecord files :
feature_description = {
    'input_ids': tf.io.FixedLenFeature([tokenizer.model_max_length], tf.int64),
    'attention_mask': tf.io.FixedLenFeature([tokenizer.model_max_length], tf.int64),
    'decoder_input_ids': tf.io.FixedLenFeature([tokenizer.model_max_length // 4], tf.int64),
    'lm_labels': tf.io.FixedLenFeature([tokenizer.model_max_length // 4], tf.int64)
}

def deserialize(example_proto):
    return tf.io.parse_single_example(example_proto, feature_description)

dataset = tf.data.TFRecordDataset("gs://my_bucket/data.tfrecord")
dataset = dataset.map(deserialize)

That was a very painful and excruciating process. (Documentation)[https://www.tensorflow.org/tutorials/load_data/tfrecord#tfrecord_files_using_tfdata] is actually complete, but very difficult to follow.
That seems insane that there is no helper function for writing a TFRecord from an existing dataset.
The process is the same no matter if you have raw data or complete tf.Dataset.

Torch solves in one line of code. Guess TF needs some catch-up

@zzj0402 How does torch solve this? As far as I can tell a torch Dataset is just a python iterator, but if you serialize the object you don't actually store the computation up to that point, torch doesn't even have multiple stage you can checkpoint. Am I missing something?

@cgarciae I don't know any details about both Tensorflow and Pytorch, but as a user, in Pytorch you can do :
torch.save(dataset, file_path) and load it with torch.load(file_path), and it works.
Unlike TF, you don't have to mind any of the internal details of your dataset.

I am working on providing support for save and load and expect it to be available later this month (and certainly for TF 2.3).

@jsimsa Will it work also for datasets that don't not fit in memory? So like "a converter" to tf_record for an optimized format when you need to train from a remote/cloud storage?

Yes, it will be a streaming API. You will be able to do the following:
 # Save a dataset
  dataset = tf.data.Dataset.range(10).
  tf.data.experimental.save(dataset, "/path/to/data")

  # Load a previously saved dataset
  new_dataset = tf.data.experimental("/path/to/data",
       element_spec=tf.TensorSpec(shape=(), dtype=tf.int64))

The load API will require you to specify the type signature for the elements to load, which is required so that shape inference does not have to perform I/O.

I think to fully solve this you need something like tf.data Snapshots to be implemented. Its a bit hacky but you can also use Dataset.cache() so save the computation but its really meant to be temporal.

Indeed. tf.data snapshot will be released in TF 2.3 as well and the aforementioned save and load API will share its implementation.

@jsimsa I'am thinking also about refreshing a little bit on the original data in the case you have some time-margin to sparsely execute realtime augmentions of some sparse samples.
But I don't if we could handle in some way this metadata (orignal vs transformed save data).

I do not follow your use case. The loaded dataset will be a tf.data.Dataset so you could apply further transformations to it.

@jsimsa Yes of course. But suppose that you use it as a converter you will do all the augmentation that cannot apply in realtime and you save it. When loading back you can have a new margin over the training loop ans so you could do some sparse sample augmentation on the original data to refresh some samples.
So I don't know if it could be easy in the streaming context instantiating two different datasets object and interleave these data or we need to handle some special metadata in the API.

@jsimsa Probably that case could be covered by the experimetal tf.data.experimental.sample_from_datasets. I think that It could work with your load and save api as It consume dataset objects right?

My changes were submitted as https://github.com/tensorflow/tensorflow/commit/4d58a67a9f19ab8d0cfbb2d8e461ebb73ce06db6

So here it is. It worked good for me but I needed to give the parameter element_spec to tf.data.experimental.load. It should not be like that. But Ok. Still it worked. You can see that value like this:
tf_dataset = tf.data.Dataset()... (However your dataset was loaded)
tf_dataset.element_spec

Then I generated it using:
(
 tf.TensorSpec(shape=(size, size, dimension), dtype=tf.complex128 if complex_mode else tf.float64),
 tf.TensorSpec(shape=(classes,), dtype=tf.float64)
)

Maybe one can use pickle to save directly tf_dataset.element_spec but haven't tried it.


Added New Maps

Did some minor changes in api.py to allow the app to recognize newer content
Added the ability to analyze stats for Pearl, Lotus, and Sunset.

LGTM! I'll check it one final time before merging with some example matches.


nshlib/dmesg: update config about enable dmesg

Summary
nshlib/dmesg: update config about enable dmesg
Signed-off-by: Jiuzhu Dong<EMAIL_ADDRESS>Impact
N/A
Testing
Vela Ci

This PR is relate to https://github.com/apache/incubator-nuttx/pull/6655


Eventgrid del temporarily

The PR is to skip azure-eventgrid CI error and will be reverted soon

/check-enforcer override

@msyyc @BigCat20196 going forwards, please use 'BuildTargettingString' on the pipeline to skip packages - it's a little scary to get the packages deleted :)
https://github.com/Azure/azure-sdk-for-python/blob/main/doc/eng_sys_checks.md#targeting-a-specific-package-at-build-time

Hi @rakshith91 Sorry for the operation and I promise it will never happens again.


Fix tests mutation.

Q
A

Is bugfix?
✔

New feature?
❌

Breaks BC?
❌

Tests pass?
✔

  Line 11:
    - Element 'filter': This element is not expected.

#88 ended with a green build FWIW


Migrate from Google-hosted package repository to pkgs.k8s.io. Update k8s version to 1.28.0 and update Add-Ons  dependencies.

Migrate from Google-hosted package repository to pkgs.k8s.io. Update k8s version to 1.28.0 and update Add-Ons  dependencies.

Tested on ubuntu 22.04 and works fine for me.

Hi All,
When you inevitably crash into this issue while following along in chapter 6, I used the information in these links to resolve:

Error installing from official repos onto Ubuntu
Installing kubeadm, kubelet and kubectl

The second link, though written for setting up 1.28, has been updated to use the new kubernetes community repositories rather than the legacy google ones.
You can of course use the extra scripts to have installation done for you, but for those following along to get used to the install process, the links above should help.
Good luck :v:


Multiple cursor in TextFormFields

Steps to Reproduce
Using the main.dart gist main.dart attached run the app on any device / simulator. Click rapidly from one text field to another. You can easily have two blinking cursors at the same time. See the screenshot.

Target Platform: ios / android
Target OS version/browser: any
Devices: devices and simulators
Reproduce on ios and android devices, ios simulators, not try on android simulator.
Logs

Flutter analyzer and doctor

Nothing with flutter analyze.
[✓] Flutter (Channel stable, v1.9.1+hotfix.6, on Mac OS X 10.14.6 18G1012,
    locale fr-FR)
    • Flutter version 1.9.1+hotfix.6 at /Users/acrouau/dev-tools/flutter
    • Framework revision 68587a0916 (3 months ago), 2019-09-13 19:46:58 -0700
    • Engine revision b863200c37
    • Dart version 2.5.0

[!] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/acrouau/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling
      support)
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_202-release-1483-b49-5587405)
    ✗ Android license status unknown.
      Try re-installing or updating your Android SDK Manager.
      See https://developer.android.com/studio/#downloads or visit
      https://flutter.dev/setup/#android-setup for detailed instructions.

[✓] Xcode - develop for iOS and macOS (Xcode 10.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.3, Build version 10G8
    • CocoaPods version 1.7.5

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 41.1.2
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build
      1.8.0_202-release-1483-b49-5587405)

[✓] IntelliJ IDEA Ultimate Edition (version 2019.2.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 41.2.3
    • Dart plugin version 192.7761

[✓] VS Code (version 1.40.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.6.0

[✓] Connected device (2 available)
    • Redmi Note 5 • 41dfa7d                              • android-arm64 •
      Android 9 (API 28)
    • iPhone Xʀ    • D7FAC8A1-1A30-40BA-B92E-0F21850D645B • ios           •
      com.apple.CoreSimulator.SimRuntime.iOS-12-4 (simulator)

! Doctor found issues in 1 category.

CC @justinmc

@chamot1111 Here's my attempt at reproducing this:

I don't see anything that looks obviously broken from that.  Is the problem that there is some very brief overlap when the cursor is drawn in both fields at once?

Hello,
No, in my case there is really two cursors blinking as long as i want.

Hmm that's strange.  Any idea how I can reproduce it?

Any news on this?
I need to generate a lot of TextFields + FocusNode from locally not globally, lets say 50
I have 50 cursor then in my case :(

other probleme:
If I just remove the FocusNode and onSubmitted from my TextField then the TextField blinking remain in the first row (no matter if I have 5 row), it is very buggy

Hi, I'm removing the a: annoyance tag for now. Not that I think this issue isn't annoying. I just try to reserve that tag only for the most widespread, frequently seen issues (see definition). As this issue accrues thumbs-ups, I will revisit.

Code Sample
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

Future main() async {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    SystemChrome.setEnabledSystemUIOverlays([]);
    SystemChrome.setPreferredOrientations([DeviceOrientation.portraitUp]);

    return MaterialApp(
      title: 'App',
      initialRoute: '/',
      routes: {'/': (BuildContext context) => LoginPage()},
    );
  }
}

class LoginPage extends StatelessWidget {
  static final GlobalKey<FormState> _formKey = GlobalKey();

  final FocusNode _idFocus = FocusNode();
  final FocusNode _passwordFocus = FocusNode();

  final TextEditingController _idController = TextEditingController();

  @override
  Widget build(BuildContext context) {
    return Scaffold(
        body: Container(
      constraints: BoxConstraints.expand(),
      child: SafeArea(
        child: Builder(
            builder: (context) => Center(
                  child: SingleChildScrollView(
                      padding: EdgeInsets.symmetric(horizontal: 20.0),
                      child: Form(
                        key: _formKey,
                        child: Column(
                          mainAxisAlignment: MainAxisAlignment.center,
                          crossAxisAlignment: CrossAxisAlignment.center,
                          children: <Widget>[
                            Padding(
                              padding: const EdgeInsets.all(10.0),
                              child: Text(
                                'connexion',
                                style: TextStyle(
                                  color: Color.fromARGB(255, 255, 255, 255),
                                  fontSize: 30,
                                ),
                              ),
                            ),
                            TextFormField(
                              controller: _idController,
                              focusNode: _idFocus,
                            ),
                            TextFormField(
                              focusNode: _passwordFocus,
                              obscureText: true,
                            ),
                          ],
                        ),
                      )),
                )),
      ),
    ));
  }
}

stable flutter doctor -v
[✓] Flutter (Channel dev, 1.20.0-2.0.pre, on Mac OS X 10.15.5 19F101, locale
    en-GB)
    • Flutter version 1.20.0-2.0.pre at /Users/tahatesser/Code/flutter_dev
    • Framework revision 15a28159bc (10 days ago), 2020-06-23 04:52:58 -0700
    • Engine revision 91a63d6a44
    • Dart version 2.9.0 (build 2.9.0-19.0.dev 7e72c9ae7e)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/tahatesser/Code/sdk
    • Platform android-29, build-tools 29.0.3
    • ANDROID_HOME = /Users/tahatesser/Code/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.5, Build version 11E608c
    • CocoaPods version 1.9.3

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

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 47.1.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.46.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.12.1

[✓] Connected device (5 available)
    • SM M305F      • 32003c30dc19668f          • android-arm64  • Android 10
      (API 29)
    • Taha’s iPhone • 00008020-001059882212002E • ios            • iOS 13.5.1
    • macOS desktop • macos                     • darwin-x64     • Mac OS X
      10.15.5 19F101
    • Web Server    • web-server                • web-javascript • Flutter Tools
    • Chrome        • chrome                    • web-javascript • Google Chrome
      83.0.4103.116

• No issues found!

Without additional information we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.

This issue hasn't been resolved, do i open a new issue?

@f0rx Yes please, you can tag me in it!


Merge stable into upstream-with-swift and fix conflicts in SystemInitializerCommon

@xiaobai this touches code that you wrote, can you please sign-off?

LGTM


Autogenerate mission plugin

This converts the mission plugin to be auto-generated from the proto files.
Depends on https://github.com/mavlink/MAVSDK-Proto/pull/123

Something with the integration test is not matching yet:
/__w/MAVSDK/MAVSDK/src/integration_tests/mission.cpp:305: Failure
Value of: original == downloaded
  Actual: false
Expected: true


Create assembly page

I added links to the assembly page from landing and contribute? I also added headers to the itemized contribution thingies. Let me know what you think.

@okdistribute for some reason I can't request a review from you 🤷♂

Where's tender hermann? 🤔

Looks great!


Test against Python 3.13

Closes #399.

This is on hold right now. Apparently gudhi is not available for Python 3.13, yet.


How to use this instead of default scaffold form?

Using Foundation on a rails site and scaffolding on a Model with a datetime type e.g. dob in the example below, the view generates the following code:

    <%= f.label :dob %>

    <%= f.datetime_select :dob %>

This displays five drop down lists like this - http://i.stack.imgur.com/L5bTs.png
So instead of these, I'm trying to use this datetime picker.
My code includes the following:
<%= form_for(@note) do |f| %>

    <%= f.label :date %>

    <%= f.text_field :date, :class => 'datetimepicker' %>

    <%= f.label :company_id %>

    <%= f.select(:company_id, Company.order("name").map { |s| [s.name, s.id] }) %>

    <%= f.label :contact %>

    <%= f.text_field :contact %>

    <%= f.submit %>

  <%= link_to "home", root_path, { :class=>"button expand" } %>

<% end %>

Is this how you intend this to be used?
My issue is that the datepicker functions correctly but it is sitting on top of other elements, specifically the company_id label from the code above and it's not 'inline'.  It looks like this - http://i.stack.imgur.com/2NrvA.png

Hello! You are probably using fdateTIMEpicker which is not supported anymore and was merged into this repository. Please use JS and CSS files of foundation-datepicker (this repository) and initialize with .fdatepicker() and it should work correctly.


[FLINK-30727][table-planner] Fix JoinReorderITCaseBase.testBushyTreeJoinReorder failed

What is the purpose of the change
This pr is aims to fix JoinReorderITCaseBase.testBushyTreeJoinReorder failed while running CI.  The failed CI link: https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=44985&view=logs&j=7e1b167a-ddfd-53ed-4835-e68a01b608a7&t=434b1f2b-ca64-5a0b-f3a5-4a191160d4cb
Brief change log
Verifying this change
No tests.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive):  no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
The S3 file system connector:  no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? no docs

@flinkbot run azure

@flinkbot run azure

@flinkbot run azure

@swuferhong @lsyldliu What's the status of this PR? This test is a release blocker so we would like to resolve it asap

@swuferhong @lsyldliu What's the status of this PR? This test is a release blocker so we would like to resolve it asap

Hi, @MartijnVisser. Now, I located that this error may be related to Flink runtime, and it is under intensive processing. (@TanYuxin-tyx will help me to fix it).

@flinkbot run azure

@flinkbot run azure

@flinkbot run azure

The result of this round is: SUCCESS

@flinkbot run azure

@flinkbot run azure

@flinkbot run azure

@flinkbot run azure

@flinkbot run azure

@flinkbot run azure


No footstep sounds in twilight forest

*Mod Version: 1.12.2-<IP_ADDRESS>
*Forge Version: 2562
*Link to crash log (if applicable): none
*Description: Cannot hear footsteps while walking around twilight forest.

Would you happen to have a client side log available for this particular issue?

@vivagabe With my latest sandbox changes I can loaded up the latest available for Twilight Forest and I do get footsteps.  There was a problem with sea level (determining if a player is underground) and I have to provide some config for that.  I will be pushing out a BETA within the week and I would like you to try that to see if the problem you are experiencing goes away.  Some of the sandbox changes I am making have to do with ASM and it is possible there may be some conflicts with the current posted build.

@vivagabe Just noticed that the cicadas queue up quite a number of sounds.  Just wandering around I had over 140+ cicada sound instances playing.  This consumes the bulk of the sound channels which would trigger the footstep sounds not to play.


Module version mismatch

Not sure how to resolve. Please assist.
Jeremys-Mac-mini:homebridge jeremychambers$ homebridge
/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/node_modules/mdns/lib/dns_sd.js:35
throw ex;
^
Error: Module version mismatch. Expected 46, got 14.
at Error (native)
at Object.Module._extensions..node (module.js:460:18)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:311:12)
at Module.require (module.js:366:17)
at require (module.js:385:17)
at Object. (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/node_modules/mdns/lib/dns_sd.js:24:20)
at Module._compile (module.js:435:26)
at Object.Module._extensions..js (module.js:442:10)
at Module.load (module.js:356:32)

If you recently updated your nodejs version, please recompile the modules

I'm not really familiar with node, or compiling, so what commands should I use for that.

You can try npm rebuild

And actually I think I got that, but I now I'm getting a "Segmentation fault:11"

Can you tell which module causes the seg fault? My guess is one or more modules failed to get recompiled correctly.

Just emailed you

This is all I get...
"Jeremys-Mac-mini:homebridge jeremychambers$ homebridge
Segmentation fault: 11"

Can you post result of npm version?

Jeremys-Mac-mini:homebridge jeremychambers$ npm version
{ homebridge: '0.2.11',
npm: '2.14.2',
ares: '1.10.1-DEV',
http_parser: '2.5.0',
modules: '46',
node: '4.0.0',
openssl: '1.0.2d',
uv: '1.7.3',
v8: '<IP_ADDRESS>',
zlib: '1.2.8' }

Huh, have you try to remove homebridge and reinstall it?
sudo npm rm -g homebridge and sudo npm install -g homebridge

Do i need to have Xcode installed? I notice references to it.

Here is the result:
Jeremys-Mac-mini:homebridge jeremychambers$ sudo npm install -g homebridge
/

<EMAIL_ADDRESS>install /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/node_modules/curve25519
node-gyp rebuild

xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
CXX(target) Release/obj.target/curve/node_curve.o
SOLINK_MODULE(target) Release/curve.node

<EMAIL_ADDRESS>install /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/node_modules/ed25519
node-gyp rebuild

xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
CC(target) Release/obj.target/ed25519/src/ed25519/keypair.o
CC(target) Release/obj.target/ed25519/src/ed25519/sign.o
CC(target) Release/obj.target/ed25519/src/ed25519/open.o
CC(target) Release/obj.target/ed25519/src/ed25519/crypto_verify_32.o
CC(target) Release/obj.target/ed25519/src/ed25519/ge_double_scalarmult.o
CC(target) Release/obj.target/ed25519/src/ed25519/ge_frombytes.o
CC(target) Release/obj.target/ed25519/src/ed25519/ge_scalarmult_base.o
CC(target) Release/obj.target/ed25519/src/ed25519/ge_precomp_0.o
CC(target) Release/obj.target/ed25519/src/ed25519/ge_p2_0.o
CC(target) Release/obj.target/ed25519/src/ed25519/ge_p2_dbl.o
CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_0.o
CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_dbl.o
CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_to_p2.o
CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_to_cached.o
CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_tobytes.o
CC(target) Release/obj.target/ed25519/src/ed25519/ge_madd.o
CC(target) Release/obj.target/ed25519/src/ed25519/ge_add.o
CC(target) Release/obj.target/ed25519/src/ed25519/ge_msub.o
CC(target) Release/obj.target/ed25519/src/ed25519/ge_sub.o
CC(target) Release/obj.target/ed25519/src/ed25519/ge_p1p1_to_p3.o
CC(target) Release/obj.target/ed25519/src/ed25519/ge_p1p1_to_p2.o
CC(target) Release/obj.target/ed25519/src/ed25519/ge_tobytes.o
CC(target) Release/obj.target/ed25519/src/ed25519/fe_0.o
CC(target) Release/obj.target/ed25519/src/ed25519/fe_1.o
CC(target) Release/obj.target/ed25519/src/ed25519/fe_cmov.o
CC(target) Release/obj.target/ed25519/src/ed25519/fe_copy.o
CC(target) Release/obj.target/ed25519/src/ed25519/fe_neg.o
CC(target) Release/obj.target/ed25519/src/ed25519/fe_add.o
CC(target) Release/obj.target/ed25519/src/ed25519/fe_sub.o
CC(target) Release/obj.target/ed25519/src/ed25519/fe_mul.o
CC(target) Release/obj.target/ed25519/src/ed25519/fe_sq.o
CC(target) Release/obj.target/ed25519/src/ed25519/fe_sq2.o
CC(target) Release/obj.target/ed25519/src/ed25519/fe_invert.o
CC(target) Release/obj.target/ed25519/src/ed25519/fe_tobytes.o
CC(target) Release/obj.target/ed25519/src/ed25519/fe_isnegative.o
CC(target) Release/obj.target/ed25519/src/ed25519/fe_isnonzero.o
CC(target) Release/obj.target/ed25519/src/ed25519/fe_frombytes.o
CC(target) Release/obj.target/ed25519/src/ed25519/fe_pow22523.o
CC(target) Release/obj.target/ed25519/src/ed25519/sc_reduce.o
CC(target) Release/obj.target/ed25519/src/ed25519/sc_muladd.o
CXX(target) Release/obj.target/ed25519/src/ed25519.o
SOLINK_MODULE(target) Release/ed25519.node

<EMAIL_ADDRESS>install /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/node_modules/mdns
node-gyp rebuild

xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
CXX(target) Release/obj.target/dns_sd_bindings/src/dns_sd.o
CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_browse.o
CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_enumerate_domains.o
CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_get_addr_info.o
CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_process_result.o
CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_ref.o
CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_ref_deallocate.o
CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_ref_sock_fd.o
CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_register.o
CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_resolve.o
CXX(target) Release/obj.target/dns_sd_bindings/src/mdns_utils.o
CXX(target) Release/obj.target/dns_sd_bindings/src/network_interface.o
CXX(target) Release/obj.target/dns_sd_bindings/src/socket_watcher.o
CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_ref.o
CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_create.o
CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_deallocate.o
CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_set_value.o
CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_get_length.o
CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_buffer_to_object.o
SOLINK_MODULE(target) Release/dns_sd_bindings.node

<EMAIL_ADDRESS>install /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/node_modules/srp/node_modules/bignum
node-gyp configure build

xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
CXX(target) Release/obj.target/bignum/bignum.o
SOLINK_MODULE(target) Release/bignum.node
/usr/local/bin/homebridge -> /usr/local/lib/node_modules/homebridge/bin/homebridge
npm WARN unmet dependency /usr/local/lib/node_modules/npm/node_modules/npm-registry-client/node_modules/npm-package-arg requires semver@'4' but will load
npm WARN unmet dependency /usr/local/lib/node_modules/npm/node_modules/semver,
npm WARN unmet dependency which is version 5.0.1
<EMAIL_ADDRESS>/usr/local/lib/node_modules/homebridge
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>└──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

Yeah, build tools need xcode. You can run xcode-select --install to install the required parts.

OK, it seems Apple changed that in later release, now Xcode is required for xcodebuild... You have to install Xcode from App Store.

Homebridge is running on port 51826.
events.js:141
throw er; // Unhandled 'error' event
^
Actually, looks like I am almost there...
This is after it gets my wink up and running, and provides my code...
Error: dns service error: unknown
at Error (native)
at Advertisement.on_service_registered (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/node_modules/mdns/lib/advertisement.js:42:24)
at SocketWatcher.MDNSService.self.watcher.callback (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/node_modules/mdns/lib/mdns_service.js:18:40)

This is running on OS X? Can you try rebooting your Mac and run the homebridge?

Appears to be running. But trying to use Eve to connect it isn't finding it...

Can you try running Bonjour Browser on your Mac and see if it can find .hap service?

Appears to be

@Jborn4christ yeah, it seems running fine. Next step, can you try to run iNet on your iOS device and see if iOS device can see that service?

Scan this code with your HomeKit App on your iOS device to pair with Homebridge:
┌────────────┐
│ 031-45-154 │
└────────────┘

Homebridge is running on port 51826.
events.js:141
throw er; // Unhandled 'error' event
^
Error: dns service error: unknown
at Error (native)
at Advertisement.on_service_registered (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/node_modules/mdns/lib/advertisement.js:42:24)
at SocketWatcher.MDNSService.self.watcher.callback (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/node_modules/mdns/lib/mdns_service.js:18:40)

it should already works, try to run homebridge again and see what happens there?
BTW, can you tell what's the OS X version you're running on? it seems you're experiencing lots of issue with mDNS...

10.10

To run Homebridge, just type home bridge, correct?

yes

is it 10.10.4 or later or just 10.10? If it's 10.10, I assume it's discoveryd causing some strange issues and updating to 10.10.4 or later should fix that.

Updating now to 10.10.5

Also can't find any integration notes for the legit on wall switches. The wink hub light bulbs are showing good, but not two switches.

Do those get added as accessories?

For those, you'll need ask the creator of Wink plugin, I'm not sure.

Ok, cool. I go tit working, not the wall switches yet, but nest and lights. Thanks for your help. You guys are brilliant.

:)

@Jborn4christ Ho did you fix this https://github.com/nfarina/homebridge/issues/421#issuecomment-164328966 error?


Testing setup quality of life improvements

This PR introduces two changes to improve the way that we do testing:

Logs emitted by code that is run during tests are automatically captured by pytest and only shown if the test in question fails, if the test succeeds then the logs are silenced.
OSIM tests are disabled in local testing entrypoints so as to match the CI behavior

@osoukup when the CI is done, you can take a look at the generated logs from pytest and let me know what you think, we can go back to ignoring the "warnings summary" but I believe that one is actually useful


An error occurred when dragging the math formula render from katex , it can not be drag

Do you have access to unminified traces by chance?

i am having the same problem. does not detect element. but I don't understand why I don't perceive it yet.

It's stupid but it's a solution:
I normalized the index.min.js file to see the errors. to use https://unminify.com/
worked when the file was not minimized;
but the file I converted to normal was the one in the demo;
Then I realized that there is a problem in the beta version.
Now let the developer friend figure out what that problem is.


New Message Notification

Hi, been testing this app, and for some reason, even tho my APN key is correct and my iphone allows push notifications for the app, and i have push enabled on my xcode project, when i receive a message, i dont get a notification.... I have sent a test message from Firebase, and that arrives at my iphone correctly. Could this be due to not having background refresh turned on?

@pdp2015
No, for receiving push notifications, just APN key is not enough. You need a backend code which will handle sending your message through APNS servers.
DeviceSender->FirebaseDatabase->backend code where you fetch data from database (like sender ID recieverID, Sender user name, message text, etc. ), form that data into notification and send it to Apple Push Notification Services->APNS->DeviceReciever.

Who are you using for sending notifications?

@pdp2015
I use Firebase Cloud Functions.
If you want to use it, you need to install the sdk first.
https://firebase.google.com/docs/functions/use-cases?authuser=0

Thanks, ill have a look on fiiver to see if someone can intergrate this in to app for me

@andyferriby
I'm really sorry, I cannot help you with this. But there are bunch of examples on GitHub, you can find something there. For example firebase official examples: https://github.com/firebase/functions-samples


Timestamp with no time zone id is returning a different value

Hi!
I'm trying to analyze a simple timestamp value (i.e SELECT TIMESTAMP '2019-02-11 20:26:53.218';) with no time zone id by using the function AnalyzeNextStatement. After the analysis, the output has changed the timestamp value to 2019-02-12 04:26:53.218+00. Shouldn't it be 2019-02-11 20:26:53.218+00 instead?
Is there any way to parameterize the time zone id without passing it within the timestamp?
Thanks in advance!

2019-02-12 04:26:53.218+00 (ie UTC) is the same as  2019-02-11 20:26:53.218+08:00 (ie US - Pacific time)
This would make sense if the local time zone is US-Pacific on the machine you run this on, as it would assume a timestamp without timezone is expressed in 'local time'... (and IMHO is a reason why timestamps should always have a timezone to avoid ambiguity).

Hi @nielm, thanks for answering!
That was one of the first things I thought. However I'm running this on my local machine which is in Brazil time (GMT-3), so if it's using the local time zone the result should have been 2019-02-11 23:26:53.218+00, which is 2019-02-11 20:26:53.218+03:00, right?

Looking at the code, it initialises a default time zone to America/Los_Angeles (US-Pacific) (which is very normal for a Google product!)
https://github.com/google/zetasql/blob/177d495a064e38684c462cf883e22428273bd996/zetasql/reference_impl/evaluation.cc#L126
It is possible to set the default timezone on the analyser using the AnalyzerOptions
https://github.com/google/zetasql/blob/177d495a064e38684c462cf883e22428273bd996/zetasql/public/analyzer_options.h#L469
https://github.com/google/zetasql/blob/177d495a064e38684c462cf883e22428273bd996/java/com/google/zetasql/AnalyzerOptions.java#L249

I see. I'll try to use it. Thanks a lot @nielm !


react-router-dom was missed in pnpm install command line

https://github.com/loco-rs/loco/pull/247 is requesting the exact code change. Closing mine.


Capabilities & HashAlgorithms can cause sync-over-async

FTP OS:
Unix (based on vsFTPd being for unix-like systems)
FTP Server:
vsFTPd 2.2.2 (based on STAT)
Url: ftp://tgftp.nws.noaa.gov
Computer OS:
Windows Server 2019
FluentFTP Version:
33.0.3
While investigating the two stack trace posted below I started wondering why Capabilities and HashAlgorithms contained
if (m_stream == null || !m_stream.IsConnected) {
    Connect();
}

My best guess is to initialize them, if someone calls them before calling Connect or ConnectAsync which initializes them.
I'm not sure why it would be necessary to reconnect to get those values if m_stream was nulled or disconnected, but it can cause a sync-over-async path, VerifyTransferAsync -> ... -> Connect() as seen in the two stack traces.
Without being familiar with the codebase or all the edge cases of ftp connections, I think this might improve the situation.
private List<FtpCapability> m_capabilities;

/// <summary>
/// Gets the server capabilities represented by an array of capability flags
/// </summary>
public List<FtpCapability> Capabilities {
    get {
        if (m_capabilities == null && (m_stream == null || !m_stream.IsConnected)) {
            Connect();
            if (m_capabilities == null) {
                m_capabilities = new List<FtpCapability>();
            }
        }

        return m_capabilities;
    }
    protected set => m_capabilities = value;
}

private FtpHashAlgorithm? m_hashAlgorithms;

/// <summary>
/// Get the hash types supported by the server, if any. This
/// is a recent extension to the protocol that is not fully
/// standardized and is not guaranteed to work. See here for
/// more details:
/// http://tools.ietf.org/html/draft-bryan-ftpext-hash-02
/// </summary>
public FtpHashAlgorithm HashAlgorithms {
    get {
        if (!m_hashAlgorithms.HasValue && (m_stream == null || !m_stream.IsConnected)) {
            Connect();
            if (!m_hashAlgorithms.HasValue) {
                m_hashAlgorithms = FtpHashAlgorithm.NONE;
            }
        }

        return m_hashAlgorithms.Value;
    }
    private set => m_hashAlgorithms = value;
}

Logs :
Not sure if trace logs are relevant here.

System.NullReferenceException: Object reference not set to an instance of an object.
   at FluentFTP.FtpSocketStream.Connect(String host, Int32 port, FtpIpVersion ipVersions)
   at FluentFTP.FtpClient.Connect()
   at FluentFTP.FtpClient.get_Capabilities()
   at FluentFTP.FtpClient.SupportsChecksum()
   at FluentFTP.FtpClient.<VerifyTransferAsync>d__121.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at FluentFTP.FtpClient.<DownloadFileToFileAsync>d__56.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at FluentFTP.FtpClient.<DownloadFileAsync>d__55.MoveNext()

System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'System.Net.Sockets.Socket'.
   at System.Net.Sockets.Socket.InternalEndConnect(IAsyncResult asyncResult)
   at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
   at FluentFTP.FtpSocketStream.Connect(String host, Int32 port, FtpIpVersion ipVersions)
   at FluentFTP.FtpClient.Connect()
   at FluentFTP.FtpClient.get_Capabilities()
   at FluentFTP.FtpClient.SupportsChecksum()
   at FluentFTP.FtpClient.<VerifyTransferAsync>d__121.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at FluentFTP.FtpClient.<DownloadFileToFileAsync>d__56.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at FluentFTP.FtpClient.<DownloadFileAsync>d__55.MoveNext()

Very good find! I'll try fixing it and let you know.

Fixed. Works for you?
https://www.nuget.org/packages/FluentFTP/33.1.2

It will now throw an exception if you attempt to do any operation without Connect()ing first.

Hi Robin, thanks for the release.
I'll update the package and see how it behaves.
By looking at fc22c6108c506a8442387ef06ea3ac0855fc6c4b I still see a possible problematic scenario.
var client = new FtpClient();
client.Connect();
client.Disconnect(); // <-- let's say this happens implicitly somewhere
var capabilities = client.Capabilities; // throws an exception even though the data was populated due the explicit call to Connect()

I've completely disabled calling Connect() within Capabilities & HashAlgorithms.

I see that an FtpException is now thrown instead of calling Connect().
I'm just unsure why it would want to throw an exception if the capabilities has already been retrieved from an earlier call to Connect(), i.e. m_capabilities has been populated with real data.

What if you disconnected and changed the server info and reconnected? Then it would have outdated info.

Then the new call to Connect() overwrites the value from the previous server.

Okay, we can do a check. If m_capabilities has been populated with real data, we can return unconditionally if you're connected or not. That should work right?

I would say so.
In the example above I used FtpHashAlgorithm? to distinguish between the two cases:

Not having called Connect() yet =>m_hashAlgorithms is null
Connect() has been called, but m_hashAlgorithms is FtpHashAlgorithm.None

I agree that is doesn't make much sense from a user perspective to explicitly disconnect and then and for capabilities, but the disconnect might happen from within the library which gives the strange stack trace.


[lit] Delete dead code related to enabling +0 normal arguments.

We always compile with a plus_zero_runtime now.

@swift-ci smoke test

I think github is out of sync or something here. This merged. Closing.


Show stemmed variants

In #23, we implemented stemming. It would be nice to know given a stemmed word, what its original words were. Or maybe the other way around would be more feasible?

The other way around is far more feasible. If you now hover over a word in the non-stemmed word cloud, it will show the stemmed form in the statusline.


Scraping following also includes the "who to follow" advertised users

Hi,
I realised there was a very high count of "binance" appearing in get_users_following() search and realised that Binance is advertised in the "who to follow" window on the right side of the following page on twitter.  It seems to be including these adverts in the scrape.
Thank you

Maybe let Firefox install the https://github.com/thomaswang/minimal-twitter extension before scratching. Manually it works, but the browser always starts without extensions.

have fixed
To be merged.


Fix vertical alignment of editor version LinkButton in the bottom panel

Closes #88196

Alternatively I can get rid of the VBoxContainer altogether and align the LinkButton itself, it's one less node:

Removed the box container
https://github.com/godotengine/godot/assets/60579014/5088b125-5463-4e65-9fa4-9abc8df4142e

Took another look to make sure this doesn't break anything. Can't find anything trying to reference that box container indirectly, from what I understand it's not common in engine code to do that and it would have been made public if it was of any interest outside of class. Seems safe to remove
So I think this is ready for review
If relevant here's a theme that sets Button's top and bottom margins to abnormally high values for testing (it will make the bottom panel higher):
[gd_resource type="Theme" load_steps=2 format=3 uid="uid://dup750ctlh6cd"]

[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_s86oa"]
content_margin_top = 40.0
content_margin_bottom = 40.0

[resource]
Button/styles/normal = SubResource("StyleBoxEmpty_s86oa")

Thanks!


Issue #1279: Updated template detail UI to new designs

This PR updates our existing Template Detail UI to look closer to the new designs (we don't have figma mocks for the new design, so just eyeing it off the video):
This is our site:

This is a screenshot from the mock video:

Also, I wrote a new component called the ColorList and created a storybook page for it:

This looks good. My only question is should we do a very light inset box shadow with a partial opacity to outline lighter colors? The yellow gets lost here for me and the contrast is borderline.

Yeah, I definitely think there are valid colors that might get lost in this design but even the mock designs show that yellow without a border.  I think once the first iteration of the UI is complete and Sam starts playing with the actual site data, there will be design tweaks that we can apply then.

LGTM! Only nit is that I feel like the space between the page of the story in view and the text/colors is wider in the dashboard than the screenshot but i think the best path forward with those kinds of nits are to wait for the true mock ups so we can get it right.

You know what, the original design did have a pretty big gap between them but the screenshot has things more evenly spaced soooo.. I'll see if I can do a quick fix-a-roo just because I think it might be a small tweak to get it working!


Error while using fullscreen landscape mode in listView.builder

When I have fullscreen video player launched within listView.builder its stop working, probably because when device is rotated list item is being removed from the list, same as video player is being disposed. It working perfectly when video player its displayed outside of the listView.builder.
Any idea how solve this issue ?
════════ Exception caught by widgets library ═══════════════════════════════════
The following assertion was thrown building Container(constraints: BoxConstraints(w=450.0, h=800.0)):
A VideoPlayerController was used after being disposed.

Other question is it possible to support slide down gesture to dismiss fullscreen mode? Would it require to implement fullscreen via Navigator ?

@danielwalczak Can you share some code samples to help you better on this.


Int b 19300

Agility ticket
Summary
This branch contains 2 big changes:

The "Haul Price" item in the "Incentives" section of the final PPM Closeout Review screen will now update to read either "Linehaul Price" or "Shorthaul Price" depending on whether or not the move happens within the same Zip3.
This branch also fixed a bug in the pricing where items were always using the linehaul pricer for things like gross incentive, domestic area price, etc., even if a shipment would be classified as a shorthaul.

How to test

Create a move that goes to any two zip codes with the same first 3 digits. Where you would normally check "use my new duty location", you can instead put in an address with the same Zip3 (e.g. 90210 -> 90245).

Go through the normal process to get to PPM closeout (sign, approve as SC, upload PPM documents).

As an SC, access the move through the closeout queue, go to the last "Confirm" screen and verify that you see "shorthaul price" as shown here:

If you want to test that linehaul price will show up, find the actual_pickup_postal_code and actual_destination_postal_code columns for your move in the ppm_shipments table. Edit the destination code to "30183".

Refresh and continue back to the "Confirm" screen, you should now see that "Linehaul Price" shows up instead, and you should notice a substantial difference in price.

Warnings

:warning:
This PR does not include changes to unit tests, even though it affects app code.

  Generated by :no_entry_sign: dangerJS against eddf5ad24514df199b4e1dcc1c067be0aa0a3eba


Removed visible placeholder to Secret Creation

The live version of the article contains a visible placeholder to (Insert key vault article) - linked the article.

@mdrakiburrahman : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Verified the link and context; merging the pull request. Thanks for replacing the link placeholder @mdrakiburrahman.


capability rating tree has toggle styling which is no longer needing

Doesn't look like we can get rid of the toggle effect on nodes in the tree.  Closing this task


inherit the daemon log options when creating containers

- What I did

Inherit all the daemon log options when creating containers if using the default log driver of daemon. (Fixed #21118)
Expose the merged log config to docker inspect result.
Remove some redundant log driver related validations.

- How I did it
- How to verify it
Start daemon with some log options, then create a container and inspect it to see if the daemon log options are shown in the result of the inspect output.
- A picture of a cute animal (not mandatory but encouraged)
Signed-off-by: Shijiang Wei<EMAIL_ADDRESS>

replaced by https://github.com/docker/docker/pull/21153


How can i change materials of a GLB model to my material Instances?

I want to change the materials of a glb model after loading it.Is this possible?
for(i in 0 until asset?.materialInstances?.size!!){
            asset!!.materialInstances[i] = materialInstance
        }

I am trying to set the material instance like this but it doesnt reflect on the model
How to update the materials in the model

The list of material instances in the glTF asset is immutable, but you can swap out the active material instances by iterating over asset.entities and using RenderableManager.getInstance() to extract each entity's associated renderable.  (however note that not all entities have associated renderables)
Some of the useful RenderableManager methods in this scenario are getInstance(), setMaterialInstanceAt(), and getMaterialInstanceAt().

Agreed that we should document this better; this tutorial might help a little, as well as the Javadoc for RenderableManager.
In Filament, Renderables are bundles of primitives, each of which has its own geometry and material.  This is similar to glTF, where a "mesh" is composed of primitives, each of which has its own geometry and material.
Here are my notes about your code snippet:

The primitiveIndex in setMaterialInstance is typically a small number like 0 or 1, not 500000. I suspect that's where your bug is.
I don't think you need the Builder(1)...build(engine, entitiy) towards the end of your loop body.
Calling createInstance on the material is fairly lightweight, but building the package is not, so you might want to move all the MaterialBuilder stuff to outside the loop.
Minor naming suggestion: instead of var entity = renderableManager.getInstance(it) I would say val renderable = renderableManager.getInstance(it). You already have the "entity" in the it variable, and the renderable component is really what this variable represents.

You definitely don't want to compile a new material for every item in the list. You are also doing an init/shutdown cycle every time which is going to be very expensive.

Thank you to both, I am really looking forward to javadoc whenever it comes out.
I will try your suggestions and let you know how it works :)

@prideout It absolutely worked you guys are awesome! Keep up the good work.
P.S.
I set the primitiveIndex to 0.


Port the remainder of the zk-token program to the ConfidentialTransfer extension

This brings over the bulk of the zk-token program.  The removal of the omnibus account and the separate zk-token PDA accounts nicely simplified parts of the original code.
Follow up PRs will include:

Resolving the TODO around account reallocation in the ConfigureAccount instruction
Bringing over the zk-token unit tests, and likely fixing bugs as a result

cc: #https://github.com/solana-labs/spl-zk-token/issues/91

@samkim-crypto / @joncinque - you're welcome to check this PR out!  It's mostly https://github.com/solana-labs/spl-zk-token/blob/master/program/src/instruction.rs and https://github.com/solana-labs/spl-zk-token/blob/master/program/src/processor.rs in a slightly different form.
I imagine we'll want to do a more full end-to-end review once I plug in the tests and fix up the configure account TODO though

We don't have to worry about it now, but we would ultimately need a new set of confidential token instructions related to fees as well, right? Like InitializeTransferFeeConfig, TransferWithFee, etc. and analogous zk-token fee extensions to mint and accounts. The proof verification can be a separate VerifyFee zk-token-proof instruction.

What additional account and mint state fields will we need for confidential fees?  I was generally thinking we wouldn’t need new instructions, and the confidential transfer extension would detect the TransferFee extension in the mint to determine if fees applied.  You can flesh out all the details here?

Yes, I think transfer is fine. It will get the encrypted transfer amount from the ProofInstruction::VerifyTransfer instruction as before and if TransferFee extension is detected, it will additionally check that ProofInstruction::VerifyFee is present and get the encrypted fee info from there.
The ConfidentialTransferInstruction::InitializeMint processor should perhaps check that if TransferFee extension is detected, then withdraw authority account is already extended for confidential tokens?
I think the only real extensions we would actually need are places related to the encrypted withheld fees in the accounts and mints: https://github.com/solana-labs/solana-program-library/blob/master/token/program-2022/src/extension/transfer_fee/mod.rs#L52. I do not see front-running issues here, so we would just need a single pod::ElGamalCiphertext for withheld_fees.
The way to withdraw withheld tokens will be the same as in regular tokens, but just using ElGamal ciphertext arithmetic. It seems like these should need separate instructions, but maybe there is a more elegant way?

There's a little bit of mixing between the TransferFee extension and the ConfidentialTransfer extension for sure, let's move this to different issue to continue as I'm about to close this PR once CI is green!

I do not see front-running issues here, so we would just need a single pod::ElGamalCiphertext for withheld_fees.

One way could be to add the withheld_fees field into the TransferFeeConfig mint extension, and add the additional instruction into the TransferFee extension. Or into the ConfidentialTransfer extension! I don't see much value in creating a third ConfidentialTransferTransferFee extension though


Specify subtypes for a nicer UI in the Web Editor

Great work, here's a small proposal for a change to get a better UI rendering in the clients for the new load_collection parameters.

@m-mohr , thanks for the feedback and pull request. Approved and merged


Make memary free to use through Llama 3 8B and Ollama

memary uses GPT 4 for most LLM calls which doesn't allow the community to use memary for free. It would be highly beneficial to see a shift from using GPT 4 to Llama 3 8B. We would also like to see LLaVA being used for the agent's vision tool.
Additionally, we would like the community to be able to run these models locally and there's no better way than using Ollama. LLaVa (original and fine-tuned) can be found here: https://ollama.com/library?q=llava
Main Changes:

Replace GPT 4 with Llama 3 8B
Replace gpt-4-preview with LLaVa for agent's vision tool
Host these models locally using Ollama

see PR #19 for reference.

Update
Instead of replacing GPT 4 and gpt-4-preview with Llama 3 8B and LLaVa respectively, include a model setup functionality for users to choose which models and keys they want to provide. Allows for more flexibility for end users.

Started on pr #32 but a little stuck for now


Allow callable options to have :rest parameter

We should allow such kind of Procs:
:even?.to_proc #.parameters => [[:req], [:rest]]

This :even?.to_proc will not work, as it actually accept only one parameter. But if added block like proc{|*| ... } or proc{|a1, *| ... } or proc{|a1, a2, *| ... } I think we could accept such blocks

will be released in v0.17


Fix text: in progress for an hour

Make it related to productive work, not just some progress

Done.


Simplify dashboard

An attempt at simplifying the dashboard. This would obviate #816. Changes are:

Removes register/website/facebook/manage buttons from dashboard.
Moves registration status onto event banner image (where manage button was)
Makes banner image slightly taller so the whole thing actually displays
Tightens margins in event metadata (name, date, location)
Removes date card to cover up less of the banner image
Removes verbose alerts below event image (since users can be expected to view a specific order to find those details)
Linkifies event name.

I might put the genres about the time and place, but looks nice

Oops, this was not reviewed.


Diagnostic provider "outsourced" error & develop branch no longer maintained notification

Hello,
Whenever I restart VSCode and open a PHP file I get this notification.
Plugin version: 1.3.0
OS: macOS
VSCode version: 1.85.2

The "outsourced" error is known and I have yet to get to this: https://github.com/phpactor/vscode-phpactor/issues/113
The other message indicates your are not using the bundled phpactor phar but rather something on your disk probably configured via phpactor.path setting. Either remove that or manually git switch and update your checked out phpactor source. Also don't forget to composer install after update.

The other message indicates your are not using the bundled phpactor phar but rather something on your disk probably configured via phpactor.path setting.

Nothing is configured with the phpactor.path setting. I don't have phpactor installed globally because I want to use the phpactor.phar bundled with the extension.
Please how do I do this:

Either remove that or manually git switch and update your checked out phpactor source. Also don't forget to composer install after update.

Info after running Phpactor: Show current status
Process
-------

  cwd:/Users/ABC/Projects/monorepo-api
  pid: 33577
  up: 0d 0h 18m 38s

Server
------

  mem: 72,427,216b
  documents: 0
  services: ["diagnostics","serviceAnnouncements","indexer"]
  diagnostics: outsourced, php-lint

Paths
-----

  project_id: monorepo-api-abcde
  project_root: /Users/ABC/Projects/monorepo-api
  cache: /Users/ABC/.cache/phpactor
  config: /Users/ABC/.config/phpactor
  data: /Users/ABC/.local/share/phpactor
  application_root: phar:///Users/ABC/.vscode/extensions/phpactor.vscode-phpactor-1.3.0/phpactor.phar
  project_config: /Users/ABC/Projects/monorepo-api/.phpactor

Indexer
-------

  watcher: pattern matching LSP file events

I solved it by restarting my system. I guess it must have stopped the old process.

I solved it by restarting my system. I guess it must have stopped the old process.


reduce the number of dependencies

per @ocefpaf.
Hey Filipe: I've got a few cycles available for me to spend on pygridtools. Feel free to file any other issues you might have.

I did not get as enough time to play with pygridtools yet, but so far it seemed pretty solid and no issue comes to mind.
The number of optional deps is not a real issue BTW, but it does make packaging a lot easier.


fix: upgrade all dependencies

"meriyah": "4.0.0" is the big one that should fix an issue I am having.

@patrickmichalina the version restrictions mean that patch versions cannot be used, would it not be better to use ^4.0.0 instead? or even ~4.0.0? Same for chokidar

@patrickmichalina the version restrictions mean that patch versions cannot be used, would it not be better to use ^4.0.0 instead? or even ~4.0.0? Same for chokidar

Yeah good point I was just copying the previous format. Can change it though

Yeah good point I was just copying the previous format. Can change it though

@patrickmichalina is it good to merge?

@patrickmichalina is it good to merge?

@nchanged yeah. I updated the resolutions as recommended by @charsleysa

@nchanged yeah. I updated the resolutions as recommended by @charsleysa


Remove CarbonIterator

CarbonIterator is exactly same as java.util.Iterator, use java.util.Iterator instead

retest this please

Carbon Iterator was added so no need to implement remove method, we can have abstract class which will implement iterator interface and all the concrete classes will extends the abstract class. Abstract class can have remove method implementation, so we can avoid duplicate remove method from all the concrete implementation

@kumarvishal09 modified

@jackylk  Please rebase the PR.

@ravipesala rebased

LGTM. Merged to master.


COD-40 User-Action-Response feature

Update User-Action-Response for accessibility features

implement respondToAUserAction method based on response magnitudes

Testing:

built image: done
http://<IP_ADDRESS>:8080/job/Android_Emulator/job/emulator_orb_204_android_11_builder_dvbi_client/23/

Related to orb-reference-204-android
https://github.com/OceanBlueSoftware/orb-204-reference-android/pull/1

Not necessary. Will also move consoleLog to mock app, as not needed for real products.


syntax in MPI contaminants database

The syntax in the MPI Contaminants DB does not completely mesh with MM.   The problem is that the contaminant protein names (and gene name and organism) don’t get listed in the AllProteins.tsv output file.    Those fields are in the FASTA entries, but not in the same way that UniProt FASTA lists them.    Where does that DB come from? Should we get an updated one? Should we use cRAP instead?  Should we change MM to output from that syntax, or change the database instead?    Willing to help if there is something I could do.

this is one that was inside maxquant whenever that was added to MM

@blfrey made this new DB, just need to include it in MM

are you going to take care of that rob?

yep

Thanks @rmillikin.   I guess you could read my mind b/c I was just thinking that with all the MM updates, my new database should go in as default.  Are we making the .fasta one default or the .xml that includes methylations on trypsin (and also has GPTM mods from UniProt)?

My preference would be to make the XML default, but if other people want the fasta for some reason we could do that, or have a button for each one

OK with me.  I do think the methylated trypsin is a big plus.

added the new .xml (+methylated trypsin) in #1924


Fix parsing spaces

What current issue(s) does this address, or what feature is it adding?
Addresses https://github.com/CityOfZion/neo-python/issues/1009 (see test_attribute_spacing)
How did you solve this problem?
The input parser now merges strings until the count of "[" matches "]" or there is an IndexError (e.g. parsing a bytearray).
NOTE:

results in an extra space when parsing nested lists (i.e. ] ]]), which is still processed correctly
results in one string for an unmatched bracket, which is still acceptable

(see tests for examples)
How did you make sure your solution works?
unittest and manual testing in privatenet
Are there any special changes in the code that we should be aware of?
No
Please check the following, if applicable:

[x] Did you add any tests?
[x] Did you run make lint?
[x] Did you run make test?
[x] Are you making a PR to a feature branch or development rather than master?
[x] Did you add an entry to CHANGELOG.rst? (if not, please do)

@hal0x2328 can you confirm this fixes your issue?

Coverage increased (+0.008%) to 85.313% when pulling 52f6807fdd14c83d66f89cc960dd62f6a0206e6d on jseagrave21:fix-parsing-spaces into 1d81ce3fb25e4714cb54d01c7600c836eda68ff8 on CityOfZion:development.


[Feature Request]: Modules API version update criteria

Description
The context
Static validation: Pester tests aim to ensure each module leverages an API version which is "recent enough", not older than the latest e.g. X released versions.
Module readme: documentation aims to ensure each used API version is tracked and linked to the official corresponding documentation in the Azure Resource Reference.
The problem
The Azure Resource Reference is often not up-to-date and sometimes completely lacking documentation for certain resource types.
When checking the right API version to choose for a resource type, we often fall into the discussion of which latest version we should consider: if the latest stable released or if the latest documented by the Azure Resource Reference. See for instance discussion in PR #1662
In general, we must avoid providing a wrong documentation, i.e. linking a documentation from the Azure Resource Reference which is not corresponding to the one used by the modules. This is currently the case for some resources.
Acceptance criteria
This issue is about

discussing and agreeing on the criteria to follow when updating an API version/implementing a new module
documenting the decision in the wiki
the decision may impact either the Pester tests logic or the readme API version documentation to provide, for which separated issues will be opened.

Team decides: If there is not matching Link in the Azure Resource Reference, provide at least latest
A comment to the link should be added, if the version is not existing


needs sometimes receiving matches with itself

need url: https://node.matchat.org/won/page/need/2678936896316461000

I just wanted to post this issue too.
Steps to reproduce: use one account to create two needs that are matchable with each other. Wait for matches.
I don't think that it's a match with itself, because there is no such connection in the connection container, though. It might be that filtering out a user's other needs from the matches has stopped working perfectly, and we get to see the effects: A match with something without a title, URI, image, etc.

the match is actually with another need, you can see this in the rdf remote need: https://node.matchat.org/won/page/connection/ru8zdld7hvx52dkh6crl
it is somehow mixed in the owner then?

Changed the title from describing a suspected cause to describing a perceived error

marked as prio:high this issue also occured to me as well

i can't reproduce it on matchat.org. i'll try with a matcher on localhost.

can't reproduce it locally either

Caused by #942, as sometimes own needs aren't loaded and thus matches with own needs not properly filtered out.


Automated tests for v-cluster configuration

Draft of the reframe tests for the v-cluster configuration based on a dummy .json file with some configuration details

cscs-ci run alps-todi-cpe

Q: is this periodic?


installing blade cli with proxy requirements doesn't work on Windows

I'm setting the proxy follow this article
https://help.liferay.com/hc/en-us/articles/360018159011-Installing-Blade-CLI-with-Proxy-Requirements
Steps to reproduce:

install jpm and blade cli
execute the following commands

jpm command --jvmargs "-Dhttp.proxyHost=<IP_ADDRESS> -Dhttp.proxyPort=8989" jpm
jpm command --jvmargs "-Dhttp.proxyHost=<IP_ADDRESS> -Dhttp.proxyPort=8989" blade

result: none of the upper two commands work on Windows, while they all run successfully on Linux and Mac

We've track this ticket on JIRA https://issues.liferay.com/browse/BLADE-625, closing this issue now.


[Storage] Add x-ms-creation-time to response on download

This PR simply generates on the new swagger that will allow for x-ms-creation-time to be properly parsed from the response headers and populate the properties.

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-storage-blob

Hmm I'm hesitant for us to take all the additional changes from the updated autorest version directly into main with the upcoming GA release. It may be better for us to try and re-generate with whichever version of autorest was previously used to limit the changes to only the new stuff for creation-time. You can force an autorest version when generating the code but we'll just need to figure out which version.
Also, maybe we should add a test? Or find a test to add a check for the property to?

Good point. I was not aware that the updated autorest version also got slapped in there, but I definitely agree we should drop the autorest version to only introduce the intended change (x-ms-creation-time header on response). Let's circle back to this later 😄


[Navigation Refactor] - Web - Chat - Expensify logo appears when refreshing the page

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Go to https://19263.pr-testing.expensify.com/
Login with any account
Refresh the page

Expected Result:
Expensify logo does not appear when refreshing the page
Actual Result:
Expensify logo appears when refreshing the page
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: special build <IP_ADDRESS>
Reproducible in staging?: No
Reproducible in production?: n/a
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://platform.applause.com/services/links/v1/external/0b2e3e43a4cecca077e7db3dcf0cb92baad043da222ce7333eca8a64c1571522
https://platform.applause.com/services/links/v1/external/224dfdbf49296f7da3773c27818f2683a9475bd73d55833dcece4dc960e36917
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub

Hmm yeah thats different than on staging but not sure if this is a blocker

Hello! I want to try to fix this bug, which  branch should I use to proceed?

📣 @adisagar2003! 📣 Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork. Please follow these steps:

Get the email address used to login to your Expensify account. If you don't already have an Expensify account, create one here. If you have multiple accounts (e.g. one for testing), please use your main account email.
Get the link to your Upwork profile. It's necessary because we only pay via Upwork. You can access it by logging in, and then clicking on your name. It'll look like this. If you don't already have an account, sign up for one here.
Copy the format below and paste it in a comment on this issue. Replace the placeholder text with your actual details.

Format:

Contributor details
Your Expensify account email<EMAIL_ADDRESS>Upwork Profile Link: https://www.upwork.com/freelancers/~01ea99697a03b30cc0?viewMode=1

@adisagar2003 Hello! Sorry these are related to a project we work on internally so right now they are not open for external proposals. you can check all the issues with Help Wanted label

This is a new Expected behaviour so I will close this


Show definition info in status bar

I want to see godef information in the status bar when my cursor is on top of something that has it.

I built something like this here: https://github.com/nuance/GoTools/commit/04118465ba6079da767d5d1e346a2b2224224d01


Support for Docker

This simplifies the installation steps and is applicable for all operating systems which support Docker (which are all common OSs). It exposes the same ports as in the original installation instructions. So there is no difference in handling the web app.

I'm going to try this when I get home from work. This might be an even better solution than rewriting the app in Electron because I know the node-protobuf library in particular has issues with building on Windows.

And Docker runs on all common operating systems ;-) You can even build this with Dockerhub and serve it on several cloud providers as SaaS.

@justinleewells There are a couple of pure JS implementations of protobuf--pbf and protobuf.js in particular are pretty good.

It was my intent to build the Electron version with protobuf.js, but I think that Docker is a suitable near-term approach.

I figured I'd give Docker a shot on Windows, but couldn't get it working there either. The proxy server runs fine for normal traffic but throws SSL certificate errors even when I install the cert on my phone. I think the problem might be that for Windows, Docker runs everything in a Linux VM with a different IP address than the host machine. The certs are generated for the VM IP and therefore don't work properly. I'm not sure if that's the real problem or how easy it is to fix.

When not specifying the version of node Docker pulls the version, which is tagged as latest, which is currently version 6.3.0
Docker has a big overhead on Windows since you can't use the host's linux kernel, because you simply don't have one installed, which is why you have to install a Linux vm etc. Then exposing ports depends on your configuration and could need extra configuration.

I've almost got protobuf.js working with the POGOProtos repo, so I think we might skip the Docker stuff altogether. It would simplify things greatly if the instructions could basically be "Install protobuf, Run this app, Follow the instructions onscreen on how to connect". There should be some form of the Electron app out by the end of the weekend. It'll be in a new repo that I'll probably push to tomorrow or Friday.

Okay you could skip the Docker stuff, but Docker has one more advantage: I don't need to install all these libs and stuff on my host maschine. If I am no longer interested in your project, I can type docker rmi pogo and everything is clean. That's why I added this Dockerfile ;-) And there are plenty of people using Docker just for this use case.

Noted, but Docker isn't exactly non-dev-friendly. Plus the SSL configuration. It's just easier to focus on one thing and if I can get protobuf.js compiling perfectly on Windows, I think that's a better solution.

With all due respect, but the project is not even dev friendly at the moment.
Docker would in fact make the installation process non-dev friendly. It boils down to two steps:

Install docker for your OS (which is super easy and guided by the docker homepage)
docker run XYZ

Whereas on Windows I currently have to conjure Satan and sacrifice my firstborn for the app to not run correctly.

This project was something I hacked together in a couple hours. We're moving to the next step, which is compatibility mode. I mean I can merge in the PR, but the next version is not going to use Docker, most likely.

I will keep my fork updated with Docker support for the Docker people around here: https://github.com/n2o/pogo-optimizer

That works out perfectly! Thanks!

Okay, so I'm getting a lot of weird errors with protobuf.js. I think we might go with a Docker approach for the time being (at least for Windows). Is there any chance you'd want to write the README + contribute the Docker file for that, @n2o? Additionally, I'd like to get the SSL issue cleared up on Windows before

Hi, yes I can provide a Dockerfile for you, but I will create a new Pull Request since I added many Commits to this Branch (and I accidently chose my master branch to merge with your master, which was stupid).
Many people like this Docker solution and it is so easy. It was my intend to provide this feature for you so you can focus on more important things ;-)

If you could actually wait until the next push, that would be ideal. I'm finishing up a few features as we speak.

New PR: #47