feat(google): added gemini api as provider

What:
Adding support for the Gemini API.

Why:
Extra extensibility for LLMs.

How:
Fiddling around with the code to copy the implementation of the other LLMs.

Checklist:

[ ] Documentation
[ ] Tests
[ ] Ready to be merged

Probably not ready to be merged. I made this implementation because I needed it for my personal project.
Therefore, my timeline is a bit rushed and I didn't write any tests (documentation was added where needed, but not a lot was needed).
I don't plan to add any tests or further documentation, only bug fixes. This pull request will likely require work on others' parts to be fully ingratiated with the codebase - but I figure it might be at least a little useful as it is now.
Sorry I could not contribute more. Thanks for the awesome library.

https://github.com/arshad-yaseen/monacopilot/issues/78#issue-2670517926

Thank you so much, @leftmove ❤ No worries, I'll take care of the remaining tasks like tests, documentation, cleanups, etc.


CHEBI:53020

https://wwwdev.ebi.ac.uk/chebi/beta/CHEBI:53020
It seems to add the number 2 in front of the formula which needs fixing.
The Mass, InChI and InChIKey calculated are different to the ones generated by ACD which is unusual.

for some reason the S GROUP is detected twice, we'll need to look at it so it is probably the reason why molecular formula has the 2 in front and the weights also differ from ACD calculations. I expect ACD show smaller values?
we'll need to check on that
InChI and InChI key values are the ones provided by rdkit by directly calling the InChI software so that's much tricker.

The formula and mass generated by ACD is:

The InChI and InChIKey is :
InChI=1S/C87H150N2O72P2.C20H34/c1-20(2)5-6-136-162(130,131)161-163(132,133)160-76-37(89-22(4)102)48(113)65(31(15-98)145-76)150-75-36(88-21(3)101)47(112)66(30(14-97)144-75)151-85-64(129)72(157-86-74(53(118)42(107)26(10-93)142-86)159-87-73(52(117)41(106)27(11-94)143-87)158-84-63(128)70(44(109)29(13-96)141-84)156-83-62(127)69(43(108)28(12-95)140-83)154-81-58(123)51(116)40(105)25(9-92)139-81)46(111)35(149-85)19-135-78-61(126)71(155-82-60(125)55(120)68(33(17-100)147-82)153-80-57(122)50(115)39(104)24(8-91)138-80)45(110)34(148-78)18-134-77-59(124)54(119)67(32(16-99)146-77)152-79-56(121)49(114)38(103)23(7-90)137-79;1-7-18(4)12-9-14-20(6)16-10-15-19(5)13-8-11-17(2)3/h20,23-87,90-100,103-129H,5-19H2,1-4H3,(H,88,101)(H,89,102)(H,130,131)(H,132,133);7,11,14-15H,8-10,12-13,16H2,1-6H3/b;18-7+,19-15+,20-14+/t23-,24-,25-,26-,27-,28-,29-,30-,31-,32-,33-,34-,35-,36-,37-,38-,39-,40-,41-,42-,43-,44-,45-,46-,47-,48-,49+,50+,51+,52+,53+,54-,55-,56+,57+,58-,59+,60+,61+,62-,63+,64+,65-,66-,67-,68-,69+,70+,71+,72+,73+,74+,75+,76-,77+,78+,79-,80-,81-,82-,83-,84-,85+,86-,87-;/m1./s1
DSXMJBFOHIPMOF-DSJWLFSWSA-N

do you know which version of inchi is ACD using?

I think it is version 1.05

more potential molecules with issues:
37633
51133
51133
53334
53019
53020
53022
53023
53325
53398
28427
81539
81539
84166
141517
81539
53571
53498
53723
53742
59081
59085
all seem to have SPL (parent list) sgroups. We should maybe not calculate them until we can find a fix. Some of the structures may be incorrect as well.

using index and PARENT properties in SGROUPS may give enough infromation to calculate them:
for sg in Chem.GetMolSubstanceGroups(mol):
    print(sg.GetPropsAsDict())

now fixed in the code, will open a different issue with other kind of related issues


Use the whole screen estate for content

col-md-12 will already constrain the width accordingly.

I need a moment to try it and see if this change would be a problem for anybody (after all, nobody in these years has never presented anything like that – even if it's simple).

I tried it but I don't like how large the main column will become, making the text harder to read, imho.
Thank you anyway!

@claudioc will you accept this patch with a config option?

@gramakri Since you can change / override this behaviour at your pleasure using the _style.css, I don't think there is no need for a configuration option. Don't you think?

@claudioc that works as well :+1:


Create public header directory

Could save a bit of memory as mentioned in the comment, other than that LGTM :)


Convert AlphaFold2 model to TensorFlow format

Hello!
Is it possible to convert AlphaFold2 model to TensorFlow format?
I tried to do this after reading instruction, but it is unclear how to find and extract the model definition which can be transferred to TF.
I was able to load the pretrained model(s) using next code:

model_name = 'model_1'  # model_2, ...
num_ensemble = 1
model_config = config.model_config(model_name)
model_config.data.eval.num_ensemble = num_ensemble
model_params = data.get_model_haiku_params(
model_name=model_name, data_dir='/home/user/repositories/models/')
model_runner = model.RunModel(model_config, model_params)

but I don't find a way to use it for conversion.
Also I tried to initialize model using next code:

def model(model_config):
model = modules.AlphaFold(model_config.model)
return model(1,
is_training=False,
compute_loss=False,
ensemble_representations=True)

and got next error:
ValueError: All hk.Modules must be initialized inside an hk.transform.
@Augustin-Zidek @tomwardio @saran-t
Can you give me some advices?

hello!
I am trying to covert alphafold 2 tensorflow format now.
I followed instuctions from haiku Documents(https://dm-haiku.readthedocs.io/en/latest/notebooks/jax2tf.html) and wrap the jax evaluation function with JaxModule,where I used apply function from RunModel  as the apply_fn.
Here is the codes I tried to convert an alphafold model to tensorflow and execute it:
from alphafold.model import model,data,config
import os
import pickle
import tensorflow as tf
from jax.experimental import jax2tf
import sonnet as snt
import tensorflow as tf
import tree
import jax

os.environ['XLA_PYTHON_CLIENT_PREALLOCATE'] = "false"
gpus = tf.config.list_physical_devices('GPU')
if gpus:
    try:
        for gpu in gpus:
            tf.config.experimental.set_memory_growth(gpu, True)
    except RuntimeError as e:
        # Memory growth must be set before GPUs have been initialized.
        print(e)

def main():
    model_name = 'model_1'
    data_dir = '/home/jimmy.zhang/40_nfs/repos/BioCal_zhejiang/alphafold/run_alphafold/alphafold_params'
    output_dir='/home/jimmy.zhang/40_nfs/repos/BioCal_zhejiang/alphafold/run_alphafold/0'

    model_config = config.model_config(model_name)
    model_config.data.eval.num_ensemble = 1
    model_params = data.get_model_haiku_params(
        model_name=model_name, data_dir=data_dir)
    model_runner = model.RunModel(model_config, model_params)

    features_output_path = os.path.join(output_dir, 'features.pkl')
    feature_dict = pickle.load(open(features_output_path, 'rb'))

    model_random_seed=1234
    processed_feature_dict = model_runner.process_features(
        feature_dict, random_seed=model_random_seed)
    apply_fn = model_runner.apply
    net = JaxModule(model_params, apply_fn,model_random_seed)
    prediction_result = net(processed_feature_dict)
    print(prediction_result)

def create_variable(path, value):
  name = '/'.join(map(str, path)).replace('~', '_')
  return tf.Variable(value, name=name)

class JaxModule(snt.Module):
  def __init__(self, params, apply_fn, random_seed,name=None):
    super().__init__(name=name)
    self._params = tree.map_structure_with_path(create_variable, params)
    self._apply = jax2tf.convert(lambda p, x: apply_fn(p, jax.random.PRNGKey(random_seed), x))
    self._apply = tf.autograph.experimental.do_not_convert(self._apply)

  def __call__(self, inputs):
    return self._apply(self._params, inputs)

if __name__ == '__main__':
    main()

But I got memory allocation failure Error. I am using V100-32GB gpu, it could run with alphafold with jax well. So I believe there must be something wrong.
I notice that there is some while loop in alphafold module. So I am wondering that whether  jax2tf will flat the while loops in memory and How could I avoid it?


Preflight Checklist

[X] I agree to follow the Code of Conduct that this project adheres to.
[X] I have searched the issue tracker for an issue that matches the one I want to file, without success.
[X] I am not looking for support or already pursued the available support channels without success.

Version
1.9.2
Installation Type
Official Kubernetes
Service Name
DongTai-agent-java
Describe the details of the bug and the steps to reproduce it
1.9.2版本的agent注册不上去服务。确认过网络和上传的agent服务都是正常的。

Additional Information
No response
Logs
No response

补一张重启过的日志

Can you provide relevant server logs?
For example, the pod log of dongtai-server


Feature request: unify show type and close bubble into "toggle type"

I'm not convinced that close-bubble needs a keybinding (that's why it's not mentioned in the README). It's automatically closed when the cursor position changes.
But it does no harm either, so I changed show-type to toggle-type, but kept the old command too for backward compatibility.


Local+Cloud Scheduler Flexibility POC

Read first a bit of Node computation flexibility for a proper context.
What we want here some specialized tools to introduce some flexibility into DAG's  scheduling. Namely being able to assign workers to tasks/jobs -- even more concretely, here, to be able to tell the (local) DAG that it must send some its tasks (represented by "func nodes") to be computed in the cloud, via an http web service API.
In this first version, we will:

use py2http to create a web service that has endpoints for the tasks (functions) it needs to handle
use http2py to create a python function that binds to that web service
use DAG.ch_funcs to get a version of the DAG that uses these web-service-bound python functions instead of the original ones.

Example code
So, taking it with a grain of salt please, here's what it might look like:
import i2
from meshed import code_to_dag

def find_funcs(dag, func_outs):
    return list(dag.find_funcs(lambda x: x.out in func_outs))

def mk_dag_with_wf_funcs(dag, ws_funcs):
    return dag.ch_funcs(ws_funcs)

@code_to_dag
def mk_hybrid_dag():
    funcs_to_cloudify = find_funcs(dag, func_ids_to_cloudify)
    ws_app = mk_web_service(funcs_to_cloudify)
    ws_funcs = py_binder_funcs(ws_app, funcs_to_cloudify)
    ws_dag = mk_dag_with_wf_funcs(dag, ws_funcs)

assert str(i2.Sig(mk_hybrid_dag)) == '(dag, func_ids_to_cloudify)'

mk_hybrid_dag.dot_digraph()

Note that I've already given, here, the code (or proposal code) for two of the functions needed for mk_hybrid_dag. The ones that are remaining are mk_web_service to make the web-service (with py2http), and py_binder_funcs to make the python binders to the needed APIs.
Also note that mk_hybrid_dag doesn't return the ws_app object here, but probably should (or be added as an attribute to wf_dag so it's available) since for a demo, you'd like to take that object and use it to launch the service.
Example test
from meshed.examples import online_marketing_funcs as funcs
from meshed import DAG

# The parameters
dag = DAG(funcs)
funcs_ids_to_cloudify = ['cost', 'revenue']
input_dict = dict(
    impressions=1000,
    cost_per_impression=0.02,
    click_per_impression=0.3,
    sales_per_click=0.05,
    revenue_per_sale=100
)

# Calling mk_hybrid_dag
ws_dag = mk_hybrid_dag(dag, funcs_ids_to_cloudify)

# Testing ws_dag
#
#   Here, we assume we can find the ws_app as an attribute of ws_dag
#   (could also have mk_hybrid_dag return a (ws_dag, ws_app) tuple instead)
#
#   We also assume we can launch the webservice with launch_webservice, which should
#   have the effect of running the webservice in a separate thread.
#   I wrote stuff for that in py2http/http2py; I think there should still be traces of
#   it there.
with launch_webservice(ws_dag.ws_app):  # runs the webservice in a separate thread (there's stuff in py2http/http2py for this)

    dag_result = dag(**input_dict)
    ws_dag_result = ws_dag(**input_dict)
    assert dag_result == ws_dag_result

https://github.com/i2mint/meshed/issues/65


Midea Aircondition don't work after latest hassio

HA core version
2024.4.0
Intergration version
0.3.22
Device type and model
Air Conditioner 00000Q15 (0) by Midea
Used App
SmartHome
The description of problem
Midea Aircondition don't work after latest hassio operating system.
The logs
No response

Dupe https://github.com/georgezhao2010/midea_ac_lan/issues/483

Pull Pull https://github.com/georgezhao2010/midea_ac_lan/pull/420

The midea_ac_lan custom integration implements the is_aux_heat property or uses auxiliary heater methods in a subclass of ClimateEntity.
Create an error report at https://github.com/georgezhao2010/midea_ac_lan/issues.
Once an updated version of midea_ac_lan is available, install it and restart Home Assistant to resolve this issue.


Introduce to_physical function for Array Trait.

Any logic array can transmute into physical array through to_physical function.

Could you expand a bit the context of this? I am a bit unsure what is this about.


HLD brainstorming - Formatted text table columns

Pull Request
🤨 Rationale
First pass of design document for #1011. I'm considering formatted text more holistically, so this is also relevant to #1014.
👩💻 Implementation
The document describes several alternative high-level approaches and proposes which ones we should pursue. Once we agree on the high-level direction in this PR, I will move it back to draft while I refine the proposed APIs and fill in the rest of the HLD template.

Closing in favor of #1224. All of the excellent feedback in this PR has been captured in that update.


ignoreSurroundingSpaces is not working after upgrading to version 0.16.0

After upgrading to 0.16.0 from 0.14.0, my tests started failing.
Here is the output of the unit test
== Results ==
!== Correct Answer - 4 ==   == Spark Answer - 4 ==
 struct<id:string>          struct<id:string>
![A]                        [ B]
![B]                        [ D ]
![C]                        [A]
![D]                        [C ]

Here is how I read the file
    context.spark.read
      .format("com.databricks.spark.xml")
      .option("mode", "FAILFAST")
      .option("inferSchema", true)
      .option("rootTag", "feed")
      .option("rowTag", "entry")
      .option("treatEmptyValuesAsNulls", true)
      .option("ignoreNamespace", true)
      .option("ignoreSurroundingSpaces", true)
      .load("/path/to/file.xml")

and this is the input file
<?xml version="1.0" encoding="UTF-8"?>
<feed>
    <entry>
        <id>A</id>
    </entry>
    <entry>
        <id> B</id>
    </entry>
    <entry>
        <id>C </id>
    </entry>
    <entry>
        <id> D </id>
    </entry>
</feed>

Yeah, hm, I see what happened. I'll open a PR for this shortly.


Inputs on database design decisions

Hello folks,
Thanks for developing Saleor.
We are part of the database group at Georgia Tech. We are developing a tool, called sqlcheck, for assisting database application developers in designing performant and maintainable applications. sqlcheck automatically detects sub-optimal database design choices and suggests better alternatives. For instance, storing comma-separated values in a column violates the first normal form, which impacts the performance, maintainability, and extensibility of the application.
We extracted SQL queries from Saleor and analyzed them with sqlcheck. Here are the results:

Too many indexes/Indexes not being used: In certain tables (e.g., product_category), we observed that the application constructs indexes on many columns in these models. We found that many of these indexes are not being utilized by the queries obtained by running the integration tests. Our experiments with sqlcheck showed that constructing too many indexes slows down data ingestion. We understand that this design decision could stem from application requirements. Could you please share the rationale behind this design decision?
Multi-valued attributes: Storing delimiter separated values in a single column. In Saleor, the tool identified the usage of pattern matching on countries column of shipping_shippingzone table for filtering rows and we believe this column contains delimiter separated values. Our experiments with sqlcheck showed that there is a significant performance impact in querying or updating such columns and the pattern matching could possibly return inaccurate results. The alternate better approach, i.e., having an intermediate table to represent this Many to Many relationship, could result in an approximately 10x performance gain and also makes sure that the application is maintainable, accurate and extensible.

We hope that sqlcheck will assist the broader community of database application developers with designing applications. Your feedback will be greatly appreciated.
Thanks for your time.

Thanks for replying back. We are glad that you find the suggestions provided by sqlcheck useful.
We have already performed a similar experiment with a table containing 10 million records (M2M relations). The experiment is performed in an environment where there are no concurrent requests to the database. Please check the table below.

SELECT
INSERT new

comma separate strings
5s
0.7s

separate table (no-index on fields)
0.003s
0.003s

separate table (index on fields)
0.002s
0.003s

Array with "GIN Index"
0.005s
1.4s

Note: We performed all our experiments on PostgreSQL 11. For Array, we used "string_to_array" and created a GIN index on the column.
If you are looking for a quick solution to improve your read performance, you could look into the GIN index provided by postgres.
If you could provide us some stats on, the size of your tables, queries which are executed the most, etc, we will be happy to provide more inputs and results from relevant experiments.
Hope you find this information useful.


Lastupdate value does not remain as initial node notification time [bug]

Before submitting a bug please read: https://zwave-js.github.io/zwavejs2mqtt/#/troubleshooting/bug_report
Version
Build/Run method

[X ] Docker
[ ] PKG
[ ] Manually built (git clone - npm install - npm run build )

Latest :dev image (from yesterday)
Describe the bug
Not sure if this is a bug or working as designed.
When restarting zwavejs2mqtt mqtt messages are sent for all node values. The lastUpdate value in the message JSON is set to the time that the update was sent (i.e. now) rather than the time that the update was received from the node.
To Reproduce
For example a battery temperature sensor that only sends a zwave update every 60 minutes when it wakes up, if I wait until the scheduled wakeup/send then I see the lastupdate is the time the node send the update. If I wait 5 minutes then restart zwavejs2mqtt another message is sent and the lastupdate has updated to current time.
Expected behavior
Ideally this would still be the timestamp from when the node sent the update.
Additional context
This makes determining if messages are old or new on restart, or applying logic at receiving end to handle 'old' retained messages differently difficult (impossible).
I have not attached any logs as they are as expected, as noted above not sure if this is a bug or current behavior is as desired. Can add logs if needed.

@chrish987 this is by design, when I receive values updates I don't keep a storage of them so I keep the time of when I read the value. @AlCalzone Any thoughts about adding this on zwave-js side? As you are storing all values in a db

You should distinguish between values read from cache and the one that are emitted as value events from zwave-js during the interview. IMO zwavejs2mqtt shouldn't emit updates for values it reads from cache.
I've solved this in iobroker.zwave2 the following way:
On "node ready":

If the interview stage is Completed do nothing (the interview was just completed and we got updated values)
If the interview stage is < Completed (i.e. restarted from cache), read all values from cache and mark them as stale. The values will be updated afterwards
On "value added", "value updated", "value removed":
Pass fresh values through

I do this as it could be that for some reason aa user has cleaned all the retained values, in that case sending them on startup helps to keep the state updated

But there must be a way to say: "this value is not fresh, don't act on it!", right?

@AlCalzone yep I could add a field for that in the payload, but could be doine also by including node info in the payload and make a check on the node stage (that is already available).

A bit more background on what I am trying to achieve. I would like the zwave s/w to be the master of storing values related to zwave nodes, and provide a mechanism to query for these values at any time, this should not only be via a pollValue call which for a battery device could wait until the device wakes up, but by a getValue which could retrieve from cache - in this case the time that the actual update was sent by the device is important.
Can zwave-js not store a timestamp of when the update was received from the node?
I gave the example in the ticket of when zwavejs2mqtt is restarted, but i think there are other use cases, for example the getValue to retrieve a value from cache, here the Interview process could be completed (although my understanding of that is a bit limited - sorry) and a value queried could still be 'old' although valid as it is the most recent update from the device. In this scenario knowing the actual time is very useful for whatever workflow is going to be triggered.
I think sending all the updates on a s/w restart is a useful feature, but could maybe be an option, or even better an option to do by default and a button in the GUI to trigger manually if required. Could also be an API action to trigger, there is a startup message send so an external workflow could trigger on this and then manually trigger rebroadcast of all values by API if required.
There is a value in nodeinfo - lastactive - not sure where this comes from but in my testing it seems to update on a restart to the current time, even with no node activity (interview stage is RestartFromCache). Including the nodeinfo in the payload could be useful but i don't think just the interview stage can be used for all logic - as noted above.
Let me know if this is not the general direction for the s/w, as there are other options, I could for example master values in home assistant, however mastering as close to the source as possible seems architecturally 'better'.. even with the values stored externally a timestamp of when the event happened will be useful.

A bit more background on what I am trying to achieve. I would like the zwave s/w to be the master of storing values related to zwave nodes, and provide a mechanism to query for these values at any time, this should not only be via a pollValue call which for a battery device could wait until the device wakes up, but by a getValue which could retrieve from cache

This is already possible in node-zwave-js - the method is called getValue. I'll leave it up to @robertsLando to decide if it makes sense to expose it through zwavejs2mqtt, since MQTT should have all the cached values anyways if I understand correctly, since any changes in the node-zwave-js cache notify zwavejs2mqtt immediately.

There is a value in nodeinfo - lastactive - not sure where this comes from but in my testing it seems to update on a restart to the current time, even with no node activity

zwavejs2mqtt adds this value - I guess it doesn't distinguish between cached and fresh values here?

There is a value in nodeinfo - lastactive - not sure where this comes from but in my testing it seems to update on a restart to the current time, even with no node activity

Like for the values, nothing is stored so it is updated when I receive something from a node (or more in general an event from zwavejs regarding that node).

any more thoughts on storing the time the value was received from the node in zwave-js and then passing that through to zwave-js2mqtt as payload?

@AlCalzone ?

I don't see the huge benefit, but I guess it could be interesting.

When (if) this is implemented in zwavejs2mqtt it will be useful to add as an additional value, not replace the existing value. So having fields for the time that zwavejs2mqtt created the message, and then the field from zwave-js that indicates the time the message was received from the node. Should add some flexibility on applying logic.
I think above might help with logic on trying to avoid double handling messages in certain scenarios - although I am just about to start exploring the QoS settings and see what is possible here (only ever bothered with QoS = 0 up to now).

Nope. There are much more pressing issues to be solved.

Hi, just to say i'm interesting too by this function.


Typos in p55-56

bottom of page 55
print('Labels counts in y:'......

this should be Label counts. Similar issue in Page 56

Thanks, I appreciate it! fixed it in the code and added it to the errata.


VisualStudio command Edit.FormatDocument breaks the indention

When I am in VS and execute the command Edit.FormatDocument (CTRL+E,D) this happens= >
https://gyazo.com/209c7bc8d065dcd7eef421f780e2682f

It is annoying, but there is simple workaround: remove space between @functions and {. Unfortunately the correct formatting is that after Ctrl+E,D with space before { or with { in a new line. We are writing C# code and it should be formatted like this:
@functions
{
    bool collapseNavMenu = true;
    void ToggleNavMenu()
    {
        collapseNavMenu = !collapseNavMenu;
    }
}

Sorry for the inconvenience. We're aware of many cases where .cshtml formatting goes wrong and are working on making this more robust.


nuances with copy to clipboard

A few things I've noticed about copy to the clipboard that could use cleaning up:
Receive Tab

Address Box: If you right click on the address, it has a little pop up that says "Copied!", but then it also shows the context menu underneath that that has "Copy" and "Select All". "Copy" is greyed out and "Select All" doesn't do anything.
Output Descriptor: Can't copy anything there.

Addresses Tab

Does it make sense to allow copy of the derivation path of each address when right clicking?

Settings Tab

Descriptor: If we right click, we can "Copy Value". That copies the abbreviated descriptor that doesn't have any formal meaning. Wondering if this option should be removed? I don't know why anyone should ever copy that over the real descriptor. I think having two options leads to confusion.
Descriptor: Wondering if it is useful to add the little copy icon like we have under the Receive Tab Address Box right side? I'm thinking it could go next to either the QR code icon or the "Show..." button.
xpub: Again, wondering if it is useful to add the little copy icon like we have under the Receive Tab Address Box right side?

Address Box: If you right click on the address, it has a little pop up that says "Copied!", but then it also shows the context menu underneath that that has "Copy" and "Select All". "Copy" is greyed out and "Select All" doesn't do anything.

Removed the context menu.

Output Descriptor: Can't copy anything there.

Copy context item added.

Does it make sense to allow copy of the derivation path of each address when right clicking?

I'm not sure, but it seems a bit unnecessary, so I'll leave it off for now.

Descriptor: If we right click, we can "Copy Value". That copies the abbreviated descriptor that doesn't have any formal meaning. Wondering if this option should be removed? I don't know why anyone should ever copy that over the real descriptor. I think having two options leads to confusion.

The thinking here is to include both to differentiate them - otherwise it might be surprising if you were expecting to copy what you see, and you get something else. Here at least both options are added, so you can discover the difference.

Descriptor: Wondering if it is useful to add the little copy icon like we have under the Receive Tab Address Box right side? I'm thinking it could go next to either the QR code icon or the "Show..." button.

I am always wary of adding more complexity, especially to an already complex screen. Also, see above - people might be confused to copy a full output descriptor when they are viewing the abbreviated one.

xpub: Again, wondering if it is useful to add the little copy icon like we have under the Receive Tab Address Box right side?

Same concern about complexity, but also it's going to difficult to do this (technically and visually) in a text area (as opposed to a textfield).
f1cddc28.


CLOUDP-66831: mongocli atlas cluster(s) onlineArchive list

Proposed changes
Jira ticket: CLOUDP-66831
Checklist

[x] I have added tests that prove my fix is effective or that my feature works
[x] I have added any necessary documentation (if appropriate)
[x] I have run make fmt and formatted my code

Example
mongocli atlas clusters onlinearchive ls --clusterName testShard
[
	{
		"_id": "5f04b0e13fe0b32bb2d78af8",
		"clusterName": "testShard",
		"collName": "test",
		"criteria": {
			"dateField": "created_at",
			"expireAfterDays": 2
		},
		"dbName": "test",
		"groupId": "5e429f2e06822c6eac4d59c9",
		"paused": false,
		"state": "PENDING"
	}
]

Depends on https://github.com/mongodb/go-client-mongodb-atlas/pull/107

This should be ready to review @robcarlan-mlab


Importing Database Error

When I tired to import the mysql database I got this error.
SQL query:
CREATE TABLE IF NOT EXISTS chat(
id INT( 11 ) NOT NULL AUTO_INCREMENT ,
steamUserID BIGINT( 11 ) NOT NULL ,
text TEXT COLLATE latin1_general_ci NOT NULL ,
date TEXT COLLATE latin1_general_ci NOT NULL ,
time TEXT COLLATE latin1_general_ci NOT NULL ,
PRIMARY KEY ( id )
) ENGINE = MYISAM DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci;
MySQL said: Documentation
#1115 - Unknown character set: 'utf8mb4'

Ok, I fixed that problem but I cant get the site to connect to the database... Where do I want to put the password.txt folder... Like on centos when it shows /../password.txt where does it actually look?

So it should be stored here correct? http://s23.postimg.org/icggfsux7/Untitled.png

@andrewda

I believe that is correct.

@andrewda I tried it and it still doesn't work... Here is the website, http://www.spongenetwork.tk                I have yet to change the domain or anything on the website yet. Just trying to get the database connected before I do anything else if your curious.  So its looking for the password.txt with this code, 	$fileLoc = $_SERVER['DOCUMENT_ROOT'] . '/../passwords.txt';
Also the password.txt has this in it
{"default-password":"WherePassWordWouldBe","steamAPIKey":"SteamAPIKey"}
Is that what it should be?

@andrewda Hello?

Can I get help setting up the site? @andrewda

Ok, well I'll need you to show me some PHP errors to be able to help you out.

@andrewda   So this is the error I'm getting atm.
[Wed Mar 16 18:01:14 2016] [error] [client (Nope)] PHP Fatal error:  Call to a member function query() on a non-object in /var/www/html/php/login-status.php on line 36, referer: http://<IP_ADDRESS>/
The line of code is    $stmt = $db->query('SELECT * FROM history');

I am getting the same error, if anyone knows a fix, it would be greatly appriciated.

add me on steam i can help you: /id/enizunic93
Comment on profile why you added me.

You tried charging me 300 bucks to fix this error. Well more or less you tried to sell me one of your pre built sites! @enizunic93

Is there anyone who can help without charging?


GDScript lambda functions fail when a parameter is type-annotated with a nested class

Godot version
4.0 beta 1
System information
Windows 10, Intel Core i7-10750H CPU, NVIDIA GeForce GTX 1650 Ti graphics, Vulkan
Issue description
Refer to the Steps to reproduce section, and notice the _ready() function.
When run, its output is the following:
[<RefCounted#-9223372012343262836>]
[true]
[]

The first line - corresponding to print(dictionary.values()) - is normal and expected. It simply prints out the dictionary's values as an array, and there is only one value (of type Outer.Inner, which happens to inherit RefCounted implicitly).
The second line - corresponding to print(dictionary.values().map(func(inner): return inner is Outer.Inner)) - is also normal and expected. The map() function here maps each value to a boolean value - true if the value is of type Outer.Inner and false otherwise. The singluar value in the dictionary is definitely of type Outer.Inner, and so the result of map() is an array with a single true inside it.
The last line of the output - corresponding to print(dictionary.values().map(func(inner: Outer.Inner) -> bool: return inner is Outer.Inner)) - is the issue. Notice that the lambda function in this map() is essentially the same as the previous one, but just with type annotations for the parameter and return type. Theoretically, this means it should return the same result as the previous map() - being a pure function. However, it returns an empty array instead. Examining the debugger output reveals two errors (expanded):
E 0:00:01:0236   _ready: Can't get method on CallableCustom "<anonymous lambda>(lambda)".
  <C++ Error>    Method/function failed. Returning: StringName()
  <C++ Source>   core/variant/callable.cpp:318 @ get_method()
  <Stack Trace>  main.gd:8 @ _ready()
E 0:00:01:0237   _ready: Error calling method from 'map': 'GDScript::': Cannot convert argument 1 from Object to Object.
  <C++ Error>    Method/function failed. Returning: Array()
  <C++ Source>   core/variant/array.cpp:472 @ map()
  <Stack Trace>  main.gd:8 @ _ready()

Notice that the latter error occurs because the engine "cannot convert argument 1 from Object to Object", which makes no sense, since an Object is already an Object and therefore no conversion is necessary (and any conversions should succeed all the time).
The errors disappear if the parameter's type annotation is removed, or if the nested class is moved to the same script file as the anonymous function, or if a regular (non-nested) class is used instead of a nested one.
TL;DR: Lambdas/anonymous functions do not execute as intended when one of their parameters is type-annotated with a nested class from a different script file.
Steps to reproduce
Main script file:
extends Node

func _ready():
    var dictionary: Dictionary = {}
    dictionary[1] = Outer.Inner.new()
    print(dictionary.values())
    print(dictionary.values().map(func(inner): return inner is Outer.Inner))
    print(dictionary.values().map(func(inner: Outer.Inner) -> bool: return inner is Outer.Inner))

In another script file:
class_name Outer

class Inner:

    func _init():
        pass

Run the main script file by attaching it to a main scene and examine the standard and error output.
Minimal reproduction project
As there are only two steps to reproduce the issue, a minimal reproduction project has not been included.

@Carnagion  : I cannot reproduce in Godot beta 7 ; it seems fixed, no ?

Could not reproduce on master (fcba87e). @akien-mga We can close this issue.


Highlighting at template border may pick up adjacent squares when area = 0

https://cdn.discordapp.com/attachments/1107502968179273778/1149511844009099385/image.png
https://ptb.discord.com/channels/915186263609454632/1107502968179273778/1149730855695175760

Fixed in v0.6.8.


Update to changes from dev branch

Coverage remained the same at 90.406% when pulling 0d5ff178a651f5087eed8655634717da864e2b18 on dev into 142e9b1dee99100f3282c8f4061aa3e64287a861 on fix-newmm-longtext.


chore(testdata): remove stale test output

These tests were part of helm test before it was refactored as part of the pkk/action refactor, which no longer exist.
rm -rf cmd/helm/testdata/output/*
go test ./... -update

rm -rf cmd/helm/testdata/output/*

@bacongobbler Are you saying all the test data in above directory is now obsolete or just the files you are removing?

Those were the commands used to regenerate the testdata golden files. These files were never regenerated after go test -update because no test output generates them


Amended Page Transformator to check target site for existing file

Updated classes, also marked log errors to ignore to avoid false errors in reports

Sorry related to issue #105

Thx @pkbullock!


Isomorphic / SSR Issue

Modernizr throws: window is not defined on server (React/SSR)
any ideas on how to work around that in webpack/React/SSR environment?

hello?

The error is correct, you won't be able to use Modernizr on the server side as you don't have any DOM to access and therefore no window object.
You could define a window object with the webpack.DefinePlugin to work around this issue and create a fake window object. This is one approach, but there may be others which may fit better for your use case.

I'll give that a shot and post results - thx 🍻

Maybe try to only require Modernizr if you're in a DOM environment? Sorry, but I am not able to get that deep into your project for time reasons.

@flootr Thx! that helped me get it working (and disabled) for the appropriate webpack modes (DEVCLIENT / DEVSERVER / PRODCLIENT)

@jrodl3r @flootr I made a modernizr server implementation for express.  Check it out if you're interested. modernizr-server.
Take a look at this issue too.  Issue #27


[Go Live][27 May]

PR 3501

Docs Build status updates of commit a215a48:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/apps-in-teams-meetings/create-apps-for-teams-meetings.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


86 test prepare script

I modified prepare.py to basically use a function named create_buffer_shape() now.
Tests check if a base ESRI shape file is converted correctly into buffer shape based on provided buffer distance values. Source shape file and expected test buffer shapes are added as assets.
I had to install GDAL 3.4 to the testing container as I didn't get the requirements.txt installed on the Github runner.

Nice! I just started to look into #86 and realized you had already addressed it.
I believe the second check only fails because you've opened the PR from a different repo, which means that the task doesn't have access to the secrets needed to run it. I had the same problem before (see #82).

Oh, thanks for the hint, @sjockers. I created another branch on the TSB repo. Seems to work fine.


unable to get device details, possibly due to recent update in shelljs version

It appears the recent update of the shelljs version (in #27) has introduced a regression. This line now throws an error:
Error: Unhandled error. ('[ios-sim] SyntaxError: Unexpected token u in JSON at position 0\n' +
  '    at JSON.parse (<anonymous>)\n' +
  '    at Object.list (/Users/{user}/Documents/{project}/node_modules/simctl/simctl.js:173:33)\n' +
  '    at getDeviceFromDeviceTypeId (/Users/{user}/Documents/{project}/node_modules/ios-sim/src/lib.js:155:21)\n' +
  '    at /Users/{user}/Documents/{project}/node_modules/ios-sim/src/lib.js:460:22\n' +
  '    at withInjectedEnvironmentVariablesToProcess (/Users/{user}/Documents/{project}/node_modules/ios-sim/src/lib.js:269:3)\n' +
  '    at /Users/{user}/Documents/{project}/node_modules/ios-sim/src/lib.js:457:7\n' +
  '    at tryParseBuffer (/Users/{user}/Documents/{project}/node_modules/ios-sim/node_modules/bplist-parser/bplistParser.js:25:5)\n' +
  '    at /Users/{user}/Documents/{project}/node_modules/ios-sim/node_modules/bplist-parser/bplistParser.js:33:7\n' +
  '    at FSReqCallback.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:63:3)\n')

I noticed that obj itself now contains the json string (obj.output is now undefined), so I tried changing the code to:
            try {
                obj.json = JSON.parse(obj.output);
            } catch (err) {
                // console.error(err.stack);
                obj.json = JSON.parse(obj);
            }

That gave a different error:
Error: Unhandled error. ('[ios-sim] An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=405):\n' +
  'Unable to lookup in current state: Shutdown\n')

So I think there are other bits of logic that are affected by the shelljs update apart from the line of code I saw.

seem to be having the same issue also!
+ npm install ios-sim -g
/Users/vagrant/.nvm/versions/node/v14.18.2/bin/ios-sim -> /Users/vagrant/.nvm/versions/node/v14.18.2/lib/node_modules/ios-sim/bin/ios-sim
+<EMAIL_ADDRESS>added 117 packages from 78 contributors in 7.873s
+ xcode-select --print-path
/Applications/Xcode-13.1.Release.Candidate.app/Contents/Developer
+ ios-sim showsdks
+ true
SyntaxError: Unexpected token u in JSON at position 0
    at JSON.parse (<anonymous>)
    at Object.list (/Users/vagrant/.nvm/versions/node/v14.18.2/lib/node_modules/ios-sim/node_modules/simctl/simctl.js:171:33)
    at ShowSdksCommand.run (/Users/vagrant/.nvm/versions/node/v14.18.2/lib/node_modules/ios-sim/src/commands/showsdks.js:7:25)
    at ShowSdksCommand._run (/Users/vagrant/.nvm/versions/node/v14.18.2/lib/node_modules/ios-sim/node_modules/@oclif/command/lib/command.js:43:31)
    TypeError: Cannot read property 'runtimes' of undefined
+ ios-sim showdevicetypes
+ true
SyntaxError: Unexpected token u in JSON at position 0
    at JSON.parse (<anonymous>)
    at Object.list (/Users/vagrant/.nvm/versions/node/v14.18.2/lib/node_modules/ios-sim/node_modules/simctl/simctl.js:171:33)
    at getDeviceTypes (/Users/vagrant/.nvm/versions/node/v14.18.2/lib/node_modules/ios-sim/src/helpers.js:29:21)
    at ShowDeviceTypesCommand.run (/Users/vagrant/.nvm/versions/node/v14.18.2/lib/node_modules/ios-sim/src/commands/showdevicetypes.js:7:25)
    at ShowDeviceTypesCommand._run (/Users/vagrant/.nvm/versions/node/v14.18.2/lib/node_modules/ios-sim/node_modules/@oclif/command/lib/command.js:43:31)
    TypeError: Cannot read property 'devicetypes' of undefined
+ ios-sim start -d iPhone-12-Pro -x
SyntaxError: Unexpected token u in JSON at position 0
    at JSON.parse (<anonymous>)
    at Object.list (/Users/vagrant/.nvm/versions/node/v14.18.2/lib/node_modules/ios-sim/node_modules/simctl/simctl.js:171:33)
    at getDeviceFromDeviceTypeId (/Users/vagrant/.nvm/versions/node/v14.18.2/lib/node_modules/ios-sim/src/helpers.js:196:21)
    at StartCommand.run (/Users/vagrant/.nvm/versions/node/v14.18.2/lib/node_modules/ios-sim/src/commands/start.js:10:20)
    at StartCommand._run (/Users/vagrant/.nvm/versions/node/v14.18.2/lib/node_modules/ios-sim/node_modules/@oclif/command/lib/command.js:43:31)
    TypeError: Cannot read property 'devicetypes' of undefined

@mrister have you found a workaround for now?

@CodeWithOz unfortunately no, I had to resort to using xcrun simctl list devices and xcrun simctl boot to run the simulator

simctl.js
LN 175: Change obj.output to obj.stdout

Also experience the same issue :(

I got the same issue using Cordova in Meteor. I created two meteor projects with cordova. In the first one it is working, but in the other project with the same env I got the same error as mentioned above. Now I debugged the code and it seems there is a problem with the sync shell execution.
I pasted an sync call after line 166 in the code and detect that the correct output is stored in the stdout of the callback function.
     var command = util.format('xcrun simctl list %s --json', sublist);

     var obj = shell.exec(command, { silent: options.silent });

	shell.exec(command, { silent: options.silent }, (code, stdout, stderr) => {
    	console.log('Exit code:', code);
		console.log('Program output:', stdout);
		console.log('Program stderr:', stderr);
	});

    if (obj.code === 0) {
        try {
            obj.json = obj.output ? JSON.parse(obj.output) : JSON.parse(obj.stdout);
        } catch (err) {
            console.error(err.stack);
        }
    }

I got the same issue using Cordova in Meteor. I created two meteor projects with cordova. In the first one it is working, but in the other project with the same env I got the same error as mentioned above. Now I debugged the code and it seems there is a problem with the async shell execution.
I pasted an sync call after line 166 in the code and detect that the correct output is stored in the stdout of the callback function.
     var command = util.format('xcrun simctl list %s --json', sublist);

     var obj = shell.exec(command, { silent: options.silent });

	shell.exec(command, { silent: options.silent }, (code, stdout, stderr) => {
    	console.log('Exit code:', code);
		console.log('Program output:', stdout);
		console.log('Program stderr:', stderr);
	});

    if (obj.code === 0) {
        try {
            obj.json = obj.output ? JSON.parse(obj.output) : JSON.parse(obj.stdout);
        } catch (err) {
            console.error(err.stack);
        }
    }

@radykal how bout a PR since this breaking change does not seem to get the attention of maintainer(s) here

what works for me was to directly install in the project the previews version of the simctl
npm install<EMAIL_ADDRESS>

what works for me was to directly install in the project the previews version of the simctl
npm install<EMAIL_ADDRESS>
Worked for me as a temporary solution.
Could not run Cordova 10 app in simulator. Got error on "Deploing to simulator" phase. (XCode 12.4, node v14.7.0, cordova-ios 6.2.0)

Error: Unhandled error. ('[ios-sim] SyntaxError: Unexpected token u in JSON at position 0

@shazron @marekkalnik can anybody of you perhaps implement a fix, this is breaking.

@shazron I've opened a PR (#31), please take a look. Thanks @tzmartin for the fix suggestion.


Remove logic setting resolvers feature flag in e2e tests

Resolution is a beta feature, and resolvers are now enabled by default.
Therefore, there is no logic needed to patch the resolvers configmap when "enable-api-fields" is set to "stable".
In addition, we don't gate installation of resolvers on the "enable-api-fields" feature flag,
and doing so in tests isn't representative of how users install resolvers.
This commit removes logic patching the resolvers configmap.
/kind bug
Submitter Checklist
As the author of this PR, please check off the items in this checklist:

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

Release Notes
NONE

/assign

/hold
something weird is going on with this branch not reflecting my force-push-- need to fix

/lgtm

beta tests: https://github.com/tektoncd/pipeline/issues/4169
normal integration tests seem to be having issues pulling images.
/retest


very slow type (,ht) and linter (,hl)

Am I the only one experiencing very slow ,ht and ,hl?
With Haskell-vim-now I see a lot of gcc/clang compiling in the background every time I hit ,ht or ,hl. With large projects or when using heavy frameworks like Yesod the waiting time is really holding up the work flow.
I'm using Atom as a benchmark, I think they are using ghc-mod and/or hdevtools in the background and it's very snappy.
Remark: I noticed that Haskell-vim-now actually didn't install hdevtools although it is listed as a "necessary support binary".

Haskell Vim Now uses ghc-mod internally, so I'm curious how Atom goes faster in that regard. Can you get a rough measurement of the two and tell me the speed difference?
Also the readme is out of date when it mentions hdevtools. For a time ghc-mod was broken and I switched to hdevtools but ghc-mod get fixed and I was able to switch back.

It Atom these operations run in < 1/2s
In vim the same takes about 7s.
See the attached gifs.

Thanks for the illustrations. That's pretty bad performance, let's figure it out.
HVN uses the ghc-mod in ~/.local/bin, which ghc-mod do the others use? Maybe there is a speed difference in different versions of ghc-mod.

I'm running ghc-8.0.1 in all cases.
To dig a bit deeper I ran lsof -r1 -u myname > out  before opening Vim and Atom. With that output it's difficult to understand what exactly these are doing, but I can say this:

both Vim and Atom use the same .local/bin/ghc-mod
Differently to Vim, Atom very heavily interacts with ghc-mod when it opens the .hs file. Thereafter, the interactions with ghc-mod look very similar: Commands are sent (pipe) to the one ghc-mod process.
Neither uses hdevtools

Maybe this issue has something to do with it.


Fix CVE-2024-47191 against oath-toolkit

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[x] The toolchain has been rebuilt successfully (or no changes were made to it)
[x] The toolchain/worker package manifests are up-to-date
[x] Any updated packages successfully build (or no packages were changed)
[x] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
[x] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[x] All package sources are available
[x] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[x] LICENSE-MAP files are up-to-date (./LICENSES-AND-NOTICES/SPECS/data/licenses.json, ./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md, ./LICENSES-AND-NOTICES/SPECS/LICENSE-EXCEPTIONS.PHOTON)
[x] All source files have up-to-date hashes in the *.signatures.json files
[x] sudo make go-tidy-all and sudo make go-test-coverage pass
[x] Documentation has been updated to match any changes to the build system
[x] Ready to merge

Summary

What does the PR accomplish, why was it needed?
This PR fixes CVE-2024-47191 in oath-toolkit.
Change Log

CVE-2024-47191

Does this affect the toolchain?

NO
Links to CVEs

https://nvd.nist.gov/vuln/detail/CVE-2024-47191

Test Methodology

Pipeline build id: FastTrack build - 652433

Auto cherry-pick results:

3.0-dev :white_check_mark: -> https://github.com/microsoft/azurelinux/pull/10649

Auto cherry-pick pipeline run -> https://dev.azure.com/mariner-org/mariner/_build/results?buildId=653354&view=results


DocBook

[ ] move DocBook documentation into the core and reference it from the plugin documentation;
[ ] fine-tune the logging;
[ ] if JDK running the code is GraalVM (use graal-sdk), use polyglot integration with Node;

https://www.graalvm.org/22.0/docs/getting-started/
https://www.graalvm.org/22.0/examples/

[ ] add support for DocBook XSLTNG!

Direct DocBook->HTML/PDF transformation with:

[ ] chunking (Walsh?)
[ ] section ids
[ ] table of content
[ ] pictures
[ ] emulate effects of the DocBook XSLT parametrers in the direct transformation;

Bits and pieces:

[ ] decrease font size for the subsequent footnotes levels;
[ ] use et-book fonts?

closing because #310


Unit tests that use LIBSPDM_DATA_TRANSFER_SIZE and LIBSPDM_MAX_SPDM_MSG_SIZE are incorrect

For example https://github.com/DMTF/libspdm/blob/60e1a4ab19e5f1060f0caf2e55d98c2311ab8e77/unit_test/test_spdm_requester/error_test/get_capabilities_err.c#L1923-L1927 However https://github.com/DMTF/libspdm/blob/60e1a4ab19e5f1060f0caf2e55d98c2311ab8e77/unit_test/test_spdm_requester/error_test/get_capabilities_err.c#L1047-L1048 In this case it should be
spdm_response->data_transfer_size = LIBSPDM_DATA_TRANSFER_SIZE;
spdm_response->max_spdm_msg_size = LIBSPDM_DATA_TRANSFER_SIZE - 1;

The test passes because currently LIBSPDM_DATA_TRANSFER_SIZE == LIBSPDM_MAX_SPDM_MSG_SIZE. There are multiple instances of this issue.

I will check this issue.


Chinese Translation

Dear Author，
Im an Antistasi player from China,there are plenty of people fond in this perfect missions.I wonder if  you can add stringtable.xml to the missions file so that i can translate it to Chinese.
sincerely,
Teemo

I am working on adding stringtables.xml now. But progress is slow due the lack of time.

I am working on adding stringtable.xml now. But progress is slow due the lack of time.

Thanks a lot
Teemo


Safe keyboard-direct checks

Blocks keyboard on iOS/tvOS native (I lack the hardware atm to test), allows conditional Android and Switch keyboard support (default off).

Tasty. Good work!


graphcool and gatsby-source-graphcms

It is reported that there is a possibility to use graphcool serverless back-end with Gatsby via  gatsby-source-graphcms plugin.
https://github.com/gatsbyjs/gatsby/issues/1127#issuecomment-367208597
I'd like to explore this possibility in depth.
If it works, we can avoid hacking Gatsby in order to connect with Apollo(There is no nice and official way to connect Apollo with Gatsby ).
We will not need Apollo longer and the state will go to Redux. :clap:

This seems to be a long-running issue, is this for storing content? Or for querying data? Either way there's always GraphCMS have either of you (@mar-bi , @miljan-fsd ) used it?

We considered graphcool backend for CRUD operation. Maybe without D. :smile:
I had a first look at the suggested GraphCMS headless back-end and found it promising.
We may use it instead of Contentful and graphcool. :thinking:
We need to explore it in details. :mag_right:


fix: Added button type

Hello there,
I noticed the buttons in the emoji picker were submitting my form. Thought it would be a good idea to add type="button" to the emoji + search button.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[Bug] Biginteger IDs are incorrectly displayed when return in a controller

Laravel Version: 5.4
PHP Version: PHP7
Database Driver & Version: MySQL (any version)

Steps To Reproduce:
ID is displayed incorrectly when return in controller:

ID is correct when using dd():

I found the cause of this. It is because of json_encode(). There's an integer limit in javascript environment. That's why the ID is changed. The solution for this is to convert and treat it into string.


Problems accessing configurations' fields

Brief explanation of the problem
I have errors in accessing the configuration fields of a strategy: the main error I encounter is XXX object has no attribute YYY.
Environment setup

Have a running OntoKB + OntoREC docker container. The relative docker-compose file can be found here
Have a running oteapi-service docker container.

repo version: https://github.com/EMMC-ASBL/oteapi-services/commit/f71498a4638a9ecf2fec8b216f20cd26585b8390
add the following line to requirements.txt in order to install the ontokb-plugin:
oteapi-ontokb-plugin @ git+https://github.com/xAlessandroC/oteapi-ontokb-plugin@89ce60bdc2eae85d99abebec5ec3ad4a40edf85b
put full_ontology_inferred_remapped.rdf file in the project and add this line to the Dockerfile:
COPY full_ontology_inferred_remapped.rdf ./

Have otelib installed

Steps to reproduce the error (1)

Create OTEClient

client = OTEClient('http://localhost:<YOUR OTEAPI PORT>')

Create an otelib dataresource filter

uploader = client.create_dataresource(
        accessUrl = "http://host.docker.internal:<YOUR ONTOREC PORT>",
        accessService = "datasource/ontokb_upload",
        configuration = {
            "database":"temp",
            "filename":"full_ontology_inferred_remapped.rdf",
            "fileConfig": {
                "downloadUrl":"file:///full_ontology_inferred_remapped.rdf",
                "mediaType":"application/json",
                "configuration":{
                    "text" : True,
                    "encoding" : "utf-8"
                }
            }
        }
    )

Create pipeline and get the result

totalpipe = uploader
totalpipe.get()

In the oteapi-service docker container log I get the error
File "/usr/local/lib/python3.9/site-packages/oteapi_ontokb_plugin/strategies/ontokb_upload.py", line 82, in get
    cache = DataCache(self.resource_config.configuration.datacache_config)
AttributeError: 'AttrDict' object has no attribute 'datacache_config'

Steps to reproduce the error (2)

Same of the previous case
Add "datacache_config" : None to ontokb_upload strategy configuration

uploader = client.create_dataresource(
        accessUrl = "http://host.docker.internal:<YOUR ONTOREC PORT>",
        accessService = "datasource/ontokb_upload",
        configuration = {
            "database":"temp",
            "filename":"full_ontology_inferred_remapped.rdf",
            "fileConfig": {
                "downloadUrl":"file:///full_ontology_inferred_remapped.rdf",
                "mediaType":"application/json",
                "configuration":{
                    "text" : True,
                    "encoding" : "utf-8"
                }
            },
           "datacache_config" : None
        }
    )

In the oteapi-service docker container log I get the error
File "/usr/local/lib/python3.9/site-packages/oteapi/plugins/factories.py", line 108, in _get_strategy_name
    return config.downloadUrl.scheme if config.downloadUrl is not None else ""  # type: ignore[union-attr]  # pylint: disable=line-too-long
AttributeError: 'dict' object has no attribute 'downloadUrl'

Here the file to put in the oteapi-services container:
full_ontology_inferred_remapped.zip

I think the latter issue explained here is the same as #123, which will be fixed by #124.

The first issue (step 1) seems to be an issue with the oteapi_ontokb_plugin repository.

The first issue (step 1) seems to be an issue with the oteapi_ontokb_plugin package.

What kind of issue could have caused that? I defined datacache_config as an optional field of the configuration.

The first issue (step 1) seems to be an issue with the oteapi_ontokb_plugin package.

What kind of issue could have caused that? I defined datacache_config as an optional field of the configuration.

Let's take a look at that in the oteapi_ontokb_plugin repository instead.

I see. Sorry for the misunderstanding but it could be a problem in the definition of our Pydantic model or in the global settings of the plugin?
Do you prefer I open an issue on oteapi_ontokb_plugin?

No worries. Yeah, let's take a look at the first issue outlined here in the plugin repository :)

@xAlessandroC I have just updated oteapi-core to v0.1.4 and also pushed the changes through to oteapi-services building a new Docker image available at ghcr.io/emmc-asbl/oteapi:latest.
Please update everything and see if you still get the same issue :)

Perfect, thank you! I'll update my environment and let you know if the second error is resolved :)
I created an issue on oteapi_ontokb_plugin issue #1 repo to solve the first issue. I updated the content with some new experiment I've done. Briefly, the error pops up only with the otelib/oteapi-service framework, the plugin seems to work if I use directly oteapi-core v0.1.2.

I removed the full_ontology_inferred_remapped.rdf zip for privacy reasons, if you still need it please let me know and I will send it by mail

Hi Casper, I tried the last version of the oteapi framework (v 0.1.4) but I had some trouble to start a development image of the oteapi-services container. I created an issue on the repo #89


Add "See Less" functionality

Adds the ability to truncate the text via a "see less" button and two new optional user defined actions: onCollapse and onToggleTruncate.

updated based on owner feedback

Thanks for the updates. I've fixed the Travis builds. Can you please rebase?

Updated to make _showSeeLessButton a cp.

LGTM (aside from extraneous package.json change)


Proxy support and refactor codes

Proxy feature will be worked if ALL_PROXY or HTTPS_PROXY is set.

@narugo1992 Please check.
pip install git+https://github.com/eggplants/get-pixivpy-token@proxy-support

export ALL_PROXY="..."
gppt l
gppt lh -u "..." -p "..."

I see, now the gppt l is okay, but something wrong with gppt lh.

@narugo1992 Thank you for your contributions!


[incubator/elasticsearch] chart does not support new xpack syntax

Is this a request for help?:

Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG REPORT

Which chart: [incubator/elasticsearch]
What happened: in elasticsearch 6.3+ xpack is installed by default and the config parameters to enable changed.
What you expected to happen:  We need elasticsearch to allow the enabling of xpack systems
How to reproduce it (as minimally and precisely as possible): set cluster.xpackEnable true
Anything else we need to know: I am testing out fixes and will submit a PR once my testing is completed.

I cannot get pods running when I set cluster.xpackEnable true, is this the same problem?
unknown setting [xpack.security.enabled] please check that any required plugins are installed, or check the breaking changes documentation for removed settings at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:140) ~[elasticsearch-6.4.1.jar:6.4.1]

Hey iboware ya it is related. I am just about to submit a PR to fix this with required docs.

I added a note in the code review post the merge, repeating it here for visibility:
xpack.monitoring.enabled was not deprecated, and it's required for monitoring to be enabled. This PR has helped us export to csv with xpack, but we cannot enable monitoring without xpack.monitoring.enabled.
We modified the configmap directly after upgrading to enable this as a work-around.
https://www.elastic.co/guide/en/elasticsearch/reference/6.4/monitoring-settings.html

Monitoring is enabled by default, with the new version you need to enable the collection of metrics. This change allows for that.


[Feature]: Firebase Firestore support pls.

What is the new or updated feature that you are suggesting?
Please support Google serverless framework like Firebase, Firestore, firebase auth, cloud storage, google analytics, google cloud function, google machine learning and so on.
Why should this feature be included?
Firebase is the most powerful framework which is supported by Google.
It has lots of built-in features, such as extensions, auth, smtp and etc.
It is much better than AWS lambda and amplify.
It has the largest market share in product level serverless framework and will dominate the market.

Hello, I would love to create an example here on  for Firebase if there's no one working on it.

Hello, I would love to create an example here on for Firebase if there's no one working on it.

@simon-zhangmuye what so you mean by Firebase support? You can use Firebase easily with Remix using the Node Admin SDK.

I'm using firebase & firestore in a remix application which is currently under development.
Just combine firebase-admin (nodejs) and the firebase (client-js) libraries in your loaders / actions. I handle the auth state with a session cookie, which can be generated with the Admin SDK (docs). You need to verify email + password with the Browser SDK on the server, which is what they recommend. The data access to Firestore is handled by firebase-admin. No need to set up security rules, since you can make the checks in your code and no client will access Firestore directly.
@archwebio have you started yet? Considering adding a firebase example, too.

I've added a PR #1811 to add an example for Auth & Firestore with Remix.
Deployment to Cloud Functions does not seem possible, see #211
But you can run a remix express server in a Docker container and deploy it to Cloud Run.

Hey just chiming in on this.
Remix supports all forms of deployment to GCP (including firebase), in fact Firebase/firestore was the first platform ryan and mj deployed to.
@simon-zhangmuye if you experienced trouble with Firestore reach out in the Discord, but for now you should close this issue as it's just adding clutter.
My issue #211 isn't stopping anyone from deploying to functions, it's just an annoying thing you have to work around by passing through the context, and likely can't be resolved.
That being said, firebase functions aren't really a suitable deployment platform for Remix apps... Cold starts, and speed are pretty terrible for SSR... Cloud run is the better alternative.

firebase functions aren't really a suitable deployment platform for Remix apps... Cloud run is the better alternative

just to note that firebase functions v2, currently in beta, use Cloud Run:
https://firebase.google.com/docs/functions/beta


Don’t automatically configure certificate’s CN and SANs as domains

Currently, the certificate’s Common Name and its Subject Alternative Names are automatically added to VHOST. However, your certificate may contain domains which you do not want to use for your particular dokku app.
I would therefore propose to either require configuring additional domains manually (as documented by Heroku) or to only write the CN and SANs to VHOST if the file doesn’t already exist.

Can you give us a use-case where this is a problem?

For example, StartSSL won’t issue a certificate without the primary root domain. So, if you try to obtain a certificate only for cdn.example.com, your certificate must also include example.com. However, you can’t even remove example.com using dokku domains:remove because it will just be added again on the next deployment.
The same goes for any multi-domain certificate.

I like the part where dokku does less "magic" and abides by the Heroku documentation. This would make that part of dokku far less complex

@michaelshobbs if you want to do the work for this, cool. I know you put in a ton of work around ssl certificate handling, and to be honest I don't know quite what this would entail changing...

I had the same problem with a sslmate multi domain certificate. The certificate is for mydomain.com, service1.mydomain.com and service2.mydomain.com, which are 3 distinct dokku apps. When I add the SSL certificate to any of the apps though, it adds mydomain.com to that app and I end up with 3 dokku apps trying to serve traffic for mydomain.com.

I'm completely behind reducing the complexity here. I'll take a swing at reimplementing to the Heroku UI and functionality. (including docs and links to the "Heroku way" :smile:)

Closing as there is a fix provided. Please track progress in #1414.


Derive LangOpts.EnableObjCInterop every time the triple is changed.

Every time the triple is changed the LangOpts must be updated too,
because Swift default-initializes the EnableObjCInterop flag based on
the triple.
SR-7388
rdar://problem/39277133

@swift-ci test and merge

@swift-ci test and merge

@swift-ci test and merge

@swift-ci test and merge


ModuleNotFoundError: No module named 'groundingdino'

When attempting to create a stylized mask I'm getting the following error:
ModuleNotFoundError: No module named 'groundingdino'
The "groundinddino" folder definitely exists so I'm not entirely sure how to resolve this.
Thanks!

After a ton of digging, realized my version of CUDA wasn't matching the version of PyTorch so groundindino wasn't getting installed.   Resolved.


[Network] Re-enable Network Watcher test

Was converted to LiveScenarioTest due to issues re-recording the test.

This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines

[N/A] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

Command Guidelines

[N/A] Each command and parameter has a meaningful description.
[N/A] Each new command has a test.

(see Authoring Command Modules)

View a preview at https://prompt.ws/r/Azure/azure-cli/5789
This is an experimental preview for @microsoft users.


Just prompt the user with the last thing they tagged

Description
Boy was I dumb.
The task: map 49 driveways.
My tagging method:

Pick Service Road
For type, select Driveway.

Repeat 49 times.
Luckily around the 39th time,
out of curiosity, I entered the search string
"Driveway",
and for the remainder of my task,
all I had to do was

Pick Driveway
each time!

I have an idea:
lets say the user does

Pick Service Road
For type, select Driveway.

Well, the next time the user tags a line,
just prompt them with the last thing they tagged:
Driveway!
OK, the user entered a line. And the last line the user made was a Driveway, so instead of going back to the general Service Road, dig deeper into the last thing the user did, and prompt with Driveway.
Yes, Service Road is closer than River, to the last thing the user created in the Line department, but Driveway is even closer.
Screenshots
No response

Dumb way, doing each time.

Then one day I searched for Driveway,
and afterward there it was at the top of the list each time:

Duplicate of #5873 and similar issues.
cc: @tyrasd


adds support for multiple mocks and service prefix

Description
adds support for multiple mocks and service prefix

Relevant Issues : #1566
Relevant PRs : (optional)
Type of change :

[x] New feature
[ ] Bug fix for existing feature
[ ] Code quality improvement
[ ] Addition or Improvement of tests
[ ] Addition or Improvement of documentation

@ivangsa when you can review the last commit - do comment. I think being able to "mount" a mock on a URL path provides for some good flexibility

@ivangsa when you can review the last commit - do comment. I think being able to "mount" a mock on a URL path provides for some good flexibility

looks more consistent now, but introduces an unnecesary breaking change for mocks that are already setting the prefix withouth first "/"
.pathPrefix("api/v3")

leads to:
java.lang.IllegalArgumentException: prefix: api/v3 (expected: an absolute path starting with '/')
	at com.linecorp.armeria.internal.server.RouteUtil.ensureAbsolutePath(RouteUtil.java:59)

maybe it's just a matter to adding the "/" if is missing inside Builder pathPrefix


Schema Reference not Found

Hi All,
i am Using Azure Devops Resource Kit to deploy my APIS into the new APIM Instance. when i am deploying the API, for some of the Operations  i get the below Error
2022-06-02T07:14:28.4933958Z ##[error]Details:
2022-06-02T07:14:28.4935158Z ##[error]ValidationError: Operation references schema that does not exist.
2022-06-02T07:14:28.4936264Z ##[error]ValidationError: Operation references schema that does not exist.
I checked the Resource Group Deployment Logs and few of the operations are failing with the below Error
{

"status": "Failed",

"error": {

"code": "ValidationError",

"message": "One or more fields contain incorrect values:",

"details": [

{

"code": "ValidationError",

"target": "operation 'GET'-'/resource?param1={param1}' parameter 'param2' schema XXXX",

"message": "Operation references schema that does not exist."

}

]

}

}

Can you Please help me is there anything i am doing it wrong here?

Hello @sujithre,
can you, please, take advantage of  issue template and submit important information?

resource-kit version you are using
your input configuration to Extractor or Creator - whatever you are using
include generated template part with operation, that is failing to deploy. So that we can see what is wrong with that ApiOperation resource.
include parameters section, to see if that param2 is missing

Hi Deagle
Please fidn the below
resource-kit version you are using? v0.7
your input configuration to Extractor or Creator - Extractor
include generated template part with operation, that is failing to deploy. So that we can see what is wrong with that ApiOperation resource.
include parameters section, to see if that param2 is missing
{
"apiVersion": "2021-08-01",
"type": "Microsoft.ApiManagement/service/apis/operations",
"name": "[concat(parameters('apimServiceName'), '/echo-api/retrieve-resource')]",
"dependsOn": [
"[resourceId('Microsoft.ApiManagement/service/apis', parameters('apimServiceName'), 'echo-api')]"
],
"properties": {
"displayName": "Retrieve resource",
"method": "GET",
"urlTemplate": "/resource?param1={param1}",
"description": "A demonstration of a GET call on a sample resource. It is handled by an "echo" backend which returns a response equal to the request (the supplied headers and body are being returned as received).",
"templateParameters": [
{
"name": "param1",
"description": "A sample parameter that is required and has a default value of "sample".",
"type": "string",
"defaultValue": "sample",
"required": true,
"values": [
"sample"
]
}
],
"request": {
"headers": [],
"queryParameters": [
{
"description": "Another sample parameter, set to not required.",
"name": "param2",
"required": false,
"schemaId": "6273a22d217d200f783808ae",
"type": "number",
"typeName": "ResourceGetRequest-1"
}
],
"representations": []
},
"responses": [
{
"description": "Returned in all cases.",
"headers": [],
"representations": [],
"statusCode": 200
}
]
}
}
Do you want me to attach apis.Template.json which got extracted from Extractor?

@sujithre can you please try the latest beta release? https://github.com/Azure/azure-api-management-devops-resource-kit/releases/tag/1.0.0-beta.5
V07 is an old version, we are working on GA release, so please checkout the latest possible. If trouble reproduces again, I will take a deep look at the problem.

@DeagleGross  Sure :) I will use it and let you know

its still the same
The version I am using is 1.0.0-beta.5.
The command I have used for the Extractor is like below
dotnet run extract --sourceApimName XXX --resourceGroup Demo --destinationApimName XXX  --fileFolder C:\ApimAzure\Output
this will extract all the api Templates for in my Source API.
I pushed this into my Repo and configured the devops pipeline as said like below

https://azure.github.io/apim-lab/apim-lab/8-devops/apimanagement-8.html

@sujithre If you review the RG deployment within Azure Portal do you see the following?
Note that Microsoft.ApiManagement/service/apis and Microsoft.ApiManagement/service/products/apis prior to this succeeds
{
"status": "Failed",
"error": {
"code": "InternalServerError",
"message": "Request processing failed due to internal error."
}
}
Type:
Microsoft.ApiManagement/service/apis/schemas

Hi@dannythomas13 ,
Yes I did see that Error for the Schemas. it will just keep trying there and eventually it gets timed out.

Hi @sujithre
I think you have the same issue as i had.
Check out #761, and check if my PR #762 will fix your issue

Hello @sujithre.
Thank you for reporting the issue.
From the issue comments it seems that the problem was the same as in #756, deployment of Api Schemas was failing with internal error and deployment timed out.
The fix was merged into the main branch #770, hence issue will be closed.
Please feel free to reopen this issue or create new one if you will face same behaviour with deploying API schemas from main branch or upcoming releases
Best regards


Report file compilation time

Hi @giginet
Thanks for this! I've been trying to set it up with your danger plugin and it looks promising!
I was wondering if there was a way to add a threshold for files instead of function bodies and maybe to report the compilation time on the whole file?

Hi @delannoyk thanks for using xcprofiler 😄
In default, you can't profile build times per files.
However, you can implement custom reporter to gather and groups logs.
require 'xcprofiler'

results = {}
profiler = Xcprofiler::Profiler.by_product_name("MyApp")
profiler.reporters = [
    Xcprofiler::BlockReporter.new do |executions|
        results = executions.group_by { |execution| execution.filename }.map { |file, executions| [file, executions.sum { |e| e.time }] }.to_h
    end
]
profiler.report!
puts results

How about this solution?

Perfect, thanks!


Use css variables for colors and anything is reusable on sass files #826

I created sass variables for css that could be reusable and also mixins. As we will discuss about a possible implementation of css in js, I think it is not a good idea to spend a lot of time refactoring sass...Feedbacks and suggestions are welcome.

@priscilawebdev commit message should be @priscilawebdev refactor: xxx

@juanpicado fixed both 👍

Great contribution!! 👩🏼💻👌🏼


[folly] change FastFloat dependency to config

[X] Changes comply with the maintainer guide
[X] SHA512s are updated for each updated download
[ ] ~The "supports" clause reflects platforms that may be fixed by this new version~
[ ] ~Any fixed CI baseline entries are removed from that file.~
[ ] ~Any patches that are no longer applied are deleted from the port's directory.~
[X] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[X] Only one version is added to each modified port's versions file.

Usage passed on x64-windows.


Add/fix Bad credential error handling

If you try to run the dependency checker with bad credentials - ie a key that doesnt have permission to access some/all of the API resources required it can throw an error, which currently appears to be unhandled.

sample output
DependencyChecker NOTICE Running checks: cves, release_dates, release_issues, release_sha, releases
DependencyChecker NOTICE Preloading: cves, release_dates, release_issues, release_sha, releases
DependencyChecker INFO boringssl_fips is not a GitHub repository
https://commondatastorage.googleapis.com/chromium-boringssl-fips/boringssl-ae223d6138807a13006342edfeef32e813246b39.tar.xz
DependencyChecker INFO com_googlesource_chromium_base_trace_event_common is not a GitHub repository
https://storage.googleapis.com/envoyproxy-wee8/chromium-base_trace_event_common-7f36dbc19d31e2aad895c60261ca8f726442bfbb.tar.gz
DependencyChecker INFO com_googlesource_chromium_zlib is not a GitHub repository
https://storage.googleapis.com/envoyproxy-wee8/chromium-zlib-fc5cfd78a357d5bb7735a58f383634faaafe706a.tar.gz
DependencyChecker INFO com_googlesource_googleurl is not a GitHub repository
https://storage.googleapis.com/quiche-envoy-integration/googleurl_561705e0066ff11e6cb97b8092f1547835beeb92.tar.gz
DependencyChecker INFO kafka_server_binary is not a GitHub repository
https://archive.apache.org/dist/kafka/3.1.0/kafka_2.13-3.1.0.tgz
DependencyChecker INFO v8 is not a GitHub repository
https://storage.googleapis.com/envoyproxy-wee8/v8-<IP_ADDRESS>.tar.gz
DependencyChecker ERROR [releases] Check disabled: data download (preload_releases) failed Bad credentials
DependencyChecker ERROR [release_issues] Check disabled: data download (preload_releases) failed Bad credentials
DependencyChecker ERROR [release_dates] Check disabled: data download (preload_releases) failed Bad credentials
asyncio: ERROR _GatheringFuture exception was never retrieved
future: <_GatheringFuture finished exception=BadRequest('Bad credentials')>
Traceback (most recent call last):
  File "/root/.cache/bazel/_bazel_root/bbe9e67c575cc5f19db85a52451b15a6/execroot/envoy/bazel-out/k8-fastbuild/bin/tools/dependency/check.runfiles/base_pip3_aio_core/aio/core/functional/decorators.py", line 87, in async_result
    return self.set_prop_cache(instance, await self.fun(instance))
  File "/root/.cache/bazel/_bazel_root/bbe9e67c575cc5f19db85a52451b15a6/external/base_pip3_envoy_dependency_check/envoy/dependency/check/abstract/dependency.py", line 152, in recent_commits
    await self.commits_since_current
  File "/root/.cache/bazel/_bazel_root/bbe9e67c575cc5f19db85a52451b15a6/execroot/envoy/bazel-out/k8-fastbuild/bin/tools/dependency/check.runfiles/base_pip3_aio_core/aio/core/functional/decorators.py", line 87, in async_result
    return self.set_prop_cache(instance, await self.fun(instance))
  File "/root/.cache/bazel/_bazel_root/bbe9e67c575cc5f19db85a52451b15a6/external/base_pip3_envoy_dependency_check/envoy/dependency/check/abstract/dependency.py", line 49, in commits_since_current
    since=await self.release.timestamp_commit).total_count
  File "/root/.cache/bazel/_bazel_root/bbe9e67c575cc5f19db85a52451b15a6/execroot/envoy/bazel-out/k8-fastbuild/bin/tools/dependency/check.runfiles/base_pip3_aio_core/aio/core/functional/decorators.py", line 87, in async_result
    return self.set_prop_cache(instance, await self.fun(instance))
  File "/root/.cache/bazel/_bazel_root/bbe9e67c575cc5f19db85a52451b15a6/external/base_pip3_envoy_dependency_check/envoy/dependency/check/abstract/release.py", line 143, in timestamp_commit
    return (await self.commit).timestamp
  File "/root/.cache/bazel/_bazel_root/bbe9e67c575cc5f19db85a52451b15a6/execroot/envoy/bazel-out/k8-fastbuild/bin/tools/dependency/check.runfiles/base_pip3_aio_core/aio/core/functional/decorators.py", line 87, in async_result
    return self.set_prop_cache(instance, await self.fun(instance))
  File "/root/.cache/bazel/_bazel_root/bbe9e67c575cc5f19db85a52451b15a6/external/base_pip3_envoy_dependency_check/envoy/dependency/check/abstract/release.py", line 67, in commit
    raise e
  File "/root/.cache/bazel/_bazel_root/bbe9e67c575cc5f19db85a52451b15a6/external/base_pip3_envoy_dependency_check/envoy/dependency/check/abstract/release.py", line 63, in commit
    return await self.repo.commit(self.tag_name)
  File "/root/.cache/bazel/_bazel_root/bbe9e67c575cc5f19db85a52451b15a6/execroot/envoy/bazel-out/k8-fastbuild/bin/tools/dependency/check.runfiles/base_pip3_aio_api_github/aio/api/github/abstract/repo.py", line 45, in commit
    await self.getitem(f"commits/{name}"))
  File "/root/.cache/bazel/_bazel_root/bbe9e67c575cc5f19db85a52451b15a6/execroot/envoy/bazel-out/k8-fastbuild/bin/tools/dependency/check.runfiles/base_pip3_aio_api_github/aio/api/github/abstract/repo.py", line 58, in getitem
    return await self.github.getitem(self.github_endpoint(query))
  File "/root/.cache/bazel/_bazel_root/bbe9e67c575cc5f19db85a52451b15a6/execroot/envoy/bazel-out/k8-fastbuild/bin/tools/dependency/check.runfiles/base_pip3_aio_api_github/aio/api/github/abstract/api.py", line 112, in getitem
    return await self.api.getitem(*args, **kwargs)
  File "/root/.cache/bazel/_bazel_root/bbe9e67c575cc5f19db85a52451b15a6/execroot/envoy/bazel-out/k8-fastbuild/bin/tools/dependency/check.runfiles/base_pip3_gidgethub/gidgethub/abc.py", line 133, in getitem
    data, _ = await self._make_request(
  File "/root/.cache/bazel/_bazel_root/bbe9e67c575cc5f19db85a52451b15a6/execroot/envoy/bazel-out/k8-fastbuild/bin/tools/dependency/check.runfiles/base_pip3_gidgethub/gidgethub/abc.py", line 114, in _make_request
    data, self.rate_limit, more = sansio.decipher_response(*response)
  File "/root/.cache/bazel/_bazel_root/bbe9e67c575cc5f19db85a52451b15a6/execroot/envoy/bazel-out/k8-fastbuild/bin/tools/dependency/check.runfiles/base_pip3_gidgethub/gidgethub/sansio.py", line 366, in decipher_response
    raise exc_type(*args)
gidgethub.BadRequest: Bad credentials

what is confusing is that if you run a check individually the exception seems to be handled

as discussed offline the issue is related to ConcurrentError handling

i think this is fixed by #418


Check size of keys when decoding

Protect HTTP API from keys with wrong size

Revisited key check and made it more assertive regarding new types.
Added integration tests for shorter keys
Got a confirmation by @hanssv that signature size is 64 bytes.

Rebased on top of master

Rebased on top of NG changes


Chef - Fix typo in installation package node -> nodejs

Problem

There's a typo in the installation packages when attempting to bootstrap Zap on a linux machine.

Change overview

Fix typo apt-get install node -> apt-get install nodejs

Testing
./chef.py --bootstrap_zap

Fast tracking script updates


Lokalise: Translations update

This pull request was initiated by Lokalise (user Saskia Tennert) at 2024-11-26 15:17:20

Replaced by #32


[Rendering] Can't correct spelling mistakes on Input.Text

Steps to reproduce
Copied from: https://github.com/microsoft/AdaptiveCards/issues/9051
Posted by: @TikitTeam
Details:
Target Platforms
Other
SDK Version
3.1.0
Application Name
Microsoft Teams
Problem Description
In Teams Web or Desktop, within an Adaptive Card a misspelled word cannot be corrected via right-click.
Screenshots
Take the following example with a card sent by Power Automate that contains Input.Text
Image
Image
Image
Card JSON
{
"type": "AdaptiveCard",
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.5",
"body": [
{
"type": "Input.Text",
"placeholder": "Placeholder text",
"label": "Input",
"id": "Input"
}
]
}
Expected behavior
It should be corrected via right-click.
Actual behavior
In Teams Web or Desktop, within an Adaptive Card a misspelled word cannot be corrected via right-click.
Error details
No response

This issue is being tracked https://github.com/MicrosoftDocs/msteams-docs/issues/11802. Please follow that thread for further updates.


Vertica - Please include option to disable comments altogether

This is related to issue #14625 .
Reading from comments system table (even though it is not populated in our DB) takes a long time and is I/O intensive.
I am on version <IP_ADDRESS>205011839.
Please provide an option to disable comments altogether as it takes 14s in test env and over a min in a busy prod cluster.

Ok, thanks for the idea.

We added lazy comments loading in #16396
Now tables loading should be faster in DBeaver.

Thanks for replying. I updated to Version <IP_ADDRESS>206051253. I no longer see this in the Navigation panel, but the Object Properties tab/panel it still happens.
When an object (ex. Table) is opened, this query that is being executed is:
request | select object_type, "comment", child_object from v_catalog.comments where object_schema ='${OBJECT_SCHEMA}' and object_name ='${OBJECT_NAME}'
min_duration_ms     | 11660
max_duration_ms     | 12533
sum_duration_ms     | 24193
count   | 2

So, 2 identical queries, each taking ~12s are running consecutively when building object and tapping into comments system table. (Also, 12s is in an idle system, on a busy system like our prod cluster this takes more than 30s).
If there's an option to disable this in the settings, I am not seeing it.
Thank you!

Hi! Can anyone provide an update on this please?

Hello @alattke-chwy
You can see more data about this ticket in the "Milestone" section.

Hi. Can someone provide an update to this ticket please?

@LonwoLonwo could you please provide an update on this?

Implemented.

Available in the last DBeaver release.


I can't delete Home Connect Alt integration

Describe the bug
I updated HA to 2023.8.4 but it didn't restart properly. I had to restart it by unplugging the power from Raspberry.
Then I noticed a notification about Home Connect Alt integration not working properly. I tried to delete the integration from integrations page but after pressing the delete button nothing happens. I re-downloaded the custom component but it didn't helped either.  I attached the log. What can I do to properly delete the integration?
Version of the custom_component

0.6.3
Configuration

home_connect_alt:
  client_id: !secret client_id
  client_secret: !secret client_secret

Debug log

Logger: aiohttp.server
Source: custom_components/home_connect_alt/__init__.py:9
Integration: Home Connect Alt (documentation, issues)
First occurred: 21:04:29 (1 occurrences)
Last logged: 21:04:29

Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/aiohttp/web_protocol.py", line 433, in _handle_request
    resp = await request_handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/web_app.py", line 504, in _handle
    resp = await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/web_middlewares.py", line 117, in impl
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 85, in security_filter_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 100, in forwarded_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 80, in ban_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 236, in auth_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 148, in handle
    result = await handler(request, **request.match_info)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 87, in delete
    result = await hass.config_entries.async_remove(entry_id)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1082, in async_remove
    await entry.async_remove(self.hass)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 579, in async_remove
    component = integration.get_component()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/loader.py", line 813, in get_component
    ComponentProtocol, importlib.import_module(self.pkg_path)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/config/custom_components/home_connect_alt/__init__.py", line 9, in <module>
    from home_connect_async import Appliance, HomeConnect, Events, ConditionalLogger
ImportError: cannot import name 'Appliance' from 'home_connect_async' (/usr/local/lib/python3.11/site-packages/home_connect_async/__init__.py)

Nevermind. I installed the newest beta version, what probably led to fully re-install the custom component. Integration is fully operational again.


having issue

hello,
i am getting this issue can you please tell me how to fix this?
https://i.imgur.com/3wfrq1j.png

This problem happens when curl extension is not installed or not enabled in php.ini config file.
Download and install latest version of curl from here :
https://curl.se/windows/
For enabling php curl extension, go to installation folder of php and find the php.ini file.
Open your php.ini file and remove the ; mark from the beginning of the following line:
;extension=php_curl.dll
Try to run the script again 👍.

after i fix this got another issue
and try tried to install php-mbstring
and now working fine!
Thank a lot


Update to notify_release_stages for env var default

Convert env var BUGSNAG_NOTIFY_RELEASE_STAGES to an array and allow comma separation as you can't set an array in an env file.

Thanks. Could we get it more concise though? Surely this would do the same:
explode(',', env('BUGSNAG_NOTIFY_RELEASE_STAGES', '')) ?: null,

Ping @kattrali.

No that won't evaluate to null - https://3v4l.org/VoHsO

We should probably use the same exploding method we use for no in the proxy settings.

Thanks, for the PR. I'll take care of this.


docs: ✏ add documentation

Issues: #16

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Fix crawlers

Crawlers are not working:

[x] as-invest

https://stackoverflow.com/questions/33770129/how-do-i-disable-the-ssl-check-in-python-3-x

Checking why as-invest fails for now and it's a lot of a mess on the screen. Using:
scrapy crawl as-invest -o as-invest.json --pdb --nolog
will give me a debugger. The reason why is because of

urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed

@nirgn975 Give me a merge commit.


Add F# .Net Interactive notebook examples

to the built-in Data Table: Notebook Examples that ship with this extension: https://github.com/RandomFractals/vscode-data-table#-examples
@PawelStadnicki created and shared a few interesting F# notebooks on twitter we can explore integrating: PawelStadnicki
cc @colombod

Some Microsoft notebooks team like .Net Interactive should sponsor adding F# .Net interactive notebook examples and better data rendering integration in this extension for their .Net notebooks stack.
@jonsequitur:
I created Monthly Organization sponsoring tier specifically for such scenario and further collaboration and improved integration with your notebooks and tools.
I am going to close this issue for now, as I don't see myself investing anymore time into providing more built-in .Net Interactive data notebook examples unless Microsoft tools org and team would like to sponsor this extension development and collaborate on further improvements on a monthly basis.


Bump chart and app version.

Release Status

✅ We released a new v0.3.0 docker image after upgrading dependencies and bumping Go to address CVEs.
❌ The next step in the release process is to release the Helm chart. This PR bumps the app & chart version. Once it is merged, the GitHub workflows will automatically release a new Helm chart. However, this PR currently fails. We are not sure if this is a blocker for releasing the chart.

Linting Failure
This PR currently fails on the "Test upgrade charts" step of the "CI / Helm chart lint" job.
@vihangm helped me debug this and here's what we think is happening:

We upgraded the K8s packages in https://github.com/newrelic/newrelic-k8s-metrics-adapter/pull/98
Recent changes in kubernetes/client-go cause numerous warnings to be produced during resource discovery when using tooling like kubectl or helm (link to GitHub issue). ⚠ TO DO: this issue claims the unwanted behavior was introduced in v0.26, while we only upgraded to v0.25.
The testing step that fails uses the helm/chart-testing CLI tool to test upgrading a cluster from the current helm chart version ---> to the newly created version of the helm chart. This tool appears to use kubectl as part of its checking.
kubectl spits out a lot of garabage that gets scraped by the helm/chart-testing tool and interpreted as a failure. E.g.:

>>> kubectl describe pod E0303 --namespace ct
E0303 02:05:50.011351   18005 memcache.go:255] couldn't get resource list for external.metrics.k8s.io/v1beta1: Got empty response for: external.metrics.k8s.io/v1beta1
Error from server (NotFound): pods "E0303" not found

Options

Roll back K8s dependency updates and release a new v0.4.0 image.
Consider this failure to be more of a failure of the helm/chart-testing tool in its ability to interpret success or failure. Proceed with merging this PR.

Closing this PR and recreating it from a non-fork branch so that it will pass E2E testing.