Wolcen: Lords of Mayhem - Rendering issues in main menu

Hello,
In general the game working well for me but when I exit from active game to the main menu there are color and rendering issues which aren't present in the initial start - only when returning to main menu from active game:

See the Player name at the lower middle, the color rainbow in the upper left corner, etc.
When I open settings and close them, I have this:

If I open them on initial start there isn't a problem and everything is working fine.
For reference, when I start the game for the first time and not played yet, the main menu looks like this:

In the log I saw the following error which I think may be a part of the problem:
warn:  D3D11Device: Vertex input 'COLOR0' not defined by input layout
This problem isn't present with WineD3D.
Since the game has very long loading times I'm afraid the apitrace should be enormous but if I have to I'll try to porovide it.
Software information
Wolcen: Lords of Mayhem
System information

GPU: GTX 1080 Ti
Driver: 430.26
Wine version: 4.11
DXVK version:  1.2.3 and latest master

Log files

d3d11.log:
Wolcen_d3d11.log

dxgi.log:
Wolcen_dxgi.log

Apitrace?

Here you are:
https://my.pcloud.com/publink/show?code=XZVR937Z7r0mVPDJ4Up99o4KABSxSfTH1267

Unfortunately for this apitrace I have to install Windows for it's impossible to record it on Linux. I tested the game on Windows and I saw it runs with ~150 FPS. With DXVK it runs with ~70/75. Is there any obvious reason for such a big performance gap? Usually we expect 10-15% difference.

I don't have the game so I can't comment on that, especially with so little information given (are you CPU limited? GPU limited?)

Neither CPU, neither VRAM/RAM:

46% GPU -> CPU limit. It's normal for the Windows Nvidia driver to be much faster in that case.

I didn't understand you for english isn't my native language but if you say that's normal, ok :)

The game might not batch drawcalls and then some secret Nvidia D3D11 driver sauce kicks in. At least that seemed to be the case in Kingdom Come: Deliv., there you could enable batching via the game's console and it boosted CPU performance a lot for the AMD driver.

How do you do that?
Unfortunately DXVK 1.3 doesn't fix both the problems.

Hmm, lowering the settings to their minimum doesn't affect the performance in any way.

How do you do that?

Found this: https://www.youtube.com/watch?v=GruK4j-Rr3c
The console key was disabled at some point in Wolcen, dunno how current situation is and if there is a way to get it working. Seems it would be crazy if this wasn't enabled by default.

Thank you :)

To give you an update, the game uses counters for some inexplicable reason (they are primarily a debugging and profiling feature,  not something you should be using in a release build in your game...) which are not and cannot be supported by DXVK in any meaningful way. This is usually not an issue, but causes apitrace to crash so I'll have to figure out a workaround for that.

Thank you very much for your kindness :)

@doitsujin
Can I ask you something?
You say my CPU is the bottleneck for this game. How Intel 9900K can be the bottleneck and why?

@mozo78 The fact you have an Intel 9900K has nothing to do with it. The thing restricting you from getting better performance is you aren't able to submit work to the GPU fast enough (in layman's terms.)

Thank you, Josh :)
Do you know what may be the reason?

Not off the top of my head, no.

I see. Thank you.

I tried the latest game version 1.1.5 with DXVK 1.3.2 but the problem is still here.

I worked around the counter problem with the apitrace, but I cannot reproduce the issue. There are also no Vulkan validation errors.

No problem, thank you for your efforts :)

I have this issue sometimes, in menu and in game. Usually in game on first load when more disk activity. Just need restart game and issue goes away. Can be game bug or some synchronization issue.

Not have bug in menu but have see on Nvidia Driver sometimes player is invisible or monsters.

@liberodark Try updating your graphics driver first.

Problem apparently solved itself.


Reactor keeps offline

Hey, thanks for the great work.
I have a problem that the Reaktop stays "offline" it says and displays online but it is not producing any rf. The fuel rods are 100% down.
It is only working with the calibration on the first run. Is this finished the reactor stopps working again. ( Fuel Rod goes down to 100%)
ATM6 16.5.x
Hope u can help with that.

Hey, what mod are you using that adds the reactor?

Hey i updated to AllTheMods 6-1.8.15 to see if this makes a different but id doesn't. I am using Bigger Reactor biggerreactors-1.16.5-0.5.1
Thanks for your quick reply.

I've done a few tests and the only way the reactor could be online but not generating power is when the internal power buffer is greater than the max buffer percentage. Typically this can mean a few things:

The reactor's energy buffer is full or too high
Your "Buffer Target Range" is too low
You are not draining enough power

The program attempts to keep the energy buffer within a range. By default the energy buffer of the reactor will stay between 30% and 70% full.  If the power in the buffer exceeds the maximum percent, the control rods will go to 100% in an attempt to not waste fuel.
TLDR: Make sure you are draining the reactor's power or else it will keep the control rods at 100% to save fuel
Let me know if this helps.

Thank you for the help. That was the Problem. The Buffer was to high and i didn't know how it interacts with the computer.
Thanks, its now working.


build: add py3.11 support; use Debian 11

Python 3.7 has been deprecated and hence removed from the foca workflow. We need to add the additional support for new stable python 3.11 version.

Add this point, we may provide support for Python 3.12 as well, at the same time, if it doesn't cause too many problems. I would be okay with dropping support for 3.8.

Given py3.12 stability issues, I have created a separate issue (#199) for adding py3.12 support, removing py3.8 support and migrating base images to Debian Bookworm (v12).
In this issue, let's focus on:

[ ] adding support for py3.11
[ ] using Python images built based on Debian Bullseye (v11) instead of Debian Buster (v10; end of life: 2024-07)


Use the Mojo package manager Magic for the project

Use Magic as package manager
Add CI tests

We still need to address the failures on Linux, but let's not keep that from merging Magic support and CI tests.


Fix transaction payment fee/tip unbalanceds

Fix https://github.com/paritytech/substrate/issues/8854
contrary to the doc, the on unbalanced handler is given the tip first and then the fee. This PR fix it, and test it.

Merging for now since it's an important one. Can refactor in a second PR.


Polypolish is single threaded

Add "cpu" to polypolish function
Map reads
    cmd_map_r1 = ['bwa', 'mem', '-t', str(cpu), '-a', genome, r1]
    cmd_map_r2 = ['bwa', 'mem', '-t', str(cpu), '-a', genome, r2]

added multithreading to bwa mem


Lesson 3  (Attention Implementation)

Thanks for the great tutorials, this has really helped me understand lot of things in detail.
In the Encoder you put the hidden layer through FC layer with tanh activation. Is this expected behavior? In the paper I could see this is done to get the initial hidden state of the Decoder. But if you do this in the Encoder, you'll be calculating the energy in the attention layer in a different way than done in the paper. I might be wrong, any elaboration here will be really helpful.
Thanks in advance
AB

In the Encoder you put the hidden layer through FC layer with tanh activation. Is this expected behavior? In the paper I could see this is done to get the initial hidden state of the Decoder.

Yes, this is expected. It's pretty hidden within the paper itself. The line in question is appendix 2.2 on page 13:  "The initial hidden state s_0 is computed by s_0 = tanh(W_s h_1_bck)". I deviate from the paper a little as they claim to only use the final backward LSTM hidden state, whereas I use the final backward and final forward LSTM hidden states. I also use a linear layer with a bias instead of just doing a matrix multiplication,  so mine is: s_0 = tanh(W_s [h_1_bck; h_T_fwd] + b_s).
This is only used to calculate the initial hidden state of the decoder, s_0, which is denoted by hidden in the Encoder module. The attention is done over all of the hidden states output by the Encoder, denoted by outputs and H. These outputs have not been through the linear layer with tanh activation, which is consistent with the paper.
I hope that clarifies things, but if not then I can go through sections in more detail.

Thank you so much. It clarifies everything. Attention doesn't use the hidden state in any way. And you are not putting the Encoder outputs through tanh non linearity.
I am truly grateful for this tutorial. Not having done any course in NLP I was struggling with attention and sequence modeling in general. Your tutorial is very comprehensive and different from other blog posts that I have seen, as it actually shows the readers how to decode and generate predictions.
Great work! Can I add you on linkedin? I couldn't find a link to your profile in your website.
Best
AB

Can I add you on linkedin? I couldn't find a link to your profile in your website.

Of course! I'll admit I don't use it much but the link to my profile is: https://www.linkedin.com/in/ben-trevett-b58025b4/
I should add it to my website though, thanks for reminding me!


Android 5.0.x TimePicker bug

Sinds android 5.0.x is the time picker bugged. The ok button is gone only the setting en cancel button is active. Possible to override this datetime picker with the google chrome to fix the problem?

Take a look at:
They solved it for version 5.1.x But still got some tablets running on 5.0.x which are not able to upgrade to 5.1.x (samsung tab 4, 10.1 inch)
Anyway you can solve this in de webview?

Thanks for your feedback!
I see your problem, but unfortunately, I currently don't know of any way to fix this.
Since this is a bug in the original WebView and not one in this library (although we might be able to fix it here), I'm closing this issue. If anybody finds a solution that can be included in this library, I'll happily integrate it.

Asked the Webview they finally solved the problem in new update now.

@GitWessel Thanks! As the Android System WebView is updatable via the Play Store on Android 5.0+, I guess a fix would get to all affected Android versions then.


error

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
[X] I have thoroughly looked through the available Wiki articles and could not find a solution to my problem.
[X] I am using the latest version of Bloxstrap.
[X] I did not answer truthfully to all the above checkboxes.

What problem did you encounter?
System.Net.Http.HttpRequestException: Response status code does not indicate success: 403 (Forbidden).
Bloxstrap Log
N/A

This is possibly an issue Roblox made by doing something wrong.
Please wait until Roblox themselves fix this issue.
Please search first before doing posts.


Specifying _pk in query doesn't override the _pk value generated by PartySocket

Hi there!
Love partykit so far! Noticing the issue mentioned in the title despite the docs saying this is possible: https://github.com/partykit/partykit/blob/main/docs/reference.md
https://github.com/partykit/partykit/blob/main/packages/partysocket/src/index.ts#L51
Thanks in advance!

Good catch! The documentation is about assigning an id when you use a regular WebSocket to connect to a partykit backend, but you're right that we should let you specify an id in the PartySocket constructor as well. Will fix.

You can now say new PartySocket({id: 'some-id', ...}) to set the value of _pk in the connection url. Thanks for catching this!


Update Spark incremental strategies

Description & motivation
Full context: https://github.com/fishtown-analytics/dbt-spark/pull/141
To-do before merge
We're about to release dbt-spark v0.19.0. I think it's okay if there's a small lag between that and this.
Pre-release docs
Is this change related to an unreleased version of dbt?

[ ] Yes: please

update the base branch to next
add Changelog components: <Changelog>[New/Changed] in v0.x.0</Changelog>
add links to the "New and changed documentation" section of the latest Migration Guide

[x] No: please ensure the base branch is current (see above)
[ ] Unsure: we'll let you know!

Going to merge this, to avoid lag/contradiction with what's documented in the dbt-spark README


X and Y are undefined on Safari

First I have to say, awesome! But something doesn't work. I've created an example https://codepen.io/chapterjason/pen/VXOvQd
On device Mozilla/5.0 (iPhone; CPU iPhone OS 11_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.0 Mobile/15E148 Safari/604.1 the properties x and y are undefined.

Just noticed there is a data object. Sorry!


[GHSA-qq6h-5g6j-q3cm] sweetalert2 v11.4.9 and above contains hidden functionality

Updates

Affected products
Description
References

Comments
The functionality isn't hidden and clearly documented:
https://github.com/sweetalert2/sweetalert2#important-notice-about-usage-of-this-software-for-ru-su-by-and-рф-domain-zones

This PR is generated automatically from this form https://github.com/advisories/GHSA-qq6h-5g6j-q3cm/improve
My intention was not to change the details of the advisory, but to remove it as invalid. Please advise me on how should I change this PR as this is my first time collaborating on this repo, thank you 🙌

Hey there @limonte sorry for the delayed reply, but give me a bit more time to get all the context together on my end before we get into the nuts and bolts of this change.

Thank you @darakian and no worries, I'm not in a hurry, please take your time to think about this. I understand it might not be obvious how to categorize this kind of protestware, but "hidden functionality" isn't the correct category.
When the decision is done please advise on how to amend my PR, this is my first time contributing to this repo 🙌
Also, let me know if the same note as in README should be present in the docs website https://sweetalert2.github.io/

Thanks again for your patience.
The accuracy of our advisories is of the foremost importance to us, and we're always working to improve and iterate on our policies and procedures to make sure they are meeting the needs of the community. We'd be happy to discuss making the advisory clearer with you, and will reach out to you directly via email shortly.

So, I believe this has been resolved out of band. I'm going to close this PR now, but feel free to follow up 😄


include doc to relevant RFCs, libraries and tools

https://github.com/juga0/dhcpcanon/commit/b4a12c0e76b281adc0086d87eae0ee93c9fca6dd


Add gO and K mappings

Closes #108

Hm... Tests failed, but I do not understand why. Is <C-S-o> used in tests?

Test are involving spinning up real neovim instance and checking the results in both vscode/neovim. Sometimes they're failing because a runner internal latency. (e.g. timeout to complete operation is too small and need to wait a bit longer)

Tests are failing locally t oo

Ah, i forgot you it's not possible to map <S-something> in vim 🤕

Ah, i forgot it's not possible to map  in vim face_with_head_bandage

This is what I was asking about in comments. But I tested locally and it worked for me in VSCode...
But why did you change to sending gO? ctrl+shift+o calls workbench.action.showAllSymbols by default, not workbench.action.gotoSymbol.

ctrl+shift+o calls workbench.action.showAllSymbols by default in VSCode, not workbench.action.gotoSymbol

Where? Perhaps it's different defaults for mac/win/linux. Can you provide a screenshot here?

Linux/win have goToSymbol mapped to ctrl+shift+o as well too. showAllSymbols are ctrl+t. Ref:
https://code.visualstudio.com/shortcuts/keyboard-shortcuts-linux.pdf
https://code.visualstudio.com/shortcuts/keyboard-shortcuts-windows.pdf

Oh, yes, this was my mistake. You are right, thanks!
Just send gO is a good idea.

Should I merge it?
If so, do you prefer squashing commits or merging as is?

Should I merge it?

Merge it

If so, do you prefer squashing commits or merging as is?

Squashing is preferred for small single-issue commits

Squashing is preferred for small single-issue commits

Sorry, accidentally merged. Next time I will squash such PRs.


Support validate-ci to check whether the CI configuration is valid or not

Reference: https://docs.gitlab.com/ce/api/lint.html
This should support editor workflow similar to how snip create works.

What would the editor workflow look like?

Also started working on a ci sub command. We could support this through lab ci validate

Maybe we can't include editor workflow here, since the API doesn't show where the error is.

From: https://gitlab.com/zaquestion/test/pipelines/15273642
Using https://github.com/jroimartin/gocui

That looks cool, can we maybe have some colours and arrows?

Still static, but we're getting there!

From: https://gitlab.com/zaquestion/test/pipelines/15273642

Put this up in an effort to support lab ci lint. https://github.com/xanzy/go-gitlab/pull/293
I've already written a working implementation with those changes. Once the API is exposed should be able to bring in the functionality in short order.

Also relying on these changes for the pipeline interface: https://github.com/jroimartin/gocui/pull/130

Have mostly replicated the current progress in https://github.com/rivo/tview which has been nicer to work with overall.

[ ] fix the rendering overall (notice the extra lines on the right most side)
[ ] test live updating (implemented but not yet useful)
[ ] screen doesn't clear when resizing (or between all updates?)
[ ] Long term solution for drawing the lines (currently have tview hacked up to expose the screen to me)

Latest look

The above has been released in 0.11.0 under lab ci view as a beta feature.
Also lab ci trace was release in 0.11.0 for viewing ci job logs in realtime!

Is there a way to close the view (except for Ctrl-c)?
Would be nice if we can use Esc and/or q to close the view.

@twouters Thanks for the feedback, I've added support for exiting with q and esc in 0.11.1.

Put https://github.com/lunixbochs/vtclean/pull/7 up to support cleaning gitlab's trace file response. Hopefully that gets merged in and we can use it directly, but I'll give it a week while I get the remaining changes together in lab. Code for running/retrying jobs has been written and seems to function (pending tests). The vtclean change is to support viewing trace logs in the pipeline interface, which is mostly coded up, but has some formating issues due to the escape sequences returned in the API

Going to call this good as of https://github.com/zaquestion/lab/pull/175, any future bugs or features will be tracked in new issues.


WARNING:tensorflow:AutoGraph could not transform <function affine at 0x0000021B750C1E58> and will run it as-is.

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows 10
TensorFlow version: 2.2.0-rc3
TensorFlow-probability version: 0.10.0-rc0
Python version: 3.7.6

Describe the current behavior
I am using Anaconda, TensorFlow, and Spyder. When I run my script, I get the following error message:
INFO:tensorflow:Converted call: <function affine at 0x0000021B778A51F8>
    args: (<tf.Tensor 'x:0' shape=(6768,) dtype=float32>, <tf.Tensor 'kernel_diag:0' shape=(1,) dtype=float32>, <tf.Tensor 'bias:0' shape=() dtype=float32>)
    kwargs: {}

Converted call: <function affine at 0x0000021B778A51F8>
    args: (<tf.Tensor 'x:0' shape=(6768,) dtype=float32>, <tf.Tensor 'kernel_diag:0' shape=(1,) dtype=float32>, <tf.Tensor 'bias:0' shape=() dtype=float32>)
    kwargs: {}

INFO:tensorflow:Cache hit for entity <function affine at 0x0000021B778A51F8> subkey (<tensorflow.python.autograph.core.converter.ConversionOptions object at 0x0000021B790D2188>, frozenset()): _ConvertedEntityFactoryInfo(tf__affine in tmpta8nc9zk)
Cache hit for entity <function affine at 0x0000021B778A51F8> subkey (<tensorflow.python.autograph.core.converter.ConversionOptions object at 0x0000021B790D2188>, frozenset()): _ConvertedEntityFactoryInfo(tf__affine in tmpta8nc9zk)
INFO:tensorflow:Error transforming entity <function affine at 0x0000021B778A51F8>
Traceback (most recent call last):
  File "C:\Users\jason\Anaconda3\lib\site-packages\tensorflow\python\autograph\impl\api.py", line 538, in converted_call
    converted_f = conversion.convert(target_entity, program_ctx)
  File "C:\Users\jason\Anaconda3\lib\site-packages\tensorflow\python\autograph\impl\conversion.py", line 362, in convert
    return _instantiate(entity, converted_entity_info, free_nonglobal_var_names)
  File "C:\Users\jason\Anaconda3\lib\site-packages\tensorflow\python\autograph\impl\conversion.py", line 300, in _instantiate
    factory = converted_entity_info.get_factory()
  File "C:\Users\jason\Anaconda3\lib\site-packages\tensorflow\python\autograph\impl\conversion.py", line 94, in get_factory
    assert self.module_name in sys.modules
AssertionError
Error transforming entity <function affine at 0x0000021B778A51F8>
WARNING:tensorflow:AutoGraph could not transform <function affine at 0x0000021B778A51F8> and will run it as-is.
Please report this to the TensorFlow team. When filing the bug, set the verbosity to 10 (on Linux, `export AUTOGRAPH_VERBOSITY=10`) and attach the full output.
Cause:
To silence this warning, decorate the function with @tf.autograph.experimental.do_not_convert
WARNING: AutoGraph could not transform <function affine at 0x0000021B778A51F8> and will run it as-is.
Please report this to the TensorFlow team. When filing the bug, set the verbosity to 10 (on Linux, `export AUTOGRAPH_VERBOSITY=10`) and attach the full output.
Cause:
To silence this warning, decorate the function with @tf.autograph.experimental.do_not_convert
INFO:tensorflow:Converted call: <function affine at 0x0000021B778A51F8>
    args: (<tf.Tensor 'x:0' shape=(6768,) dtype=float32>, <tf.Tensor 'kernel_diag:0' shape=(6768,) dtype=float32>, <tf.Tensor 'bias:0' shape=(6768,) dtype=float32>)
    kwargs: {}

Converted call: <function affine at 0x0000021B778A51F8>
    args: (<tf.Tensor 'x:0' shape=(6768,) dtype=float32>, <tf.Tensor 'kernel_diag:0' shape=(6768,) dtype=float32>, <tf.Tensor 'bias:0' shape=(6768,) dtype=float32>)
    kwargs: {}

INFO:tensorflow:Whitelisted <function affine at 0x0000021B778A51F8>: from cache
Whitelisted <function affine at 0x0000021B778A51F8>: from cache
Traceback (most recent call last):
  File "C:\Users\jason\Anaconda3\lib\site-packages\tensorflow\python\autograph\impl\api.py", line 538, in converted_call
    converted_f = conversion.convert(target_entity, program_ctx)
  File "C:\Users\jason\Anaconda3\lib\site-packages\tensorflow\python\autograph\impl\conversion.py", line 362, in convert
    return _instantiate(entity, converted_entity_info, free_nonglobal_var_names)
  File "C:\Users\jason\Anaconda3\lib\site-packages\tensorflow\python\autograph\impl\conversion.py", line 300, in _instantiate
    factory = converted_entity_info.get_factory()
  File "C:\Users\jason\Anaconda3\lib\site-packages\tensorflow\python\autograph\impl\conversion.py", line 94, in get_factory
    assert self.module_name in sys.modules
AssertionError

Standalone code to reproduce the issue
import pandas as pd
import tensorflow as tf
# tf.autograph.set_verbosity(10,True)
import tensorflow_probability as tfp
from tensorflow_probability import distributions as tfd
# Read the data
df = pd.read_csv("https://raw.githubusercontent.com/jfhawkin/bayes_discrete_choice/master/swissmetro.dat",sep='\t')

"""Basic data and model setup"""

# Removing some observations can be done directly using pandas.
remove = (((df.PURPOSE != 1) & (df.PURPOSE != 3)) | (df.CHOICE == 0))
df.drop(df[remove].index,inplace=True)

# Definition of new variables: as tensorflow vectors
df.reset_index(inplace=True)
IDX = tf.expand_dims(tf.convert_to_tensor(df.index),1)
TRAIN_TT_SCALED = tf.expand_dims(tf.convert_to_tensor(df.TRAIN_TT / 100, dtype=tf.float32),1)
TRAIN_COST_SCALED = tf.expand_dims(tf.convert_to_tensor(df.TRAIN_CO / 100, dtype=tf.float32),1)
SM_TT_SCALED = tf.expand_dims(tf.convert_to_tensor(df.SM_TT / 100, dtype=tf.float32),1)
SM_COST_SCALED = tf.expand_dims(tf.convert_to_tensor(df.SM_CO / 100, dtype=tf.float32),1)
CAR_TT_SCALED = tf.expand_dims(tf.convert_to_tensor(df.CAR_TT / 100, dtype=tf.float32),1)
CAR_CO_SCALED = tf.expand_dims(tf.convert_to_tensor(df.CAR_CO / 100, dtype=tf.float32),1)

DATA = tf.concat([TRAIN_TT_SCALED,TRAIN_COST_SCALED,SM_TT_SCALED,SM_COST_SCALED,CAR_TT_SCALED,CAR_CO_SCALED], axis=1)

# Definition of new variables for availability, etc.: as tensorflow vectors
CHOICE = tf.convert_to_tensor(pd.get_dummies(df.CHOICE), dtype=tf.float32)
CAR_AV_SP =  tf.expand_dims(tf.convert_to_tensor(df.CAR_AV, dtype=tf.float32),1)
TRAIN_AV_SP =  tf.expand_dims(tf.convert_to_tensor(df.TRAIN_AV, dtype=tf.float32),1)
SM_AV_SP =  tf.expand_dims(tf.convert_to_tensor(df.SM_AV, dtype=tf.float32),1)

AV = tf.concat([TRAIN_AV_SP, SM_AV_SP, CAR_AV_SP], axis=1)

num_idx = df.shape[0]

"""Define the model as a partial pooling hierarchical model with varying slope for the time parameter"""

@tf.function
def affine(x, kernel_diag, bias=tf.zeros([])):
  """`kernel_diag * x + bias` with broadcasting."""
  kernel_diag = tf.ones_like(x) * kernel_diag
  bias = tf.ones_like(x) * bias
  return x * kernel_diag + bias

def mmnl_func():
    adj_AV_train = (tf.ones(num_idx) - AV[:,0]) * -9999
    adj_AV_SM = (tf.ones(num_idx) - AV[:,1]) * -9999
    adj_AV_car = (tf.ones(num_idx) - AV[:,2]) * -9999

    return tfd.JointDistributionSequential([
        tfd.Normal(loc=0., scale=1e5),  # mu_b_time
        tfd.HalfCauchy(loc=0., scale=5),  # sigma_b_time
        lambda sigma_b_time,mu_b_time: tfd.MultivariateNormalDiag(  # b_time
        loc=affine(tf.ones([num_idx]), mu_b_time[..., tf.newaxis]),
        scale_identity_multiplier=sigma_b_time),
        tfd.Normal(loc=0, scale=1e5), # a_train
        tfd.Normal(loc=0, scale=1e5), # a_car
        tfd.Normal(loc=0, scale=1e5), # b_cost
        lambda b_cost,a_car,a_train,b_time: tfd.Independent(tfd.Multinomial(
          total_count=1,
          logits=tf.stack([
              affine(DATA[:,0], tf.gather(b_time, IDX[:,0], axis=-1), (a_train + b_cost * DATA[:,1] + adj_AV_train)),
              affine(DATA[:,2], tf.gather(b_time, IDX[:,0], axis=-1), (b_cost * DATA[:,3] + adj_AV_SM)),
              affine(DATA[:,4], tf.gather(b_time, IDX[:,0], axis=-1), (a_car + b_cost * DATA[:,5] + adj_AV_car))
          ], axis=1)
        ),reinterpreted_batch_ndims=1)
    ])

mmnl_func().sample()

Full code on colab:
https://drive.google.com/file/d/10OBeDVNC4tN4c8Ro2SuYhw5YfGzpXnx4/view?usp=sharing
Other info / logs
Full tracebook is attached. Full code implements a sampler. Final error from full code is:
ValueError: Dimensions must be equal, but are 6768 and 3 for '{{node JointDistributionSequential_1/log_prob/JointDistributionSequential_1_log_prob_IndependentJointDistributionSequential_1_log_prob_Multinomial/log_prob/JointDistributionSequential_1_log_prob_Multinomial/log_prob/mul}} = Mul[T=DT_FLOAT](value, JointDistributionSequential_1/log_prob/JointDistributionSequential_1_log_prob_IndependentJointDistributionSequential_1_log_prob_Multinomial/log_prob/JointDistributionSequential_1_log_prob_Multinomial/log_prob/LogSoftmax)' with input shapes: [6768,3], [1,3,6768].
output.txt

Was able to reproduce the issue with TF v2.2.0-rc3 and TF-nightly. Please find the attached gist. Thanks!

@jfhawkin,
Could you please check this StackOverflow comment from a similar issue and let us know if it helps. Thanks!

@amahendrakar,
I looked at the StackOverflow comment. They are building up neural network
layers from the data, so each of l2 and l3 builds on l1 (which is based on
the input data).
In my case, I have three independent calls to affine() based on the input
data. I ran the code through the debugger and it looks to me like on each
call the inputs (x, kernel_diag, and bias) are being passed as
python.framework.ops.Tensor. It then gives me the warning "AutoGraph could
not transform...". I can then run the code in the function through the
debugger and the return type is also a tensor. When I run my full code,
this warning appears to lead to an AssertionError and the ultimate
ValueError with dimension mismatch.
On Tue, Apr 28, 2020 at 9:22 AM amahendrakar<EMAIL_ADDRESS>wrote:

@jfhawkin https://github.com/jfhawkin,
Could you please check this StackOverflow comment
https://stackoverflow.com/a/44956689 from a similar issue and let us
know if it helps. Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/issues/38947#issuecomment-620604288,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB6LW2O4E2FX4BTJ5Z6DDPLRO3KCBANCNFSM4MR7THFA
.

I found a few responses to similar issues and the solution was downgrading gast to 0.2.2. However, this appears to be changed in recent updates to tensorflow. Many people were getting: AssertionError: Bad argument number for Name: 3, expecting 4 with gast 0.3.X and I get the opposite when downgrading from 0.3.3 to 0.2.2 (i.e., AssertionError: Bad argument number for Name: 4, expecting 3).

This looks like the same issue as #38691 - it's a known issue with Spyder.
@jfhawkin could you try with tf-nightly (leave the gast version that it installs - it should be 0.3.3).

I reran in Spyder and the prompt using tf-nightly. I get a similar set of warnings/errors. It now gives three potential reasons: (1) creating @tf.function repeatedly in a loop, (2) passing tensors with different shapes, (3) passing Python objects instead of tensors. The first case doesn't apply and I tried the second by setting experimental_relax_shapes=True (no change to warnings). This suggests to me that it is the third case but, as I said before, it looks to me like I am passing tensors (could be wrong). I get the same result in colab.

It appears that the warning I listed in the issue header may be solved. I ran it with tf.autograph.set_verbosity(3,True) and it says it transformed affine(). The first warning is: WARNING:tensorflow:5 out of the last 9 calls to <function affine at 0x0000017AA8F08C18> triggered tf.function retracing. but this appears to also be an issue with passing python rather than tensorflow objects.

Thank you. Yes, that is a different warning emitted by tf.function. https://github.com/tensorflow/tensorflow/commit/2eb9e7c2b68123002acab835711da90d35bebca3 should remove those warnings once it's included in tf-nightly. But if those continue to appear afterwards, please ping this thread or open up a new issue and we'll have a closer look.


Auto describe filename

Is your feature request related to a problem or a nice-to-have?? Please describe.
I'm always frustrated when still add the same code on any script:
describe(__filename, () => {
   ...
});

or

describe(import.meta.url, () => {
   ...
});

Describe the solution you'd like
Configuration property describeScript or describeModule.

This can be done with a custom reporter.  You can print this by listening for the EVENT_SUITE_BEGIN event once per file, when the current suite's parent is the root suite.
// my-reporter.js
// (untested)
const Mocha = require('mocha');
const {Spec} = Mocha.reporters;
const {constants} = Mocha.Runner;

class MyReporter extends Spec {
  constructor(...args) {
     super(...args);
     runner.on(constants.EVENT_SUITE_BEGIN, suite => {
       if (suite.parent?.root) {
         console.log(suite.file);
       }
     });
  }
}

This will require some more fiddling if you happen to have multiple top-level describe blocks per file--e.g., remember which filenames have already been printed and don't print them twice.  if a file does not have a describe in it, you can do the same for tests by listening on EVENT_TEST_BEGIN (since the Test object will also have a file prop).


Any progress about I2V(image2video) ？ here's my results

Hello, may I ask if you could share how you did it? Do you need to fine-tune this motion module?

Yes, plz share. I2v and we can take the last frame of each for subsequent gens and maintain some continuity for longer shots.

I think using AnimateDiff itself to do I2V mission is nearly impossiable as the motion module trained without init_image but init_video, the SD model can recognize the latent extracted from image but motion module cant.
I will release code tomorrow maybe.

how did you get it to be so consistent with the input image? When I try this, I get a similar styled image, but there's some significant changes with the video vs the image

i thim i2v is a huge gamechanger

code realeased on https://github.com/ykk648/AnimateDiff

A good repo and Gradio UI I've been doing image to video with that also includes the 'longer video' code,, is https://github.com/hoalarious/AnimateDiff  . It is work in progress though, but the author has been making good progress, I've been using it now instead of the old 'talesofai' one that didn't have a user interface.

A good repo and Gradio UI I've been doing image to video with that also includes the 'longer video' code,, is https://github.com/hoalarious/AnimateDiff . It is work in progress though, but the author has been making good progress, I've been using it now instead of the old 'talesofai' one that didn't have a user interface.

Hello, I've been trying to get app.py in the repo you linked to work but keep getting an error and the author doesn't seem to be accepting any issue reports.
Would you be able to help me figure out why it won't start?
In that repo the inference runs fine in terminal via the provided samples codes and I get proper output in the 'output' folder,
but when trying to run 'python app.py' I get the following error:
python app.py Traceback (most recent call last): File "/home/myusername/ML/MC/AnimateDiff/app.py", line 651, in  demo = ui() File "/home/myusername/ML/MC/AnimateDiff/app.py", line 636, in ui generate_tab_ui() File "/home/myusername/ML/MC/AnimateDiff/app.py", line 475, in generate_tab_ui stable_diffusion_dropdown, motion_module_dropdown, checkpoint_dropdown = base_model_selection_ui() File "/home/myusername/ML/MC/AnimateDiff/app.py", line 416, in base_model_selection_ui value=controller.checkpoints_list[0], IndexError: list index out of range
I'm running it in anaconda WSL2 Ubuntu20.04, not sure if that makes a difference but I've been at this for days now and can't figure it out and I'm hoping someone better versed in python can give me a hand.

A good repo and Gradio UI I've been doing image to video with that also includes the 'longer video' code,, is https://github.com/hoalarious/AnimateDiff . It is work in progress though, but the author has been making good progress, I've been using it now instead of the old 'talesofai' one that didn't have a user interface.

Hello, I've been trying to get app.py in the repo you linked to work but keep getting an error and the author doesn't seem to be accepting any issue reports. Would you be able to help me figure out why it won't start?
In that repo the inference runs fine in terminal via the provided samples codes and I get proper output in the 'output' folder, but when trying to run 'python app.py' I get the following error: python app.py Traceback (most recent call last): File "/home/myusername/ML/MC/AnimateDiff/app.py", line 651, in demo = ui() File "/home/myusername/ML/MC/AnimateDiff/app.py", line 636, in ui generate_tab_ui() File "/home/myusername/ML/MC/AnimateDiff/app.py", line 475, in generate_tab_ui stable_diffusion_dropdown, motion_module_dropdown, checkpoint_dropdown = base_model_selection_ui() File "/home/myusername/ML/MC/AnimateDiff/app.py", line 416, in base_model_selection_ui value=controller.checkpoints_list[0], IndexError: list index out of range
I'm running it in anaconda WSL2 Ubuntu20.04, not sure if that makes a difference but I've been at this for days now and can't figure it out and I'm hoping someone better versed in python can give me a hand.

do you have all the models downloaded in the correct models directory? You need to download the checkpoints into that directory

I thought I did, but looking at another comment here today I think I may have a few in the wrong place.
Thanks for the suggestion, I'll give it a try and let ya'll know. :)

Ok, I installed all the models according to this repos instructions (and a few of the comments that gave suggestions on where they should go) and still having the same error.

can you share what your models/ dir looks like now?

Ok, I'm all good now. Somehow I got things mixed up and got some models in everywhere but the checkpoints folder. I copied a couple over and all looks well now. :)
Thanks again for the help, really looking forwards to trying this out outside of the a1111 extension, as the extension seems rather limited compared to some of the AnimateDiff forks out there.

Only difficulty I'm having now is using the --listen flag. The way I have my WSL2 setup, I have to allow traffic with netsh to specific ip and port - usually with gradio I use --listen and then I can access outside of wsl using a browser in windows, but this doesn't seem to be working here.

What is the reason why an init-image animation may not work? It generates a new animation and it doesn't animate the init-image.

@kiqir  I'm sure demo codes works well for me, as no more progress on I2V for now , issue close

im working on an image-to-video generator startup, is it a good idea?

I'm really sorry but I want to give you an example of my problem.
This is output:

This is settings in gradio interface:

What did I do wrong?

@b4rnn Animatediff proved that SD can generate sequence video with some kind of supervision, now we only have to add a image supervision to the training process or diffusion network, the image can be replaced by optical-flow/depth map/vae embedding etc.

@kiqir this is truly what https://github.com/continue-revolution/sd-webui-animatediff can give to you, raise an issue to https://github.com/continue-revolution/sd-webui-animatediff if you have quesion about that, the design of it do have some problems though, I doubt no one is working on it.


spike(fabric): support for Hyperledger fabric v2.5.x

Description
As a developer I want to add platform support for Hyperledger fabric v2.5.x. This issue explores the changelogs, steps and code changes required to add support for upgrade.
Acceptance Criteria

Document changes, steps for add support
Document steps to support running upgrade
Create issue to add support

New features

2.3.0:

Hyperledger Fabric 2.3: introduced the ability to manage an ordering service without a system channel.
It is now possible to take a snapshot of a peer’s channel information

2.4.0

Fabric Gateway is a new service running on peer nodes that manages trans-action submission and processing for client applications
You can now unjoin a peer from a channel when the channel is no longer needed.
You can calculate the package ID from a packaged chaincode without installing the chaincode on peers using the new peer lifecycle chaincode calculatepackageid command.

2.5.0

While it has always been possible to delete private data from current state, this new feature enables purging the history of private data from a peer while preserving a hash of the private data as immutable evidence on the blockchain.
The release binaries and docker images have been updated

Deprecations (existing) and changes

Ordering service system channel is deprecated. Without using the syschannel, changes may be necessary in the genesis and channel creations.
Support for specifying orderer endpoints at the global level in channel configuration is deprecated. It will also be necessary to make changes to the configtx.yaml file.
The 'Kafka' consensus type is deprecated, it is recommended to use Raft instead.
Fabric CouchDB image is deprecated
The fabric-tools docker image will not be published in future Fabric releases
Version 1.4.8 is likely to stop working with the new changes

For more details on these points, see following document.
feature-2300.pdf


Does not run with netlify dev command

- Do you want to request a feature or report a bug?
Bug.
- What is the current behavior?
After running npm install, the command npm start works, but netlify dev does not, once it's set up.
- If the current behavior is a bug, please provide the steps to reproduce.

Create a new project (mine is based at commit 9d20f73dfbaea4531ab4b3e36fb9c9a56687743a).
Run npm install to install dependencies.
Authenticate and link the netlify CLI to the project.
Run netlify dev and see the following error:◈ Netlify Dev ◈
◈ Starting Netlify Dev with hugo
Error: "hugo" could not be found in your PATH. Please make sure that "hugo" is installed and available in your PATH

Run PATH=$PATH:node_modules/hugo-bin/vendor netlify dev and see the messageWARN 2020/05/02 21:58:59 found no layout file for "HTML" for kind "hom

- What is the expected behavior?
netlify dev should serve the generated site.
- Please mention your node.js, NPM, Hugo and operating system version.
node v13.2.0 (and 14.1.0)
npm 6.14.4
hugo -- none installed on the system
MacOS 10.15.4 (19E287)

There have been updates to the project so this should work now with the latest main branch! Thank you for the report on this! I am not certain what may have happened to cause the issue then.


Bootstrap Tooltip / Popover Dismissal Causing HTML element to be hidden

Solution i did is this
Replace Bootstrap.js line 1404 as below
//if (obj instanceof $.Event) {
    //  self.inState[obj.type == 'focusout' ? 'focus' : 'hover'] = false
    //}

To
//09-04-2016 Changed condition if it is hover out then set instate as true
    //if (obj instanceof $.Event) {
    //  self.inState[obj.type == 'focusout' ? 'focus' : 'hover'] = false
    //}
    if (obj instanceof $.Event) {
        if (obj.type == 'focusout') {
            self.inState['focus'] = false;
        }
        else {
            self.inState['hover'] = true;
        }
    }

Basically it was setting "inState" to "false" so when hover out happened it was continuing on other code instead of returning. the continuing code was to set tooltip hide.

@jayb611 Please describe the problem in more detail, preferably with a JS Bin or JS Fiddle example.

Hey there!
We're automatically closing this issue since the original poster (or another commenter) hasn't yet responded to the question or request made to them 14 days ago. We therefore assume that the user has lost interest or resolved the problem on their own. Closed issues that remain inactive for a long period may get automatically locked.
Don't worry though; if this is in error, let us know with a comment and we'll be happy to reopen the issue.
Thanks!
(Please note that this is an automated comment.)


feat: Add methods to access the state machine from the AsyncProtocol

Closes #8

r? @survived

Looks great, thank you!


[php84] Update dependencies

WIP.
Seems like I missed some constraints for PHPunit 10. I will also update the composer.json files afterwards.
I don't think that nesbot/carbon:^2 will support PHP 8.4 based on the releases.
(If I remember correctly the Plan is to drop carbon v2 in Laravel 12 right?)

After this PR:
Phpunit 10 - lowest: Errors: 10, Failures: 8, Deprecations: 134
Phpunit 10 - stable: Errors: 9, Failures: 8, Deprecations: 68
Phpunit 11 - lowest: Errors: 10, Failures: 8, Deprecations: 134
Phpunit 11 - stable: Errors: 9, Failures: 8, Deprecations: 68
I assume many errors to be with the lower bounds of some other libraries.

Am I supposed to merge this? Just mark as ready for review if so. 👍

Should be okay to be merged, you can also leave the decision to @driesvints for further review. The final PR #52633 with the PHP8.4 build is still WIP.

Thanks @Jubeki


feat(react-tinacms-s3): Add S3 media store

Tests are still TODO. Paging of results is still TODO.
The form workflow could be nicer. My use case is to enable this plugin together with github open authoring, and currently, the github auth and the S3 auth are both triggered on CMS enable, and they interfere with each other. Would probably better to make the S3 auth just get triggered when opening the media manager.
Anyway, it works in its current state. And it's much more secure than my original PR #1819 - no more hard-coded credentials, now a given user has to enter AWS credentials in the form, in order to CRUD the S3 bucket.
Feedback welcome.

Credit where credit's due: most of the form code I shamelessly borrowed from react-tinacms-strapi .

@nstolmaker sounds like you'd be happier with my original PR #1819 , that doesn't require the user to enter AWS credentials his/herself , but that instead has one set of credentials defined in the back-end via environment variables. You can read the comments in that PR for background, but in a nutshell, I decided that that approach was too insecure (for a great many setups - and if this is to get merged into tinacms proper, then it can't assume a particular setup, such as yours of auth protected by a federated identity provider).
It gets complicated. If you define one or more S3 credentials in the back-end, then ideally you need to protect the endpoint that returns the credentials, behind an auth check. But the different tinacms auth plugins (github, strapi, custom) have different auth systems, with different session cookies, different use of CSRF tokens, and so on. You'd need to make the S3 credentials endpoint specifically support one of more of those auth systems, and it would be impossible to support every auth system out there (because people could have their own custom ones, as it sounds like you do).
And "authenticated" in tinacms doesn't necessarily mean "trusted". With github open authoring (which I assume is the most popular setup, it's the one used by tinacms.org itself), anyone with a github account can log in and start editing. That's fine for github interaction, because untrusted github user joebloggs can only submit a PR from a branch / fork, he/she can't merge to the main branch / repo without the requisite privileges. But it's not fine for S3 interaction, because we don't want that same joebloggs to go and add malicious / inappropriate files to the media bucket, nor to delete existing files that live content depends on.
Shared S3 credentials in general is also problematic, because then we have no audit trail in AWS of who touched what in the bucket - those shared IAM credentials aren't linked to any sessions / identities in the given tinacms auth system.
So, feel free to work on those thorny issues, and you're welcome to contribute in any other way too.

@nstolmaker currently this PR just checks for a populated set of cookies, that contain the STS credentials (access key id, secret access key, session token) needed to talk to S3. The modal form populates these cookies, but potentially, some other custom thing could too. So you could write custom code to run alongside this, that populates the STS credentials from a back-end call to retrieve them, on login.

Thanks @Jaza for this PR, we've moved into a focus towards "backend" media integrations, which allows us to shift the burden of secrets to env vars rather than needing to deal with them on the frontend, it will likely make this work a fair bit easier to deal with in the future. We'll have some updates to media integrations soon!
Closing this as it'll be difficult to maintain given the more abbreviated API we're after. Please feel free to reopen for more discussion


fix(Dropzone): Insertions should be committed when drag ends without a drop.

用于修复以下问题：
鼠标点击【DropItem】拖拽，轻微挪动，但不移动到其它元素位置，直接放下，鼠标再放上去，hover不再响应。

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

@AApuci 需要补充复现工程，验证修复前后现象，请补充


Add License and Build badge in README.md

@koppor I have added issue and also provided fix for it. Can you please have look into it and provide your feedback.

Why do we want to have it? We should have it displayed properly on the blog page.

Anybody who see this project knows the build status and license information.


Added unit test for for_each

One minor comment that I don't think is worth fixing. I think this is ready to merge.


Intelligent codelist value matching

It would be good if 'sensible' values are suggested when matching (e.g. use Levenshtein distance instead of exact matching on the literals)

Dumping legacy commnets:

qber has no "no match option" for the codelist

RH: The question is, what would that mean...? If the values in the table cannot be matched to the code list, there are two options:

The code list is insufficient, and one needs to combine two of them
The value is incomprehensible.

AR: Some more background might get us further: so far I've escaped the code in question and proceed with the next, which means that "Berbice en Demary" were coded http://data.socialhistory.org/resource/utrecht_1839_dirty/value/geboorteland_hb/berbice_en_demerary rather than something from http://id.loc.gov/vocabulary/countries/ (or something else which might be linked). Looking at it again, I see an option http://id.loc.gov/vocabulary/countries/xx which means "unknown etc.". That might be a good option in this particular case, but what we wouldn't want is for data to actually be linked on options like this (one dataset's unknown country is not another datasets's unknown country). In short: an interesting issue.


Redux actions for authorizing and disconnecting Twitter account

Description
Redux actions for authorizing and disconnecting Twitter account
Type of change

[x] Bug fix (non-breaking change which fixes an issue)

Change Status

[ ] Complete, tested, ready to review and merge
[ ] Complete, but not tested (may need new tests)
[x] Incomplete/work-in-progress, PR is for discussion/feedback

Checklist

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] My code has been reviewed by at least one peer
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] There are no merge conflicts

Creating a new PR for this since this branch is out of date with master.


2.2.0 Failing with TypeError: Cannot destructure property versionStage of 'undefined' or 'null'.

@furikake @Flydiverny 2.2.0 poller is failing for ExternalSecrets WITHOUT the new versionStage property with error:
TypeError: Cannot destructure property versionStage of 'undefined' or 'null'.
I will open a PR if I fix it locally.

Is this using dataFrom ?
https://github.com/godaddy/kubernetes-external-secrets/blob/39fe03ffdeab64b8c9230f8993feb242ea168eba/lib/backends/kv-backend.js#L63
Should probably send keyOptions: {} here


add the small JSON file of top level only

add the small JSON file hierarchy_top.json (5KB)

copy the complete json file into static/data/hierarchy_statsvar.json

load the complete json in ComponentDidMount

correct the node path of default statsvar Count_Person

Can you also try this with an url that has a few stats vars selected?

Looks good to me. Do you have any concern?


Omit fundamental constants in scientific unit conversions?

For example, converting between eV and frequency using Planck's constant, and converting between length and frequency with speed of light etc.

How would you design this feature?
If someone types 2meV -> THz, we currently show a type error (lhs: Energy, rhs: Frequency). Numbat can infer that a factor of type Time / (Length² × Mass) = 1 / Action is missing on the left hand side. We can even get it to output that for us using the new typed-hole (?) feature:
>>> 2meV * ? -> THz
error: Found typed hole
  ┌─ <input:11>:1:8
  │
1 │ 2meV * ? -> THz
  │        ^ Time / (Length² × Mass)
  │
  = Found a hole of type 'Time / (Length² × Mass)' in the statement:
  =   2 millielectronvolt × ? ➞ terahertz

We could now go through all defined constants and see if something matches the type of that hole. Or if 1/something matches that hole. We would then find ℏ and ℎ, but without any hard-coded rules, there would be no way of knowing which to take.
And that ambiguity would probably be much bigger for other physical dimensions (speed of light? speed of sound? Escape velocity of planet Earth?).

Thanks for taking all these considerations! Yeah it needs to be more aware of the physical context, e.g., if it is converting to THz or Hz, it would use h, if it is rad/s, it would use ℏ. (This is a bit annoying since currently there is no difference between Hz and rad/s, which imo there should be a 2*pi.)
For other physical dimensions that might have bigger ambiguity, I would restrict to just fundamental physical constants. Pbb only the following three the majority of times:

the gravitational constant G
the speed of light c
the Planck constant h or ℏ

If e.g. the speed of sound is involved, the user pbb should define it and use in the calculation.
This feature would really be for convertion between historical and research field specific conventions of units, like cm^-1 used for MIR and Raman spectroscopy (and converting it to frequency or wavelength), eV used for high energy physics (and converting it to mass or frequency). Not that many use cases but would save quite some time every now and then.

This is a bit annoying since currently there is no difference between Hz and rad/s, which imo there should be a 2*pi.

If you are interested in the background, please see #167 and #91

I would restrict to just fundamental physical constants.

Ok, but this would mean that we would have to hard-code things. Or add a new decorator for this.. something like @fundamental_constant.
I would like it better if we could come up with something more flexible, even if it's not 100% as convenient.
For example, I was recently thinking about some kind of Buckingham-pi-theorem-solver inside Numbat which could look like (syntax up for discussion)
construct<D: Dim>(quantity1, quantity2, …, quantityN)

which would take an arbitrary dimension type D and a list of quantities. It would then search for a solution to the equation
type(quantity1^alpha1 * quantity2^alpha2 * … * quantityN^alphaN) == D

For example: construct<Energy>(mass, velocity) would return mass * velocity^2 (in some way). And construct<Frequency>(energy, ℏ) would return energy * ℏ^-1.
That wouldn't directly help with your use case, but it might be a very useful building block for other features.

Thanks for the background!
I do think the fundamental constants are worth having their own decorators, they are the privileged ones (Units are all made-up in a sense that they are convertible by the fundamental constants). There is really no ambiguity on how to convert from eV to rad/s or um.
I also like the general idea of a solver to construct a dimension from other given ones, would be super helpful for dimensional analysis and order-of-magnitude estimations. Can we have both? blush


How to use LuaCov with Luvit?

[I already described the issue in luvit/luvit#843 and am just copying the relevant part here.]
I am trying to make a coverage analysis of the tests of a module of mine written using Luvit using LuaCov. However, the coverage stats only include measures of luvipath.lua and luvibundle.lua, but completely miss anything else.
Example with testthis.lua:
function testthis()
        print("testthis")
end

testthis()

# luvit -e 'jit.off(); jit.flush(); local luacov = require("luacov");' testthis.lua
testthis
# cat luacov.stats.out
107:/home/tim/luvi/src/lua/luvipath.lua
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 11 0 0 11 31 20 0 11 0 0 5 2 0 3 0 0 0 0 5 5 0 0 0 5 5 11 22 11 6 0 0 0 5 4 0 0 0 5 16 11 31 20 0 11 0 0 0 5 5 25 20 20 20 1 19 1 0 18 0 0 0 0 0 5 13 8 8 0 0 5 5

I compared this with plain LuaJIT:
# rm luacov.stats.out
# luajit -e 'jit.off(); jit.flush(); local luacov = require("luacov");' testthis.lua
testthis
# cat luacov.stats.out
5:testthis.lua
1 1 2 0 2

At first I assumed that all of this is caused by LuaJIT, as described for LuaTrace:

luatrace runs under "plain" Lua and LuaJIT with the -joff option (LuaJIT doesn't call hooks in compiled code, and luatrace loses track of where it's up to)

However, even with the JIT enabled, plain LuaJIT still creates the desired output in my very simple test-case:
# rm luacov.stats.out
# luajit -e 'jit.on(); local luacov = require("luacov");' testthis.lua
testthis
# cat luacov.stats.out
5:testthis.lua
1 1 2 0 2

So it is unclear what happens, but somehow Luvit prevents LuaCov from being seeing the interpreter progress.
The same behaviour can be observed for LuaTrace.
# luvit -e 'jit.off(); jit.flush(); local luatrace = require("luatrace"); luatrace.tron();' tests/run.lua

So apparently they both use the same path, which is blocked by Luvit.
Could you please help me to figure out why LuaCov does not work in this case?

It seems that unlike Lua and LuaJIT  Luvit does not prepend '@' to filenames when setting chunk name for a loaded file. Setting codefromstrings option to true in .luacov config should work. E.g.
return {
   codefromstrings = true,
   include = {"testthis$"}
}

Thanks! That works!


Support estimate_message_fee when implemented in rpc

Feature Request
A rough estimate is it could be done "in a few weeks". Blocked until then.

https://github.com/starkware-libs/starknet-specs/pull/100


add wgpu example with option to make plot the same size as outer window

this is adapted from https://github.com/Yatekii/imgui-wgpu-rs/blob/master/examples/custom_textures.rs and I added the option to make the size of the imgui window stick to the outer window
it's a bit late here so there might be oversights.
happy to apply suggestions as needed (also whether or not this is needed/ wanted here)

Thanks, I'll take a look at it once I find a slot, might not be before tomorrow. I've been thinking about where to put the example code for things like show_configurable_plot and all that - I'd like to avoid copying it around too much. For example code, I'd otherwise prioritize readability and "standalone-ness" over DRY, but since the API is not super stable yet, I expect I'll have to go back and change all the copies a couple of times.

Sure, so I put your example code in ui.rs (other than that there really was not much to do except maybe getting the context). Maybe this ui.rs could be shared between different examples although I'm not exactly sure how that would work without making it hard to copy an example. But at the very least updating these ui files could be a copy paste thing.
I'll also update the example to imgui-wgpu 0.11 which was just released

i just tried this on windows and compared to the glium example (which also broke for me if text scaling was set on windows), this works with resizing and everything perfectly :)

Yea text scaling has been wonky for me with the glium code (that I had copied out of the imgui repo, I have not even written that). Maybe I should check if that code got improvements in imgui-rs itself in the meantime.

Yea text scaling has been wonky for me with the glium code (that I had copied out of the imgui repo, I have not even written that). Maybe I should check if that code got improvements in imgui-rs itself in the meantime.

@benmkw I think I have an idea on how to merge this: We could make one examples crate, and then have features that decide which backend to use. We can then write a nice README on how to use the individual backends by enabling separate features. This will allow us to keep just one copy of the backend-unrelated example code, but still keep the example standalone - it'll be a bit "fatter" than individual examples for each backend, but if we make a good enough README, it should be easy to copy the example and delete out the stuff that is not needed.
What do you think?

I thought we could maybe have one crate as a library which exposes render(ui) and then have a crate for each backend in the examples, thus the code is still easy to copy paste for users and there is still only one place to make updates to implot examples.
The only implot specific code in the backend would be the context creation although that might not even be necessary, I’m on mobile right now :D

Hmn that could also work, yes. I've already screwed with the examples again in the meantime because I've extended the Y axis selection API today, so anything that keeps the examples code only copied once is fine for me. I'm also looking into what's up with imgui + Rust + WASM at the moment, so there will likely be yet another backend path added in the near future.

cool, thanks for your work :) So I'm not so sure about the feature flag thing because I think it makes it harder to copy code for others thats why I would suggest separate projects for each backend.
fwiw wgpu is currently apparently not yet really suitable for web so maybe wait 6 months and then this may be an option for the web as well :)

cool, thanks for your work :) So I'm not so sure about the feature flag thing because I think it makes it harder to copy code for others thats why I would suggest separate projects for each backend.

Let's take your approach then, we create one example crate per implementation and keep the actual rendering code in one crate that we import in the others. Do you want to take a shot at this, or should I merge your code and go about it myself?

fwiw wgpu is currently apparently not yet really suitable for web so maybe wait 6 months and then this may be an option for the web as well :)

I... did not really get this far yet, I'm still messing with the WASM build of imgui itself - see https://github.com/Gekkio/imgui-rs/issues/342 for more info. But good to know that'll require work as well, so I'm mentally prepared :D

I think its best if you do the reorg of the existing code and examples such that you like it and then I will adapt or complain if it does not work :D

(Update: this has not been forgotten, I just haven't gotten around to it yet)


Feature/new user default msg

Summary
When a user hasn't had a meeting yet, they are now shown a default message in Dashboard/Riff Stats.
Ticket Link
https://trello.com/c/J9vX6vY3/232-no-default-dashboard-message-in-riff-edu-for-users-who-havent-had-a-meeting-yet-just-a-blank-page?menu=filter&filter=member:brechanson
Checklist

[x] Ran make check-style to check for style errors (required for all pull requests)
[x] Has UI changes

 No default Dashboard message in Riff Edu for users who haven't had a meeting yet - just a blank page.


Add keyword 'benchmark' to builder name

Add the keyword ‘benchmark’ to builder names to distinguish benchmark tests from other functional tests.
Referred to https://github.com/flutter/flutter/issues/98004 for all benchmark tests.

Before landing this, we'll want to upstream changes in Cocoon to make these non-blocking

Discussed with @KristinBi , and it seems a better option without replying on builder names. A possible solution is add a property benchmark: true to these benchmarks in .ci.yaml. /cc @godofredoc


Return knife-opc's exit status in wrap-knife-opc commands

Knife-opc typically produces a non-zero exit status on failure.
Ensure that this is reflected in chef-server-ctl's exit status.
Fixes chef-server#65

:+1:


Meilisearch return results with a completely different word in it

Describe the bug
See screenshots, When I look up the term 'estates at weddington', the first result is correct but it also has 41 more results that don't really match like Estates at Rockhill and Estates at Hutsfield
To Reproduce
Steps to reproduce the behavior (not sure as we have our own data but):

Create some documents with similar substrings.
search for one of the strings and it should return some other ones that are similar but not the same.

Expected behavior
Only have results with at most 2 letters of typo like the documentation says.
Screenshots

I wondered if maybe the word weddington is nested deep within the other documents but that's not the case

Meilisearch version: [e.g. v0.25.2]
Thank you

Hey @sagar2911, this is not a bug, but the behavior of Meilisearch.
Meilisearch will always try to return the number of documents you requested, sorted by the ranking rules:
https://docs.meilisearch.com/learn/core_concepts/relevancy.html#ranking-rules
That means that if you request  20 documents, and only 1 document match perfectly (all words, no typo...);
Meilisearch will try to allow more and more typos, then it will try to remove words in the query...
For example, in your screenshots:

screenshot 1: Meilisearch is searching the 3 words  then 2 then 1
screenshot 2: because you provided only one word, Meilisearch will stop when 2 typos are allowed.

I hope this answers your issue. 🙂
PS for @gmourier: we should enhance the word ranking rule behavior and allow our users to deactivate optional words

Hi @sagar2911 and @ManyTheFish!
Correct me if i'm wrong but an optionalWords option at false would strictly match documents having all the queried words?
Does this option deactivate the typo tolerance feature in this case?
Thanks

@gmourier, no, it would avoid removing words in the query.
This would be the only way to deactivate this behavior, removing Words ranking rules wouldn't do it.

@ManyTheFish, why couldn't remove the Word criterion do that?  It seems that this is the intuitive thing to do, and this seems validated by user behavior. What is blocking for this issue to make progress?

@MarinPostma yes, I agree, I was just describing the current behavior. 😊

Closing this issue since an answer has been given. I linked this issue to the related discussion on the product side https://github.com/meilisearch/product/discussions/255 for traceability

Hello @sagar2911 and everyone here! 👋
We are working on introducing the relevancy customization during the search with Meilisearch, and we just released a first prototype that allows you, for example, only to return documents containing ALL the query words! :fire:
It would be super helpful if you could let us know if this helps with your issue.
To know more about the prototype and how to use it, take a look at the dedicated discussion.

OMG that would be awesome! I've been looking for this for a while. I use Meilisearch from a backend to match product titles from parsed documents where I expect ONLY a single hit as a result and I often get many results which is useless for me since the code can't decide which one is the right one. That is because of large differentiation in product titles among retailers. This prototype would help a lot in my case. I do hope to see in the future some kind of a relevancy threshold where Meilisearch would not return results below the given value.

Hello @sagar2911, @miagg and everyone here  👋
We have just released v0.29.0rc1, which is a release candidate of v0.29.0 🔥
It introduces a new search parameter named matchingStrategy which allows you to change the default Meilisearch behavior about retrieving documents.
For now, it accepts 2 strategies:

last: the default strategy. If no document contains all the given terms, the engine removes the last query term and so on.
all: All the query terms must be present in a document to make it a search result.

How to use it:
curl \
  -X POST 'http://localhost:7700/indexes/movies/search' \
  -H 'Content-Type: application/json' \
  --data-binary '{ "q": "american ninja", "matchingStrategy": "all" }'

Binaries are attached to the release, or you can use the docker image:
docker run -it --rm \
    -p 7700:7700 \
    getmeili/meilisearch:v0.29.0rc1

Let us know about any bugs or feedback! 😄 It would be really helpful.
FYI, the official v0.29.0 release will be available on 3rd October.


Add bluetooth readout

Hi,
this MR implements a simple (but not so elegant) method to read out the controller via bluetooth.
I haven't found a more elegant method yet.
It works on Linux. I haven't tested it on Windows.

Thanks for the PR! Added some little comments before merging

Thanks for your suggestions. I've incorporated them now


docs: directions for meshery icons and static files in UI

Signed-off-by: Abhishek kr<EMAIL_ADDRESS>Notes for Reviewers
This PR fixes #
Signed commits

[x] Yes, I signed my commits.

path: /project/contributing/contributing-ui#meshery-static-files-and-icons

🚀 Preview for commit 06ee03c2070a3cda980783a071930b350f338823 at: https://639cbdea712b1804844d7bb1--meshery-docs-preview.netlify.app

@deepakdinesh1123 feedback?

🚀 Preview for commit 324ff4907f37141229be9acb85022498f3812b28 at: https://639cd5ff712b1819c74d7d70--meshery-docs-preview.netlify.app

@meshery/meshery-ui-contributors @meshery/meshery-ui-maintainers @meshery/maintainers, these docs outline the folder structure for where to land component icons for Meshery integrations on the filesystem.


Airflow web replica not working

I am trying to run airflow web with replica count 2 the helm chart gets installed and the login UI is shown up, but when I entered the login detail m getting an error The CSRF session token is missing. The Helm chart is working with web replica count 1. My main intention was to check the scalability of the web
What are your Helm values?
web.replicas=2
**following UI I am getting when I hit login button

I am having the same issue, the problem is gone once there is only a single replica for the web.

@rg2609 can you please try with version 8.0.0 of the chart and see if there is still an issue?

I am also facing the same issue.
Chart Version: 8.0.7.
+1

Same. Chart 8.0.9.

After digging into this a little, this seems to either be related a need to add a session "sticky" at the ingress controller or it is related to FAB. If I find a resolution I will post it here.

Well, that was simple. I use nginx for ingress. Adding this annotation to the ingress resolved the CSRF issue.

nginx.ingress.kubernetes.io/affinity: cookie

For those following, you need to set AIRFLOW__WEBSERVER__SECRET_KEY, using the airflow.config.AIRFLOW__WEBSERVER__SECRET_KEY value.
I have raised an issue to throw an error if you forget to do this:

https://github.com/airflow-helm/charts/issues/265

I'm using helm chart version 8.4.0 and still face this problem. any solution for those who use LoadBalancer and don't use ingress?


boracic, allegretto

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 2100s
close stale after: 24 hours
[pullrequest]
requests per hour: 100
deps=[a,b]

/trunk merge


Environment picker

Allows a user to select an environment when none is provided or default to an environment if the user is only in one environment.

Codecov Report

Merging #399 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master    #399      +/-   ##
=========================================
+ Coverage   99.29%   99.3%   +<.01%
=========================================
  Files          73      73
  Lines        1853    1867      +14
  Branches      292     293       +1
=========================================
+ Hits         1840    1854      +14
  Misses         13      13

Flag
Coverage Δ

#builder
100% <ø> (ø)
:arrow_up:

#runtime
95.32% <100%> (+0.3%)
:arrow_up:

#srcapp
100% <ø> (ø)
:arrow_up:

Impacted Files
Coverage Δ

src/app/app.component.ts
100% <ø> (ø)
:arrow_up:

runtime/bootstrapper.ts
100% <100%> (ø)
:arrow_up:

runtime/params.ts
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4d975d1...a959494. Read the comment docs.


Support React 17

Describe the bug
React-Chrono depends on React 16, but 17 has been released.
To Reproduce
Steps to reproduce the behavior:
1.Try to update to React 17.
2. npm install returns this error:
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/react-chrono
npm ERR<EMAIL_ADDRESS>from the root project

Expected behavior
It just works

Sorry, this was just a hiccup on my setup.

How did you solve this hiccup?


Gene-tree stats

I addressed several comments from Paul K. and fixed http://www.ensembl.org/info/genome/compara/prot_tree_stats.html?page=coverage
All tested on my sandbox http://enssand-02.internal.sanger.ac.uk:9073/info/genome/compara/prot_tree_stats.html

Checked all commits except 93a.

93a is fine, too.

Do these need to be pushed out for 86, @muffato ?

Yes please ! Thank you @ens-ds23

Hi Dan,
Has it been pushed live ? I still get the error on http://www.ensembl.org/info/genome/compara/prot_tree_stats.html?page=coverage

Hi @muffato , not yet. There was a bit of a backlog on Thursday with stuff needing to be pushed live, and then I had to unexpectedly take a day off yesterday. I'll push it today.

No worries, just wanted to check if I had missed a bug

Hi Matthieu,
Working now. It looks very neat! We'll have to steal those little
pie-charts for some of our other tables, :-) .
Dan.
On 24/10/16 09:32, Matthieu Muffato wrote:

Hi Dan,
Has it been pushed live ? I still get the error on
http://www.ensembl.org/info/genome/compara/prot_tree_stats.html?page=coverage

To be honest, these piecharts are made with what you'd probably call "old technology", i.e. Raphael. When I introduced these charts ~2 years ago, I just copied what had been chosen for the LastZ stats. But adding a lot of piecharts to a page is a PITA:

You can only have 1 colour space for the whole page, so if you want some yellow+blue piecharts and some red+green ones on the same page you need to define a palette with the four colours and make piecharts with values such as [a,b,0,0] or [0,0,c,d]
For each piechart you need to define an  with the data values and a placeholder for display. The  have to be explicitly indexed with 0..n to be linked to the each  (the  are implicitly indexed by their order in the HTML document). So here we need to have a shared variable counting the number of charts already placed. https://github.com/muffato/ensembl-webcode/blob/master/modules/EnsEMBL/Web/Document/HTML/Compara/GeneTrees.pm#L163
I think Variation is using another library that may be easier to work. Check with them first :)


Add label to triggers in generateDotFileInto

StateMachineConfig.generateDotFileInto() is a useful documentation / debugging tool.
It would be great if the outputted dot file also had labels that showed the triggers between states.

I agree, it would definitely be a nice improvement!

+1


SSR doesnt work

Server side rendering throw error

Hi @rgnevashev, this is actually working as expected. Stripe Elements does not function outside of a browser DOM, so you will need to take care that your initial server-side render does not display any Elements components. You will want to make sure the Stripe instance is loaded and available in the browser before displaying any components from this library.
Hopefully that makes sense, I'm happy to clarify if you have any further questions!

If I hide elements on server side and active only on client, I get react error "Warning: React attempted to reuse markup in a container but the checksum was invalid. This generally means that you are using server rendering and the markup generated on the server was not what the client was expecting. React injected new markup to compensate which works but you have lost many of the benefits of server rendering." + stripe elements appers with some a delay.. It looks not good..

Even though the library technically works as intended, it would be very useful to have support for "isomorphic" apps that render both server-side and in browser.
Thinking through the technical implications, I can see that this could be complex: all of the Elements instantiation logic would need to run on component did-mount. That might be too much hassle to implement as out-of-the-box functionality, but I'd still like to log my vote for this feature.
Thanks!

@fred-stripe Any plan for supporting "isomorphic" apps?

+1 for this as well. We are using react starter kit and also having this same problem

this package being SSR-friendly would be really great. +1

This isn't just 'nice to have', it's vital.
With everything that's happening in React 16 with server-side streaming, and frameworks like Next.js and my own kit ReactQL, SSR is expected to work out the box -- it's naive to expect that every integration will solely use browser-side rendering.
At the very least, react-stripe-elements should return a skeletal representation of the underlying React components via SSR, even if they're not injected with functionality. This would be very easy to do -- just detect whether window is available, and attach or not.

See https://github.com/stripe/react-stripe-elements/issues/120#issuecomment-341895412 for a fix.

Hi @rgnevashev, this is actually working as expected.

@fred-stripe While it make sense to only have the strip elements displayed when the JS runtime is available, this doesn't make the issue resolved.
The main issue comes from the fact than we can't take advantage of the libraries in isomorphic react applications. We should be able to import the library server side. Then only rendering it client side.
import React from 'react';
import {render} from 'react-dom';
import {StripeProvider} from 'react-stripe-elements';

import MyStoreCheckout from './MyStoreCheckout';

import React, { Component } from 'react'
import PropTypes from 'prop-types'

class NoSSR extends Component {
  state = {
    mounted: false,
  }

  componentDidMount() {
    this.setState({ mounted: true })
  }

  render() {
    return this.state.mounted ? this.props.children : <() => null />
  }
}

const App = () => {
  return (
    <NoSSR>
      <StripeProvider apiKey="pk_test_12345">
        <MyStoreCheckout />
      </StripeProvider>
    </NoSSR>
  );
};

@oliviertassinari - I released react-stripe-elements-universal which fixes SSR compatibility.

@leebenson No offense, but relying on third party for payment isn't an option for us.

Everything is third-party in open source. If Stripe don't get their act together, what's your alternative?

👋 Hey everyone! First I want to say thanks for your work on both bringing this issue to our attention, and for coming up with some creative solutions on your own. At Stripe we love building tools and features that make our lives easier, and support for SSR is one of many such features.
We're currently discussing the best way to implement SSR alongside some of our other goals, such as allowing Stripe.js to be loaded asynchronously (#24). We might be able to kill two birds with one stone!

@jez I'm not trying to sound like I'm hurrying you but do you guys have an ETA on this functionality? As I'm planning to move from Stripe v2 to v3, and would be great if this package supports SSR, so maybe it's better for me to wait for it.

@jandramila - just use https://www.npmjs.com/package/react-stripe-elements-universal and then switch to the 'official' version when it's ready. It's exactly the same library, minus lib instantiation when window doesn't exist. Hence, it works via SSR.
This whole repo in its current form is just a really thin wrapper that basically passes through the Stripe element tree as context, so there's zero magic here.
A more interesting feature will be async loading, but until then, no need to wait for anything to land officially!

@leebenson I'll give it a try, thanks for the quick response.

@leebenson your package worked for me perfectly. Thank you

My pleasure, @iamuteti. Glad you found it useful.

@leebenson dumbest question youll get today, how do i install your library and replace my current elements? Readme doesnt say

@mmmikeal, whilst you could just npm i -S react-stripe-elements-universal and import that instead of react-stripe-elements, I'd advise against it before getting the official word from @jez -- it's possible/(probable?) that SSR support is already officially support.
Plus, my fork is 10 months old now, so is likely horribly out of date...

thanks guys I figured out how to install and import universal yesterday, also that my problems were unrelated to SSR!


Feat: Pronouns

closes #272

Nooo they're making Meower woke 🤬🤬🤬

Nooo they're making Meower woke 🤬🤬🤬

this is a joke right?

Nooo they're making Meower woke 🤬🤬🤬

how could they this is unacceptable we need to boycott meower and use facebook instead 🤬🤬🤬🤬🤬🤬🤬🤬🤬

but being fr, having an array and stuff is too complex, it can just be a single string, like tnix also said on meower, see https://leo.atticat.tech/share/?id=4bff790b-cca9-42e5-834f-99b0868f9680

I agree with Josh, this seems like an overengineered solution considering the problem it is trying to solve

I ain't changing the format

I ain't changing the format

then this pr should be closed

It might be a bit difficult to create a UI for entering these like that with clients. I think just using strings would be better.
{
  "pronouns": ["he/him", "they/them"]
}

It might be a bit difficult to create a UI for entering these like that with clients. I think just using strings would be better.
{
  "pronouns": ["he/him", "they/them"]
}

I think this is what's going to be implemented now.

yep

I would suggest going the Discord route and just having one text field.
{
"pronouns": "he/they"
}

that was already 100% ruled out.

that was already 100% ruled out.

you don't make that decision afaik

who said it was going to be merged then?

This should be changed to just a string. I still think an array of strings is too much.

no

This should be changed to just a string. I still think an array of strings is too much.

Why is it too much? It would be nice to be able to have a "preferred" pronoun that could be displayed inline on posts, but to also have another/others that could be displayed on a profile, for instance

This should be changed to just a string. I still think an array of strings is too much.

Why is it too much? It would be nice to be able to have a "preferred" pronoun that could be displayed inline on posts, but to also have another/others that could be displayed on a profile, for instance

You can always use your quote to have more, or link to something like pronouns.page. I don't think Meower as a chat platform needs to have all your pronouns, just the one you most preferred is enough in my opinion.

You can always use your quote to have more, or link to something like pronouns.page. I don't think Meower as a chat platform needs to have all your pronouns, just the one you most prefer is enough in my opinion.

That makes sense

pronoun support is something i'm in favor of adding but the amount of bikeshedding and the focus on rewriting events makes this extremely low priority


Document common Subreddit attributes

Related to #917. Like #920 but doesn't ruin the styling on ReadTheDocs.

See "Typical Attributes" section of https://praw.readthedocs.io/en/table-fix/code_overview/models/subreddit.html

Great, thanks for following up.


Fixes error when calling localtime_s in MetarObservationTime.

Fixes error when calling localtime_s in MetarObservationTime (resolves issue #7).

Looks good, thanks!


Any plan import from 'csv' file and 'json' file ?

From the original project it seems that it is possible to paste the json: https://github.com/JosefNemec/LiteDbExplorer/issues/29
I never used or tested so I don't know how and if it works.
Maybe something more advanced in the future, no plans at the moment but any contribution is welcome.

Thanks for your answers!

That was not abandoned. Within the project we have some progress on this in early stages.


Fix touch areas on Etcher Pro

There is a strange behaviour where only certain regions are clickable, these regions being elements on the current page e.g. main page buttons and icons, settings page checkboxes. This results in the file-picker being unusable because the clickable areas are retained, and only files that overlap with the buttons on the page behind the modal are clickable.

Touch screen tested to work perfectly when plugged directly into laptop, none of these issues

Fixed in #2372


Not updating cases propely. It is displaying minus cases.

This happened because of MoHFW decreasing the count of 'State Unassigned'. Not much we can do about it


mention golang implementation of djot parser

Didn't find any golang parsers for Djot - so I decided to write my own version of it: godjot
The implementation is a bit bumpy in some places but it passes all examples from the doc and I started to write my own documents using this parser (as a version of dogfooding)
So, I decided to give it a try and add this implementation on the official web site.

You can also mention it at https://github.com/jgm/djot/discussions/265

Need to update readme


How do I merge two subroutines?

I can't figure out how to delete or merge subroutines, how do I do that?

I noticed a similar question on reddit are you the same person?
https://www.reddit.com/r/ghidra/comments/bz0hp1/how_do_i_merge_function_labelsnamespaces/
I'll try to address this as simple as possible. Hopefully this stops people from trashing their ghidra projects after they make such a silly mistake.
Step 1
Say we created a funciton but no longer want it so we delete it.

Step 2
Now we have an annoying subroutine that we no longer want.

Steps 3 - 6
The gif clip got snipped but keep with me I have some reference steps below.

Step 3
We first go to a reference address calling the targeted subroutine.

Step 4
Then right click the address and select "References" -> "Delete Memory References."

Step 5
Now we need to "clear" out the "settings" for the disassembly at this address.

Step 6
Then re-disassemble the bytes. Which will restore it as usually just an address with a label.

The Result

Hopefully this will help you and some others out. If you need anything else just ask.
Best of luck with your reversing.


Feat: Credential Service

Description
This PR contains the actual code for the Credential service unlike the previous PR which was submodules based.

Postman Collection
API Compliance Gist

Hey @tejash-jl,
If everything is aligned can we merge this PR and #218 and #219 ?
Thanks
cc: @chakshugautam

remove commented codes

integrate e2e test to the top level Makefile

Create e2e tests for all v2 APIs
Existing tests are present here, https://github.com/Sunbird-RC/sunbird-rc-core/tree/main/java/apitest/src/test/java/e2e/registry

Can you try to increase overall coverage. Some of the files have about 40-50% coverage. Can you look at the credential service and controller.

I have increased the test coverage. Please take a look. 72-101 line in the controller is tested in e2e tests but not reflected here. It is the header parsing logic for accept header

Moving to vault token to .env will require a bit of refactoring in all 3 services and I am planning to make it as a different PR. For now, I am just removing it from the compose.


(greengrass loder): export PATH for JAVA_HOME

Describe the bug
i am just starting for new project of greengrass iot
but my device has a very small memory then i want to install corretto to another partition.
when boot time. i mount corretto install folder to " /opt-aws/". the java path is changed.
i got a problem when i try to launch greengrass service....
then i got a error.  can't found java command
To Reproduce
Expected behavior
get java path and launch with no error
Actual behavior
journalctl log
/opt-aws/greengrass/v2/alts/current/distro/bin/loader: line 40: java: command not found
I found loader file has call "java" point.
how about add "export PATH =$PATH:JAVA_HOME" into loader file.
Environment

OS: [e.g. Ubuntu 18.04]
JDK version: Corretto-<IP_ADDRESS>.1
Nucleus version:2.5.6

Additional context
E.g. what is the impact of the bug?

You can symlink java so that it will be included in the search of PATH.
You may also edit the systemd service definition (/etc/systemd/system/greengrass.service) to set your own path, such as:
[Service]
Environment="PATH=/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:<path to corretto>"

This is not a bug with Greengrass, but with how you have installed Java. Please correct the Java installation or use the provided work around.


Fixed broken link to Community

The original index.md file in the g3doc/resources is removed, and this would be the most appropriate one that found in docs_src/about.

Can one of the admins verify this patch?

@calpa Thank you for the change. Could you please sign the CLA?

@caisq I signed it!


Make the @yamada-ui/carousel component headless

script: make-component-headless
package: @yamada-ui/carousel
Description
Currently, the @yamada-ui/carousel component has minimal styles set within the component's source code.
We want to make this style transferable to the theme and make the component headless, enabling more flexible UI customization.
Problem Statement/Justification
By making the @yamada-ui/carousel component headless, we can achieve more flexible styling tailored to the project.
Proposed Solution or API
The styles within the component are mostly defined by css: CSSUIObject and set to a prop named __css. We will transfer these styles to the packages/theme/src/components.
The code below is just an example and not the actual code.
packages/components/input/src/input-group.tsx
const css: CSSUIObject = {
- width: "100%",
- display: "flex",
- position: "relative",
  ...styles.container,
}

packages/theme/src/components/input.ts
baseStyle: {
  container: {
+   width: "100%",
+   display: "flex",
+   position: "relative",
  },
  field: {
    width: "100%",
    minWidth: 0,
    outline: 0,
    position: "relative",
    appearance: "none",
    transitionProperty: "common",
    transitionDuration: "normal",
    _disabled: {
      opacity: 0.4,
      cursor: "not-allowed",
    },
  },
  element: {
    color: ["blackAlpha.600", "whiteAlpha.700"],
  },
},

[!TIP]
In cases where the styles within the component are dynamically changed, there may be instances where it is not possible to transfer the styles to the theme.
In such cases, it needs to be discussed in this issue. Please feel free to send comments to this issue.

Additional Information
The @yamada-ui/carousel component exists in packages/components/carousel/src. You need to check all the components in this folder and if they contain styles internally, you need to modify them.
This change could have a significant impact on projects using Yamada UI, so we will work on it within the scope of v2.0.
Please create the branch for working on this issue from the remote branch v2.0, and direct your pull requests to the v2.0 branch as well.
Please select major for the changeset and create a pull request.

May I try this?

@balckowl
Hi, thanks for the comment!
Yes, please!

Fixed #2018


Allow the tqdm progress bar to be disabled

Fixes #282

@jjkoehorst Does this fix the issue sufficiently for having all the progress bar output mess with multithreading?


CVE-2020-9283

It appears that golang.org/x/crypto v0.0.0-20190911031432-227b76d455e7 has a known vulnerability. Could we upgrade the version used?
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-9283

bump this