Grammar correction: use hyphenation where appropriate.

Not finding fault with everything, just being a bit of a grammar purist ;)

Thx


Fix small parameter issue in bt_a2dp_sink example

The wrong parameter was used to print the error if something failed during the bt init.

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

Hi @Piocky,
This is a good catch!
Thank you for taking time to issuing the MR with resolution.
How about declaring at the beginning ofapp_main() a single esp_err_t err and using the same err variable across  the whole app_main() ? Chances are that the same bug may sneak again, if somebody is  adding another error check.

Hi @krzychb,
So in this case, using only the ret variable?

Hi @Piocky,
Sorry for slow reply.  I meant using just one variable, either err or ret.
I think that err goes well with esp_err_t err or esp_err_to_name(err), but if you retain ret this should be also fine :)

Ok, do you want me to make the change?

Yes, please doe so.

Done, but there is a conflict now.

This conflict would show up anyway because of updates to examples/bluetooth/a2dp_sink/main/main.c that happened after your original commit in https://github.com/espressif/esp-idf/commit/1df85e0039bf444eec58e246f3e8336105bec72d#diff-3516b30c8e3250d6006229ab65e1647d
To resolve it is necessary to rebase this PR on the master.

I corrected the conflict, let me know if it's okay for you right now, or if I need to change something.

Looks good to me. I will take it for internal review. Thank you!

Cherry-picked in 23a510c, thanks!


LLMA models talking gibberish

Using a Radeon 5700XT on Arch with any model produces completely random words as output or no output at all.

Have you tried lowering top_p and temperature parameters? It has a higher chance of outputting gibberish if the temperature is over 1.25 in my experience. As for refusal to generate any output, llama models has the tendency to just stop after a complete sentence, especially on alpaca models, so try to give it an incomplete sentence.
Outside of this advice of experimenting with parameters, I don't know well the inner workings of this (or know anything AI related, I don't even program in python or do GPU stuff outside of 3D graphics) as this is only a cuda kernel port.

I've had something similar to what you describe because I was using models that where generated with a newer version of GPTQ-for-LLaMa. In particular it was because --groupsize and --act-order where used together. This is an example of what I mean.
But just like in that example, you may be able to just ignore the newer model and link an older model instead (from the same repo).

I tried different models generated at different times, but the result is still the same gibberish output.

If you are using models quantized for triton, it will not work with cuda (and so too this repo) at all. If you are trying to use models recently quantized with cuda from the main GPTQ-for-LLaMa repo (which I'd like it if you linked them to test myself), try using the rocm-latest branch as that is meant to be in parity with the upstream cuda branch, which I have not tested at all.
If this is really about the RX 5000 series GPUs requiring full precision, the kernels would probably need to be modified to support that, which I would have to figure out with my lack of experience in this field or someone else does it and opens a PR, whichever comes first.

Does the rocm-latest branch work with torch-2.0.0? What's the breaking change with torch-2.0.0? Thank you.

Even using the rocm-latest branch the result is the gibberish output.

I'm closing the issue since the problem is probably caused by ROCm not officially supporting my specific card.


Remove redundant instance variables "context" and "instance"

The following two instance variables "context" and "instance" are no longer set in the "from_django" function as these have no use.
The "dump" parameter is also removed, as it was added by mistake in the refactor to accomodate pydantic 2.
fixes #10

Blocked by https://github.com/pydantic/pydantic/issues/9633, or that seems to be the issue why test is failing.


7.0 Minor UI things that are annoying me

Data Retention screen, the icon at the end of each rule is unnecessary, could the UI not just add a new line where the current highlighted item is?
Processor Filter edit screen:  selecting a new field / operator collapses the line you are working on, same for Query editor
Quicksearch is kind of if annoying in this new mode with a system with loads of content, i would like the default to be regex or simple text search and the current default to be available via a modifier.  an example is using the old search  i found 3 results by typing 6 chars, with the new search I've got more than 30 results, that isn't helpful

The quicksearch bit relates to #2155


Error: Illegal endian information

and a huge lot if times:
Illegal endian information! (new with beta.3 ? )

Originally posted by @mschnell1 in https://github.com/TechnikTobi/little_exif/issues/32#issuecomment-2438852691
Required:

Example file that causes the above error

Note: No, this is not new with beta3 - are there example files that cause this issue with 0.6.0-beta but not with 0.5.1?

www.bitvibe.de/Upload/850-012-2554.JPG

Found the issue: There is no Exif information per se contained in the image but XMP data instead that little_exif is unable to read :(  (for now...)
This will require a parser for XML data to convert (what is possible) to the expected Exif format (likely throwing away stuff in the process...) so that it can then be edited by little_exif.
I'll leave this issue open and change the title so that this topic is known as a todo for some time in the future, although this will take some time...

Perfect !
May I suggest that with a released version there should be no stderr output but some function that allows the caller to read the error cause in case the read result (i.e. metadata) length is Zero, meaning that LittleExif did not find acceptable exif information.

Moved that into issue #39


Calculate indemnity fee

Description
As a user, I would like the system to see/[insert verb]+[insert object]
Scope of Work

[ ] Task 1
[ ] Task 2
[ ] Task n-1
[ ] Task n

Demo requirement

The user does x
The system does y
n. Rest of a use case of a flow chart

Acceptance Criteria

The user is able to x
The user sees y
The user hears z

Here is what we know:

Based on http://legisquebec.gouv.qc.ca/en/ShowDoc/cs/A-6.002 section 28, the interest applies every quarter.
Assume the tenant hasn't pay for 22 months, which means he hasn't paid for 7 quarters (without remainder, since the payment is calculated on the first day of the third month of each quarter) -> n = 7
The annual interest rate is at 6%, therefore the quarter interest rate = Portion of a quarter of a year * Annual interest rate = 91/365 * 0.06 = 0.01496 -> i = 0.01496
Assume the rent is $1000. Because the interest rate applies every quarter, the basic value/portion for the interest rate to be applied = rent * 3 months per quarter = 1000 * 3 = 3000 -> PV = 3000

Therefore, since every 3 months/a quarter the tenant owns another $3000, we use future value formula to calculate the total amount, and we can substract the interest part out

The total owing = (PV/i)((1+i)^n-1) = (3000/0.01496)*((1+0.01496)^7-1) = 21966.33
The total interest = total owing - quarter rent * number of quarter = 21966.33 - (3000*7) = $966.33

To sum up:

n = total months of owing / 4
i =  0.01496 (fixed)
PMT = rent * 3
PV = 0
total owing = PV(1+i)^n + (PMT/i)((1+i)^n-1)
total interest = total owing - PMT*n


Add MonoGame Demo

A super simple MonoGame demo that has white squares moving around on screen
https://user-images.githubusercontent.com/14964651/148620608-4f36d945-a313-4898-9291-8f97a4f3d13a.mp4

So I have no experience with MonoGame, and I've got no idea how widely used it is—do you think it's actually worth including a demo for it? 🤔

Its fine to not merge it in just to have it here if people come looking.

I feel like it would be nice to have a demo that isn't Unity but still has graphics. Monogame will keep it simple, whilst still providing a good demo to show off Riptide.

Its fine to not merge it in just to have it here if people come looking.

Well I don't really want to leave it open, and closing it would make it harder to find, so I suppose I may as well merge it. Regarding the copyright though, you put my copyright header in all the files with my name—but that seems weird considering you @IrishBruse wrote the code... 🤔

Oh oops I copy and pasted it with out really thinking I can change it if you want


VTK reader - AttributeError: 'NoneType' object has no attribute 'IsA'

annulus-20.exo.zip
We currently need an easy way to convert exodus files to the MED (Salome) format. One possibility we have come across is to convert exodus to gmsh using your tool meshio and then convert gmsh to med using GMSH.  But we have been not successful yet with the meshio part, see the error below. I attach the exodus file (distributed with PETSc); it's nevertheless the same with any other exodus file I tried. It's also the case for both Python 2.7.13 and 3.6.2.
Do you have any idea, what's the issue?
Thank you for this nice contribution to the community!
$ meshio-convert --input-format exodus --output-format gmsh-ascii annulus-20.exo bla.msh
Traceback (most recent call last):
  File "/opt/miniconda3/envs/p2/bin/meshio-convert", line 133, in <module>
    _main()
  File "/opt/miniconda3/envs/p2/bin/meshio-convert", line 16, in _main
    meshio.read(args.infile, file_format=args.input_format)
  File "/opt/miniconda3/envs/p2/lib/python2.7/site-packages/meshio/helpers.py", line 114, in read
    out = vtk_io.read('exodus', filename)
  File "/opt/miniconda3/envs/p2/lib/python2.7/site-packages/meshio/vtk_io.py", line 119, in read
    vtk_mesh = _read_exodusii_mesh(reader)
  File "/opt/miniconda3/envs/p2/lib/python2.7/site-packages/meshio/vtk_io.py", line 204, in _read_exodusii_mesh
    if sub_block.IsA('vtkUnstructuredGrid'):
AttributeError: 'NoneType' object has no attribute 'IsA'

Released 1.8.17 with the fix. Enjoy!
Btw, if there is some interest in the MED/Salome format, I might add it to meshio as well. To probe this, we could open another issue request and see how many upvotes it gets.

It would be nice as it's maybe the only mesh format which can be loaded directly into a distributed mesh structure by PETSc.
For anybody familiar with PETSc: DMPlexCreateMedFromFile() function employs DMPlexCreateFromCellListParallel())

Opened https://github.com/nschloe/meshio/issues/137


schema-revision: elements/coordinates.schema.json

add a definedIn ?

What would be the advantage of having definedIn here? It could be added as an optional feature, but if there are no real advantages to this, I don't see why we should add it.

I thought about it a bit more and agree. It makes much more sense to reference to the "fileInstance" where also the file internal identifier is set. Please cf. electrodeContact in #37

double check and "release" / close this issue

rename schema to coordinatePoint.schema.json (correct related schemas and definitions)
what to do with actual coordinates:
@xgui3783 : all three in one property as array? or in separate properties split in x, y, z ?
@xgui3783 : do you assume / want to have coordinates in physical units or in pixel? (Note: I guess from the user perspective we will rather get physical units)

@lzehl

do you assume / want to have coordinates in physical units or in pixel? (Note: I guess from the user perspective we will rather get physical units)

I would have assumed this would be clear from coordinateSpace -> axes -> axes (links broken) ?

@lzehl

all three in one property as array? or in separate properties split in x, y, z ?

From my perspective, either makes sense, but in a lot of ways, will depend on how axes is defined?

I'm happy to stick to one property with array with values for x, y, z
axes links are not broken you cannot directly use them as urls though; direct urls are defined in definitions.json to reduce maintenance issues
units are defined in axes (#35) and/or indexingParameters (#36)
questions still remains for which property we assume the physical units or pixes/voxels or unitless values (I don't get what would be preferred where)

NOTE: controlledTerms will be vocabulary that is defined by the curation team as terminology (cf. #41)

I mean axes in definitions are broken:
{
    "AXES": {
      "$id": "#options/axes",
      "$ref": "https://raw.githubusercontent.com/HumanBrainProject/SANDS/master/v0.1/elements/axes.schema.json"
    }
}

from https://github.com/HumanBrainProject/SANDS/blob/b3b6612/v0.1/definitions.json#L63-L66
but should be
{
    "AXES": {
      "$id": "#options/axes",
      "$ref": "https://raw.githubusercontent.com/HumanBrainProject/SANDS/master/v0.1/options/axes.schema.json"
    }
}

re: physical vs pixel/voxel, it will largely depend on the coordinateSpace, no?
if the coordinateSpace is an unregistered volume/image, it is likely going to be unitless/voxel/pixel, whereas if it is a HBP supported reference space, it will likely be in physical space (mm or um)?

a) the coordinateSpace does not have any resolution only the defaultImage that is connected to the coordinateSpace, correct? So number of pixels/voxels for each axes should be defined in indexingParameters or in image?
b) the coordinateSpace should define what 1 is, correct? which should be the unit stated in the axes?
c) for coordinates that means that I expect the coordinates to be delivered in the unit of the axes for the attached coordinateSpace?

a) the coordinateSpace does not have any resolution only the defaultImage that is connected to the coordinateSpace, correct? So number of pixels/voxels for each axes should be defined in indexingParameters or in image?

I agree that coordinateSpace does not have any resolution. But at the same time, the unit of the axes associated with the coordinateSpace is not necessarily voxel/pixel, no? For Big Brain etc, for example, it could be mm/um (I would argue that it should be). For a non registered image/volume (e.g., histological scan), it can be either.

b) the coordinateSpace should define what 1 is, correct? which should be the unit stated in the axes?

I agree. The unit needs to be defined, or explicitly defined to be unitless (i.e. pixel/voxel)

c) for coordinates that means that I expect the coordinates to be delivered in the unit of the axes for the attached coordinateSpace?

That is how I understood the schema.

@lzehl Can I asked why this issue has been closed? We should revise the code:

coordinates should have min and max Items
Descriptions should be added (even though not crucial)
$id has sand in it and not sands
We wanted to rename the schema to coordinatePoint (right?)

I closed it because the last review went through. But you are correct. Go ahead and do the corresponding changes.
I'll open the issue for this again.

Revisions finished.


Update Docs

Codecov Report

Merging #198 (500e14c) into master (d2ed4ea) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #198   +/-   ##
=========================================
  Coverage     61.00%   61.00%
  Complexity      749      749
=========================================
  Files           121      121
  Lines          2818     2818
  Branches        331      331
=========================================
  Hits           1719     1719
  Misses          966      966
  Partials        133      133

Impacted Files
Coverage Δ
Complexity Δ

src/main/java/seedu/address/ui/HelpWindow.java
0.00% <ø> (ø)
0.00 <0.00> (ø)

Continue to review full report at Codecov.

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

LGTM


Updated copyright year

Description
Updated copyright in the recently modified files
GitHub Issues
List the GitHub issues impacted by this PR:

GitHub Issue #

Checklist:

[x] I have performed a self-review of my own code to ensure there are no formatting, vetting, linting, or security issues
[ ] I have verified that new and existing unit tests pass locally with my changes
[ ] I have not allowed coverage numbers to degenerate
[ ] I have maintained at least 90% code coverage
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] Backward compatibility is not broken

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration

[ ] Test A
[ ] Test B

Please point to a GitHub issue for this change.

e2e pass


The requested URL returned error: 500 Internal Server Error

I am developing on homestead and have made these configurations:
/etc/hosts:
<IP_ADDRESS>  lcatch5.app
.env
APP_URL=lcatch5.app
When I run php artisan opcache:status, I get:
[Appstract\LushHttp\Exception\LushRequestException]
The requested URL returned error: 500 Internal Server Error
The error line from the Laravel log is:
[2017-03-02 20:44:45] local.ERROR: Appstract\LushHttp\Exception\LushRequestException: The requested URL returned error: 500 Internal Server Error in /home/vagrant/Code/lcatch5/vendor/appstract/lush-http/src/Request/CurlRequest.php:121
In the web server error log I see (ignore timestamp mismatch):
2017/03/02 18:52:58 [error] 1999#1999: *35 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Class 'App\Http\Controllers\Controller' not found in /home/vagrant/Code/lcatch5/vendor/appstract/laravel-opcache/src/Http/Controllers/OpcacheController.php on line 11
What am I missing?
Is it possible you require/assume that the namespace for Controller.php is the current 5.x default of App\Http\Controllers? My project began way back in laravel 4.x and still uses the legacy namespaces from that time (i.e., Controller is at root.)

OK confirmed: issue was with the the assumed namespace of Controller. I converted all my files to the 5.x convention and it ran fine.
I'd close this issue now but maybe you want to add a line to the install instructions about the namespace requirement first in case it helps the next user?

Thanks for letting us know!
I think we can fix this by including our own basecontroller in stead of including the one from App\Http.


Declaration of negative number with different format is bugged

Hello,
I am sorry for the title, it's not straightforward. I think saw an issue in the declaration of negative fixed points. I am using Python for interfacing the PS with the PL of the FPGA Pynq Z2, and i am dealing with arrays of fixed point numbers. In particular, I am converting my fixed points to unsigned long (64 bits) maintaining the bits equal, and I would like to re-cast the array of uint64 once it comes back from the FPGA.
In C++ I can easily do that by:
ap_ufixed<W_Q, I_Q> result_fixed = *((ap_ufixed<W_Q, I_Q>*) &result_uint);

In Python there is not this convenience for custom types (like this library) and I thought I could easily take the raw elements and recast them throuhg the declaration. Although, this form that I am going to show below doesn't work:
W=64
I=32
d_fixed_t = Fxp(None, signed=True, n_word=W, n_frac=W-I)
x1 = Fxp(-3.4).like(d_fixed_t)
print(x1)
print(x1.bin())

This code outputs:
-3.3999999999068677
1111111111111111111111111111110010011001100110011001100110011010

Instead this code works:
x1 = Fxp(0)
x1 = x1.like(d_fixed_t)(-392.458)
print(x1)
x1.bin()

-234.11999999987893
'1111111111111111111111110001010111100001010001111010111000010101'

Another issue is that I cannot give as input a string to a numpy array fo fixed point, like that:
X_FPGA = Fxp(X_FPGA.like(d_fixed_t)(binary_strings)).like(d_fixed_t)

Hence I have to do a for loop like this:
for t in range(T):
    for n in range(N):
        X_FPGA[t][n] = Fxp(X_FPGA.like(d_fixed_t)(bin(buffer_X_FPGA[t][n]))).like(d_fixed_t)

Which is EXTREMELY slow. It is unpractible.
Does someone know how to solve these issues?
Thank you so much

I solved with this script:
int64_array = np.empty((T,N), dtype=np.int64)

# Cast the array to int64 using a loop
for t in range(T):
    for n in range(N):
        int64_array[t][n] = ctypes.c_int64(buffer_X_FPGA[t][n]).value

X_FPGA.set_val(int64_array, raw=True)

But still I think that I found a bug.
Let me know if anyone understands it.
Thank you,
Davide

Hello,
There are a couple of things here I wanna mention:

What is the OS that your are using? If it's Windows, there are some problems with numpy with numbers over 32 bits. I did some workarounds to deal with this situation that can generate some wrong values but in some cases those workarounds do not cover all situations. I got different outcomes of the first cases, please let me know your OS, python and numpy version.
When you use like method you are creating a new Fxp object copying the raw value of the original object. These new creation could lead in long execution time if you repeat lot of time, just like your nested for example.

x1 = Fxp(-3.4).like(d_fixed_t) # you are creating twice a Fxp object

# equivalent to
x1_ = Fxp(3.4)
x1 = x1_.like(d_fixed_t)

# better is
x1 = Fxp(3.4, like=d_fixed_t)

Check above a better way to create new Fxp using a previously defined Fxp. For more information check copy.

In the version 0.4.8 the way you need to use a binary string as input is with prefix '0b' (in the next version will be a new method and function to deal with other formats).

# instead of
X_FPGA = Fxp(X_FPGA.like(d_fixed_t)(binary_strings)).like(d_fixed_t)   # you're creating 3 Fxp objects here!

# do
X_FPGA = Fxp('0b' + binary_string, like=d_fixed_t)

For your nested for example consider do the following code:

# just an example to get buffer_X_FPGA
T = 1000
N = 1000
buffer_X_FPGA = np.random.randint(0, 100, size=(T,N))

# a function to convert to binary strings
bin_func = np.vectorize(lambda x: bin(x))

# convert to Fxp from binary strings in an array
x_fpga = Fxp(bin_func(buffer_X_FPGA), like=d_fixed_t)

I don't know the T and N dimension values, but the code above run fast for me. But be careful about using bin function of python because it the number of bits is variable and does not consider sign bit. Using the int64_array like in your last post is a much better way.


CIL update

For context, I had trouble with the included version of CIL, so I updated that here. Unfortunately, the latest version didn't work, so I only updated to the next version up because it fixed the bug.


Does Collapse render Children when isOpen === false?

Just thinking about performance and such 👍

Yes, it still renders the children. This is mostly because when though isOpen is false, while it is animating it is still visible. You can use the transition callbacks to have your component not render any children within Collapse when the animation is completed.
Why do we render the children when they are not shown? This is how bootstrap itself works and it preserves the state of the components within the collapse.
If you want to not preserve the state of the components, add a key which changes every time the collapse is toggled open.
If you are looking for a performance boost, you can simply have the children be another component which only updates when its props change.

So if they are already prerendered, going to isOpen = true will not need to rerender the children? Nice. Thank you for educating me :D


Add Support for Additional Clova Embedding Models

[ ] PR title: "Add Support for Additional Clova Embedding Models"

Previously, the Clova embeddings supported only the V1 clir-emb-dolphin model.
Changes Made:

Added support for both clir-emb-dolphin and clir-sts-dolphin models in V1.
Added support for the new V2 model.

Improvements:Updated code for compatibility with Pydantic v2.

[ ] Details:

Existing Clova Embeddings Support

Only supported the V1 clir-emb-dolphin model.

Modifications

V1 Model Enhancements:

Now supports both clir-emb-dolphin and clir-sts-dolphin models.

V2 Model Support:

Implemented support for the new V2 embedding model.

Pydantic v2 Compatibility

Import Updates:

Changed imports from deprecated langchain_core.pydantic_v1 to use Pydantic v2 directly.from pydantic import BaseModel, Extra, SecretStr, model_validator, ConfigDict

Validator Changes:

Replaced @root_validator(pre=True, allow_reuse=True) with @model_validator(mode='before') as per Pydantic v2 requirements.

Config Adjustments:

Updated configuration settings to use ConfigDict(extra="forbid") instead of the old Config class.

[ ] Additional guidelines:

official documentation
API guide

Hello @acho98 , thanks for the contribution related to CLOVA Studio.
We are trying to make an integration on all the chat models (HCX-003, HCX-DASH-001) and embedding models (incl. clir-emb-dolphin, clir-sts-dolphin, v2) via #25162 , so this pr could be a duplicate of it.
Please check if there is any issue related to it and we are happy to discuss further about the integration, CLOVA Studio itself, or anything else. :)

Thank you for the update! I see that #25162 just before.
it covers the integration with various models including HCX and embedding models. I’ll go ahead and close this PR to avoid duplication.
Thanks again and keep up the great work!

Hello @acho98 , thanks for the contribution related to CLOVA Studio.
We are trying to make an integration on all the chat models (HCX-003, HCX-DASH-001) and embedding models (incl. clir-emb-dolphin, clir-sts-dolphin, v2) via #25162 , so this pr could be a duplicate of it.
Please check if there is any issue related to it and we are happy to discuss further about the integration, CLOVA Studio itself, or anything else. :)


Kv certificates api

Can one of the admins verify this patch?

@g2vinay can you please follow up?  Can this be closed?


Add object constructor expression support

Purpose
Fixes #25043
Approach
Following all the steps in the compiler by creating an anonymous type definition and finally initializing the object via an expression.
Samples

Provide high-level details about the samples related to this feature.

import ballerina/io;

var objVariable = object {
    int n = 20;
    int x;

    public function init() {
        self.x = 4;
    }
};

public function main() {
    io:println(objVariable.n);
    io:println(objVariable.x);
}

Remarks
:wrench: Need to test on Const expressions and Readonly
Check List

[x] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[x] Added necessary tests

[x] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Shall we add some parser tests too?

Added via a2c46768dd9fbb87d1769a80534b2f1bbbc044bd

Will merge this now, and @KRVPerera will fix the issue comments and some other issues in a separate PR


MicroUSB Port

I would like to work on this issue, assigned to to me

not able to it , please unassign me this issue


command Instagram.py not found

when i select any password cracking option after entering the username of the account  it shows..
auto.sh line 35 instagram.py command  not found.
please help

Same issue here......
plz anybody help us from this
admin pls respond bhai

auto.sh: line 35: instagram-py: command not found
Please help me for this error

Same issue here please sort it

Same issue, have you solved?

Same issue


Unable to login due to 302 "error"; further due to httpx version

We are trying to use the solid-file-python library. We noticed that it will result in "302 error" when trying to log-in to, e.g., https://solidcommunity.net.
After further investigation, v0.1.1 of solid-file-python library does not have this issue. And we found the cause: httpx library v0.18.2 does not raise errors for redirection, but recent versions raise.
This commit https://github.com/twonote/solid-file-python/commit/3b2a0bf4df9d159ec76ae0606a684746bf23c7c2 updated the dependency version, by a bot.

Thank you for flagging this issue. Looks like it is related to #35 with httpx library getting a version bump. Any thoughts @hrchu ?

Fixed in #39


Method list browser status pane layout problem

The Method list browser has a gray status pane bar intended to be along the bottom of the window.
This pane is in a fixed, not relative, location and is only visible when the windows is set to the perfect size. When first opened, it's visible, but slightly too low so there's a little white space above.  As I resize the browser window vertically, I can see the bar go by.

Took me awhile to see that, but thanks to years of Where's Waldo practice I finally found it. Fixed in 3.0.12.


Accept Array for chain and ap pointfree functions

Chains and Applies...Oh My

This PR addresses issue#102 and implements the following:

Create a faux type rep to implement the typical algebras for Array.
Change up ap pointfree to allow for the algebra on an Array
Change up chain pointfree to allow for the algebra on an Array
Constrict concat pointfree to only accept Arrays when concat-ing Arrays
Add the isChain predicate as requested on issue#55.
Allow for Array on the liftA2 helper
Allow for Array on the liftA3 helper
Update map pointfree to use the faux type rep for Array,

Coverage remained the same at 100.0% when pulling 35a616a80e0d1e2abcc7e95795babaeab9115d7d on better-arrays into 545a0090171cdbe5208e14d698f7b4fdd68d38a8 on master.

Coverage remained the same at 100.0% when pulling 6df08b09309e381a391b067c87a0fd7710b8eb23 on better-arrays into 0cd27704325d866d267619a1de8268ad87c6839d on master.

Coverage remained the same at 100.0% when pulling 70bd9b913b4f745077a2792fa8821c4f401fbb12 on better-arrays into 0cd27704325d866d267619a1de8268ad87c6839d on master.

Coverage remained the same at 100.0% when pulling 70bd9b913b4f745077a2792fa8821c4f401fbb12 on better-arrays into 0cd27704325d866d267619a1de8268ad87c6839d on master.


some kind of error

Haxe 4.3.1
Haxelib 3.3.0
openfl 9.2.1
lime 7.8.0

windows x64

I don't think Lime 7.8.0 is compatible with OpenFL 9+. Try updating Lime?
Also, since C++ code is involved, what version of hxcpp do you have?

lol i fix it myself by using lime test neko instead of lime test windows

Yeah, Neko is nice for testing.
Just be warned that Neko isn't great for distribution. If you want to publish your game as HTML5, it's probably fine. But if and when you want to distribute a downloadable game, you'll want to get lime test windows working.

then why lime test neko  builded the game in the export

That's the default folder name.
To be fair, if someone has Neko installed, they can play your Neko game. But most people don't have Neko.

so can i let them download the game with neko packaged in

That should work. Won't give as good performance as HL or C++, but if it's a lightweight game maybe that's fine.

so 1 last question, how do i package it in (i make friday night funkin' i don't know how to control source that much)

Not sure, but I seem to recall that Lime does that automatically for HashLink apps. Might be worth a shot.

bruh i just wanan know how to fix this lime test windows issue

I don't think Lime 7.8.0 is compatible with OpenFL 9+. Try updating Lime?
Also, since C++ code is involved, what version of hxcpp do you have?

hxcpp 4.3.2
Haxe 4.3.1
Haxelib 3.3.0
openfl 9.2.1
lime 8.0.1
flixel 5.3.1

Does the same error happen when you run a Flixel demo?

let me try

it's the same

Hmm. I don't think you're rebuilding tools, but if you were, you'd need Visual Studio C++. Might be worth grabbing regardless.
Also, try lime setup windows and see if it has any suggestions.

mmm i have vs c++ already

so how to fix

It really should work if you have the right version installed. Maybe uninstall and reinstall from the C++ page.

nothing changed

now it give me this error

...are you using Mingw or something?
That error can only happen if you're using GCC/Clang instead of MSVC.

let me retry...

now this happens

Not sure why we never responded to that last one, but for the record, you can set environment variables from the system settings (just search the computer for "environment variable"). You'd make a new variable named MINGW_ROOT with the MinGW folder as the value.
But this is a year late and you probably either figured that out or moved on, so it's time to close this.


Add stash infos

For better integrations

Resolved by https://github.com/cmarcusreid/git-status-cache/commit/aca74155b043dc894fc6ea62f04a50b37e80fe40.


Shortcut conflict on Google Chrome

How does one use the action group and ungroup on Google Chrome?

Hello. So on your Mac pressing Cmd+G does a browser search instead of grouping? What keyboard layout do you have (meaning, is it a localized layout with different positions for keys than the default English layout)? Does Cmd+G for grouping work for you on Figma.com?

@dwelle I cloned the project and tried it locally on Chrome and it worked without a problem. Then I tried again on excalidraw.com and it worked too. I don't know if something changed in the last 12 hours but it just works now.
Thanks anyway, closing the issue.

Hi, I know this is an old issue, but I am encountering this same problem.
@dwelle, you mention that a localized layout could be the "problem", which is my case, as I am using a bépo french layout.
Can you please elaborate a little on why this is a pb? I tested the grouping with Ctrl+g in Figma and I don't have the issue there. In Excalidraw, this triggers a browser search instead of grouping.
Thanks


Call to an undefined method

Larastan Version: v2.6.3
--level used: 5
Pull request with failing test:

Description
This is a simple implementation of the repository pattern. Files:
BrandsRepository.php
<?php

namespace App\Repositories;

use App\Helpers\FileHelper;
use App\Models\Brand;
use App\Repositories\Interfaces\BrandRepositoryInterface;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\QueryException;
use Illuminate\Http\Request;

class BrandRepository extends BaseRepository implements BrandRepositoryInterface
{
    public function __construct(Brand $model)
    {
        parent::__construct($model);
    }

    public function createWithLogo(Request $request): ?Model
    {
        try {
            $filename = $this->saveLogo($request);

            if ($filename) {
                $request->merge(['logo' => $filename]);
            }

            $model = $this->create($request->only('name', 'logo'));
            $model->channels()->sync($request->channels);

            return $model;
        } catch (QueryException $e) {
            if (isset($filename)) {
                FileHelper::deleteFromDisk($filename, config('constants.images.brands_dir'));
            }

            throw new \Exception($e->getMessage());
        }
    }

BaseRepository.php
<?php

namespace App\Repositories;

use App\Repositories\Interfaces\EloquentRepositoryInterface;
use Illuminate\Database\Eloquent\Collection;
use Illuminate\Database\Eloquent\Model;

class BaseRepository implements EloquentRepositoryInterface
{
    protected $model;

    public function __construct(Model $model)
    {
        $this->model = $model;
    }

    /**
     * Create a model.
     *
     * @return Model
     */
    public function create(array $payload): ?Model
    {
        $model = $this->model->create($payload);

        return $model->fresh();
    }

Brands.php (model)
<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsToMany;
use Illuminate\Database\Eloquent\SoftDeletes;

class Brand extends Model
{
    use HasFactory;
    use SoftDeletes;

    protected $fillable = [
        'name',
        'logo',
    ];

    public function channels(): BelongsToMany
    {
        return $this->belongsToMany(Channel::class);
    }
}

Laravel code where the issue was found
Lines 29 and 53 refers to the same piece of code presented below:
$model->channels()->sync($request->channels);

The code is working normally but when running phpstan analyze it does return this error.
Is there anything that I'm missing?

Hello @brunofunnie! 👋🏻
Use PHP generics where Model is referenced.

Hello,
The error is self exploratory. And correct. The channels method is not defined on Model but it is defined on Brand model. You can use generics to solve this.
Update the base repository like so

<?php

namespace App\Repositories;

use App\Repositories\Interfaces\EloquentRepositoryInterface;
use Illuminate\Database\Eloquent\Collection;
use Illuminate\Database\Eloquent\Model;

/** @template T of Model */
class BaseRepository implements EloquentRepositoryInterface
{
	/** @var T */
    protected $model;

	/** @param T $model */
    public function __construct(Model $model)
    {
        $this->model = $model;
    }

    /**
     * Create a model.
     *
     * @return T
     */
    public function create(array $payload): ?Model
    {
        $model = $this->model->create($payload);

        return $model->fresh();
    }
}

and also update the custom repository like so
/** @extends BaseRepository<Brand> */
class BrandRepository extends BaseRepository implements BrandRepositoryInterface
{
    public function __construct(Brand $model)
    {
        parent::__construct($model);
    }

    public function createWithLogo(Request $request): ?Model
    {
        ...
    }
}

Done as suggested, worked as expected :+1:


Display tags in Pocket item list

Hello. First thank you very much for making this plugin, it really helps me bring everything in my Obsidian knowledge system.
I was surprised to find that tags aren't imported so I'd like to request for this feature. I've checked Pocket's API and there's a lot that can be done for images, videos and such.
And sorry, I want to make this a feature request but don't know how to add the label :)
Thank you very much !

oops i just realized that i still need to make it possible for tags to be added to a Pocket item note via template. I'll file an issue to track that and get to it soon.

Thank you very much for being so reactive !!


Turn doc references into links

\cc @not-my-profile - I assume this is good to do?

Yes this is indeed good to do :) However I think we should firstly make the CI check such links if they can actually be resolved ... working on that right now :)


Error: I'm sorry. An error occurred calling Articulate's converse service. This is not an issue with your agent.

This error starts showing up every few days. The api service goes down suddenly. What is the reason behind this error? Is there any error handling done at the articulate end which prevents the api service to go down? Why does the agent creation works and only the api service is down?
Our server is:
Ubuntu 18.04.
vCPU	Memory (GiB)
8	        16
I can always replicate this if I start several sessions with an agent continuously for say 5 minutes. It can be a simple Hi/Hello chat bot doing nothing but accepting Hi and returning Hi

how many is several sessions?

Around 100 in a minute. But its not specific to several sessions. It happens for few sessions as well. This is happening every now and then.

What does this error mean?
An error occurred calling Articulate's converse service. What is it that throws this error?

For this: Are you monitoring CPU/memory usage while doing this?
Yes I have. The CPU goes to 120% and more. The memory is fine almost half available or free.

It means something happened in the API that prevented a response from being returned. You can look in your API logs for more info.
docker-compose logs -f api

Why does that happen? Is it the RASA NLU that causes this error? Can the error be handled so that it does not cause the converse api service to get down?

Open the logs and see if you find an error, or upload your API logs for us to take a look. I can't tell you why it happens unless I know what is happening.

There are tons of errors here. Why does it crashes the api service? Is there a way to prevent that from happening?

| Debug: handler, error
api_1            |     Error: mapper_parsing_exception
api_1            |     at /usr/src/app/lib/routes/agent/agent.converse.route.js:43:24
api_1            |     at Generator.throw ()
api_1            |     at asyncGeneratorStep (/usr/src/app/lib/routes/agent/agent.converse.route.js:19:103)
api_1            |     at _throw (/usr/src/app/lib/routes/agent/agent.converse.route.js:21:291)
api_1            |     at process._tickCallback (internal/process/next_tick.js:68:7)
api_1            | Debug: internal, error
api_1            |     Error: mapper_parsing_exception
api_1            |     at /usr/src/app/lib/routes/agent/agent.converse.route.js:43:24
api_1            |     at Generator.throw ()
api_1            |     at asyncGeneratorStep (/usr/src/app/lib/routes/agent/agent.converse.route.js:19:103)
api_1            |     at _throw (/usr/src/app/lib/routes/agent/agent.converse.route.js:21:291)
api_1            |     at process._tickCallback (internal/process/next_tick.js:68:7)
api_1            | { error:
api_1            |    { ResponseError: mapper_parsing_exception
api_1            |        at IncomingMessage.response.on (/usr/src/app/node_modules/@elastic/elasticsearch/lib/Transport.js:294:25)
api_1            |        at IncomingMessage.emit (events.js:203:15)
api_1            |        at IncomingMessage.EventEmitter.emit (domain.js:448:20)
api_1            |        at endReadableNT (_stream_readable.js:1145:12)
api_1            |        at process._tickCallback (internal/process/next_tick.js:63:19)
api_1            |      name: 'ResponseError',
api_1            |      meta:
api_1            |       { body: [Object],
api_1            |         statusCode: 400,
api_1            |         headers: [Object],
api_1            |         warnings: null,
api_1            |         meta: [Object] } },
api_1            |   message: null }
api_1            | { error:
api_1            |    { isHandled: true,
api_1            |      statusCode: 500,
api_1            |      message: 'mapper_parsing_exception' },
api_1            |   message: null }
Most of the errors are like this.

can I see the logs from elasticsearch as well docker-compose logs -f elasticsearch

apilogs.zip
elastLogs.zip
Attached both the logs.

thanks, reviewing now.

how much memory are you allocating to the JVM in Elasticsearch?

I have not allocated any memory.

When and how do we need to allocate the memory to JVM in elasticsearch? I did not come across anything like this when I installed articulate.

It's in the compose file. I would recommend splitting Elasticsearch our onto it's own VM with 8G of memory and changing that setting to be:
"ES_JAVA_OPTS=-Xms4g -Xmx4g"

Here's more background from ES: https://www.elastic.co/guide/en/elasticsearch/reference/current/heap-size.html
You'll also likely want to split Rasa out onto it's own VM as it eats CPU and can starve other processes.

Ok thanks!! I will make the changes as per your suggestion and will let you know what we experience.

When we have this error there was only two users on the system. There must be some other issue.

It's in the compose file. I would recommend splitting Elasticsearch out onto it's own VM with 8G of memory and changing that setting to be:
"ES_JAVA_OPTS=-Xms4g -Xmx4g"

Here's more background from ES: https://www.elastic.co/guide/en/elasticsearch/reference/current/heap-size.html
You'll also likely want to split Rasa out onto it's own VM as it eats CPU and can starve other processes.

Sir..the memory increase did help with elasticsearch not throwing any errors now. But I saw this error which I am not getting what it means. Can you please help with this:
[36mapi_1            | [0m 2020-04-18T14:34:29.704896903Z     Error: Agent id=[20]
[36mapi_1            | [0m 2020-04-18T14:34:29.704901069Z     at /usr/src/app/lib/routes/agent/agent.find-all-sessions.route.js:24:24
[36mapi_1            | [0m 2020-04-18T14:34:29.704904833Z     at Generator.throw ()
[36mapi_1            | [0m 2020-04-18T14:34:29.704908655Z     at asyncGeneratorStep (/usr/src/app/lib/routes/agent/agent.find-all-sessions.route.js:11:103)
[36mapi_1            | [0m 2020-04-18T14:34:29.704912415Z     at _throw (/usr/src/app/lib/routes/agent/agent.find-all-sessions.route.js:13:291)
[36mapi_1            | [0m 2020-04-18T14:34:29.704916116Z     at process._tickCallback (internal/process/next_tick.js:68:7)
The agent Id = [20]..if it is looking for the agent with agentId 20 then we deleted it. The guys who are developing the agent found that there is no way to update an agent and so they deleted an agent.
This same error happened several times and the UI and API service stopped responding.

How did you delete it? direct from Redis or using the delete button in the UI?
What does this mean?

The guys who are developing the agent found that there is no way to update an agent

I mean one of our team member who was working on creating agents deleted the agent from the UI saying that there is no option to update an agent.

Delete was performed from the UI. We are not clear on how to update from development to the same production agent. We have had to create new agents each time, which is why we deleted the old agent.

@dakavisa can you make sure there's no problem with analytics/review page trying to lookup the records of deleted agents?
Also, see what happens when you try to go to the review page via URL of an agent that has been deleted.

I still don't understand this We are not clear on how to update from development to the same production agent. you can definitely go back into an agent and make changes.

Agent crashes after update see #1000 . We will try it again and see if we have the same problem. If we do, we will post the logs. Is the best method to export from development and import into production instance?

Can you try to capture that one on video? or capture terminal logs right after it happens?

This problem has not happened again. We think it was related to deleting an agent.


GraphQL Error: Invalid URL

The commands:
yarn add graphql @graphql-mesh/cli @graphql-mesh/openapi
yarn graphql-mesh server
open https://localhost:4000/graphql
The query:
{
  getPrivileges {
    id
  }
}

And the response:
{
  "errors": [
    {
      "locations": [
        {
          "line": 2,
          "column": 3
        }
      ],
      "message": "Invalid URL: Privileges",
      "name": "GraphQLError",
      "nodes": [
        {
          "kind": "Field",
          "name": {
            "kind": "Name",
            "value": "getPrivileges",
            "loc": {
              "start": 4,
              "end": 17
            }
          },
          "arguments": [],
          "directives": [],
          "selectionSet": {
            "kind": "SelectionSet",
            "selections": [
              {
                "kind": "Field",
                "name": {
                  "kind": "Name",
                  "value": "id",
                  "loc": {
                    "start": 24,
                    "end": 26
                  }
                },
                "arguments": [],
                "directives": [],
                "loc": {
                  "start": 24,
                  "end": 26
                }
              }
            ],
            "loc": {
              "start": 18,
              "end": 30
            }
          },
          "loc": {
            "start": 4,
            "end": 30
          }
        }
      ],
      "originalError": {
        "input": "Privileges",
        "code": "ERR_INVALID_URL",
        "name": "TypeError",
        "message": "Invalid URL: Privileges",
        "stack": [
          "TypeError [ERR_INVALID_URL]: Invalid URL: Privileges",
          "    at onParseError (internal/url.js:256:9)",
          "    at new URL (internal/url.js:332:5)",
          "    at <project>/node_modules/@graphql-mesh/openapi/index.cjs.js:1229:27",
          "    at <project>/node_modules/@graphql-mesh/runtime/index.cjs.js:134:38",
          "    at resolveFieldValueOrError (<project>/node_modules/graphql/execution/execute.js:502:18)",
          "    at resolveField (<project>/node_modules/graphql/execution/execute.js:460:16)",
          "    at executeFields (<project>/node_modules/graphql/execution/execute.js:297:18)",
          "    at executeOperation (<project>/node_modules/graphql/execution/execute.js:241:122)",
          "    at executeImpl (<project>/node_modules/graphql/execution/execute.js:119:14)",
          "    at execute (<project>/node_modules/graphql/execution/execute.js:63:35)"
        ]
      },
      "path": ["getPrivileges"],
      "positions": [4],
      "source": {
        "body": ["{", "  getPrivileges {", "    id", "  }", "}", ""],
        "name": "GraphQL request",
        "locationOffset": {
          "line": 1,
          "column": 1
        }
      },
      "stack": [
        "TypeError [ERR_INVALID_URL]: Invalid URL: Privileges",
        "    at onParseError (internal/url.js:256:9)",
        "    at new URL (internal/url.js:332:5)",
        "    at <project>/node_modules/@graphql-mesh/openapi/index.cjs.js:1229:27",
        "    at <project>/node_modules/@graphql-mesh/runtime/index.cjs.js:134:38",
        "    at resolveFieldValueOrError (<project>/node_modules/graphql/execution/execute.js:502:18)",
        "    at resolveField (<project>/node_modules/graphql/execution/execute.js:460:16)",
        "    at executeFields (<project>/node_modules/graphql/execution/execute.js:297:18)",
        "    at executeOperation (<project>/node_modules/graphql/execution/execute.js:241:122)",
        "    at executeImpl (<project>/node_modules/graphql/execution/execute.js:119:14)",
        "    at execute (<project>/node_modules/graphql/execution/execute.js:63:35)"
      ]
    }
  ],
  "data": {
    "getPrivileges": null
  }
}

Could you share a reproduction on CodeSandbox?

Could you share a reproduction on CodeSandbox?

I'd be happy to, however the server I am attempting to wrap is local atm. Is there still a way to reproduce via codesandbox?

@mateja176 You can share swagger schema maybe?

@mateja176 You can share swagger schema maybe?

I would if it were up to me, however I can share a relevant and self contained piece of the schema. Namely regarding the login feature. Firstly here's the swagger json:
{
  "openapi": "3.0.1",
  "info": {
    "title": "Schema",
    "description": "API Schema",
    "version": "v3"
  },
  "paths": {
    "/Login": {
      "post": {
        "tags": ["User"],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LoginUserRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/LoginUserRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/LoginUserRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "LoginUserRequest": {
        "required": ["email", "password"],
        "type": "object",
        "properties": {
          "email": {
            "type": "string"
          },
          "password": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}

Secondly, here's the request:
mutation($email: String!, $password: String!) {
  postLogin(
    loginUserRequestInput: {
      email: $email
      password: $password
    }
  )
}

And the response:
{
  "errors": [
    {
      "locations": [
        {
          "line": 2,
          "column": 3
        }
      ],
      "message": "Invalid URL: Login",
      "name": "GraphQLError",
      "nodes": [
        {
          "kind": "Field",
          "name": {
            "kind": "Name",
            "value": "postLogin",
            "loc": {
              "start": 51,
              "end": 60
            }
          },
          "arguments": [
            {
              "kind": "Argument",
              "name": {
                "kind": "Name",
                "value": "loginUserRequestInput",
                "loc": {
                  "start": 61,
                  "end": 82
                }
              },
              "value": {
                "kind": "ObjectValue",
                "fields": [
                  {
                    "kind": "ObjectField",
                    "name": {
                      "kind": "Name",
                      "value": "email",
                      "loc": {
                        "start": 85,
                        "end": 90
                      }
                    },
                    "value": {
                      "kind": "Variable",
                      "name": {
                        "kind": "Name",
                        "value": "email",
                        "loc": {
                          "start": 93,
                          "end": 98
                        }
                      },
                      "loc": {
                        "start": 92,
                        "end": 98
                      }
                    },
                    "loc": {
                      "start": 85,
                      "end": 98
                    }
                  },
                  {
                    "kind": "ObjectField",
                    "name": {
                      "kind": "Name",
                      "value": "password",
                      "loc": {
                        "start": 100,
                        "end": 108
                      }
                    },
                    "value": {
                      "kind": "Variable",
                      "name": {
                        "kind": "Name",
                        "value": "password",
                        "loc": {
                          "start": 111,
                          "end": 119
                        }
                      },
                      "loc": {
                        "start": 110,
                        "end": 119
                      }
                    },
                    "loc": {
                      "start": 100,
                      "end": 119
                    }
                  }
                ],
                "loc": {
                  "start": 84,
                  "end": 120
                }
              },
              "loc": {
                "start": 61,
                "end": 120
              }
            }
          ],
          "directives": [],
          "loc": {
            "start": 51,
            "end": 121
          }
        }
      ],
      "originalError": {
        "input": "Login",
        "code": "ERR_INVALID_URL",
        "name": "TypeError",
        "message": "Invalid URL: Login",
        "stack": [
          "TypeError [ERR_INVALID_URL]: Invalid URL: Login",
          "    at onParseError (internal/url.js:256:9)",
          "    at new URL (internal/url.js:332:5)",
          "    at <project>/node_modules/@graphql-mesh/openapi/index.cjs.js:1229:27",
          "    at <project>/node_modules/@graphql-mesh/runtime/index.cjs.js:134:38",
          "    at resolveFieldValueOrError (<project>/node_modules/graphql/execution/execute.js:502:18)",
          "    at resolveField (<project>/node_modules/graphql/execution/execute.js:460:16)",
          "    at <project>/node_modules/graphql/execution/execute.js:266:18",
          "    at <project>/node_modules/graphql/jsutils/promiseReduce.js:23:10",
          "    at Array.reduce (<anonymous>)",
          "    at promiseReduce (<project>/node_modules/graphql/jsutils/promiseReduce.js:20:17)"
        ]
      },
      "path": ["postLogin"],
      "positions": [51],
      "source": {
        "body": [
          "mutation ($email: String!, $password: String!) {",
          "  postLogin(loginUserRequestInput: {email: $email, password: $password})",
          "}",
          ""
        ],
        "name": "GraphQL request",
        "locationOffset": {
          "line": 1,
          "column": 1
        }
      },
      "stack": [
        "TypeError [ERR_INVALID_URL]: Invalid URL: Login",
        "    at onParseError (internal/url.js:256:9)",
        "    at new URL (internal/url.js:332:5)",
        "    at <project>/node_modules/@graphql-mesh/openapi/index.cjs.js:1229:27",
        "    at <project>/node_modules/@graphql-mesh/runtime/index.cjs.js:134:38",
        "    at resolveFieldValueOrError (<project>/node_modules/graphql/execution/execute.js:502:18)",
        "    at resolveField (<project>/node_modules/graphql/execution/execute.js:460:16)",
        "    at <project>/node_modules/graphql/execution/execute.js:266:18",
        "    at <project>/node_modules/graphql/jsutils/promiseReduce.js:23:10",
        "    at Array.reduce (<anonymous>)",
        "    at promiseReduce (<project>/node_modules/graphql/jsutils/promiseReduce.js:20:17)"
      ]
    }
  ],
  "data": {
    "postLogin": null
  }
}

Just to be sure I'm including an example curl request which is proven to succeed:
curl http://localhost:5000/login \
-H "content-type: application/json" \
-d '{
  "email"<EMAIL_ADDRESS>  "password": "example"
}'

I think baseUrl is missing here so URL is invalid without the beginning of the URL.

I think baseUrl is missing here so URL is invalid without the beginning of the URL.

Absolutely right. I've found the option in the openapi docs. However it isn't obvious that it's required or are there cases where graphql-mesh serve can work without it?

I think the missing thing on Mesh side is the error message. If baseUrl is missing somehow, we should throw an error with a clear message :) But other than that, how can Mesh know the necessary URL for that request if there is no clue about the remote host :)

Indeed, producing a friendlier error message would be nice. Though, I originally meant updating the .meshrc.yml file on the openapi docs page.

Hi @ardatan,
I face a similar issue where I use swagger v2 to generate graphql endpoint from a private end point. Unlike the above issue, the URL is constructed as expected but its prepended with //. This schema is for a spring project and is generated automatically by a spring library. Since I'm working on a private repository I can't share the schema but I ensured that the schema has the basePath and host properly defined as mentioned in the official swagger spec v2. Is there anything I could do?
"stack": [
        "TypeError [ERR_INVALID_URL]: Invalid URL: //<private-api-endpoint>",
        "    at new NodeError (node:internal/errors:277:15)",
        "    at onParseError (node:internal/url:258:9)",
        "    at new URL (node:internal/url:334:5)",
        "    at /c/dev/trinity/mesh/node_modules/@graphql-mesh/openapi/index.cjs.js:1276:27",
        "    at /c/dev/trinity/mesh/node_modules/@graphql-mesh/openapi/index.cjs.js:4936:61",
        "    at /c/dev/trinity/mesh/node_modules/@graphql-mesh/runtime/index.cjs.js:96:38",
        "    at resolveField (/c/dev/trinity/mesh/node_modules/graphql/execution/execute.js:464:18)",
        "    at executeFields (/c/dev/trinity/mesh/node_modules/graphql/execution/execute.js:292:18)",
        "    at executeOperation (/c/dev/trinity/mesh/node_modules/graphql/execution/execute.js:236:122)",
        "    at executeImpl (/c/dev/trinity/mesh/node_modules/graphql/execution/execute.js:116:14)"
      ]

You can define baseUrl explicitly

You can define baseUrl explicitly

That did the trick. Thank you @ardatan.


Update reference_tokens.rst

Removed extra ) from new Secret()

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

thanks


Installer metadata is wrong.

🐛 Bug Report
I just downloaded the CSET installer v10.3 from the releases page, and the "product" information metadata is wrong.

It is a "feature" of the 7zip self extracting executable.    Not much I can do about it right now.  This will change when we move to the app stores.


Reaching github recommended file size limit

When trying to push to my repo a new versiob of the latest data csv file I got:
remote: warning: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com.
remote: warning: See http://git.io/iEPt8g for more information.
remote: warning: File covid-19.data.prod.2020-04-09T111757.csv is 50.48 MB; this is larger than GitHub's recommended maximum file size of 50.00 MB

Instructions are at https://help.github.com/en/github/managing-large-files/versioning-large-files

Damn I had it ready... but one can't git lfs push to a public fork on github which makes contributions really painful :(
https://github.com/git-lfs/git-lfs/issues/1906
Simplest solution might be to just gzip that file for now

This actually belongs in the nCoVID repo, moved the issue there
https://github.com/beoutbreakprepared/nCoV2019/issues/53


Gradle daemon running in wrong location

When running with a gradle daemon methods like toAbsolute* or getAbsolute* are pointing to the original run location of the daemon. This has already been covered and marked as fixed, but this still occurs on gradle 4.8.
Old issues: https://issues.gradle.org/browse/GRADLE-1747 & https://issues.gradle.org/browse/GRADLE-1249
Even if methods like file(String) do exists, other ways should work like "normal" java too.

Which version of Java are you running Gradle on?

In my opinion, we should have never "fixed" this, because relying on the current working dir pretty much always leads to broken code. For instance, multi-project builds won't work correctly if the code for a subproject assumes that the working dir is the subproject dir (it isn't). Composite builds won't work if the code for an included build assumes that its root directory is the working dir (it isn't). Invoking Gradle from a subproject directory won't work if the root project assumes that it is the working directory (it isn't). And on Java 11 we can no longer mutate the working directory at all (which is an understandable move from the JDK team, because it allows them to cache things).
The only correct way of creating files in Gradle is using Project.file() or creating files relative to some other file (e.g. project.buildDir).

I'm running Java 8.
And I can understand to not rely on the working directory, but that fact is weird:
For example: Daemon was running in /some/path/
Now gradle is executed in /another/path
Paths.get(".") // will point to /another/path
Paths.get(".").toAbsolutePath() // will point to /some/path

Thats the problem with it. It is just crazy that there are kind of 2 working directories or something like that

That difference is probably because we mutate user.dir in Java <11, but I guess the java.nio API doesn't always respect user.dir. But that doesn't really matter anymore going forward, since Java 11 completely prevents this kind of mutation.
Also, the code you showed wouldn't work in any of the cases I mentioned above, even if it always returned the directory where Gradle was invoked. As soon as you do composite builds or run from a different directory, that kind of code would break down. That's why you always have to go through Project.file and friends.
So the real question becomes: How can we intercept calls like this and fail right away. This is already covered by #5187.


Android Car

Is there some way to start the scrcpy  in Android CAR mode?

I have no idea. Do you have access to the device via adb?


Wrong table name in hooks.php

Line 10 of hooks.php references the wrong database table - it currently uses "tblpush_whmcs" but should be "tblpushover_whmcs". Module doesn't send alerts until this has been changed.

Fixed!


Comparison to other similar libraries

Hi!
Thanks a lot for this library! It looks very interesting.
It would be great if you could document how your library compares to other similar ones such as:
https://github.com/ahmetb/go-linq
https://github.com/clementauger/st
?
Is the computational efficiency comparable?

It's so great your suggestion @mristin and thank you so much for your time,

I will use the branch feature/performance-testing  to implement some performance testing that can provide performance details

Just like an advance, but performance is being highly improved for upcoming 0.0.2 release, Mainly for primitive arrays
What eh below tests are doing is filtering the element in an array of strings whose len is lower than 6
The tests have been executed for arrays with 10,100,1000 and 10000 elements as is shown below
The exactly same tests have been performed against Koazee, 0.0.1 and agains the upcoming release
koazee 0.0.1, Titi
BenchmarkString10TextLenKoazee-4      	  300000	      3976 ns/op
BenchmarkString100TextLenKoazee-4     	   50000	     27080 ns/op
BenchmarkString1000TextLenKoazee-4    	    5000	    243762 ns/op
BenchmarkString10000TextLenKoazee-4   	    1000	   2431268 ns/op
Koazee 0.0.2, G****
BenchmarkString10TextLenKoazee-4      	 2000000	       625 ns/op
BenchmarkString100TextLenKoazee-4     	 1000000	      2073 ns/op
BenchmarkString1000TextLenKoazee-4    	  100000	     19183 ns/op
BenchmarkString10000TextLenKoazee-4   	    5000	    257391 ns/op


[GEP-20] Introduce shoot spec field for HA control planes, add validations

How to categorize this PR?

/area high-availability
/kind api-change
/kind enhancement
What this PR does / why we need it:
This PR implements part of GEP-20. Parts of the GEP covered in this PR are:
[x] Introduce shoot spec field for enabling HA control planes
[x] Add validations for updating the shoot.spec.controlPlanes field - scale-up of etcd cluster from non-HA to HA is now allowed
[x] Enhance validations for shoot HA annotation (which is not deprecated yet)
Which issue(s) this PR fixes:
Fixes partially #6529
Special notes for your reviewer:
/cc @timuthy @unmarshall
Release note:

Introduce shoot spec field `spec.controlPlane` to allow enabling HA control planes with failure tolerance type of `node` or `zone`.

Add validations to disallow switching failure tolerance type for HA shoot control planes between `node` and `zone`.

/test pull-gardener-apidiff

Please mark this PR as "ready for review" when it's no longer in "WIP" state.

/test all

/test all

/test pull-gardener-unit

/test all

/hold testing in progress

/remove do-not-merge/work-in-progress

/test pull-gardener-e2e-kind

/test

/test pull-gardener-publish-test-images

/test ?

/assign

/test pull-gardener-unit

/test pull-gardener-publish-test-images

/test pull-gardener-unit

/test pull-gardener-unit

/test pull-gardener-publish-test-images

Since this is a large PR and there are many validations it is just taking time to conclude the tests.
@rfranzke and @timuthy - if both you do not have further review comments then let us finish one more round of testing and we will also document all the test cases that we have executed in this PR. Then we will remove the hold on merge.

/remove hold

/unhold

OK, thanks.
/lgtm now
Waiting for final approval of @timuthy


Include index in generated profile name

This PR updates generate.sh to include the index of the theme in the display name of the theme recorded in themes.json.
Having the index of the theme as part of the display name will make installation easier, since users will be able to see the number they're supposed to enter in order to install a theme listed as part of the theme name on https://mayccoll.github.io/Gogh/.
The name is now listed as: <Theme Name> (theme ##)

Hi @codeinred  the issue with this approach is that "index" is going to change every time someone add a new theme, and if someone create an app or some script based on that index later the same index is going to match with other theme.
I don't know if it's clear?
For example, someone create an script that specifically install theindex = 110then when Gogh updates that 110 is going to point to another theme.
I want to solve this creating a index width a fixed number, but this is not scalable if done manually.
For me the best approach is create some hash number based on the theme name and good  enough that it avoid collisions
something like this:
echo $((0x$(echo 'THEME NAME' | md5sum | cut -f 1 -d " " | cut -c 1-9))) | cut -c 1-9
This example always is going to generate this number 326432603 i know is long for typing that why i like the consecutive number but for scripts as an ID is going to be perfect.
also can be as simple as echo 'THEME NAME' | md5sum and grap the first 5 digits, but i want to avoid letters. 799b0`
What do you think about it and what do you think is the best approach?
Thank you
`

Hi @Mayccoll,
Thank you so much for taking the time to review this PR and to write out your reasoning! I understand the concern about indices changing, especially since it could lead someone to try relying on it for a script, resulting in a surprise when they got shifted after the addition of a new theme.
What if we enabled the install script to look up themes by name, rather than by index, with themes separated by commas? This should be possible with xargs. Then, based on the theme name, we could look up the file corresponding to the theme. This would potentially require renaming some of the files, but we can preserve history with git mv and automate any renaming with a script.
So if user entered Theme Name Light, Theme Name Dark, it would translate that to (theme-name-light.shtheme-name-dark.sh)

:smile:
The name can lead to misspelling.
what about to keep the number for install manually in console, like it is right now, and with the option for ID.
So if people write 9 numbers it will use the ID and if they write less that those digits it will use the consecutive number.
Also the theme name for install can be added but that's is more coding :) .
The json will be something like this.
{
      "id": "411355344",
      "name": "3024Day",
      "black": "#090300",
      "red": "#db2d20",
      "green": "#01a252",
      "yellow": "#fded02",
      "blue": "#01a0e4",
      "purple": "#a16a94",
      "cyan": "#b5e4f4",
      "white": "#a5a2a2",
      "brightBlack": "#5c5855",
      "brightRed": "#e8bbd0",
      "brightGreen": "#3a3432",
      "brightYellow": "#4a4543",
      "brightBlue": "#807d7c",
      "brightPurple": "#d6d5d4",
      "brightCyan": "#cdab53",
      "brightWhite": "#f7f7f7",
      "foreground": "#4a4543",
      "background": "#f7f7f7",
      "cursorColor": "#4a4543"
    }

I haven't really had much time to work on this, I wanted to make those changes for the next big version of the GOGH and a couple of more :yum: .
My idea for the next version is that the themes will be made in separete Yaml files and everything will start from there. With that it will be even easier to contribute themes and port the themes to other languages (bash, node, python , etc).
hahaha sorry, it's a lot of plans.
Translated with www.DeepL.com/Translator (free version)

I like the idea of moving theme files to yaml in a future version! It will be good to make themes more portable, and I think yaml has a simpler and more approachable syntax than bash does. It should also be easier to export themes from other places, to add them to gogh.
Motivation
The reason I suggested allowing the use of names is because the current workflow feels cumbersome:

Run Gogh
Search for themes I like on https://mayccoll.github.io/Gogh/
Find the corresponding number for each theme, based on the name
Enter the numbers

The trouble lies in switching repeatedly between steps 2, 3, and 4 to install multiple themes. I have to scroll through a large list of names to find the corresponding number, enter it, then scroll to find the next number. To make the process faster I sometimes try juggling multiple numbers in my head at once, but that can be error-prone.
Eliminating step 3 was the original purpose of this PR, so that numbers would show up on the website itself, next to the corresponding theme, and I could enter those without scrolling up to find the number. You made a good point about numbers changing as new themes are added, though, so it makes sense why you wouldn't want to do this.
Numeric IDs would partially solve this problem: we could list the ID on the website, next to the theme name. But an ID isn't human readable, and I would argue that typing in a long ID is more error prone than typing in a human-readable name.
The theme names are already unique; they're human readable; and with a small tweak to the generate script, we could preserve spaces in the name so they can be copied from the website.
Implementation details
I know I'm suggesting a large change, but I'm fully happy to implement it myself.
Preserving spaces in the names listed on the website: Right now all whitespace is removed from the json file using tr as part of a process to remove the trailing comma. Below, I've provided an alternative implementation that will remove this trailing comma without removing the whitespace:
# Use sed to remove the final trailing comma in the json file,
# without removing spaces or newlines
cp $SCRIPT_PATH/../data/themes.json $SCRIPT_PATH/../data/themes.json.tmp
sed -e ':a' -e 'N' -e '$!ba' -e 's/},\n  ]/}\n  ]/g' \
  $SCRIPT_PATH/../data/themes.json.tmp > $SCRIPT_PATH/../data/themes.json
rm $SCRIPT_PATH/../data/themes.json.tmp

Looking up files based on the name a user enters: Below I've provided a snippet which normalizes user input, converting a list of comma-separated names into theme filenames. (When things are converted to yaml, this should be really simple to do in python just by calling replace and trim functions)
This does the following steps:

replace commas with newlines
Replace spaces with dashes
Remove leading dashes
Remove trailing dashes
Add a .sh at the end
Convert everything to lowercase

function getThemeFiles() {
    read themes
    echo $themes            \
        | tr ',' '\n'       \
        | tr ' ' '-'        \
        | sed -e 's/^-*//'  \
              -e 's/-*$//'  \
              -e 's/$/.sh/' \
        | tr '[:upper:]' '[:lower:]'
}

Concerns regarding naming
Most but not all files follow the naming convention described above, but the ones that don't can be renamed with the following script. This will extract profile names without installing the theme.
for file in *.sh; do
    source <(head -n 30 $file)
    dest=$(echo $PROFILE_NAME | getThemeFiles)
    if [ "$file" != "$dest" ]; then
        git mv $file $dest
    fi
done

After experimenting with this, the following 9 files get renamed, based on the profile name:
	renamed:    gogh.sh -> _bash.sh
	renamed:    adventuretime.sh -> adventure-time.sh
	renamed:    cobalt2.sh -> cobalt-2.sh
	renamed:    fairyflossdark.sh -> fairy-floss-dark.sh
	renamed:    fairyfloss.sh -> fairy-floss.sh
	renamed:    ibm3270-hicontrast.sh -> ibm-3270-(high-contrast).sh
	renamed:    sweet.sh -> sweet-terminal.sh
	renamed:    vs-code-dark-plus.sh -> vs-code-dark+.sh
	renamed:    vs-code-light-plus.sh -> vs-code-light+.sh

I definitely like the idea of being able to install Gogh with names also separated by commas.
What I'm not so sure about is whats going to be the source of truth and it's something I've been struggling with since I started this application. The other day I lost about 2 hours because I had a bad typo in the filename and in the gogh.sh file.
I don't think we can use the file name as source of truth, which is why I have a hard time with this approach.
Maybe using a field export FINENAME="adventure-time.sh" in combination with the API
https://api.github.com/repos/Mayccoll/Gogh/git/trees/master?recursive=1
I know right now the source of truth for the command line are the file names, but for the website is the field.
My idea at the end (next version) is use Actions to generate everything ones you add a new YAML file, righ now you need to modify the gogh.sh file adding the new theme to the list.
i don't know, need to think a little more :)
I send you and email with my discord. or let me know if you want to contact me through other means. It's hard to write so much :smile:


Less margin on title

There is curently a bit too much margin between "Yes! And its freaking fast!" and "Can I replace my Rails/Django/Flask already?". I lowered it from 1em to 0.5em.

Looks good, thanks you! Speaking of styles, @ibraheemdev any chance you know how to fix the white area on the right? It appears only on mobile devices.


How to change keybinds?

Hello, I'm using Vimium extension so there are conflicts with the default keybinds you defined, how do I change them? Thanks for your work!

Hi, thanks for bringing this up! Currently, there's no option to change the shortcuts, but it's a great idea to improve this feature. I'll try to find some time to address it soon. I appreciate your feedback!

I researched. The difficulty is that the Chrome Manifest V3 supports only 4 shortcuts. Need to implement the shortcut update mechanism and store new values for the next session yourself.

Hi there. Custom shortcuts feature is available in v6.0.0. Check updates for the next 2 days. I'm waiting for feedback. Thanks


Child can be center horizontal?

I had used this library but now the requirement is changed.So can it possible that child item gravity can be center horizontal.

I also require that.

@paulyung541 Please check the image.

@EpariNigam I will add this soon.

Is it possible in the latest version?


GEODE-10115: fix javadoc

simple javadoc fix

I'm not sure if the new javadoc validation/enforcement will pass on this. If it complains try adding throws AuthenticationFailedException to the method signature even if it's an unchecked type.

It just doesn't make sense to throw that exception in the init() method, any runtime exception should work.


sync with main

Docs Build status updates of commit 715c53f:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error: GitBranchDeletedOrForcePushed] Cannot sync git repo to specified commit because branch CI has been deleted or has been force pushed

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
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.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


No Transaction found in Chainstack RPC & No Transaction in Solscan even after successfully swapped !

Hi @soos3d, I have seen exactly a same output like your one 👇
https://github.com/chainstacklabs/raydium-sdk-swap-example-typescript/issues/2#issuecomment-2012547797
It seems like the transaction was succeeded but no effect on Solscan & even in Chainstack i don't see any transaction that was passed (0 passed 0 failed). But the log in terminal seems like OK as like as your response in the link above.
I had 0.01 SOL in my account & wanted to SWAP 0.0001 SOL. Below is the config of SWAP 👇

Finally nothing swapped !!! My main account balance was 0.01 SOL & still that is 0.01 SOL. No change in any end !!!
Could you please help me on this  @soos3d ?

Same issue

I have same issue I swapped the token using the RPC node and its not coming in
SOLSCAN

yeah this happens when the chain is really congested; the transactions are simply dropped. Unfortunately, there is not too much we can do at the moment besides increasing priority fees (the maxLamports parameter in swapConfig) and send transactions continuously until one goes through🥲
I'm looking into editing the code a bit to improve the chances.

You must spamming until the tx confirmed

yeah this happens when the chain is really congested; the transactions are simply dropped. Unfortunately, there is not too much we can do at the moment besides increasing priority fees (the maxLamports parameter in swapConfig) and send transactions continuously until one goes through🥲
I'm looking into editing the code a bit to improve the chances.

Ohhh now I'm again facing the ISSUE. After completed SWAP I see a Transaction Id. But that is a fake transaction link on Solscan !!!!!
My thought from ethereum is that, if transaction failed then that transaction must show in Solscan that transaction failed with a reason !!!

I'm thinking anything happened to Chainstack RPC !? It was working days before today 😵💫

yeah, unfortunately, Solana is super busy, and a lot of transactions are dropped before being confirmed. They are working on a fix for this and will hopefully be released soon!


How to get model number with DeviceKit?

Hello.
Thank you for DeviceKit.
Could you tell me how to get the device's model number with DeviceKit? I mean the values like A2111, A2223.

@RomanPodymov
There currently is no way, using DeviceKit at least, to get the model numbers of the device. We identify devices using the firmware identifier (eg. iPhone13,3).

Hello @Zandor300
Thanks for the clarification. It will be nice to have this feature.


Add missing import to example code snippet

Adding this makes the code snippet ready to use via copy and paste.

Thanks @matthiasrohmer! Merged in9a1fc6d2436e4abb6ebba8c888ff8e09ca77bdbb.

Thanks @matthiasrohmer! Merged in9a1fc6d2436e4abb6ebba8c888ff8e09ca77bdbb.


Suggest electron-rebuild for building native modules

electron-rebuild is a new npm package that makes dealing with native modules way easier and less hassle than trying to do it yourself, and less demanding than grunt-build-atom-shell

Thanks!


Navigation Arrows not showing on IE

This is a (multiple allowed):

[x] bug

[ ] enhancement

[ ] feature-discussion (RFC)

Swiper Version: EXACT RELEASE VERSION OR COMMIT HASH, HERE.

Live Link or JSFiddle/Codepen or website with isssue: PREFERABLY (IF YOU WANT YOUR ISSUE TO BE RESOLVED ASAP).

What you did
I couldn't see the arrows.

Expected Behavior
See Arrows
Actual Behavior
Arrows only visible on Firefox  and Chrome
P.S. Remember, an issue is not the place to ask questions. You can use Stack Overflow
for that.
Before you open an issue, please check if a similar issue already exists or has been closed before.

IE is not supported by Swiper


add custom useragent

Anything I can do to help get this merged?

This functionality has been implemented. My apologies it took so much time to make this decision.


remove jax lib bound for v0.15.0

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

This pulls in the old no. 2 build: 0.3.0-py39h3498573_2 I'll mark that as broken and then retrigger the CI here.


Add function to get catalog name from a spec class

Add a helper function to retrieve the catalog name (i.e. mistral) from a spec class or instance.

Codecov Report

Merging #8 into master will increase coverage by 0.04%.
The diff coverage is 90.9%.

@@            Coverage Diff            @@
##           master      #8      +/-   ##
=========================================
+ Coverage   91.76%   91.8%   +0.04%
=========================================
  Files          29      29
  Lines        1129    1135       +6
  Branches      244     244
=========================================
+ Hits         1036    1042       +6
  Misses         49      49
  Partials       44      44

Impacted Files
Coverage Δ

orchestra/specs/base.py
87.81% <100%> (+0.15%)
:arrow_up:

orchestra/specs/mock/workflows.py
100% <100%> (ø)
:arrow_up:

orchestra/specs/loader.py
100% <100%> (ø)
:arrow_up:

orchestra/specs/mistral/v2/base.py
100% <100%> (ø)
:arrow_up:

orchestra/composers/base.py
92.42% <50%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


feat: add neutral conductor information

@FiedLa What information do we need about neutral conductors and where?

@FiedLa What information do we need about neutral conductors and where?


Posting my 4070 results!

EDIT: posting here, but would be nice if some thread or wiki can be added with people posting results..
EDIT 2: tested on Linux also on 525.47.35 driver same results
would be nice to compare to RDNA3 results (specially with fp16-matrix included)!
vkpeak-20230730-windows
(using driver 532.32)
device       = NVIDIA GeForce RTX 4070

fp32-scalar  = 16493.71 GFLOPS
fp32-vec4    = 21843.69 GFLOPS

fp16-scalar  = 16476.93 GFLOPS
fp16-vec4    = 32665.59 GFLOPS
fp16-matrix  = 132483.00 GFLOPS

fp64-scalar  = 520.07 GFLOPS
fp64-vec4    = 521.40 GFLOPS

int32-scalar = 16524.10 GIOPS
int32-vec4   = 16448.31 GIOPS

int16-scalar = 10989.81 GIOPS
int16-vec4   = 14632.48 GIOPS

device       = Intel(R) Arc(tm) A770 Graphics (DG2)

fp32-scalar  = 19196.22 GFLOPS
fp32-vec4    = 14152.80 GFLOPS

fp16-scalar  = 21674.14 GFLOPS
fp16-vec4    = 25906.79 GFLOPS
fp16-matrix  = 0.00 GFLOPS

fp64-scalar  = 0.00 GFLOPS
fp64-vec4    = 0.00 GFLOPS

int32-scalar = 4715.93 GIOPS
int32-vec4   = 4864.83 GIOPS

int16-scalar = 9187.25 GIOPS
int16-vec4   = 9653.79 GIOPS

@allanmac, can you post updated results (due to the new intel driver capabilities mentioned in https://github.com/nihui/vkpeak/issues/11)?


Question: About ACMEIssuer.AltTLSALPNPort parameter

What is your question?
What does the ACMEIssuer.AltTLSALPNPort parameter do?
What have you already tried?
I've been using the certmagic library for a long time, but I've always used DNS challenges to request certificates; I'm looking for a different way to request certificates that bypasses 80/443 listening.
I briefly checked the RFC document, and RFC8737 clearly states that port 443 must be used.
But I saw this parameter in the code, and it can not be set to port 443, I did not fully understand the role of this parameter.
Bonus: What do you use this package for, and does it help you?
I used it to apply for ACME certificates for some internal services that cannot be exposed on the public network; I even created a small tool(dnsacme) to automate some of the work.

It changes the port that would be used on the server for listening for TLS requests. It's only useful if you need to listen on a non-standard port (e.g. 8443 because you don't have sudo and can't bind to low ports) while mapping incoming connections on 443 to that port (using router port forwarding from 443 -> 8443, for example).
In other words, no, this isn't useful for accepting TLS-ALPN challenges on a non-standard port, it's just a way to control the listeners created automatically by certmagic.

I understand, this parameter just tells CerMagic which port it should listen on, but port 443 will still be requested for the acme challenge;
The difference is that this is to put the CertMagic application behind the firewall, we can use port 443 externally Traffic is mapped to the AltTLSALPNPort.


figuring out some bugs

Closing this. Conflicts are in package-lock.json and package.json. Nothing substantial will be lost.


Reproducing paper results

I run LLM pruner with the command specified in the ReadMe to prune LLama-7B
python hf_prune.py --pruning_ratio 0.25 \
      --block_wise \
      --block_mlp_layer_start 4 --block_mlp_layer_end 30 \
      --block_attention_layer_start 4 --block_attention_layer_end 30 \
      --pruner_type taylor \
      --test_after_train \
      --device cpu  --eval_device cuda \
      --save_ckpt_log_name llama_prune

I get the following results
#Param before:<PHONE_NUMBER>, #Param after:<PHONE_NUMBER>, Ratio = 80.4785%
PPL after pruning: {'wikitext2': 19.96819234893607, 'ptb': 80.37625124290746}

Perplexities reported in Table 1 in the paper are WikiText2 - 19.09 and PTB - 34.21. Is there any reason for the difference in thses perplexities especially PTB? Thanks

Hi. Can I check which LLaMa-7B checkpoint you use? decapoda-research/llama-7b-hf in my code is not available currently and I'm not sure if it is the reason that causes this difference.

I am using 'yahma/llama-7b-hf'

Have you tried the copied version of decapoda-research/llama-7b-hf, e.g., https://huggingface.co/baffo32/decapoda-research-llama-7B-hf?
We would try that kind of checkpoint these days to see if the results are reproducible in those available checkpoints.

With the checkpoint you specified, I could replicate the metrics. Do you know what is the difference between those 2? I thought there is one LLama and the checkpoints should be the same

I checked both the model and the tokenizer. Model weights and tokenizer.get_vocab() are the same, but there is the difference of special tokens - for baffo32 all three special tokens are empty strings. Can this be reason of these differences? If yes, do you know which one is the "true" LLama?


Fee page doesn't distinguish Consensus Service "GetTopicMessage" from "GetTopicInfo"

Description
It's not clear whether the same fee applies to both "GetTopicMessage" (API spelling may be different) and "GetTopicInfo" - only
"ConsensusGetInfo" is listed at https://docs.hedera.com/hedera/networks/mainnet/fees#consensus-service
Steps to reproduce
Visual inspection of https://docs.hedera.com/hedera/networks/mainnet/fees#consensus-service will suffice.
Additional context
No response
Hedera network
other
Version
N/A
Operating system
Windows

ConsensusGetInfo should change to ConsensusGetTopicInfo as noted here https://github.com/hashgraph/hedera-protobufs/blob/main/services/consensus_get_topic_info.proto.
The consensus service has a way to get topic info. I am not sure what you mean by get topic message as I don't see a query defined for that in the protobufs. You can subscribe to a a topic using the SDK. The SDK calls a mirror node API to return the stream of messages for the topic you subscribed to.

It is possible I don't know what I'm talking about.  Perhaps this should be closed?

API name updated and resolved in 394cf9a


USER_DATABASES - LOG only appears to backup one DB

We're using the maintenance solution to perform daily Full backups and periodic Log backups. On a server with 2 databases, the full and Full (and Diff) backups work as expected, producing the following files:
C:\Backups\ServerName\DB_A\FULL\ServerName_DB_A_FULL...
C:\Backups\ServerName\DB_B\FULL\ServerName_DB_B_FULL...

The Log backups, however, only produce output files for the first database:
C:\Backups\ServerName\DB_A\LOG\ServerName_DB_A_LOG...

I confirmed that both backups are invoked exactly the same way, other than changing the backup type.
Is this a bug, or is there something I should check in our configuration?

Could it be that one of the databases is in Simple recovery model? Log backups can only be performed if the database is in Full or Bulk-Logged recovery model.

That appears to be it. Not sure why one was that way and the other wasn't.
Thanks!


Write a PHP program to find second smallest number in an array

Description
Write a PHP program to find second smallest number in an array
Input  : [1, 2, 3, 4, 5]
Output : 2

How to contribute

Save the solution in program/find_second_smallest_number_in_an_array.php file
Add find_second_smallest_number_in_an_array.php file in find-second-smallest-number-in-an-array folder

!assign


(spotify) fix timeout error

Description
I created a possible fix for a timeout issue when installing spotify. The script waits for Spotify to run as an check for successful installation, which sometimes fails.
I've added the /I argument to the schtasks.exe-command:

/I                   Runs the task immediately by ignoring any constraint.

Motivation and Context
The "wait for Spotify to start" gives a timeout error.
Spotify is never started using the schtasks /Run, so the Get-Process will never evaluate to true.
Resulting in the following output:

SUCCESS: The scheduled task "spotify" has successfully been created.
SUCCESS: Attempted to run the scheduled task "spotify".
SUCCESS: The scheduled task "spotify" was successfully deleted.
Chocolatey timed out waiting for the command to finish. The timeout specified (or the default value) was '2700' seconds. Perhaps try a higher --execution-timeout? See choco -h for  details.

How Has this Been Tested?

When I manually started Spotify during choco upgrade spotify, the script continues and exits. Suggesting the schtasks /Run isn't working as expected.
The script deletes the task to quick to manually start the task from the Task Scheduler UI.
I was able to replicate the issue with a local PS1-script, with hardcoded arguments.
After adding /I, Spotify is started and the script continues.

Screenshot (if appropriate, usually isn't needed):
N/A
Types of changes

[X] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Migrated package (a package has been migrated from another repository)

Checklist:

[X] My code follows the code style of this repository.
[ ] My change requires a change to documentation (this usually means the notes in the description of a package).
[ ] I have updated the documentation accordingly (this usually means the notes in the description of a package).
[ ] I have updated the package description and it is less than 4000 characters.
[ ] All files are up to date with the latest Contributing Guidelines
[ ] The added/modified package passed install/uninstall in the chocolatey test environment.
[X] The changes only affect a single package (not including meta package).

Original Location
N/A

:x: Package verification failed, please review the Appveyor Logs and the provided Artifacts before requesting a human reviewer to take a look.

Possible fix failed verification


Add jitterUpdates field to managed seed controller configuration.

How to categorize this PR?

/area scalability robustness
/kind enhancement
What this PR does / why we need it:
Adds a boolean field jitterUpdates to managed seed controller configuration, which when enabled enqueues managed seed object with random duration when there is a change in Generation (spec change).
Which issue(s) this PR fixes:
Fixes #4723
Special notes for your reviewer:
Default value of jitterUpdates field is set to be false.
Release note:

ManagedSeeds can now specify whether updates to the ManagedSeed spec are applied with a jitter. It can configured via the flag `jitterUpdates` in the managed seed controller configuration.

/retest

/assign

Please add a Release note and don't use a dot at the end of a commit message as convention

/assign

/merge squash

/retest


Invite new user | "companyUserId" is missing in the response logs

Problem/Issue: Proper response is not being logged against Invite New User endpoint
POST api/administration/user/owncompany/users
Response Logging:
API Endpoint: POST api/administration/user/owncompany/users
Status Code: 200 (Ideally, this should be 201 due to resource creation)
Response: Empty (ideally, expected to return the companyUserId)
Impact: The missing response information makes implementing APIs and integration tests more time-consuming. Specifically, it necessitates an additional call to retrieve the recently companyUserId.
Solution: Return companyUserId in the response ideally with 201 response code.

@SanaCofinityX  please update the ticket - this is a change proposal and not a bug (as it intends when reading the title" please use something like "API Create User Account | adding "companyUserId" in the response body" this makes it more open. Please also share the info if you want to contribute the code for it.
..I wonder if you also validated the same for the bulk user creation endpoints

@jjeroch
Ticket summary has been updated.
I will create separate ticket for bulk user creation endpoints.
Thanks


Normalize number of newlines on changelog update

Trim excessive newlines at the start and at the end of the unreleased content, leave just two for the separation with the following content.

Release so you can include it along side the gradle 8.8 PRs?

Not yet, will update the common add-on here and to 8.8 too.

Okay 🙂


refactor(robot-server): Compute basic protocol info on-the-fly, don't store it persistently

Currently, the ProtocolSource component of a ProtocolResource is shoved into the database as a serialized binary object. This is very fragile: ProtocolSource is internal, complex, deeply structured, and unstable interface-wise.
Fortunately, the contents of a ProtocolSource object are, theoretically, readily computable from raw protocol files on the filesystem. So, I think we should:

Modify opentrons.protocol_reader to separate its two current jobs: (1) copying and storing uploads, and (2) computing ProtocolSource info from those uploads.

For the sake of discussion, let's say we split it into two units: ProtocolSaver puts FastAPI UploadFiles on the filesystem; and ProtocolBasicAnalyzer takes stuff from the filesystem and computes ProtocolSource objects from it.
We've discussed stuff like this before, a little bit. Here's a # todo about it.

Take these big complex ProtocolSource objects out of the database.
Either:

When the robot-server first boots, scan through all persisted protocol files in the filesystem and use ProtocolBasicAnalyzer to compute ProtocolSource objects out of them.
Or, the first time each protocol is accessed over HTTP

When we need the ProtocolSource of a stored protocol, use ProtocolBasicAnalyzer to compute it. Only keep it in memory; don't store it anywhere.

We can either do this for all persisted protocols when robot-server boots, or do it the first time each protocol is accessed in a given boot.

Edit: Discussed on CPX. We agree with the above approach.

Hey team! Please add your planning poker estimate with ZenHub @mcous @sanni-t @SyntaxColoring @TamarZanzouri @y3rsh @X-sam


SSM requires more than 8 hours for fetching namespace with 50 million files

Finished fetch Namespace! 31095 secs used, numDirs = 368, numFiles = 50021248

Solved