Introduce MaximumLength properties on Attribute within common data model

Introduced maximumLength property on Attribute within common data model, so when creating a sql database from the azure data lake it is possible to create keys. Create keys on sql level is not possible on fields of type NVARCHAR(MAX).
From the documentation on https://learn.microsoft.com/en-us/common-data-model/  , it is not completely clear if this the correct place to include the property. Based on https://github.com/microsoft/CDM/blob/master/samples/example-public-standards/schema.cdm.json, I think that it is.

@Bertverbeek4PS No, I have not tested in combination PowerBI App.

@acjdekorte I have tested it and everything works fine!
Thanks for the contribution! Really appreciate it!


Add Standard format for README

Example README link can be found here
Ground rules:

Whoever claims the Issue first, should send a Pull Request within 24 hours else it'll be assigned to another claimant and further Pull Requests regarding that issue will not be entertained.
Pull Requests sent without claiming and referencing the Issue will not be entertained.
Make sure your Pull Requests have just one commit in them. Squash multiple commits into one if you have to.

i claim this

Go ahead!


[Improvement] Sort claim list when adding an external claim

The claim list that a user has to go through when mapping an external claim to a local claim is not sorted in alphabetical order in IS 5.3.0 (see attachment). Please sort the claim list in alphabetical order so that it will be easier for the user to pick a claim as the key board shortcuts don't work on the claim list either.
UI Location:
Home > Identity > Claims > Add and click Add External claim

Minoli Perera suggested the following:
We can add a search-box along with the dropdown using select2 [1].  Also it has the ability to search by the claim name. See example in [2]
[1] https://select2.org/getting-started/basic-usage
[2] http://jsfiddle.net/4ad7A/780/

I'm working on this issue.

Update: The above mentioned issue has been already fixed.
However, I came across the following similar issues.

Claim dialect URI list is not sorted when adding a new external claim

Claim dialect URI list is not sorted when listing existing external claims

Claim list is not sorted when listing existing external claims


A2C code for MuJoCo

Hi dear developers, when will A2C code for MuJoCo be available?

Hi @LinZichuan ! It is already in PR https://github.com/openai/baselines/pull/490, so you can use it from the branch. Some examples of using A2C with mujoco are here: https://github.com/openai/baselines/blob/peterz_migrate_rlalgs/README.md
Keep in mind that we have not optimized the a2c hyperparamters for mujoco yet, so it may not work all that great out of the box.

Should be available in master now. Closing this.


Empty/missing files listed in Request File Manifest

When I click "Request File Manifest", I am shown a list of file extensions with what I think are file counts and total sizes.

Replaces #307

Please research to see if we have zero length files in DSS or if this an indexing issue.


it seems the plugin does't work on macOS

here is my related config:

I tested it in both win and mac.but it only works on win . Anything wrong?

@xiadd
are there any errors/warnings? what exactly does not work?

@xiadd I had to look at the source code, but it works only if watch is enabled in your webpack configuration.

i assume, this is outdated. ping me if i am wrong


apr_file_pipe_create() - save more syscalls with pipe2()

* file_io/unix/pipe.c (file_pipe_create): Use pipe2(,O_NONBLOCK) by
  default unless APR_FULL_BLOCK was used; unconditionally set the
  blocking state later. Saves two syscalls per invocation for both
  APR_READ_BLOCK and APR_WRITE_BLOCK, no [intended] functional change.

Merged in 639ad0b4a40a660707549284764cd301aac310d9

Err, no it wasn't.


YARN-11684. Fix general contract violation in PriorityQueueComparator.

Change-Id: I0ca72134b3328a250445ad41525d76d6cbd50a98

Description of PR
Jira: YARN-11684
Previous attempt for the fix: YARN-10178
2024-04-10 12:36:56,420 ERROR org.apache.hadoop.yarn.YarnUncaughtExceptionHandler: Thread Thread[Thread-28,5,main] threw an Exception.
java.lang.IllegalArgumentException: Comparison method violates its general contract!
        at java.util.TimSort.mergeHi(TimSort.java:899)
        at java.util.TimSort.mergeAt(TimSort.java:516)
        at java.util.TimSort.mergeCollapse(TimSort.java:441)
        at java.util.TimSort.sort(TimSort.java:245)
        at java.util.Arrays.sort(Arrays.java:1512)
        at java.util.stream.SortedOps$SizedRefSortingSink.end(SortedOps.java:348)
        at java.util.stream.Sink$ChainedReference.end(Sink.java:258)
        at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:483)
        at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
        at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
        at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
        at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
        at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.policy.PriorityUtilizationQueueOrderingPolicy.getAssignmentIterator(PriorityUtilizationQueueOrderingPolicy.java:260)

There was still an exception when either the queue.getPriority() or the queue. getAccessibleNodeLabels() changed in a different thread during sorting.
How was this patch tested?
Unit test.
For code changes:

[x] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'YARN-11684. Your PR title ...')?
[ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE, LICENSE-binary, NOTICE-binary files?

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
17m 16s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
44m 21s

trunk passed

+1 :green_heart:
compile
1m  1s

trunk passed with JDK Ubuntu-11.0.22+7-post-Ubuntu-0ubuntu220.04.1

+1 :green_heart:
compile
0m 55s

trunk passed with JDK Private Build-1.8.0_402-8u402-ga-2ubuntu1~20.04-b06

+1 :green_heart:
checkstyle
0m 56s

trunk passed

+1 :green_heart:
mvnsite
1m  1s

trunk passed

+1 :green_heart:
javadoc
0m 58s

trunk passed with JDK Ubuntu-11.0.22+7-post-Ubuntu-0ubuntu220.04.1

+1 :green_heart:
javadoc
0m 50s

trunk passed with JDK Private Build-1.8.0_402-8u402-ga-2ubuntu1~20.04-b06

+1 :green_heart:
spotbugs
2m  1s

trunk passed

+1 :green_heart:
shadedclient
35m  5s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 48s

the patch passed

+1 :green_heart:
compile
0m 53s

the patch passed with JDK Ubuntu-11.0.22+7-post-Ubuntu-0ubuntu220.04.1

+1 :green_heart:
javac
0m 53s

the patch passed

+1 :green_heart:
compile
0m 46s

the patch passed with JDK Private Build-1.8.0_402-8u402-ga-2ubuntu1~20.04-b06

+1 :green_heart:
javac
0m 46s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

-0 :warning:
checkstyle
0m 43s
/results-checkstyle-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager.txt
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager: The patch generated 10 new + 111 unchanged - 0 fixed = 121 total (was 111)

+1 :green_heart:
mvnsite
0m 51s

the patch passed

+1 :green_heart:
javadoc
0m 44s

the patch passed with JDK Ubuntu-11.0.22+7-post-Ubuntu-0ubuntu220.04.1

+1 :green_heart:
javadoc
0m 42s

the patch passed with JDK Private Build-1.8.0_402-8u402-ga-2ubuntu1~20.04-b06

+1 :green_heart:
spotbugs
1m 59s

the patch passed

+1 :green_heart:
shadedclient
34m  8s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
109m 51s

hadoop-yarn-server-resourcemanager in the patch passed.

+1 :green_heart:
asflicense
0m 39s

The patch does not generate ASF License warnings.

259m  7s

Subsystem
Report/Notes

Docker
ClientAPI=1.45 ServerAPI=1.45 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6725/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/6725

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux 630922a25a18 5.15.0-94-generic #104-Ubuntu SMP Tue Jan 9 15:25:40 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 882b66f1fdeac8459d381df3a495369de7186577

Default Java
Private Build-1.8.0_402-8u402-ga-2ubuntu1~20.04-b06

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.22+7-post-Ubuntu-0ubuntu220.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_402-8u402-ga-2ubuntu1~20.04-b06

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6725/1/testReport/

Max. process+thread count
959 (vs. ulimit of 5500)

modules
C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6725/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

@tomicooler We need to fix the checkstyle issue.

@slfan1989 thanks for the review, I'll fix those tomorrow.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 53s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
45m 14s

trunk passed

+1 :green_heart:
compile
1m  0s

trunk passed with JDK Ubuntu-11.0.22+7-post-Ubuntu-0ubuntu220.04.1

+1 :green_heart:
compile
0m 56s

trunk passed with JDK Private Build-1.8.0_402-8u402-ga-2ubuntu1~20.04-b06

+1 :green_heart:
checkstyle
0m 55s

trunk passed

+1 :green_heart:
mvnsite
1m  2s

trunk passed

+1 :green_heart:
javadoc
0m 58s

trunk passed with JDK Ubuntu-11.0.22+7-post-Ubuntu-0ubuntu220.04.1

+1 :green_heart:
javadoc
0m 49s

trunk passed with JDK Private Build-1.8.0_402-8u402-ga-2ubuntu1~20.04-b06

+1 :green_heart:
spotbugs
2m  0s

trunk passed

+1 :green_heart:
shadedclient
34m 39s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 48s

the patch passed

+1 :green_heart:
compile
0m 52s

the patch passed with JDK Ubuntu-11.0.22+7-post-Ubuntu-0ubuntu220.04.1

+1 :green_heart:
javac
0m 52s

the patch passed

+1 :green_heart:
compile
0m 48s

the patch passed with JDK Private Build-1.8.0_402-8u402-ga-2ubuntu1~20.04-b06

+1 :green_heart:
javac
0m 48s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 45s

the patch passed

+1 :green_heart:
mvnsite
0m 51s

the patch passed

+1 :green_heart:
javadoc
0m 43s

the patch passed with JDK Ubuntu-11.0.22+7-post-Ubuntu-0ubuntu220.04.1

+1 :green_heart:
javadoc
0m 41s

the patch passed with JDK Private Build-1.8.0_402-8u402-ga-2ubuntu1~20.04-b06

+1 :green_heart:
spotbugs
2m  2s

the patch passed

+1 :green_heart:
shadedclient
34m 31s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
110m  0s

hadoop-yarn-server-resourcemanager in the patch passed.

+1 :green_heart:
asflicense
0m 38s

The patch does not generate ASF License warnings.

243m 42s

Subsystem
Report/Notes

Docker
ClientAPI=1.45 ServerAPI=1.45 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6725/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/6725

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux c78f403e5bb5 5.15.0-94-generic #104-Ubuntu SMP Tue Jan 9 15:25:40 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 5fe4d66d57d23dbaedf2e68aab08728bef606965

Default Java
Private Build-1.8.0_402-8u402-ga-2ubuntu1~20.04-b06

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.22+7-post-Ubuntu-0ubuntu220.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_402-8u402-ga-2ubuntu1~20.04-b06

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6725/2/testReport/

Max. process+thread count
949 (vs. ulimit of 5500)

modules
C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6725/2/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

Thanks @tomicooler for the patch, LGTM

@tomicooler Thanks for the contribution! Merged into trunk. @p-szucs Thanks for the review!


Missing Phi Function in MLIL

Version and Platform (required):

Binary Ninja Version: 3.5.4425-dev
OS: Arch Linux
OS Version: -
CPU Architecture: x64

Bug Description:
Take a look at the following CFG:

rdx_2#2 and rdx_2#3 are assigned in the upper blocks which lead into the block at address 93.
In that block rdx_2#4 is used, but not defined.
It should be defined by a phi function in the form of  rdx_2#4 = phi(rdx_2#2, rdx_2#3) at the start of the block, like the one for dwSize#4
Steps To Reproduce:

Open sacsess.tar.gz at CVTUTF8Scraper::Write (Addr: 0x140003750)
Look at the MLIL representation of the blocks where rdx_2 is used.

Expected Behavior:
There should be phi function defining rdx_2#4

Ahh, good catch, thanks. I suspect our recent "smart" variable renaming has modified instruction 93 in the screenshot above which is breaking the SSA relationships. This is a regression on dev and is correct on stable. Thanks for catching it before the next stable release!

Is it correct on stable?
On v3.4.4271 i get the following graph:

Where indeed the variable renaming is different (rdx_3#4 vs dwSize#4) but still rdx_2#4 is not assigned.
Or am i missing something?

I can confirm I am seeing the same output on 3.4.4271 stable with the input file from the original ticket.


WIP / POC — [Feature] theming / customization

to do:

[ ] allow for override of styles if ThemeProvider is being used
[ ] add a config wrapper for target app to use for purging either default theme file, or custom theme file

I'm trying to look at removing css modules completely
we could also look at leaving in some css class names purely for the same of making it easier for a developer to target elements if they need to override something with css rather than tailwind classes.

@MildTomato This theming feature would be very useful, is this still planed for sometime in the future? in the mean time, I guess forking and changing the theme would be the way to customize?

@willopez yep it is. I did a first pass on it in alpha brach but I wasn't happy with it.
I want to change it so the tailwind classes are more explicit. like bg-panel-primary, rather than bg-gray-300.
Then it would be much easier to customize.

OK, got it. And I agree that making class names explicit will make it easier to customize. I am open to help with this effort, how can I help?

@willopez honestly, and this will sound boring.. possibly branching off alpha branch and basically going through all the classNames in the theme file and renaming them all to be explicit.
I'm not that sure what the structure could be yet, although I've started planning it a little bit in Figma and I have the following names for things. But it's a bit of a work in progress.

Saying that, the name/structure in that figma tokens json isn't very useful.
As we'll probably want to keep to using tailwind standard of naming things - so flipping it.
So form.input.error.bg would be bg-form-input-error
I'm still not entirely sure this is a good idea, as we'll end up with a lot of classes.
Something else could be using arbitary class names and read from css properties.
Like, bg-[var(--form-input-error-bg)]

Supabase UI is being deprecated.
As part of that, we are closing Pull Requests in this repo for now.

We are moving the components to the main mono repo at https://github.com/supabase/supabase.
The auth component has been moved to it's own repo and package. https://github.com/supabase-community/auth-ui. You can also read the docs for auth ui here.


Preloader loading always OGG instead any other sound-format (e.g. MP3)

HERE: openfl.display.Preloader.hx 77:58/3
Target: JS/HTML5
In assets I have:

sound.mp3
sound.ogg

For all browser (desktops & mobile including iOS) openfl.display.Preloader loading always sound.ogg instead sound.mp3.

OGG needed only for Chromium-based & Ardoid-browsers;
MP3 fully supported anywhere excluding 1..

See MDN:: Browser compatibility.

One founded solution: html5hub.com/....

var fileFormat = "mp3";
var mp3Test = new Audio();
var canPlayMP3 = (typeof mp3Test.canPlayType === "function" && mp3Test.canPlayType("audio/mpeg") !== "");
if (!canPlayMP3) {
fileFormat = "ogg";
}

Sound.js will pick the format it wants by default. Unfortunately, if one is missing, it fails to skip and move on to trying another compatible format.
We use OGG as the first default setting since that's what desktop and mobile projects usually use first. If not supported by the browser, it goes on to the next format.
Even though we use ".ogg" it still switches if not supported

Even though we use ".ogg" it still switches if not supported

I have encountered a problem when it doesn't switch. Server send 404 error because they forbid the related mime type of .ogg (but the file is in the server). So it's a very special case that occured because of some bad configured server (and that's the client server not mine, so I can't fix the mime type). Is there a way to force mp3 on my app?

Maybe if you changed https://github.com/openfl/openfl/blob/50fc31603d2dbe42413b80e472e0ecbd5c892cd9/openfl/media/Sound.hx#L203 to put mp3 in first.
If that helps we could add a configuration value for this.

Thanks for your reply. Doesn't seem to work. That's strange because even
SoundJS.alternateExtensions = [  "mp3" ];
tries to load ogg files.

I did it!
No need to change Sound.hx. If we want to have the ability to prioritize mp3 or ogg, we need to configure here :
https://github.com/openfl/openfl/blob/50fc31603d2dbe42413b80e472e0ecbd5c892cd9/openfl/display/Preloader.hx#L77


soundness issue with Lock

The Lock API currently keeps the exposed internals alive longer than the lock is held (in particular, as long as the lifetime of the Scope the handle belongs to). This is unsound.
Since Handle is an auto-deref type, it should be possible to impl Lock for a borrowed reference to the target of the handle, instead of the handle itself, which should correctly bound the lifetime of the exposed internals.
But this also means that to trigger the auto-deref, we'll need to replace vm::lock with a method on Lock, so that it can be performed by a method call on the handle, which implicitly borrows the target.

Candidates for the method name: tap, uncover, unwrap, unpack, open, operate, pierce, puncture, probe, peel, seize, grab, take, zoom, focus
I like "grab". It's kind of evocative of temporarily taking hold of the value, and also hints at grabbing the lock.


Addressing memory leak in listener creation

Pending the merge of https://github.com/kubernetes/ingress/pull/985

Coverage decreased (-0.01%) to 0.887% when pulling 9140ba73991aad07fe6ee4ee34c0a682d9fa2582 on listener-leak into 4e43554c3ece61dc94140abfb5de879f3fcb4c8d on master.

Coverage decreased (-0.0008%) to 0.877% when pulling 3ec80dc71334babb9d38d174190d76ee2598f17b on listener-leak into ca8f2b2acea244d07abff542698a98e1876cf3c4 on master.

includes commits from #166


Adding Persian translation.

I've used the plural forms for most languages (n != 1), the Localization Guide  says something different for Persian. If that matters, please leave a comment :)


Multiple inputs fusion model not working

Please make sure that the boxes below are checked before you submit your issue. If your issue is an implementation question, please ask your question on StackOverflow or join the Keras Slack channel and ask there instead of filing a GitHub issue.
Thank you!

[x] Check that you are up-to-date with the master branch of Keras. You can update with:
pip install git+git://github.com/keras-team/keras.git --upgrade --no-deps

[x] If running on TensorFlow, check that you are up-to-date with the latest version. The installation instructions can be found here.

[ ] If running on Theano, check that you are up-to-date with the master branch of Theano. You can update with:
pip install git+git://github.com/Theano/Theano.git --upgrade --no-deps

[x] Provide a link to a GitHub Gist of a Python script that can reproduce your issue (or just copy the script here if it is short).

Hi everyone , i am new to this field  and trying to make a model which will do the fusion of visible and thermal image to help improve the object detection results during night.
my code is as follows:
CODE******************
from keras.layers import Activation
from keras.models import Sequential
from keras.optimizers import SGD,Adam
from keras.layers import Dense, Input,Conv2D,MaxPooling2D,Dropout
from keras.layers.core import Flatten
from keras.optimizers import Adam
from keras.metrics import categorical_crossentropy
import numpy as np
from keras.models import load_model
from keras.datasets import mnist
from keras.models import Model
from keras.preprocessing.image import ImageDataGenerator, array_to_img, img_to_array, load_img
import pandas
from pandas import DataFrame
import tensorflow as tf
import numpy as np
import matplotlib.pyplot as plt

data_path1 = 'C:\tensorflow1\models\research\object_detection\images\csv1.tfrecords'  # address to save the hdf5 file
with tf.Session() as sess:
feature = {'train/image': tf.FixedLenFeature([], tf.string),
'train/label': tf.FixedLenFeature([], tf.int64)}
# Create a list of filenames and pass it to a queue
filename_queue = tf.train.string_input_producer([data_path1], num_epochs=1)
# Define a reader and read the next record
reader = tf.TFRecordReader()
_, serialized_example = reader.read(filename_queue)
# Decode the record read by the reader
features = tf.parse_single_example(serialized_example, features=feature)
# Convert the image data from string back to the numbers
image = tf.decode_raw(features['train/image'], tf.float32)
# Cast label data into int32
label = tf.cast(features['train/label'], tf.int32)
# Reshape image data into the original shape
image = tf.reshape(image, [150, 150, 1])
images, labels = tf.train.shuffle_batch([image, label], batch_size=10, capacity=30, num_threads=1, min_after_dequeue=10)

train_x1=image
train_y1=label

data_path2 = 'C:\tensorflow1\models\research\object_detection\images\csv2.tfrecords'  # address to save the hdf5 file
with tf.Session() as sess:
feature = {'train/image': tf.FixedLenFeature([], tf.string),
'train/label': tf.FixedLenFeature([], tf.int64)}
# Create a list of filenames and pass it to a queue
filename_queue = tf.train.string_input_producer([data_path2], num_epochs=1)
# Define a reader and read the next record
reader = tf.TFRecordReader()
_, serialized_example = reader.read(filename_queue)
# Decode the record read by the reader
features = tf.parse_single_example(serialized_example, features=feature)
# Convert the image data from string back to the numbers
image = tf.decode_raw(features['train/image'], tf.float32)
# Cast label data into int32
label = tf.cast(features['train/label'], tf.int32)
# Reshape image data into the original shape
image = tf.reshape(image, [150,150,1])
images1,labels1 = tf.train.shuffle_batch([image, label], batch_size=10, capacity=30, num_threads=1, min_after_dequeue=10)

train_x2=images1
train_y2=labels1
input1=Input(shape=(150,150,1))
x=Conv2D(32, kernel_size=(3,3), activation='relu',padding='same')(input1)
x=MaxPooling2D((2,2),padding='same')(x)
x=Dropout(0.25)(x)
x=Conv2D(64, kernel_size=(3,3), activation='relu',padding='same')(x)
x=MaxPooling2D((2,2),padding='same')(x)
x=Dropout(0.25)(x)
x=Conv2D(128, kernel_size=(3,3), activation='relu',padding='same')(x)
x=MaxPooling2D((2,2),padding='same')(x)
x=Dropout(0.25)(x)
x=Conv2D(64, kernel_size=(3,3), activation='relu',padding='same')(x)
x=MaxPooling2D((2,2),padding='same')(x)
x=Dropout(0.25)(x)
x=Conv2D(32, kernel_size=(3,3), activation='relu',padding='same')(x)
x=MaxPooling2D((2,2),padding='same')(x)
branch1=Flatten()(x)
model1=Model(inputs=input1,outputs=branch1)

input2=Input(shape=(150,150,1))
x=Conv2D(32, kernel_size=(3,3), activation='relu',padding='same')(input2)
x=MaxPooling2D((2,2),padding='same')(x)
x=Dropout(0.25)(x)
x=Conv2D(64, kernel_size=(3,3), activation='relu',padding='same')(x)
x=MaxPooling2D((2,2),padding='same')(x)
x=Dropout(0.25)(x)
x=Conv2D(128, kernel_size=(3,3), activation='relu',padding='same')(x)
x=MaxPooling2D((2,2),padding='same')(x)
x=Dropout(0.25)(x)
x=Conv2D(64, kernel_size=(3,3), activation='relu',padding='same')(x)
x=MaxPooling2D((2,2),padding='same')(x)
x=Dropout(0.25)(x)
x=Conv2D(32, kernel_size=(3,3), activation='relu',padding='same')(x)
x=MaxPooling2D((2,2),padding='same')(x)
x=Dropout(0.25)(x)
branch2=Flatten()(x)
model2=Model(inputs=input2,outputs=branch2)

from keras.layers.merge import concatenate
model_list=[branch1, branch2]
merged = concatenate(model_list,axis=1)
x=Dense(10, activation='relu')(merged)
x=Dense(10, activation='relu')(x)
output= Dense(3, activation='softmax')(x)
final_model=Model(inputs=[input1,input2],outputs=output)

compile the model
Adam = Adam(lr=0.001, beta_1=0.9, beta_2=0.999, epsilon=None, decay=0.0, amsgrad=False)
final_model.compile(optimizer=Adam, loss='categorical_crossentropy', metrics = ['accuracy'])

final_model.fit([train_x1,train_x2],[train_y1,train_y2],steps_per_epoch=20,epochs=10,verbose=1)
************************************************************************8
the error i am getting is:
Traceback
IndexError                                Traceback (most recent call last)
 in ()
----> 1 final_model.fit([train_x1,train_x2],[train_y1,train_y2],steps_per_epoch=20,epochs=10,verbose=1)
c:\users\neehal lingayat\anaconda3\envs\tensorflow1\lib\site-packages\keras\engine\training.py in fit(self, x, y, batch_size, epochs, verbose, callbacks, validation_split, validation_data, shuffle, class_weight, sample_weight, initial_epoch, steps_per_epoch, validation_steps, **kwargs)
953             sample_weight=sample_weight,
954             class_weight=class_weight,
--> 955             batch_size=batch_size)
956         # Prepare validation data.
957         do_validation = False
c:\users\neehal lingayat\anaconda3\envs\tensorflow1\lib\site-packages\keras\engine\training.py in _standardize_user_data(self, x, y, sample_weight, class_weight, check_array_lengths, batch_size)
790                 feed_output_shapes,
791                 check_batch_axis=False,  # Don't enforce the batch size.
--> 792                 exception_prefix='target')
793
794             # Generate sample-wise weight values given the sample_weight and
c:\users\neehal lingayat\anaconda3\envs\tensorflow1\lib\site-packages\keras\engine\training_utils.py in standardize_input_data(data, names, shapes, check_batch_axis, exception_prefix)
88         data = data.values if data.class.name == 'DataFrame' else data
89         data = [data]
---> 90     data = [standardize_single_array(x) for x in data]
91
92     if len(data) != len(names):
c:\users\neehal lingayat\anaconda3\envs\tensorflow1\lib\site-packages\keras\engine\training_utils.py in (.0)
88         data = data.values if data.class.name == 'DataFrame' else data
89         data = [data]
---> 90     data = [standardize_single_array(x) for x in data]
91
92     if len(data) != len(names):
c:\users\neehal lingayat\anaconda3\envs\tensorflow1\lib\site-packages\keras\engine\training_utils.py in standardize_single_array(x)
17     elif K.is_tensor(x):
18         shape = K.int_shape(x)
---> 19         if shape is None or shape[0] is None:
20             raise ValueError(
21                 'When feeding symbolic tensors to a model, we expect the'
IndexError: tuple index out of range

#148

@fchollet

Hi,
I am facing the same issue with a similar code snippet. Did you have a fix for this issue? Please include the fix if possible.
Thanks.

Hi, we actually stopped working on it long ago and no , we cudnt find
anything to solve it but mostly because our input data was of wrong format
or something to do with the dataset ....so I suggest looking into that I
haven't worked on it while but I might give it a try ......will let u know
if I figure something out.
On Tue 16 Jun, 2020, 12:00 PM Ananth Reddy<EMAIL_ADDRESS>wrote:

Hi,
I am facing the same issue with a similar code snippet. Did you have a fix
for this issue? Please include the fix if possible.
Thanks.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/keras-team/keras/issues/10639#issuecomment-644560165,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJTEX5L33RDL23F5ZJTXNT3RW4GR5ANCNFSM4FJFTYPQ
.

In my case, by converting the labels into a pandas Series rather than a TensorFlow tensor had fixed the problem and the model training began. Please check for the type of train_y1, train_y2 and change them to pandas Series. That should be a quick fix.


Regular to Mega evolution mapping?

I was wondering if there was a resource that directly mapped a pokemon to its mega-evolution. For example, Venusaur's resource at /pokemon/3/ would map to Mega Venusaur's resource at /pokemon/10033/.
I think that the forms object for a pokemon should list all of its forms, whether it's a regular evolution (Ivysaur to Venusaur), mega evolution (Venusaur to Mega-Venusaur), or alternate form (Rotom, Rotom-Heat, etc.)
This will make jumping between pokemon forms much easier, and will be useful for querying its evolution data without knowing specifics like the id or name. That's just a suggestion, any thoughts?

@smasher164  checkout the pokemon-species/3/ under the varieties parameter. Anything with a mega evolution should list their mega "form" here. Mega's are a bit odd because they're technically not forms or evolutions. evolutions can be found on the evolution chain of the pokemon-species resource. I'm always open to discussing this stuff further though because some of the data I do believe is a little "iffy" in implementation. I've stuck with the veekun dataset pretty much exactly as it is because I've found they usually have solid reasons for doing things the way they did.

@zaneadix Thank you so much for responding, this helps quite a bit! I was just hoping to put in a suggestion for a more clear way to jump from a pokemon to its mega-evolution. I took a look at veekun's site and noticed that they list a mega-evolution under "forms", both in the UI (http://veekun.com/dex/pokemon/venusaur#forms) and a query-string parameter (http://veekun.com/dex/pokemon/venusaur?form=mega).
Do you think that maybe merging forms with varieties is a good idea? I wasn't able to understand a clear difference between the two.

I think the data model is fine here, but I would suggest renaming:

forms in /pokemon/ to form since AFAIK it only contains the form that the given pokemon matches with
varieties in /pokemon-species/ to forms to avoid confusion

Renaming attributes is tricky with public APIs - we break every single integration if we do that. D:

@matthewdias there are some pokemon that will have a list.
http://pokeapi.co/api/v2/pokemon/unown/
unknown for instance lists every letter form.
The forms/varieties are tricky and a little weird from what I've seen in Veekun's data. If anyone would be willing to dig around in https://github.com/veekun/pokedex and see what exactly is the reasoning behind all of the relationships  and bring some findings back here maybe we could do some re-org (most likely not of the param names though). I did quite a bit of digging through veekun's repo but honestly things can get dense and I found my brain melting while reading late at night too often so I just went with what we got out of the box.

@zaneadix Haven't poked around too much, but it seems like the unown forms (are there any others like these?) are listed under the pokemon resource for 201, because they only look different and don't have any different stat information or anything like that. So I guess forms are different versions of the pokemon, whereas varieties are different versions of the species?

Can I again urge that changing attributes will break every single integration that relies on those attributes. We are not removing any attributes in the APIs that are currently live. If we make changes we should alias them and keep the duplicates.

It's not a huge issue. It's fairly trivial to make the second request, so if it would break too many things its probably fine to leave it as is. It just makes more sense from an organization standpoint. Guess we can close this one?

After looking at the data-set, it's clear that we can access /pokemon-species/ in the same way we access /pokemon-form/. This solves my problem, and is a good way to jump to a mega. I'll withdraw this issue, thank you! :smile:


Cant figure out Nerdfont

I tried installing every font on the nerdfont website but i still se the glyphs. What fonts should i doenload and where. Im using windows 11

I think you only need one nerdfont, the problem is that there's no way to configure the font in the app, I think it defaults to the primary font of the OS

I have installed the FiraCode Nerd Font and FiraMono Nerd Font but when I open the Griddycode, it still gives blurry characters.
https://github.com/face-hh/griddycode/assets/113270877/2a906792-698f-4d7b-b805-aaaf8b929f82

Try 0xProto Nerd Font, its the first one that pops up and it worked for me.

I tried installing the 0xProto Nerd Font, still showing blurry on Windows 11.

Same here.

Closing as it now works on v1.0.4


make_future_dataframe freq 'M' generated data is odd

when I use make_future_dataframe with param freq='M', the dates generated is the last day of the month,It's strange.How about use shift method to get the first day of the month predicated?like
dates = pd.date_range(
start=last_date,
periods=periods + 1,  # An extra in case we include start
freq=freq).shift(1, freq='D')

make_future_dataframe is a pretty thin wrapper on pd.date_range. It supports a wide range of freq options which you can read about here: http://pandas.pydata.org/pandas-docs/stable/timeseries.html#offset-aliases
You can get first day of the month with 'MS'. I agree that first day of the month seems more natural than last, but since this is the pandas default I'm inclined to not try and override it.

use freq = 'MS'


TypeError: Object of type Timedelta is not JSON serializable

Please fix the issue
tsp = TimeSeriesPreprocessor(
timestamp_column=timestamp_column,
id_columns=id_columns,
target_columns=forecast_columns,
scaling=True,
)
tsp.train(train_data)

Hello, could you let me know how you fixed this?

clone the repo using !git clone https://github.com/IBM/tsfm.git
Open time_series_preprocessor.py file and add following two lines to recursive_check_ndarray method
elif isinstance(value, timedelta):
dictionary[key] = str(value)
It worked for me


Update third-party Lightbox to 2.11

This pull will update Lightbox from v2.8.2 to v2.11.
Changelog: https://github.com/lokesh/lightbox2/releases

Thanks @Juanitou, we're working on getting this pr in't our schedule to do some quick testing.


filter molecule for templates

This PR sets the stage for some important changes:

instead of matching templates by resnames each residue now requires a template_name attribute. This allows matching of non-identical residues that has the same resname
extract blocks now takes a template graph as input to extract the interactions, which is also used in PR #327

To Do

[ ] move ExtractBlock to separate file something like manipulate_molecules.py
[ ] speed up equivalence check or at least enable a bypass

@pckroon do you have any idea how to do the code below in faster?
https://github.com/marrink-lab/polyply_1.0/blob/b97ba7126cfb972bd33f2a1315059f5cbf16a2b8/polyply/src/generate_templates.py#L295-L314

note to self vf2pp from networkx 3 might speed up matching process also proper line by line benchmark is needed

Currently polyply assumes all residues are unique. That is mostly true but not quite at least at the all-atom level. For example, there might be a hydrogen extra or less depending on if a residue is located in the center or at the terminal. This functionality checks each residue against a collection of unique residues in order to find those that have the same resname but deviate as graphs. It makes generating the templates more robust for complicated AA structures

Alright. I don't think there's really a faster way then. Unless you are willing to accept approximation, e.g. only check atom names.


Create time difference residual histogram plot

This code TimeDiffResidualPlot.py first calculates the time difference between each detector pair, making sure that they are all within the 40ms limit. Then it plotted the time difference residual in a histogram plot by calculating the difference between true time difference and expected time difference between each detector pair.

Should I save the output figure or simply doing plt.show() is enough? If we want to save the plot, where should we save it?


How to solve No OpKernel was registered to support Op 'CTCLoss'

Now I put the trained model on the android device, suggesting that there is no "No OpKernel was registered to support Op 'CTCLoss' with these attrs." How can I get him support Op 'CTCLoss'
My PC is Ubuntu 16.04 and AndroidStudio is 3.0.
Tensotflow is 1.6

The error message is as follows:
08-14 10:43:30.332 11166-11166/com.example.hc.digitalgesturerecognition E/TensorFlowInferenceInterface: Failed to run TensorFlow inference with inputs:[the_input], outputs:[output_node0]
08-14 10:43:30.336 11166-11166/com.example.hc.digitalgesturerecognition E/AndroidRuntime: FATAL EXCEPTION: main
                                                                                Process: com.example.hc.digitalgesturerecognition, PID: 11166
                                                                                java.lang.IllegalArgumentException: No OpKernel was registered to support Op 'CTCLoss' with these attrs. Registered devices: [CPU], Registered kernels:

                                                                                [[Node: ctc/CTCLoss = CTCLoss[ctc_merge_repeated=true, ignore_longer_outputs_than_inputs=false, preprocess_collapse_repeated=false](ctc/Log, ctc/ToInt64, ctc/ToInt32_2, ctc/ToInt32_1)]]
                                                                                At org.tensorflow.Session.run(Native Method)
                                                                                At org.tensorflow.Session.access$100(Session.java:48)
                                                                                At org.tensorflow.Session$Runner.runHelper(Session.java:298)
                                                                                At org.tensorflow.Session$Runner.run(Session.java:248)
                                                                                At org.tensorflow.contrib.android.TensorFlowInferenceInterface.run(TensorFlowInferenceInterface.java:228)
                                                                                At org.tensorflow.contrib.android.TensorFlowInferenceInterface.run(TensorFlowInferenceInterface.java:197)
                                                                                At org.tensorflow.contrib.android.TensorFlowInferenceInterface.run(TensorFlowInferenceInterface.java:187)
                                                                                At com.example.hc.digitalgesturerecognition.Classifier.predict(Classifier.java:115)
                                                                                At com.example.hc.digitalgesturerecognition.CameraActivity$2.onImageAvailable(CameraActivity.java:285)
                                                                                At android.media.ImageReader$ListenerHandler.handleMessage(ImageReader.java:812)
                                                                                At android.os.Handler.dispatchMessage(Handler.java:108)
                                                                                At android.os.Looper.loop(Looper.java:166)
                                                                                At android.app.ActivityThread.main(ActivityThread.java:7425)
                                                                                At java.lang.reflect.Method.invoke(Native Method)
                                                                                At com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245)
                                                                                At com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Have I written custom code
OS Platform and Distribution
TensorFlow installed from
TensorFlow version
Bazel version
CUDA/cuDNN version
GPU model and memory
Exact command to reproduce
Mobile device

@tensorflowbutler
Thank you, it is like this
In Tensorflow's SO file, I didn't write my own code.
My development environment is Ubuntu 16.04, and the Android device is HUAWEI MATE 10 (Android 8.0).
TensorFlow is installed using PIP
Tensorflow version is 1.6
Bazel is new master
CUDA Version 9.2.148
NVIDIA GeForce GTX 860M GPU memory is 4GB

Nagging Assignee @petewarden: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @petewarden: It has been 29 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @petewarden: It has been 50 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @petewarden: It has been 80 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @petewarden: It has been 110 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

We are deprecating the mainline TensorFlow build on Android, so closing this, but this Stack Overflow answer may help:
https://stackoverflow.com/questions/44938809/how-to-add-operations-into-tensorflow-android-build


feature/#349 - history and scan lists now have displayed timestamps

History and Scan lists now behave differently from the other lists.
They use "extra data": a product is in the History (or the Scan) list
if it has as an "extra data" the "last seen timestamp" (or the last scan timestamp).
Bad news: as it's a new concept in the app, we'll start from scratch for both lists.
Impacted files:

continuous_scan_model.dart: new way of adding a product to scanned products; refactoring
continuous_scan_page.dart: unrelated color fix
dao_product.dart: added "last seen" and "last scan" as extra data, with a direct access to products that have those extra data
dao_product_list.dart: history and scan lists are now handled as "different" lists, computed from the "last seen" and "last scan" extra data; refactored
product_list.dart: added extra int data; cleaner "same product list" test
product_list_dialog_helper.dart: cleaner "same product list" test
product_list_page.dart: added dates to the display
product_page.dart: simplified history management
smooth_product_card_found.dart: added an optional refresh parameter, after visiting the product page

Thanks for the pr @monsieurtanuki, I don't have a proper understanding of the part of the code, so I can't follow exactly what is happening, but there is nothing that catches my eye. I'll trust you on that.

Bad news: as it's a new concept in the app, we'll start from scratch for both lists.

What exactly has changed now, if I remember correctly we had only the normal lists in a db the rest in shared preferences. Has something changed in the db or in the anyway temporary shared prefs code?
What exactly do you have planned, how do you envision the new lists? Is there still the plan with several list types, since we had deactivated them for the time being.

Hi @M123-dev
For the moment I only changed the history and scan lists, not the user lists.
Regarding the database, we store single products in the product table, with the barcode as the primary key.
And we used to store history and scan lists in the product_list table: basically, a list of barcodes.
But we didn't store the products last seen or last scan timestamps, which are needed for #349.
In this PR, we don't use product_list for history or scan list anymore - though perhaps we could use product_list in order to store legacy data (with fake "now" timestamps), in order not to start from scratch.
The idea here is to say: we don't maintain explicit product lists for history and scan, let's use the additional product_extra table (where for a barcode and a "key" we store a "value").
We "build" both lists on the fly saying something like: "the history list is the ordered list of products that have a value in product_extra for the key "last_seen" - this stored value being the last seen timestamp for this product.
Doing so:

we have the needed additional data (last seen / last scan timestamp)
it's faster and easier to maintain lists - instead of storing the whole history list every time we see a product, we just say "for this barcode, let's store "now()" as the "last_seen" value

TL;DR
For the moment it only affects history and scan lists.
But I guess that could be generalized to all lists, and even to pantries and shopping lists that aren't currently in the database (but are in the shared preferences). In another issue / PR.

@M123-dev Actually I'll probably update this PR today, preparing the refactoring that will later include shopping lists and pantries.

@M123-dev @stephanegigandet @teolemon The main question that blocks me: does that make sense to see a product several times in the same list?

Hey, catching up, sorry.

[ ] On a User side: Displaying it several times does not make sense very often, and only in certain use cases, with additional features (like in food logging). In a simple history, no, it does not make much sense.
[ ] Technically speaking, logging all the times it was scanned, and using .last() would make sense, so that we don't have to change the DB schema in the future ?
[ ] Caching or not caching the history is also tricky, since pictures and product names, and scores might change over time.

does that make sense to see a product several times in the same list?

@monsieurtanuki I would say it depends on what kind of list. In pantries and normal lists not really, but in the history I would say it definitely makes sense.
When we look at Google Maps as example, when I look at a place there is sometimes a field "Last visited: xx.xx.xxxx". But you can also go and and visit the whole history, there double entries make sense in any case.
We have to choose what is our goal with the history. At least for me I am not that interested when I last saw a product in a store (and scanned it) but more what the name of the product I scanned last week was.

@teolemon @M123-dev Thank you guys for your answers.
Basically you say that it's needed to be able to store the same food several times in the same list - I'm lucky I asked because that was not my point of view at all.
I'm going to implement this. In first approach, I'll display all the occurrences of a product for a given list, then we'll refine the display.
@teolemon By the way I'm not storing product data history at all, just one version of the product (the latest) for a given barcode. And pictures are not cached at all either.

@monsieurtanuki : I think it would indeed make sense to use the same mechanisms (and the same code) for all types of lists, scan history, favorites, pantry, food intake tracking etc.
Regarding the discussion between having multiple entries for one product, or only one: both use cases are interesting. And for pantry, it's even clearer that we need both: it's very interesting to see the current inventory of the items we have, and it's also very interesting to look at the history to see how many products we purchased in a month etc.
An easy and generic solution is to have two tables:

a transaction log table, with one entry each time a product is added / removed from a list, with a date of the transaction
a current state table, with a unique entry for each product in the list, and just a few stats (number of items currently in the list, date of last transaction)

It's like a bank account: we have the balance, and also the history of all transactions.

Thank you @stephanegigandet for your comment. You're right, it's better if we find tables that fit many purposes.
I'm not a big fan of a transaction table, as I cannot visualize currently clear use cases (except for food maniacs).
And you add either consistency issues or performance issues. Probably both.
I'll skip that part for the moment.
My suggestions regarding tables:

product (same as now): the primary key is the barcode, the content is the product as json
product_list (same as now): one row per list, like its name, its parameters, its colors, and a generated id as primary key
product_list_item: one row per barcode in a list, with an integer column for ordering data (like a timestamp or a 1,2,3 order), and a string value that contains a custom json string (scan timestamps for scan, product page timestamps for history, quantities for shopping list, quantities and dates for pantries)

With the custom json string, we can do whatever we want.
With the integer column, we can quickly sort the items without having to load all the items in order to decode their json and order the items accordingly.
What do you guys think of that?

@monsieurtanuki I think the idea is quite good, especially that we then only have to write a list code. But I would recommend that we add a type parameter to product_list which specifies what type of list we are using.
What do you think about also adding a string with json data to every product in the product table. In which then the scan timestamps and product page timestamps will be stored, because they are universal and not per list

For the transactions, a very important use case is to be able to see one's consumpting over time, e.g. month to month. How many products I have eaten? How many packagings I have generated? Is the average Nutri-Score of food products I buy going down or up? Am I eating less and less meat? etc.
Even when scanning products, it's very useful so that you can say things like "You last bought this item on June 20th 2020".
And that's just obvious use cases, being able to look up history certainly opens many more use cases.
Regarding performance issues: I'm not very worried. There won't be a lot of transactions, and even if someone has 100 000 transactions (that's 10 products added or removed every day for 3 years), that wouldn't be a big problem...

@M123-dev My answers:

there's already a type parameter for product lists
your idea of adding to products a json with the scan and seen timestamps does not make sense: we definitely need sortable data like an integer (e.g. latest timestamp). Without that, we have to load all the products in order to decode their json, then sort the decoded jsons. Not practical for the latest 5 products in the home page. In addition to that, there's no reason not to consider history as a list of products (a special one, I admit).

@stephanegigandet We do agree, the use cases for a transaction table is for food maniacs and have not even been remotely mentioned in issues so far. I don't reject the concept, but it's not a priority at all. And even the way you see things, we'll need both aggregate tables (like now) and transaction tables: whatever I'm coding for aggregate tables is not going in the wrong direction. Later we'll have to add transactions aside, in new tables.
You're not worried with database performances. I am. Especially on old smartphones, and for the home page. That's why I benchmarked json and SQL databases.

we definitely need sortable data like an integer (e.g. latest timestamp). Without that, we have to load all the products in order to decode their json, then sort the decoded jsons.

@monsieurtanuki makes sense, I wasn't thinking about the history list, but rather when a known product was last scanned/opened. But I completely lost sight of the history list there.

For the transactions, a very important use case is to be able to see one's consumpting over time, e.g. month to month. How many products I have eaten? How many packagings I have generated? Is the average Nutri-Score of food products I buy going down or up? Am I eating less and less meat? etc.

@stephanegigandet, we should also be able to get these data with the current proposal from @monsieurtanuki.
If we add tracking functionality later, it would probably be better to create a list for products bought and a list for products eaten, rather than looking at when they were removed from a list. Especially the eaten list will also need a parameter for how much of a product has been eaten.

@monsieurtanuki

whatever I'm coding for aggregate tables is not going in the wrong direction. Later we'll have to add transactions aside, in new tables.

Agreed.

For the moment the history and scan timestamps of each product are available via a lousy button at the end of the page:

Any opinion on that button is welcomed!
For the moment, only the history and scan timestamps are involved.
The idea is to extend that idea of [barcode, list id] => [int value, json value] to all lists, including the pantries and the shopping lists. But in another PR.

I suggest that we also store the "refresh from web" timestamp for each product, in a similar way as history and scans.
With that we could say which products need to be refreshed, e.g. with a one-week-guaranteed-freshness policy.
If you're ok with that, I can add this feature (just the new historical data, not the refresh policy) and merge the code.

@monsieurtanuki good idea, I don't see any point against the implementation of that.

I've just added the "server refresh" timestamp history.
I left the ugly "timestamps" button at the bottom of the product page, at least temporarily, in order to be able to check the different timestamp lists and to think about how to display those timestamps with more subtlety. Feel free guys to remove that button.
I don't think there are many developers here ready to check my SQL code; if you don't mind I'll merge this PR without explicit approval by the end of the week.
Then I'll go on with the database refactoring (#166), that will make the following things possible:

reordering product lists
shopping lists and pantries in database (and not lousy SharedPreferences)

Thank you @M123-dev for your comments!


Add extra browser specific http headers

The headers that tend to store the real useragents are:
Opera Mini - HTTP_X_OPERAMINI_PHONE_UA
Opera Mini (legacy) - HTTP_X_OPERAMINI_FEATURES
Opera Mobile - HTTP_DEVICE_STOCK_UA
SkyFire Browser - HTTP_X_SKYFIRE_PHONE
Bolt Browser - HTTP_X_BOLT_PHONE_UA
UCBrowser - HTTP_X_UCBROWSER_DEVICE_UA
Common Browser Proxies - HTTP_X_ORIGINAL_USER_AGENT
Web Forms - HTTP_X_DEVICE_USER_AGENT
This pr adds SkyFire Browser and Bolt Browser to the analyse browser specific headers section.

Coverage decreased (-0.03%) to 99.97% when pulling 91beaa85b83c969c8b213a853ce7536687a2845e on ayumi-cloud:http-headers into da24adc4f4f26002673d236e69b91a10f2fd594c on WhichBrowser:master.

Coverage decreased (-0.03%) to 99.97% when pulling 91beaa85b83c969c8b213a853ce7536687a2845e on ayumi-cloud:http-headers into da24adc4f4f26002673d236e69b91a10f2fd594c on WhichBrowser:master.

Warning incomplete pr ... need to finish off the code inside the two class files ? Also maybe need to add some tests ?

Warning incomplete pr ... need to finish off the code inside the two class files ? Also maybe need to add some tests ?

This pr not finished - it doesn't have ua tests.

Closing already merged into the repo and test cases are currently working.


JS to Py Conversion Regressions

The following 2 bugs which were fixed earlier and now back in geemap v 0.34.0. Tested in colab and both of the following bugs exist in the production version.
https://github.com/gee-community/geemap/issues/1888
https://github.com/gee-community/geemap/issues/1887

Thank you for reporting. The previous fix was accidentally reverted in a PR by another contributor.
I have again fixed in #2123. I will release a new version later today.


Azure Signalr with dotnet-isolated - Error: Failed to start the connection: Error: None of the transports supported by the client are supported by the server.

I am Implement Azure signalr with .net 5.0.
This is My Code:
------------------------------------Azure Function(Function.cs)------------------------------------------------------------
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Reflection;
using Microsoft.Azure.Functions.Worker;
using Microsoft.Azure.Functions.Worker.Http;
using Microsoft.Extensions.Logging;
namespace SignalRDemo
{
public static class Function1
{
[Function("index")]
public static HttpResponseData Index([HttpTrigger(AuthorizationLevel.Anonymous)] HttpRequestData req, FunctionContext context)
{
var root = Path.GetDirectoryName(Assembly.GetEntryAssembly().Location).Split("\bin")[0];
        var path = Path.Combine(root, "content", "index.html");

        var response = req.CreateResponse(HttpStatusCode.OK);
        response.Headers.Add("Content-Type", "text/html; charset=utf-8");

        response.WriteString(File.ReadAllText(path));

        return response;

    }

    [Function("negotiate")]
    public static SignalRConnectionInfo Negotiate(
       [HttpTrigger(AuthorizationLevel.Anonymous, "post")] HttpRequestData req,
       [SignalRConnectionInfoInput(HubName = "NotificationHub")] SignalRConnectionInfo connectionInfo, FunctionContext context)
    {
        return connectionInfo;
    }

}

public class SignalRConnectionInfo
{
    public string Url { get; set; }

    public string AccessToken { get; set; }
}

}
----------------------------------------Index.html-------------------------------

Azure SignalR Serverless Sample

@krishna707patel -  Thank you for your question.
Can you please share with us the URL of the document that you are having issues with?
Please note that we scope issues on this repo to feedback related to the docs. If you have a product question, please post it on Microsoft QnA or Stack Overflow. Thank you for your understanding.

@krishna707patel - Thank you for your question.
Can you please share with us the URL of the document that you are having issues with?
Please note that we scope issues on this repo to feedback related to the docs. If you have a product question, please post it on Microsoft QnA or Stack Overflow. Thank you for your understanding.

@krishna707patel - Since we have not heard back from you we will now proceed to close this thread.
However if you can share additional information regarding the documentation you are referring and circle back on this thread , we will gladly reopen the issue and continue the discussion. Thank you.


Deprecate go 1.17

Issue #, if available:
Description of changes:
We are moving forward with deprecating EKS-Go 1.17 (will not update or backport new CVE's). All our Golang artifacts from EKS-Go 1.17 are still will be available in our Public ECR.
As this poses immediate risk to users of EKS-Go 1.17, we HIGHLY recommend that users of EKS-GO v1.17 update to a supported version of EKS-Go (v1.18+) as soon as possible.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm

/retest

/test all

/retest-required

/approve


remove GetVulnerabilityOccurrencesSummary

This method is too specific to vuln occurrences.

Why does this also include a bunch of files removed from the v1beta1 folder?


Conformations and Docking

A few questions:

Is there any significant downside to inputting a ligand as a 2D .pdbqt file rather than its 3d equivalent?
Assuming the answer to (1) is a yes, maybe Autodock Vina can integrate some RDKit functionality? As of now, their ETKDG provides the best 3D-structure generation of all non-commercial tools.

I can share a standalone script that can convert 2d .sdf to 3d equivalent.

That being said, does Vina alter the conformation of the ligand across poses? To what extent, even if I set very high values of exhaustiveness?

I used RDKit to generate about a hundred conformers (exhaustive) for a single ligand and ran Autodock (all specs being the same, alongside seed value) for each of them but the best scores varied widely.

If I do a local energy minimization prior to docking, shall I expect the previous disparity to minimize?

I am not inclined to think so; energy minimization is generally a lot less valuable when using ETKDG.
That being said, using v.optimize() outputs ERROR: The ligand is outside the grid box. Increase the size of the grid box or center it accordingly around the ligand and stops docking.

If I am looking at only the best pose, I expect to set dock(n_poses=1)? But, best values are different when using dock(n_poses=20)

Yes. Very significant. Even if the molecule is planar, some 2D representations have a different scale (e.g. bond lengths are shorter)
Such ETKDG to Vina integration can be achieved at the Python level, using Meeko: https://github.com/forlilab/Meeko
Vina rotates bonds that are rotatable. Bond lengths, angles, and improper dihedrals (e.g. planarity of sp2 atoms) are unchanged.
If minimizing the conformers yields fewer conformers, because some of them minimize towards a common conformer, the disparity should decrease. v.optimize() does not change bond lengths, bond angles, and impropers. v.dock() calls v.optimize() internally, several times.
Are you sure it's reproducible? Docking results vary from run to run (it's stochastic).

Thanks.
Interesting package - I regret to have had missed this!

I wrote my own python script to generate 3D PDBQT conformations from a 2D SDF via RDKit (ETKDG) and fed each to make_ligand4.py (ADFR Suite).
Unless I am intending to dock with explicit water molecules or sample macrocyclic conformations, how is your tool better?

If I read you correctly, Vina can generate some conformations but not all.
Understood.
I had used the same seed?

For non-macrocyclic molecules, your script probably gives the same results as meeko, where results means atom types, rotatable bonds, and partial charges. Some rotatable bonds may differ because meeko makes tertiary amides rotatable (the C-N bond) if the substituents on the nitrogen are non-equivalent.
Yep, that's correct.
I can see this too, even from command line with --num_modes 1. will look into it. Thanks for reporting!


Limitation on Number of Samples Used/DE Filtering Issue?

Hello,
I have a question regarding whether or not there is a limit to the number of samples used with the CIRI_DE_replicate command in the differential expression portion of the CIRIquant pipeline. I'm currently trying to analyze a data set of about 10500 samples (including biological replicates) and have noticed some strange outputs in my circRNA_de.tsv output file. There were only six DE circRNA, which I initially assumed to be because of the larger sample size. However, when scrolling through the .tsv, I saw that over half (646,400 or 61%) of the circRNAs listed had a logFC = 0, PValue = 1, and FDR = 1. I have run multiple other data sets with CIRIquant and have never had this issue before.
Is it possible that either there is a limitation on the number of samples that can be parsed, or that there is an issue with the filtering step in the DE pathway that let these non-significant circRNA through?
Thank you for your time & any suggestions!

Hi @mlvanhorn , CIRIquant uses the edgeR package for DE analysis and there is no sample number limitation.
It's likely that many circRNAs are only expressed in a few samples, so the average expression is zero in both groups. At the same time, the large number of circRNAs means it's hard for DE circRNAs to pass FDR correction. Thus, I suggest you filter the de results based on occurrence and expression level to reduce the total number of circRNAs, then perform multiple tests to re-calculate the FDR values.


ElectronNET.Host target framework not supported (.NET Framework 4.0)

OS: Win10
Visual Studio 2022 v 17.5.3
Cloned repo, tried to open ElectronNET.sln, the following message appears:

While .NET 4 is not cross platform compatible, just for Windows, it should be replaced with something else...
BTW what the purpose of ElectronNET.Host project?

BTW what the purpose of ElectronNET.Host project?

This is the actual host process (the one running in the Electron shell; that's why the project has JavaScript sources). From an architecture POV this is actually the most important piece as it allows Electron to communicate with .NET (and vice versa).

While .NET 4 is not cross platform compatible, just for Windows, it should be replaced with something else...

While true it also does not really matter - .NET 4 is anyway not used here. This is I guess just an historic artifact.


Add Parsl Plugin

We should have a plugin to execute a Parsl workflow as part of a larger 'Workflow' activity. This plugin should:
[] use the Parsl configuration/provider on an arbitrary machine (supercomputer, laptop, etc.)
[] have a well-defined model for inputs and outputs.
[] have a mechanism to ensure a Parsl workflow script has proper components.
[] have a logical path for results (i.e., do we have to write to file? Can we send upstream?)
I will write out a plan to create this plugin and gather feedback from the team before building.
Link to Parsl docs: https://parsl.readthedocs.io/en/stable/

@tskluzac This issue was created two years ago. Is it still relevant or can it be closed?


What the best way to use webhook for subscription ?

Hi
Currently using stripe and this package (symfony bundle) to build as subscription on stripe :
According stripe documentation
Webhooks should be used to provision and renewal (checkout.session.completed and invoice.paid), invoice.paid is not implement but i can register an extra action.
I have implemented webhook with dedicated (unsafe) route provided, i am new to payum and i am a bit confused on how to hook my own logical.
As far as i understand, when webhook is received, payment is retrieved and detail is updated (stored in doctrine in my case), but i need to perform extra steps on my customer account (another entity linked to payment), such as update subscription date.

Should i need to listen on payum event (execute/postExecute ?) if so on which action can i retrieve needed info and rely on ?
Should i extend an action ?

Thanks for your help
Regards

Hello @lwillems,
I'm also using this library with the Sylius plugin to provide subscriptions on our shop.

create a Payum ConvertSubscriptionAction (it will be nearly the same action as this one), it will add subscription_data to the array used to create a Stripe Session object. Tips : your payment object is available on the $request object : $request->getSource() allowing you to know what is the products you will have to add to the subscription_data array.
checkout.session.completed, checkout.session.async_payment_failed and checkout.session.async_payment_succeeded are already setup into this library, you just have to setup the webhook into Stripe dashboard (the webhook url is always the notify unsafe one describe in the doc). Async events are required for sepa_debit or other async payment method.
listen to invoice.payment_failed and invoice.payment_succeeded by creating two new Payum actions : InvoicePaymentFailedWebhookEventAction and InvoicePaymentSucceededWebhookEventAction extending \FluxSE\PayumStripe\Action\Api\WebhookEvent\AbstractWebhookEventAction. Example :

<?php

declare(strict_types=1);

namespace App\PayumStripe\Action\StripeCheckoutSession\Api\WebhookEvent;

use FluxSE\PayumStripe\Wrapper\EventWrapperInterface;
use Payum\Core\Exception\RequestNotSupportedException;
use FluxSE\PayumStripe\Action\Api\WebhookEvent\AbstractWebhookEventAction;
use Stripe\Event;

final class InvoicePaymentSucceededWebhookEventAction extends AbstractWebhookEventAction
{

    private foo $handler;

    public function __construct(foo $handler)
    {
        $this->handler = $handler;
    }

    protected function getSupportedEventTypes(): array
    {
        return [
            Event::INVOICE_PAYMENT_SUCCEEDED,
        ];
    }

    public function execute($request): void
    {
        RequestNotSupportedException::assertSupports($this, $request);

        /** @var EventWrapperInterface $eventWrapper */
        $eventWrapper = $request->getModel();
        $event = $eventWrapper->getEvent();

        $this->handler->handle($event);
    }
}

The service $this->handler will be in charge of making what you need to do with you own doctrine entities.
Tips: you can also execute other Payum requests by implementing the Payum\Core\GatewayAwareInterface using the Payum\Core\GatewayAwareTrait and give the $this->gateway to $this->handler->handle($this->gateway, $event).

I also listen for customer.subscription.updated event to update my database when the subscription is created in Stripe, when it expire or status changes.

Hope it helps you 😉

Hi @Prometee
It was so helpful for my understanding of payum architecture.

About subscription auto-renewal, i am not able to test, can you confirm that when it's occurs, invoice.payment_succeeded event is sent with invoice billing_reason to subscription_cycle and with initial metadata from subscription creation (token_hash) ?
Regards,

@lwillems Yes those events are triggered, to test it I made a 2 days cycle sub.
You can store some info into the metadata of the created subscription :
# ConvertSubscriptionAction.php (#1 of my previous comment)
$details->offsetSet('subscription_data', [
    // ... other attributes like items etc
    'metadata' => [
        'my_metadata_id' => $something,
        // 'token_hash' will be set automatically by this library, so you don't have to worry about it and this token hash won't be consumed and deleted after the first use because the notify unsafe which will receive it is not aware of it, only a notify safe is using a token and delete it after use.
    ],
]);

// dont forget to `setResult` after adding what you needed to the `$details` array
$request->setResult($details);

About the billing reason, I have several checks like this into my InvoicePaymentSucceededHandler to avoid processing invoice of the first cycle for example:
use Stripe\Invoice as StripeInvoice;

if (
            // skip the first created invoice
            $stripeInvoice->billing_reason === StripeInvoice::BILLING_REASON_SUBSCRIPTION_CREATE
) {
    return null;
}

@Prometee
Nice tips for 2 days cycle and metadata, will give it a try.
So as far as i understand, you are using InvoicePaymentSucceededWebhookEventAction only for renewal and CheckoutSessionCompletedAction for 1st created subscription ?
I guess you have overrided native CheckoutSessionCompletedAction ? because bundle native one is only updating payum storage entity details and you probably need to update your own entity at this step too ?
Regards

So as far as i understand, you are using InvoicePaymentSucceededWebhookEventAction only for renewal and CheckoutSessionCompletedAction for 1st created subscription ?
yes, because the first order is already created by Sylius in my case, then each new Stripe invoices are synced to Sylius Order for accounting reasons (we are not using Stripe invoices for our accounting).

I guess you have overrided native CheckoutSessionCompletedAction ? because bundle native one is only updating payum storage entity details and you probably need to update your own entity at this step too ?
If you are using doctrine then Payum is triggering the update of the Payment entity if needed. If your entity is linked to this entity then Doctrine will also save any update of it. If not you will have to use your doctrine manager carefully, to update your subscription entity.

@Prometee : What is the most effective method for tracking all payments associated with subscriptions? The initial payment entries are created when a user subscribes, but how can we generate additional payment entries when the subscription is renewed? Is there a more efficient approach to handle this process?

@oulfr if you use Checkout Session with subscription type, the initial payment will create a Stripe Subscription and it will be saved in the Payment details field. Then Stripe will handle the subscription payments on each cycles (month for ex).
You can handle subscriptions with very different maners, you can ask for a Stripe SetupIntent for the first initialization of the sub and then handle each payments by yourself. You can even let Stripe manage the subscription but it will require to sync all new Orders and Payments if you already have an accounting software of want your shop to deliver the invoice.
On my side, since my company is only selling software licences, I let Stripe handle all the cycles and sync the invoices to orders, payments into my shop. And I also manage the subscription from within the shop to pause, cancel, change the default payment etc.

Thank you for your response. Do you have an example of how you have synced invoices with orders and payments in your shop? or what do you have implemented ?

@Prometee: It's exactly what i planned to do, Thank you for your support


Python Sample is not working in Windows 11

Hello, my name is lee-minseok.
I found an interesting repository called diart in the past.
It looks so interesting to me, but I can't execute this code.
Similar Issue : https://github.com/juanmc2005/diart/issues/149
Code
https://github.com/juanmc2005/diart#from-python
from diart import OnlineSpeakerDiarization
from diart.sources import MicrophoneAudioSource
from diart.inference import RealTimeInference
from diart.sinks import RTTMWriter

pipeline = OnlineSpeakerDiarization()
mic = MicrophoneAudioSource(pipeline.config.sample_rate)
inference = RealTimeInference(pipeline, mic, do_plot=True)
inference.attach_observers(RTTMWriter(mic.uri, "/output/file.rttm"))
prediction = inference()

Environment
**Windows 11**

Stale issue. Feel free to re-open if needed


cert-manager support

Instead of generating the certificates out of band, then injecting them, it would be nice if the helm chart supported asking cert-manager to do that automatically.
Cert-manager even uses this mechanism to register its own webhook. For example, see:
https://github.com/jetstack/cert-manager/blob/master/deploy/charts/cert-manager/webhook/templates/pki.yaml

By changing the certificate names to those used by portieris, it is very straightforward to use certificates from cert-manager.

Thankyou for this contribution, would you also be able to submit a PR to keep it inline?

Thankyou for this contribution, would you also be able to submit a PR to keep it inline?

What are you referring to doing inline?

Sorry I seem to have left out some important words!
I was intending to ask if you could update the README.md to decribe what the options are for getting certificates in place when installing, README.md seems to have gone out of sync with the code.


Pixel art per render instance

There has 2 kinds of solution to set pixel art rendering.

set pixelArt to true to assign pixel art to all rendering instances
texture.setFilter(1) to assign pixel art to rendering instances which using this texture.

Is it possible to assign pixel art by Image/Sprite's member method? i.e. render this Image/Sprite with Nearest filter?
Related issue : https://github.com/rexrainbow/phaser3-rex-notes/issues/448

We can look at doing this with the new renderer (@BenjaminDRichards) but it's not possible with the current one. The texture filtering mode is set on the texture itself, not the frame, so if you apply it to an atlas, every frame of that atlas is rendered as 'nearest'. It's not a WebGL setting you can toggle on a per-draw basis, it's set on the texture itself.

Hi - I had a chat with Ben about this, and basically, it's not possible. The only way it could be done is to duplicate the WebGL texture it is using and set a different filter mode on the duplicate. Which of course doubles VRAM for that texture, but might be an option. You could 'emulate' this behavior today by loading the image twice, with different keys, and one of them uses NEAREST as the filter mode.


man: note --fail-if-changed date behaviour change.

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[x] Have you written new tests for your changes? Here's an example.
[x] Have you successfully run brew tests with your changes locally?

As requested in #1199 this updates the documentation accordingly for that change.
CC @alyssais

I saw this failure last night but couldn't think of a solution. This morning (after you had already fixed it), it occurred to me that brew.1.html doesn't have a timestamp, so we could just check the git diff --quiet of that file and not the manpages folder, but that wouldn't notice changes to the brew cask timestamp. So this is a more complete solution.
Thanks again.

No worries @scpeters, I should have caught it in review too.


Fix block and cursor inserts

If no entity changes are passed in, the blocks and the cursors are no longer saved in ClickHouse. They should be added back in.

See #78


Add Architecture page to docs

how does IS MW compose with containing application
redirect to login, return URL, cooke and back flow

done


Fix address formatting and Fixed issue in customer view blade template

Issue Reference
Fix address formatting and Fixed issue in customer view blade template

@shivendra-webkul
Checked and Found that the issue related to the address saving and adding in the admin end customer profile is working fine now. Please check the video for reference.
Video
https://github.com/bagisto/bagisto/assets/92721837/dab6d09b-68db-4084-8521-294028b11f2d


Performance testing for NIO PCAP logging

Motivation:
It's useful to know the overhead we could be adding by including
the PCAP handler.
Modifications:
Add a new executable based on the NIO performance testing executable.
Result:
There is a new executable which runs a short test of sending and receiving
data through the HTTP/1 handler using multiple eventloops and showing
three options.

Vanilla
With in memory PCAP never written to disk
With a disk based PCAP.

@Lukasa take another look at this if you get a sec.


Starting Container error: The virtual machine could not be started because a required feature is not installed.

I have a problem running the command below:
PS C:\WINDOWS\system32> docker run -it mcr.microsoft.com/windows/nanoserver:1809 cmd.exe
C:\Program Files\Docker\Docker\Resources\bin\docker.exe: Error response from daemon: CreateComputeSystem 3ec5266f15582269f9876a9ad84ac857467ebf19d518b595d9605f555fe6c33a: The virtual machine could not be started because a required feature is not installed.
(extra info: {"SystemType":"Container","Name":"3ec5266f15582269f9876a9ad84ac857467ebf19d518b595d9605f555fe6c33a","Owner":"docker","IgnoreFlushesDuringBoot":true,"LayerFolderPath":"C:\ProgramData\Docker\windowsfilter\3ec5266f15582269f9876a9ad84ac857467ebf19d518b595d9605f555fe6c33a","Layers":[{"ID":"73eddd39-9cb1-593d-9bb2-bbee00e7cc41","Path":"C:\ProgramData\Docker\windowsfilter\4b5034da740643442178ee2cc90c7bece0f10a7027cbc607a3f5f652d756af3c"}],"HostName":"3ec5266f1558","HvPartition":true,"EndpointList":["06BB6BEB-EFEC-4DBB-81EA-202096143DCA"],"HvRuntime":{"ImagePath":"C:\ProgramData\Docker\windowsfilter\4b5034da740643442178ee2cc90c7bece0f10a7027cbc607a3f5f652d756af3c\UtilityVM"},"AllowUnqualifiedDNSQuery":true}).
Below is previous commands running successfully:
PS C:\WINDOWS\system32> docker pull mcr.microsoft.com/windows/nanoserver:1809
1809: Pulling from windows/nanoserver
Digest: sha256:535887492a56d570a018063d259a99e576cf6092204f87c0d2937fb160e5b090
Status: Image is up to date for mcr.microsoft.com/windows/nanoserver:1809
PS C:\WINDOWS\system32> docker images
REPOSITORY                             TAG                 IMAGE ID            CREATED             SIZE
mcr.microsoft.com/windows/nanoserver   1809                e662afff12c3        2 weeks ago         250MB
Windows 10 Pro version 1903
Docker version 18.09.2, build 6247962

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

ID: 66894009-bd4f-3fa6-6e03-a8485686bea5
Version Independent ID: 9d081837-7987-eeb5-1abf-37ebc2e3c7f6
Content: Windows and Linux Containers on Windows 10
Content Source: virtualization/windowscontainers/quick-start/quick-start-windows-10.md
Service: windows-containers
Product: windows-containers
GitHub Login: @taylorb-microsoft

I had same problem running Windows 10 VM in Azure. Changing size of VM to DSV3 fixed my issue.

We hugely appreciate your contribution, feedback, and support to our technical documentation.
We’ve phased out GitHub Issues on this repository as the feedback mechanism for content and have replaced it with a new feedback system. For more information see, Content User Feedback. As part of this rollout, we are migrating your issue where our team will use your comments to improve the documentation experience. Unfortunately, this does mean you won't be able to access this issue after the migration is complete.
All issues will be migrated by Thursday 29th August 2024.
Once again, thank you for your valuable feedback, we hope you’ll continue to contribute using our new feedback system.


Add ruby binary classifier

Adding a ruby binary pkg classifier
I think this would be nice to have, however there is one caveat....
For older versions of ruby, matching is precise, we're matching on this text and return version 2.0.0
ruby 2.0.0p648 (2015-12-16 revision 53162)

For newer versions of ruby, we can't match the patch version, so even if ruby 2.5.1 is installed, we only return version 2.5. This is because we're matching on the library file libruby.so from this text string
__deregister_frame_info_ITM_deregisterTMCloneTable__cxa_finalize__register_frame_info_ITM_registerTMCloneTableruby_run_node_finiruby_initruby_optionsruby_init_stackruby_sysinitsetlocale__libc_start_mainlibruby.so.2.5libc.musl-x86_64.so.1_start_c__bss_start_edata_end/usr/local/

If the latter is unacceptable, we can just match on versions we can find the full semver

Thanks for the contribution @noqcks! Could you link to a few images that this should work with?

ruby:2.0
ruby:2.5
ruby:3.2
ruby:3.2.1-buster


Scroll to not working + warning about flushSync

Describe the bug
The scrollToIndex doesn't seem to work and I'm getting a warning about flushSync. I'm guessing the scrollTo doesn't work because of whatever triggers the warning.
How would I go about this issue? I'm using<EMAIL_ADDRESS>and latest react 18 version.
Warning: flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.

Your minimal, reproducible example
https://github.com/hornta/react-virtual-flushsync-scrollto
https://stackblitz.com/~/github.com/hornta/react-virtual-flushsync-scrollto
Steps to reproduce
Clone repository, run pnpm dev and open http://localhost:5173 and click the input field, scroll down to option in the bottom and click that. Now click the input again and observe the error in console and how you are not scrolled down to the item.
Expected behavior
No warning in console and scrollTo should work.
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
Windows, Chrome
tanstack-virtual version
3.2.1
TypeScript version
5.4.5
Additional context
No response
Terms & Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.

Update:
I solved the problem with the scroll to. I wrapped the scrollToIndex with a requestIdleCallback and now it successfully scrolls to the index.
	useLayoutEffect(() => {
		if (selectedIndex && isOpen) {
			requestIdleCallback(() => {
				rowVirtualizer.scrollToIndex(selectedIndex, { align: "center" });
			});
		}
	}, [selectedIndex, isOpen, rowVirtualizer]);

However the warning is still there but I can ignore it for now until a fix is found. I'd be very willing to help out debugging if a maintainer or contributor wants to look into this.

Like commented on discord, here we have two issues

first is the size middleware, here you can't direclty mutate the floating as the virutlizer use the height when resolving scroll logic, there is example in floating docs where @atomiks is using flush sync

https://codesandbox.io/s/l10rjs?file=/src/App.tsx

second in useLayoutEffect scroll element can be null, we can use the floating elements to wait till next render like

useLayoutEffect(() => {
  if (!elements.floating) return

  if (selectedIndex && isOpen) {
    rowVirtualizer.scrollToIndex(selectedIndex, { align: "center" });
  }
}, [selectedIndex, isOpen, rowVirtualizer, elements.floating]);


pretrained network for small images

Dear everyone,
I am going to use the weights of pretrained resnet50 to train my data, but I meet an error as below when using small images such as 32x32 or 20x20.
ValueError: Dimension 0 in both shapes must be equal, but are 4608 and 25088. Shapes are [4608,4096] and [25088,4096]. for 'Assign_26' (op: 'Assign') with input shapes: [4608,4096], [25088,4096].
Does anyone know how to train pretrained resnet50 with small images?
Thank you for your help.

I'm not sure how much pretraining on ImageNet is worth for 20x20 images, but looking at the ResNet-50 specification, there's 3x3-max-pooling of stride 2x2 in the beginning, and 7x7-pooling in the end, with a lot of convolutions in between, some of which are strided. Try adapting the input layer specification to your input size of 32x32 or 20x20 instead of 224x224 and Lasagne will warn you that at some layer, there won't be any pixels left.
You'll need a different architecture (maybe pretrained on CIFAR-10/100?), or only use the very first few layers.


Venues have rooms

Thinking about scheduling things at Confluent, events take place in specific rooms, this would be a good thing to keep track of about venues.

Also need the ability to upload maps and have specific maps or markers for each room


Keychain access group on macOS

Keychain access group on macOS does not work. Apple recommends either to use iCloud sharing or Access control List. Since enterprise solution users mostly never login iCloud on work systems the only option is adding needed apps to Access Control List.
I have not seen any APIs for adding my apps to the Access Control List on macOS keychain item. Please help.

When you say "Keychain access group on macOS does not work." do you mean generically, this never works no matter what framework is used (or when none is used), or do you mean it doesn't work when using KeychainAccess?
With KeychainAccess I also cannot get it working (haven't tried any other Keychain framework). I have a macOS app that contains an embedded AskPass binary which should access the same keychain items as the main app, but currently I am prompted by the macOS Keychain to give both of them access manually.
Is my issue at https://github.com/kishikawakatsumi/KeychainAccess/issues/382 related to your issue?

Unfortunately it's macOS 10.15+ but the following seems pretty relevant: https://developer.apple.com/documentation/security/ksecusedataprotectionkeychain:

Items that you store or have stored in macOS with the kSecAttrSynchronizable attribute set to true also behave like iOS keychain items. However, a true value for that attribute additionally causes iCloud to synchronize the item across all the user’s devices. Use kSecUseDataProtectionKeychain to get the iOS behavior without synchronization.

You are right, Keychain access groups works on macOS only if iCloud Keychain sharing and Data protection flag enabled. Even on 10.15+ only Catalyst ported apps will be able to take advantage of Keychain Access  Groups.
I resolved my issue by using directly the keychain APIs from CoreServices framework.

Can you clarify how I would get this to work? I am seeing a bunch of error when I try to enable MacOS on my app. This is one of the errors: 'kSecSharedPassword' is unavailable in Mac Catalyst


gitconfig secret postStart hook fails due to chown operation

We're currently running atlantis as non-root in an openshift cluster and setting either of:
# gitconfig: |
# gitconfigSecretName: 'atlantis-git-config'

causes container startup to fail with chown: /home/atlantis/.gitconfig: Operation not permitted , message: "chown: /home/atlantis/.gitconfig: Operation not permitted
I was able to work around by mounting directly with an external secret (shown below), but is there any reason git-config can't use the same mount pattern as aws-credentials? I didn't anything related to this in the docs so I was just following the chart comments
extraVolumes:
  - name: gitconfig-volume
    secret:
      secretName: atlantis-git-config
      items:
      - key: gitconfig
        path: .gitconfig

# Optionally specify additional volume mounts for the container.
# extraVolumeMounts: []
extraVolumeMounts:
  - name: gitconfig-volume
    mountPath: "/home/atlantis/.gitconfig"
    subPath: .gitconfig
    readOnly: true

Hi @gtg3vv, this is quite an old issue and a lot has change on the helm chart since then. Please let us know if it's still an issue. Closing.


[web] provide serviceWorkerVersion to the getNewServiceWorker function

Fixes https://github.com/flutter/flutter/issues/130212
Fix Unresolved variable or type 'serviceWorkerVersion' in the _getNewServiceWorker function.
Supersedes https://github.com/flutter/flutter/pull/130206

https://github.com/flutter/flutter/pull/130206 was reviewed by me and @yjbanov earlier.

Once more, thanks for the contribution @p-mazhnik!!

Agh, bummer. PTAL @yjbanov! We need a 2nd approval here :)

friendly ping @yjbanov

friendly ping @yjbanov

friendly ping @yjbanov

pinged on discord for a review


feat: Add multitenancy privileged mode

What this PR does / why we need it:
This change aims to add the possibility of both kustomize-controller and helm-controller service accounts to not become cluster-admins.
In Kubernetes Clusters with a very agressive security posture we want to avoid to run service accounts with cluster admin privileges.
If the privileged mode is turned off we will only add service account impersonation capabilities to the kustomize-controller and helm-controller service accounts so they can only impersonate other service accounts that are usually set on the Kustomizations / Helm Releases.
Which Issue does it fix:
#111
Special notes for your reviewer:
Checklist

[x] DCO signed
[x] Chart Version bumped
[x] helm-docs are updated
[x] Helm chart is tested
[x] Update artifacthub.io/changes in Chart.yaml
[x] Run make reviewable

Hey @haarchri 👋 could you please take a look 🙏?
It would be great to get this in :)

Can you please add a test for the new feature and clean up the lint errors?
Everything else looks good.

Cool 👍 Will do right away

Can you review again @dwerder ? 🙏

Can you please add a test?


Result of resolveArguments() is unused in ICUMessageSourceSupport

In ICUMessageSourceSupport, I'm wondering if we should do
    synchronized (messageFormat) {
        return resolveArguments(args, locale).formatWith(messageFormat);
    }

instead of:
    resolveArguments(args, locale);
    synchronized (messageFormat) {
        return args.formatWith(messageFormat);
    }

That's what they do in the Spring MessageSourceSupport, and I don't understand what resolveArguments() does if we don't use the result?
https://github.com/meticoeus/spring-icu/blob/2ed67350712fa4fb81661fbdd6f0ceb85bd38e93/src/main/java/com/devtrigger/grails/icu/ICUMessageSourceSupport.java#L120-L123
https://github.com/spring-projects/spring-framework/blob/00d2606b000f9bdafbd7f4a16b6599fb51b53fa4/spring-context/src/main/java/org/springframework/context/support/MessageSourceSupport.java#L147-L149

I'm not exactly sure. I converted this from a Grails plugin I was using on a previous project so that it would work with just Spring. Most of the files in the project have not been modified, including this one.
I will take a look to see exactly what that would change. It does look strange.

It seems like the code was originally based on/copied from the Spring project.
Here is the commit where it was changed from what Spring does to the current implementation. There isn't much detail given as to why it changed.
It appears the args are not mutated by the method so it seems to be throwing away the result.


Numeric type does not validate unless mutate: true

I'm experiencing a validation issue with a schema like this:
price: {
  type: Number
}

which returns this error:
dataType: "Number"
name: "price"
type: "expectedType"
value: "19"

However, it works if mutate: true is passed to the clean function (issue related to cloning?)

Moved to the npm package: https://github.com/aldeed/node-simple-schema/issues/70


Getting "You now need a routing package like useraccounts:iron-routing or..." after user accounts update

I have been successfully using user accounts package and it is working fine. However, after I made the upgrade:
useraccounts:bootstrap   upgraded from 1.11.1 to 1.12.0
useraccounts:core        upgraded from 1.11.1 to 1.12.0

It now asks for this useraccounts:iron-routing package.
Do I need it? What are the changes I have to make on my application?

Hello @juliomac,
the only this you need is running
meteor add useraccounts:iron-routing
and move your old routes configuration after the regular call to AccountsTemplates.configure (only in case you had them before it...)
Also make sure your global IR configuration loads before AT routes definition: lets have a look at how I've changed the bootstrap boilerplate.
Hope this helps

Thanks!
I did have to move the old routes after AccountsTemplates.configure and all worked fine again.
Best regards! Julio

ok, good!


Use clap v3 instead of structopt

Motivation
We use structopt, but all of its functionalities were integrated into clap v3 and it is now in maintenance mode.
We should consider switching to clap.
Specifications

Designs

Related Work

We'll do this when we upgrade to abscissa 0.6


Testing

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.5 out of 6 committers have signed the CLA.:white_check_mark: SwindleA:white_check_mark: ruthvikm:white_check_mark: adelgadoj3:white_check_mark: joefol:white_check_mark: jyanev:x: GreihMurrayYou have signed the CLA already but the status is still pending? Let us recheck it.

This is opened for testing


FEAT: render realtime image of github user readme

once user submits the requests system caputures the image then commit to github itself in below location
path: app/static/profiles/
simply render the image using image tag in html

added url is not accurate and might cause issue in future.


Improvement/fluent builders

Motivation
Make writing of MQTT message builders more fluent and simpler with nested builders while still remaining the opportunity to pass already built objects.
Changes

Added FluentBuilder
Extended FluentBuilder in builders for:

MQTT messages (3 & 5)
Topic, TopicFilter/SharedTopicFilter
UserProperties

Added fluent builder methods (simpleAuth, restrictions, willPublish, addSubscription, addTopicFilter, topic, topicFilter, userProperties)

What about a fluent builder for Publish.qos?


Incorrect link to documentation in plugin store and plugin settings

Hi @piotrpog,
Thanks for reporting this. It has now been fixed in 1.0.2


Only send travis emails to the person who signed the commit

@aprofeit @girasquid for review
http://docs.travis-ci.com/user/notifications/#Email-notifications
Most of us probably don't need to receive theses.

:+1:

:+1:


Re-enable more build warnings, fix related warnings #316

Re-enabled build warnings -Wall, -Wcast-qual and -Wswitch-default
Fixed all related warnings

Thanks!


Update compute Swagger spec with adding BYOL parameter to virtual mac…

…hine

Hi @hyonholee, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (hylee). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;


Black Out

Where is the Black Out event code I saw in Too Slow

Ive got the .lua
https://www.mediafire.com/file/5lt5031e65x6fa5/lyrics.rar/file