[feature] Take a screenshot

Hello,
Is there an easy way to take a screenshot with detox ?
With Appium and wd it's really easy https://github.com/appetizeio/appium-samples/blob/master/node.js/ios-basic.js#L60
I really think its a key feature, most of the time when a test failed, it's easier and faster to see the last screenshot to understand why instead of look at the logs.

Hey @padupuy ,
That's actually in our roadmap, alongside video recordings and log dumps.

Thanks for the feedback and for the work, Detox is really promising !

@padupuy , what do you think about the summary in https://github.com/wix/detox/issues/171 ?
We have to add failed test artifacts, but I'm not sure screenshots are the right solution.

Screenshots could be used to test visual regression.
Video of the failure test will be for sure a time-saving killer !

We plan to add these features as part of #171 and progress will be tracked there. Closing this one for now.

Note for posterity: Issue #171 is still Open unresolved as of April 2018.


collect columns for merge

Codecov Report

Merging #1812 (a895c8b) into main (8ba333f) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main    #1812   +/-   ##
=======================================
  Coverage   94.13%   94.14%
=======================================
  Files         274      274
  Lines       51947    51992   +45
=======================================
+ Hits        48900    48947   +47
+ Misses       3047     3045    -2

Impacted Files
Coverage Δ

bitpacker/src/bitpacker.rs
100.00% <100.00%> (ø)

src/fastfield/mod.rs
99.76% <100.00%> (ø)

src/store/index/mod.rs
97.83% <0.00%> (-0.55%)
:arrow_down:

src/schema/schema.rs
98.92% <0.00%> (+0.13%)
:arrow_up:

fastfield_codecs/src/null_index/sparse.rs
95.46% <0.00%> (+0.18%)
:arrow_up:

src/fastfield/multivalued/mod.rs
98.45% <0.00%> (+0.38%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


[DOCS] Change of the word "useless"

Description
There's an error in the first lines of the README where it refers to the app as "useless". It could be changed to "useful" or "practical".
Screenshots

Oops! That's a huge typo! Thanks a lot for noticing!
Why don't you raise a PR fixing it?


Add osx-arm64 builds

[x] I read the conda-forge documentation and could not find the solution for my problem there.

Issue:
Builds for M1 macs (platform osx-arm64) are not available. That would be nice.

@espenhgn Took a long time, but osx-arm64 builds are now available - the issue will be closed. Any feedback on the new packages would be helpful.

Thanks, seems to work fine on my end.


Feature Request: Implement Output Insertion as Comments for Evaluated R Code

Title: Feature Request: Implement Output Insertion as Comments for Evaluated R Code
Description:
I propose adding a feature to vscode-R that allows users to evaluate selected R code and automatically insert the output as comments in the editor. This feature, inspired by a similar functionality in Nvim-R, would enhance the data analysis workflow by allowing immediate inspection and documentation of code outputs within the editor.
Reference:

https://github.com/jalvesaq/Nvim-R/blob/5f3876a53fdceae4ee6c022bf94d24ca3d6bc1a2/doc/Nvim-R.txt#L378
https://github.com/jalvesaq/Nvim-R/blob/5f3876a53fdceae4ee6c022bf94d24ca3d6bc1a2/R/start_r.vim#L827

Key Points:

Select and evaluate R code in the editor.
Capture the output and insert it as a comment directly below the evaluated code.
Useful for iterative exploration and documentation in data analysis.

Implementation Suggestion:

Extend existing 'send code to terminal' functionality.
Add a method to capture terminal output and format it as a comment in the editor.

Impact:
This feature would streamline the R coding process in VS Code, making it more efficient for data analysis and similar tasks.

IMHO That is what R Notebooks were (are?) meant for.
ℹ Unfortunately, VSCode Notebook API support was never implemented because the R kernel depends on zmq.

There is the Jupyter extension. Jupyter Notebooks paste output below the R code cells.
The Quarto extensions shows output side by side in a Jupyter interactive console.

ℹ Unfortunately, VSCode Notebook API support was never implemented because the R kernel depends on zmq.

This is off-topic, but there are other kernels for R besides IRkernel.
https://github.com/melff/RKernel
https://github.com/jupyter-xeus/xeus-r


Responsive Buttons

If using the Position fieldtype within something like SuperTable in it's 'static table' configuration, the buttons can extend beyond their container and cover other fields.
If possible, it would be great if the buttons could 'wrap' themselves when constrained in such a way.
Current:

Possible fixed behavior:

Fixed in 1.0.13!


Liquid support for widgets

Currently, it is possible to use LiquidJS to create a widget using Liquid, but is a bit cumbersome and unnatural as it requires to ass all the code into a scrtip tag.
Will be great to add native support to Liquid in Grist so files with liquid extension get to render natively y Grist.
This will make it much simpler to build custom widgets and will require fewer dependencies for simpler widgets.
It also opens the path to store custom widgets directly in Grist

Interesting idea @jalberto. One possibility might be to use the onEditOptions hook of custom widgets https://support.getgrist.com/widget-custom/#widget-options and write a single generic custom widget for liquid support, with an editing mode for the liquid code only, not the common html boilerplate. My colleague @berhalak wrote an even more generic custom widget like this that saved javascript html in the document as configuration, see an example in https://docs.getgrist.com/r6QRps5rKMj1/Jareks-fiddle-widget/m/fork  The source code for that is in https://github.com/berhalak/my-widgets/
All that said, I'd be interested to hear more about your workflow, and how you'd see a polished liquid-supporting widget working. For files with a liquid extension, do you mean having attachments that are that kind of file render in some way, with fields filled from the row they are in?

I can see 2 uses cases:

a way to bundle a widget (a single liquid file with css/html) into Grist, maybe using a specific DB to store it as liquid is design to be safe to store and just getting the required JS from Grist to access the records
a liquid file (or the liquid itself) stored in a (hidden?) attribute or maybe as a formula, that will show the content of the row in a specific way

I am playing with the Invoicing template right now, and as a freelance, I may need to invoice to companies in different countries, and each one requires different format or detail ls or language, so to be able to customize each invoice individually add a lot of flexibility.
Right now, I am playing with this idea:
<!DOCTYPE html>

    <meta charset="utf-8">
    <title>Grist Invoice</title>

    <link rel="stylesheet" href="widget.css?ver=1">

Welcome to {{ data.Name | capitalize }}

document.addEventListener('DOMContentLoaded', () => {
  var Liquid = window.liquidjs.Liquid
  var engine = new Liquid({
    extname: '.html',
    cache: true
  });
  var src = document.body.innerHTML

  grist.ready({requiredAccess: 'read table'});

  grist.onRecord(function(record) {
    var ctx = {
      data: record
    };
    engine.parseAndRender(src, ctx)
      .then(function(html) {
        document.body.innerHTML = html
        document.body.classList.remove('d-none')
      });
  });
})

      {% tablerow i in (3..5) %}
      {{ i }}
      {% endtablerow %}

This simple snippet fails hard, do not render the rows and the content somehow sit outside table.
Similar oddities happen with every iterator in particular when used inside table (it works well with div thou.
I tried different way to render the result, but I cannot find what is happening.
Using LiquidJs outside of Grist works as expected (ie in the official playground)
I wonder if something is creating a conflict or dying silently

It seems like Grist is somehow modifying the html once embedded, you can see here the logs: https://github.com/harttle/liquidjs/issues/504
Is that expected?

Could you make the https://docs.getgrist.com/a8X5yeTvzGx2/Invoicing-copy doc mentioned in that thread public?
No, I wouldn't expect Grist to touch anything within your custom widget, which is a distinct iframe.

Now public, the only way I found to make it work is to wrap everything in a script tag, but that is not ideal.

Thanks! Maybe you could narrow the problem down further by removing the grist parts and calling function(record) with a static record? Just for testing. Then you could view the page outside of Grist entirely.
I notice my browser isn't happy about the syntax of the page from a HTML perspective, don't know if that is relevant:


Client side routing.

Hey, I am just getting started with yew, are there any examples of doing client-side routing?

#184 is a dup of this

Duplicate


E2 Editor Doesn't Error When Saving E2 File With a Invalid Character (such as "/") in the Filename

The Expression 2 editor appears to allow saving a script even if it includes an invalid character, such as a forward slash ("/"). This results in the editor saying it successfully saved the file, however it is not actually saving. This is very dangerous from a data loss standpoint, as one may think they have saved a file, when they have not.
It should either give an error, or automatically replace invalid characters with something on save.

I know this is issue is closed. But the reason why this happening is because windows doesn't allow those symbols as filenames. Technically someone could put an error warning if you wanted

Windows does allow / in order to save it to a folder, but giving a folder that doesn't exist was what was causing it not to save.

Windows does allow / in order to save it to a folder, but giving a folder that doesn't exist was what was causing

Windows does allow / in order to save it to a folder, but giving a folder that doesn't exist was what was causing it not to save.

You are mistaken. You cannot name files with a illegal character such as a /.
Read further here. https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file

file.Write("myFolder/myFile.txt","Hello") try it yourself

file.Write("myFolder/myFile.txt","Hello") try it yourself. myFolder has to exist first though.

Thats allowed because the / represents a directory ... thats not the name of the file.
Try this. Go into a folder and try to make or rename any file with the / symbol you cant.

It can, but not if the folder doesn't exist.

It can, but not if the folder doesn't exist.

Prove it....show me any file in windows with a / in the name

It's specifying a path, not a filename. That's why / is allowed.

Yes? Thats obvious. I dont understand your point.

You seem to think that the / is an invalid input. It's not.

You seem to think that the / is an invalid input. It's not.

Yes. It is invalid for FILES. Thats why wiremod cannot save them.

Try reading over this thread a few times and maybe it'll click for you. I'm done discussing.

Theres nothing to discuss. E2 cant name files with those illegal characters cause Windows does not allow them in the operating system.  Create a folder 'myFolder' in your expression2 folder, then save a file as 'myFolder/myfile.txt" and it'll work. And I saw what you said and the irony is incredible

It can, try it. Create a folder 'myFolder' in your expression2 folder, then save a file as 'myFolder/myfile.txt" and it'll work. And I saw what you said and the irony is incredible

The / represents a directory. The filename is still "myfile.txt" Thats what your not understanding.

Please tell me a case that will fail to write then.

Go anywhere within windows try to make or rename a file with a / in the name. You cant.

We're talking about e2 here.

Were talking about windows here because E2 saves the file into windows....

Yet you've failed to give a case where a '/' will make E2 fail to save.

You demonstrated it yourself when you did in your screenshot.
@name Test/Chip

That's not the file name

When you save things, the '/' gets interpreted as a folder. It's not part of the file name.

When you save things, the '/' gets interpreted as a folder. It's not part of the file name.

Thats because the problem is happening behind the scenes in LUA. You cant see what its doing but thats whats happening in the back end

Windows does it, not lua. But now at least you get an error if the folder doesn't exist so there's no problem now.

Windows does it, not lua. But now at least you get an error if the folder doesn't exist so there's no problem now.

Lua is trying to do it. Windows is not allowing it

Because the folder doesn't exist.

@name determines the actual filename. Thats why it doesn't work. End of story.

A path containing forward slashes is a valid input for the @name directive. Whether the resulting file name is the same as the specified path does not matter - it's still a valid input.

A path containing forward slashes is a valid input for the @name directive. Whether the resulting file name is the same as the specified path does not matter - it's still a valid input.

It may be valid for E2. But it wont save cause windows wont allow it.

 Thats because its not the filename.

I would like to reiterate what grb said above - file.Write takes a file path, not a file name - file.Write('dir/file.txt', ' ') will attempt to write to a file named file.txt in the directory dir, and not a file named dir/file.txt.

He understands that, but there's some kind of gap between his understanding of path and filename. He doesn't realize that there's no distinction between path and filename.

Or maybe you just closed the gap. Anywho, please hammer your brain a few times for me when you do figure it out.

Hi guys I was tagged due to the @name reference, looking through the thread I'd have to agree with GRB here but I understand what you're trying to say.
Well have a good day all!

@name determines the actual filename. Thats why it doesn't work. End of story.

No it doesn't. When you press save you get a pop-up window where you enter the file name. This may be auto filled with the value from the name directive but you can always change it independently of the directive.


Allow to configure nftables chain priority

We currently hardcode the chain priority to 0, and some users would like to be able to customize the priority.
Should we allow any arbitrary value or restrict ourselves to the priorities defined here: https://github.com/google/nftables/blob/master/chain.go#L48 ?

I think probably just allow arbitrary int32 - it's less complex to maintain, and it's more flexible for users.


hid.core.show_hids() raises UnicodeEncodeError with multibyte device name

because hid.core.HidDevice.product_name can be unicode object (by c_wchar) but hid.core.HidDevice.__repr__ doesn't care about that.
I think __repr__ should check object type, or simply ignore non-ascii characters by encode('ascii', 'replace') explicitly.
Could you consider fixing it?
pywinusb: 0.4.1
CPython: 2.7.8 (x64)
locale: ja

@menew, have you seen the show_hids.py example? (https://github.com/rene-aguirre/pywinusb/blob/master/examples/show_hids.py), is this what you need.
Is the issue that you are reporting the fact that repr does not return an unicode object?
Otherwise I don't think managing encodings in repr (as os forcing ascii) is a good idea.

@rene-aguirre, thank you for reply!

have you seen the show_hids.py example? (https://github.com/rene-aguirre/pywinusb/blob/master/examples/show_hids.py), is this what you need.

Yes, but passing show_hids() any encoders as output does not affect the situation.
For example, when I execute the following code:
# coding: utf-8

import sys
import codecs
import pywinusb.hid as hid

output = codecs.getwriter('mbcs')(sys.stdout)
hid.core.show_hids(output = output)

I got same UnicodeEncodeError as below, regardless of writer encoding:
Found HID class devices!, writting details...

Traceback (most recent call last):
  File "C:\Users\menew\Desktop\Documents\show_hids.py", line 8, in <module>
    hid.core.show_hids(output = output)
  File "build\bdist.win-amd64\egg\pywinusb\hid\core.py", line 1596, in show_hids
    device_name = str(dev)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 115-129: ordinal not in range(128)

And, if I edited hid.core.HidDevice.__repr__ as this, then show_hids() shows report successfully without specifying output writer.
def __repr__(self):
    # patched for python 2.x
    # (`"%s" % self.product_name` raises UnicodeEncodeError if `product_name` has non-ascii characters)
    return (u"HID device (vID=0x%04x, pID=0x%04x, v=0x%04x); %s; %s, " \
        u"Path: %s" % (self.vendor_id, self.product_id, self.version_number,\
        self.vendor_name, self.product_name, self.device_path)).encode('ascii', 'replace')

I think underlying problem is incompatibility that Python 2 demands __repr__ to return non-unicode object whereas Python 3 demands unicode object. Because of the incompatibility, some version detection code or forcing ascii charset seem necessary to make __repr__() support both Python versions...

"...without specifying output writer"
I think the library has to be encoding transparent. The decoding has to be managed by the application, not the library.
My question, about the "show_hids.py" example is that it actually fails with your device, "as is".
Just run it and let me know if this raises the Unicode error.
Also, when you refer to the japanese locale, is this the system locale (how did you set it?) or the USB device string encoding?
I'd like to reproduce your issue to look for alternatives, would be possible to get a dump of the device that includes string descriptors?

@menew do you have a branch with your changes so issue #36 can be tested?


feat: display api/model version in ToC

Fixes: https://github.com/stoplightio/elements/issues/782
Displays version badge in ToC for items with version property.
Requires https://github.com/stoplightio/platform-internal/pull/6879 to fully test with dev-portal
The design is up to discussion.

Small tweak to the badge: change it from Outline Orange -> Text/Light - Filled

The color has been changed. Also it's possible to test it with platform project now


fix GitPython error: len() mismatch in _get_fetch_info_from_stderr

We're seeing this a lot on production. I suspect it may be fixed by a newer version of GitPython. We're using 0.3.2.RC1 and the current release is 0.3.6. Our issue may be the one described here:
https://github.com/gitpython-developers/GitPython/issues/301

[ ] reproduce error on dev so we can test
[x] try upgrading GitPython and see if that fixes it

I notice now that the fix for that issue isn't in v0.3.6 so that may not solve it :disappointed:

Mike points out that there is a 1.0.1 out there: https://pypi.python.org/pypi/GitPython/1.0.1
Do we want to try that and cross our fingers?

It's worth a shot! But I'd like to try & figure out how to reproduce the error on dev first.

This may be a git version mismatch, which would require a different version of the git binary.

Expanding the error a bit, I see this doubling-up:
AssertionError: len([

    "76bd06d46bdf0a1645e6e47563004780906aface\tnot-for-merge\tbranch 'jvmhrgssl' of /var/opt/chime/data/default/repo\n"
    "1471df09c0551d4a667de02a39bd07e8c573a7d9\tnot-for-merge\tbranch 'master' of /var/opt/chime/data/default/repo\n"
    "89e6df27bb3a6954d9707d0eb9b42df100487330\tnot-for-merge\tbranch 'mtlrpnppq' of /var/opt/chime/data/default/repo\n"
    "1f6201334ff50ac150632a1bc52d9a5c77bb9c04\tnot-for-merge\tbranch 'pxhwsrhtp' of /var/opt/chime/data/default/repo\n"
    "fa0b164f1398819d0ec082f1509582383b89d34f\tnot-for-merge\tbranch 'qsrwqlsjv' of /var/opt/chime/data/default/repo\n"

    "76bd06d46bdf0a1645e6e47563004780906aface\tnot-for-merge\tbranch 'jvmhrgssl' of /var/opt/chime/data/default/repo\n"
    "1471df09c0551d4a667de02a39bd07e8c573a7d9\tnot-for-merge\tbranch 'master' of /var/opt/chime/data/default/repo\n"
    "89e6df27bb3a6954d9707d0eb9b42df100487330\tnot-for-merge\tbranch 'mtlrpnppq' of /var/opt/chime/data/default/repo\n"
    "1f6201334ff50ac150632a1bc52d9a5c77bb9c04\tnot-for-merge\tbranch 'pxhwsrhtp' of /var/opt/chime/data/default/repo\n"
    "fa0b164f1398819d0ec082f1509582383b89d34f\tnot-for-merge\tbranch 'qsrwqlsjv' of /var/opt/chime/data/default/repo\n"

]) != len([

    ' = [up to date]      jvmhrgssl  -> origin/jvmhrgssl'
    ' = [up to date]      master     -> origin/master'
    ' = [up to date]      mtlrpnppq  -> origin/mtlrpnppq'
    ' = [up to date]      pxhwsrhtp  -> origin/pxhwsrhtp'
    ' = [up to date]      qsrwqlsjv  -> origin/qsrwqlsjv'

])

I have not been able to reproduce this, and the doubled-up lines in the expanded version here make me think that it’s not going to be easy to reproduce, like it’s a weird doubling of stderr lines. I’m thinking that we upgrade to 1.0.1, release a new version, and then watch to see if these errors mystically disappear of their own accord like GitPython suggests.

Seems fine by me.

:+1:


Support for multiple operations in a single request

Hi, guys!
How i can bulk creating, editing and deleting records in a single requst?
May be you have an ideas?

This isn't yet supported by the JSON:API spec, so isn't implemented in this package (as the purpose of the package is to stick to the spec). I believe they will be adding something called Atomic Operations which will implement what you are asking for. When that gets tagged (think it will be in JSON:API v1.1) then I'll implement in the new package, which is laravel-json-api/laravel.

Thanks, I'll wait.


ImagePullBackOff status issue when trying to install the Kubegres operator

I'm trying to install the Kubegres operator by executing the kubectl apply -f https://raw.githubusercontent.com/reactive-tech/kubegres/v1.15/kubegres.yaml suggested in the Get Started page.
But when I check the status by executing kubectl get all -n kubegres-system it shows ImagePullBackOff for the pod/kubegres-controller-manager
Any idea why I'm getting the above issue?

I tried locally and the command to install the operator worked for me:
kubectl apply -f https://raw.githubusercontent.com/reactive-tech/kubegres/v1.15/kubegres.yaml
For kubectl get all -n kubegres-system I get:
NAME                                               READY   STATUS    RESTARTS   AGE
pod/kubegres-controller-manager-755b4c48f6-n5hfn   2/2     Running   0          4m26s

NAME                                                  TYPE        CLUSTER-IP    EXTERNAL-IP   PORT(S)    AGE
service/kubegres-controller-manager-metrics-service   ClusterIP   <IP_ADDRESS>   <none>        8443/TCP   4m26s

NAME                                          READY   UP-TO-DATE   AVAILABLE   AGE
deployment.apps/kubegres-controller-manager   1/1     1            1           4m26s

NAME                                                     DESIRED   CURRENT   READY   AGE
replicaset.apps/kubegres-controller-manager-755b4c48f6   1         1         1       4m26s

Could you please try again. It could be an issue with Docker Hub at the time when you tried?

I found the issue. Had to modify the network security to allow inbound traffic on my cloud cluster instance.
Thanks


edu.petajavesi.fi

official website URL:  https://peda.net/petajavesi/lukio
official website where a long-term (>1 year) IT related course is offered: https://peda.net/petajavesi/lukio/opiskelu/painopistealueet/tjv

@ajlakanen Thank you for your patience while waiting for a review and processing your request. Pull request merged.
Please start requesting the licenses in about an hour, to let the changes to propagate through our system.


Use StringBuilder instead of [].join()

Fixes #49
Requires #65 to be merged first.

@Ma-wa-re ready for review


Data vector size is bigger than ckks nSlots

Data vector size is bigger than ckks nSlots
In my requirement, I have a vector of length 48000 and an ArithmeticError: <Afseal>: Data vector size is bigger than ckks nSlots  error occurs when encrypting it.
My code:
import numpy as np
from Pyfhel import Pyfhel

def generate_he():
    HE = Pyfhel()     # Creating empty Pyfhel object
    ckks_params = {
        'scheme': 'CKKS',   # can also be 'ckks'
        'n': 2**15,         # Polynomial modulus degree. For CKKS, n/2 values can be
                            #  encoded in a single ciphertext.
                            #  Typ. 2^D for D in [10, 16]
        'scale': 2**60,     # All the encodings will use it for float->fixed point
                            #  conversion: x_fix = round(x_float * scale)
                            #  You can use this as default scale or use a different
                            #  scale on each operation (set in HE.encryptFrac)
        'qi_sizes': [60, 60, 60, 60, 60, 60, 60, 60, 60] # Number of bits of each prime in the chain.
                            # Intermediate values should be  close to log2(scale)
                            # for each operation, to have small rounding errors.
    }

    HE.contextGen(**ckks_params)  # Generate context for bfv scheme
    HE.keyGen()             # Key Generation: generates a pair of public/secret keys
    HE.rotateKeyGen()
    return HE

HE = generate_he()

w = np.random.rand(48000)

ptxt_x = HE.encodeFrac(w)

Error info:
---------------------------------------------------------------------------
ArithmeticError                           Traceback (most recent call last)
Cell In[10], line 1
----> 1 ptxt_x = HE.encodeFrac(w)

File Pyfhel/Pyfhel.pyx:742, in Pyfhel.Pyfhel.Pyfhel.encodeFrac()

File Pyfhel/Pyfhel.pyx:761, in Pyfhel.Pyfhel.Pyfhel.encodeFrac()

ArithmeticError: <Afseal>: Data vector size is bigger than ckks nSlots

Maybe our issue here can help you understand what to do before Alberto comes back to you.

Maybe our issue here can help you understand what to do before Alberto comes back to you.

 For CKKS, n/2 values can be encoded into one single ciphertext. ,   n takes a maximum value of 16,  so the maximum value of ckks nSlots is  2^15=32768, right?  Do you know when set n: 2**16, how to set scale and qi_sizes correctly？

Yes, you are right. To be honest, I didn't check this out as it raises an error in keyGen .

Yes, there is a maximun number of slots per ciphertext. If you need more
slots, it means you need several ciphertexts.
The selection of scale and primes depends on the number of multiplications
your algorithm requires, as well as the numerical precision you need, thus
it depends on the algorithm you are trying to implement
On Wed, 15 Mar 2023, 09:41 Shokofeh VahidianSadegh, <
@.***> wrote:

Yes, you are right. To be honest, I didn't check this out as it raises an
error in keyGen .
—
Reply to this email directly, view it on GitHub
https://github.com/ibarrond/Pyfhel/issues/177#issuecomment-1469579278,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADF6Z5ZCNO3K7HIUPQ4JXMDW4F6CBANCNFSM6AAAAAAV2G33IM
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

I  summarize ckks parameters for n from 11 to 15 as follows:
N=11:
ckks_params = {'scheme': 'CKKS', 'n': 2**11,  'scale': 2**20,  'qi_sizes': [20, 20]}

N=12:
ckks_params = {'scheme': 'CKKS', 'n': 2**12, 'scale': 2**30,  'qi_sizes': [30, 30, 30]}

N=13:
ckks_params = {'scheme': 'CKKS', 'n': 2**13, 'scale': 2**30,  'qi_sizes': [30, 30, 30]}

N=14:
ckks_params = {'scheme': 'CKKS', 'n': 2**14, 'scale': 2**40,  'qi_sizes': [60, 40, 40, 40, 60] }

N=15:
ckks_params = {'scheme': 'CKKS', 'n': 2**15, 'scale': 2**30,  'qi_sizes': [60, 30, 30, 30, 60] }

When n=16,  met invalid_parameters_insecure: parameters are not compliant with HomomorphicEncryption.org security standard.

As expected!
On Wed, 15 Mar 2023, 10:33 paan, @.***> wrote:

I summarize ckks parameters for n from 11 to 15 as follows:
N=11:
ckks_params = {'scheme': 'CKKS', 'n': 211,  'scale': 220,  'qi_sizes': [20, 20]}
N=12:
ckks_params = {'scheme': 'CKKS', 'n': 212, 'scale': 230,  'qi_sizes': [30, 30, 30]}
N=13:
ckks_params = {'scheme': 'CKKS', 'n': 213, 'scale': 230,  'qi_sizes': [30, 30, 30]}
N=14:
ckks_params = {'scheme': 'CKKS', 'n': 214, 'scale': 240,  'qi_sizes': [60, 40, 40, 40, 60] }
N=15:
ckks_params = {'scheme': 'CKKS', 'n': 215, 'scale': 230,  'qi_sizes': [60, 30, 30, 30, 60] }
[image: image]
https://user-images.githubusercontent.com/38783332/225267904-b911e9bc-1fbf-44d1-a7ff-9c087e202a0f.png
When n=16, met invalid_parameters_insecure: parameters are not compliant
with HomomorphicEncryption.org security standard.
—
Reply to this email directly, view it on GitHub
https://github.com/ibarrond/Pyfhel/issues/177#issuecomment-1469661276,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADF6Z52KO4DHU7V33X6LYBTW4GEHPANCNFSM6AAAAAAV2G33IM
.
You are receiving this because you commented.Message ID:
@.***>

#149

As expected!
…
On Wed, 15 Mar 2023, 10:33 paan, @.> wrote: I summarize ckks parameters for n from 11 to 15 as follows: N=11: ckks_params = {'scheme': 'CKKS', 'n': 211, 'scale': 220, 'qi_sizes': [20, 20]} N=12: ckks_params = {'scheme': 'CKKS', 'n': 212, 'scale': 230, 'qi_sizes': [30, 30, 30]} N=13: ckks_params = {'scheme': 'CKKS', 'n': 213, 'scale': 230, 'qi_sizes': [30, 30, 30]} N=14: ckks_params = {'scheme': 'CKKS', 'n': 214, 'scale': 240, 'qi_sizes': [60, 40, 40, 40, 60] } N=15: ckks_params = {'scheme': 'CKKS', 'n': 215, 'scale': 230, 'qi_sizes': [60, 30, 30, 30, 60] } [image: image] https://user-images.githubusercontent.com/38783332/225267904-b911e9bc-1fbf-44d1-a7ff-9c087e202a0f.png When n=16, met invalid_parameters_insecure: parameters are not compliant with HomomorphicEncryption.org security standard. — Reply to this email directly, view it on GitHub <#177 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADF6Z52KO4DHU7V33X6LYBTW4GEHPANCNFSM6AAAAAAV2G33IM . You are receiving this because you commented.Message ID: @.**>

so, n can not be set to 16?

They cannot. The limit is 32768 (2**15), if I recall correctly. Besides, it
may be cheaper to use smaller ciphertexts and store a vector inside
multiple ciphertexts, then operate on each of the portions.
On Wed, 15 Mar 2023, 10:49 paan, @.***> wrote:

As expected!
… <#m_-2445306201874942685_>
On Wed, 15 Mar 2023, 10:33 paan, @.> wrote: I summarize ckks
parameters for n from 11 to 15 as follows: N=11: ckks_params = {'scheme':
'CKKS', 'n': 211, 'scale': 220, 'qi_sizes': [20, 20]} N=12: ckks_params
= {'scheme': 'CKKS', 'n': 212, 'scale': 230, 'qi_sizes': [30, 30,
30]} N=13: ckks_params = {'scheme': 'CKKS', 'n': 213, 'scale': 230,
'qi_sizes': [30, 30, 30]} N=14: ckks_params = {'scheme': 'CKKS', 'n': 214,
'scale': 240, 'qi_sizes': [60, 40, 40, 40, 60] } N=15: ckks_params =
{'scheme': 'CKKS', 'n': 215, 'scale': 230, 'qi_sizes': [60, 30, 30,
30, 60] } [image: image]
https://user-images.githubusercontent.com/38783332/225267904-b911e9bc-1fbf-44d1-a7ff-9c087e202a0f.png
https://user-images.githubusercontent.com/38783332/225267904-b911e9bc-1fbf-44d1-a7ff-9c087e202a0f.png
When n=16, met invalid_parameters_insecure: parameters are not compliant
with HomomorphicEncryption.org security standard. — Reply to this email
directly, view it on GitHub <#177 (comment)
https://github.com/ibarrond/Pyfhel/issues/177#issuecomment-1469661276>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADF6Z52KO4DHU7V33X6LYBTW4GEHPANCNFSM6AAAAAAV2G33IM
https://github.com/notifications/unsubscribe-auth/ADF6Z52KO4DHU7V33X6LYBTW4GEHPANCNFSM6AAAAAAV2G33IM
. You are receiving this because you commented.Message ID: @.>
so, n can not be set to 16?
—
Reply to this email directly, view it on GitHub
https://github.com/ibarrond/Pyfhel/issues/177#issuecomment-1469777080,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADF6Z52O3XJ7T3PAPYZDBQDW4GNCFANCNFSM6AAAAAAV2G33IM
.
You are receiving this because you commented.Message ID:
@.***>

I still have a little doubt, I noticed n/2 values can be encoded in a single ciphertext. Typ. 2^D for D in [10, 16] in the comments Demo_3_Float_CKKS.py.
so if the maximum value of ckks nSlots is  2^15=32768, n can be 2**16.

You just spotted a mistake in the comment!
You could submit a PR to fix it, if you feel like it.


TAB don't run the plugin but show me a list of files

Hello
Certainly not related to the plugin but you probably knows (I hope): I've tried many things and the last one is the manual installation i.e.
git clone https://github.com/yngc0der/zsh-ssh-config-suggestions.git ~/.zsh/zsh-ssh-config-suggestions followed by source ~/.zsh/zsh-ssh-config-suggestions/zsh-ssh-config-suggestions.zsh to manually load the plugin. Exit code is 0 (no error).
Now, by typing ssh followed by TAB didn't start the plugin but show me a list of files.
Did you know if there is a setting that I need to enable / disable so your plugin is well called when I type ssh followed by TAB?
Thanks

@cavo789, Hello.
If you manually run the source ~/.zsh/zsh-ssh-config-suggestions/zsh-ssh-config-suggestions.zsh command, then you dont need to restart the terminal session. Readme describes the installation, when the source ~/.zsh/zsh-ssh-config-suggestions/zsh-ssh-config-suggestions.zsh command is entered in the ~/.zshrc file, so that the plugin is loaded automatically when the session starts.
Also, since this is an autocompletion to the command args, after ssh you need to enter a space, and then press TAB.

I tested it on a clean installation - for the plugin to work, the file ~/.zshrc also needs to contain the following lines:
autoload -Uz compinit
compinit

How to test:
docker run -it --rm debian
apt update
apt install git zsh nano
git clone https://github.com/yngc0der/zsh-ssh-config-suggestions.git ~/.zsh/zsh-ssh-config-suggestions
echo -e "autoload -Uz compinit\ncompinit" > ~/.zshrc
echo "source ~/.zsh/zsh-ssh-config-suggestions/zsh-ssh-config-suggestions.zsh" >> ~/.zshrc
zsh

Many thanks !!!
 I was not aware of that.
Will try next week.
Thanks for your answer and time.

My bad, it works perfectly !
I wasn't aware that we need to type ssh then followed by a space and only then press TAB.
Thanks Roman.

You are welcome:)
Feel free to suggest improvements.


Allow ScrollViewer to scroll the content up, down, left and right by …

Allow ScrollViewer to scroll the content up, down, left and right by one page.
What does the pull request do?

Add PageUp, PageDown, PageLeft and PageRight methods.
What is the current behavior?

not support scroll by one page
What is the updated/expected behavior with this PR?

How was the solution implemented (if it's not obvious)?

Checklist

[ ] Added unit tests (if possible)?
[x] Added XML documentation to any related classes?
[ ] Consider submitting a PR to https://github.com/AvaloniaUI/Avaloniaui.net with user documentation

Breaking changes

Fixed issues

It seems that in WPF those methods live in ScrollContentPresenter.

It seems that in WPF those methods live in ScrollContentPresenter.

Yes, but the architecture is completely different. The management is entrusted to each single panel by implementing the IScrollInfo interface. I have adapted to the existing architecture of Avalonia.

@grokys

It seems that in WPF those methods live in ScrollContentPresenter.

They're also present in WPF's ScrollViewer: https://docs.microsoft.com/en-us/dotnet/api/system.windows.controls.scrollviewer.pageup?view=netcore-3.1

why do we have LineUp/Down/Left/Right in ScrollViewer while everything else lives in ScrollContentPresenter?

What do you mean by "everything else" here? SCP doesn't contain any utility methods like this in Avalonia. This is because SCP is usually hidden away in a template and the user-visible API is ScrollViewer.


cargo chef cook panics.  failed to download cfg-if v1.0.0.

Problem
I am using the following Dockerfile to test cargo chef.  In the long run I want to use it to cache Docker layers so that crates don't have to be downloaded every time I do a docker build.
FROM rust:1

RUN cargo install cargo-chef --locked

RUN cargo init --name bugreport
RUN cargo add byteorder
RUN cargo add rand
RUN cargo add get_if_addrs

RUN cargo chef prepare --recipe-path recipe.json
ENV RUST_BACTRACE=1
RUN cargo chef cook --recipe-path recipe.json

I get the following result.
$ DOCKER_BUILDKIT=0 docker build -t cargo-chef/bugreport .
Sending build context to Docker daemon  14.85kB
Step 1/9 : FROM rust:1
 ---> 5e0d0367026b
Step 2/9 : RUN cargo install cargo-chef --locked
 ---> Using cache
 ---> d2724f8cc24a
Step 3/9 : RUN cargo init --name bugreport
 ---> Using cache
 ---> 9ab4ad993c84
Step 4/9 : RUN cargo add byteorder
 ---> Using cache
 ---> be29bf13c189
Step 5/9 : RUN cargo add rand
 ---> Using cache
 ---> 1a01dfe59bd7
Step 6/9 : RUN cargo add get_if_addrs
 ---> Using cache
 ---> 2a3b579ad167
Step 7/9 : RUN cargo chef prepare --recipe-path recipe.json
 ---> Using cache
 ---> 5930f257c123
Step 8/9 : ENV RUST_BACTRACE=1
 ---> Running in d1d298a71c7c
Removing intermediate container d1d298a71c7c
 ---> 4c31683a91ba
Step 9/9 : RUN cargo chef cook --recipe-path recipe.json
 ---> Running in f0af46c26106
 Downloading crates ...
error: failed to download `cfg-if v1.0.0`

Caused by:
  unable to get packages from source

Caused by:
  failed to find cfg-if v1.0.0 in path source
note: this is an unexpected cargo internal error
note: we would appreciate a bug report: https://github.com/rust-lang/cargo/issues/
note: cargo 1.66.0 (d65d197ad 2022-11-15)
thread 'main' panicked at 'Exited with status code: 101', /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/cargo-chef-0.1.51/src/recipe.rs:176:27
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
The command '/bin/sh -c cargo chef cook --recipe-path recipe.json' returned a non-zero code: 101

Steps

DOCKER_BUILDKIT=0 docker build -t cargo-chef/bugreport .

Possible Solution(s)
No response
Notes
No response
Version
cargo 1.66.0 (d65d197ad 2022-11-15)
release: 1.66.0
commit-hash: d65d197ad5c6c09234369f219f943e291d4f04b9
commit-date: 2022-11-15
host: x86_64-unknown-linux-gnu
libgit2: 1.5.0 (sys:0.15.0 vendored)
libcurl: 7.83.1-DEV (sys:0.4.55+curl-7.83.1 vendored ssl:OpenSSL/1.1.1q)
os: Linux [64-bit]

Fixed the spelling of RUST_BACKTRACE:
Step 9/9 : RUN cargo chef cook --recipe-path recipe.json
 ---> Running in 47bfeb4ddf50
 Downloading crates ...
error: failed to download `cfg-if v1.0.0`

Caused by:
  unable to get packages from source

Caused by:
  failed to find cfg-if v1.0.0 in path source
note: this is an unexpected cargo internal error
note: we would appreciate a bug report: https://github.com/rust-lang/cargo/issues/
note: cargo 1.66.0 (d65d197ad 2022-11-15)
thread 'main' panicked at 'Exited with status code: 101', /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/cargo-chef-0.1.51/src/recipe.rs:176:27
stack backtrace:
   0: rust_begin_unwind
             at ./rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/std/src/panicking.rs:575:5
   1: core::panicking::panic_fmt
             at ./rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/core/src/panicking.rs:65:14
   2: chef::recipe::Recipe::cook
   3: cargo_chef::_main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

cargo chef is creating a package and then calling into cargo to build it.
Could you narrow down the reproduction steps to just cargo, possibly by looking at the code generated by cargo chef?

@epage Where can I find the code generated by cargo chef?  I have to get it out of the container since the problem doesn't occur on the host.

I do not know, I am unfamiliar with this cargo plugin.

The panic is in cook
   2: chef::recipe::Recipe::cook
   3: cargo_chef::_main

cook calls build_dependencies which calls into cargo which is where I'm assuming the error is coming from.
What it is building is generated by build_minimal_project

There are some assumptions Cargo makes upon the current workding directory. Sorry for not being able to recall the exact one causing this issue 😞.
The best practice I can provide is always creating a new level of directory as your WORKDIR. It should fix the problem. Also recommend following the example code from README of cargo-chef. It does some sane setup like multi-stage build.
  FROM rust:1

+ WORKDIR app

  RUN cargo install cargo-chef --locked

  RUN cargo init --name bugreport
  RUN cargo add byteorder
  RUN cargo add rand
  RUN cargo add get_if_addrs

  RUN cargo chef prepare --recipe-path recipe.json
  ENV RUST_BACTRACE=1
  RUN cargo chef cook --recipe-path recipe.json

Going to close this, as the workaround https://github.com/rust-lang/cargo/issues/11595#issuecomment-1398254631 should be sufficient to fix it. If that is a mistake, let us know and we'll consider reopening.


Loading Screen

Identities take a long time to turn on, need an indeterminate loading screen for long running operations like this.

i still don't see any spinner when loading an identity. the timeout seems shorter though - was that the fix? gif showing no spinner attached

opened https://github.com/openziti/ziti-tunnel-win/issues/39 to track this instead of this issue


#22/iops - The storage type io1 requires iops to be specified.

fix #22
Add option to define iops if rds storage type isio1

The code looks good. fingers crossed


splitting aic characters in multiple aic files is no longer supported

Heroesflorian just found out, that its no longer supported to put your ai arrays in different files and check multiple boxes under 'aic'. Thats a bummer, but maybe there is some reason behind it?
I would like to know, if we could have the feature at least available for selfmade AIC's. I see the point, that it makes no sense for AIC's that come with the patcher, but selfmade aic files are easier to handle, when splitting all AI's in different files sometimes, as it allows to swap single AI's simply by putting in the different checkbox.
Hope we can have that for the next update,
greetings Krarilotus

Indeed, very unpleasant... guess I'll also re-open this older issue, as currently the feature isn't there (or not working) anymore: https://github.com/Sh0wdown/UnofficialCrusaderPatch/issues/350

You can copy them into one file for now.

@ByBurton yeah, but that means a new file for each setup.
Just for example if i had 3 versions of the wolf, 3 of the pig and 3 of the rat, that would already result in 27 files instead of 9.
growing exponentially for more characters and designs. but yeah, its just the way to go right now, hopefully getting back to the way it was for custom aic's not coming with the patcher at least :D

That is why I wrote "for now". This is obviously just a "make do" suggestion. Ofc this needs to either be fixed or reintegrated in a different way.

Oh yeah, sorry for that unlisted change. I did it so people don't get confused by activating multiple .aics.
A new AIC+AIV interface is planned anyway.

@Sh0wdown If I can help you with that just be sure to let me know, okay? 👩

This was completed in PR #534 and added features are in PR #551 that just needs testing. I think this issue can be closed now.

Not until its officially released.
On Sat, 14 Mar. 2020, 5:58 pm Nikhil<EMAIL_ADDRESS>wrote:

This was completed in PR #534
https://github.com/Sh0wdown/UnofficialCrusaderPatch/pull/534 and added
features are in PR #551
https://github.com/Sh0wdown/UnofficialCrusaderPatch/pull/551 that just
needs testing. I think this issue can be closed now.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Sh0wdown/UnofficialCrusaderPatch/issues/448#issuecomment-599020584,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALGGWTXXTBBGB2JTG7T3KE3RHMTKLANCNFSM4IMUNVAA
.

Can be closed with new release


Add support for LocalDateTime[] mappings

This will allow you to map LocalDateTime[] properties to timestamp[] columns.

Fixed.


fix set-res

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 2 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.009%) to 9.639%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/handlers/directory/resource.go
0
2
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.009%

Covered Lines:
312

Relevant Lines:
3237

💛  - Coveralls


LogWidget inserts new line when enter is pressed.

To reproduce:
Open DlangIDE
Set cursor somewhere in Compiler Log
Press enter.
Nothing should happen, but a new line is inserted.

Fixed


Update README.md

Added my Animation Converter

Added my Animation converter

Will merge into next update, thanks!


Exchange script FriendlyName issue

Very nice tool to start with!
Using v<IP_ADDRESS> things with Exchange all workout fine.
Using v<IP_ADDRESS>6, I've got some issues. The friendly name adds [Manual] in front of the certificate name, but the ImportExchange.ps1 does not accept it.
My command is:
wacs.exe --verbose --accepttos --emailaddress<EMAIL_ADDRESS>--target manual --host mail.userdomain.tld --certificatestore My --installation iis,script --installationsiteid 1 --script "./Scripts/ImportExchange.ps1" --scriptparameters "'{CertThumbprint}' 'IIS,SMTP,IMAP' 1 '{CacheFile}' '{CachePassword}' '{CertFriendlyName}'"
It looks like the output needs to be bracketed and quoted as this, but can anyone help me in how to achieve this?
C:\letsencrypt>powershell.exe -ExecutionPolicy RemoteSigned -File "./Scripts/ImportExchange.ps1" 'E9D70ADA5620F045399AA6B9D77522A54B95ACD' 'IIS,SMTP,IMAP' '1' '71209384fqq202hvOgh3WsSA' 'C:\ProgramData\win-acme\acme-v02.api.letsencrypt.org\Certificates' '23jrlsdf082034lkjajfaoiuer=' "'[Manual] mail.userdomain.tld 2019-7-30 14:47:54'"

Hi @sawe1900, your command actually looks fine to me, what leads you to conclude that it doesn't work?

If I use the command, it keeps waiting for the powershell script to end, and times out after a while. I've outputet the parameters to a textfile and threw it agains the ps script. It fails telling that it cannot do anything with the parameter [Manual] . If I put the certificate name between double quotes AND single quotes, it works fine (but therefore every parameter has to be within single quotes)

Looking at your second command (the one that you're trying to get to run) a bit more carefully, I notice that the command don't quite line up with eachother. Put side by side:

'{CertThumbprint}' > 'E9D70ADA5620F045399AA6B9D77522A54B95ACD'
'IIS,SMTP,IMAP' > 'IIS,SMTP,IMAP'
1 > '1'
??? > '71209384fqq202hvOgh3WsSA'
'{CacheFile}' > 'C:\ProgramData\win-acme\acme-v02.api.letsencrypt.org\Certificates' - I think it should be a file not a path...
'{CachePassword}' > 23jrlsdf082034lkjajfaoiuer=
'{CertFriendlyName}' > "'[Manual] mail.userdomain.tld 2019-7-30 14:47:54'"

Argument 4 from your second command is missing in your first one, so everything shifts to the left, so to speak.
You can check in the Windows Event viewer to see if there is any script output logged there after the timeout. That might help with further debugging. The upcoming release will log it to disk and screen in --verbose mode, but for now it's only found there unfortunately.

Hmmmmzzzzz, I can't reproduce it!!
I ran across these issues on W2K8R2 with Exchange 2K10. I was migrating to W2K16 with E2K16 and there everything seems to work fine.....
I also see that
I do have a few customers running the old versions. Let me get back as soon as I can on this.

Can you tell me what these parameters mean? How do I get the corresponding values?
{CertThumbprint}' 'IIS,SMTP,IMAP' 1 '{CacheFile}' '{CachePassword}' '{CertFriendlyName}'"


Bugfix/add support curl8

CHANGES:

pull in remainder of Draft fixes from https://github.com/andelf/go-curl/pull/85. (thanks @Laeri)
minor cleanup, docstrings, and python typehints

IF MERGED:

This obsoletes #85
Possibly obsoletes #10

TESTING:

I was able to go run various use cases from the examples directory, using curl 8, on macOS.
(I don't feel my level of testing here is adequate or production quality. This is an area that other users can help with)

Hi @andelf
No rush but this fixes things for curl8. Thanks

Some test results
curl used:
macmini-2018:curl sprive$ git describe --tags --abbrev=0
curl-8_8_0

go-curl examples:
$ go run ./examples/ftpget.go
* Host ftp.gnu.org:21 was resolved.
* IPv6: (none)
* IPv4: <IP_ADDRESS>
*   Trying <IP_ADDRESS>:21...
* Connected to ftp.gnu.org (<IP_ADDRESS>) port 21
< 220 GNU FTP server ready.
> USER anonymous
< 230-NOTICE (Updated October 15 2021):
< 230-
< 230-If you maintain scripts used to access ftp.gnu.org over FTP,
< 230-we strongly encourage you to change them to use HTTPS instead.
< 230-
< 230-Eventually we hope to shut down FTP protocol access, but plan
< 230-to give notice here and other places for several months ahead
< 230-of time.
< 230-
< 230----
< 230-
< 230-Due to U.S. Export Regulations, all cryptographic software on this
< 230-site is subject to the following legal notice:
< 230-
< 230-    This site includes publicly available encryption source code
< 230-    which, together with object code resulting from the compiling of
< 230-    publicly available source code, may be exported from the United
< 230-    States under License Exception "TSU" pursuant to 15 C.F.R. Section
< 230-    740.13(e).
< 230-
< 230-This legal notice applies to cryptographic software only. Please see
< 230-the Bureau of Industry and Security (www.bxa.doc.gov) for more
< 230-information about current U.S. regulations.
< 230 Login successful.
> PWD
< 257 "/" is the current directory
* Entry path is '/'
* Request has same path as previous transfer
> EPSV
* Connect data stream passively
* ftp_perform ends with SECONDARY: 0
< 229 Entering Extended Passive Mode (|||29542|)
* Connecting to <IP_ADDRESS> (<IP_ADDRESS>) port 29542
*   Trying <IP_ADDRESS>:29542...
* Connected to ftp.gnu.org (<IP_ADDRESS>) port 21
> TYPE I
< 200 Switching to Binary mode.
> SIZE README
< 213 2748
> RETR README
< 150 Opening BINARY mode data connection for README (2748 bytes).
* Maxdownload = -1
* Getting file with size: 2748
* Remembering we are in dir ""
< 226 Transfer complete.
* Connection #0 to host ftp.gnu.org left intact

$ go run ./examples/https.go

<title>302 Found</title>

302 Found

bfe/<IP_ADDRESS>

$ go run ./examples/sendrecv.go
* Host www.renren.com:80 was resolved.
* IPv6: (none)
* IPv4: <IP_ADDRESS>, <IP_ADDRESS>
*   Trying <IP_ADDRESS>:80...
* Connected to www.renren.com (<IP_ADDRESS>) port 80
* Connection #0 to host www.renren.com left intact
recv num =  348
HTTP/1.1 200 OK
Server: nginx
Date: Wed, 17 Jul 2024 01:24:55 GMT
...```

If anyone in the audience wants to jump in to help :-)
I'm not much of a C or cgo person. Haven't given up but I am spinning wheels in mud.
Current Error:
$ go run ./examples/misc.go
# command-line-arguments
examples/misc.go:43:42: undefined: curl.OPT_RESOLVE

OK, not defined. So now I'm editing compat.h directly to work out the changes needed (to then put into compatgen.py once figured out..
Before my PR, repo's OPT_RESOVE definition looked like:
#if (LIBCURL_VERSION_MINOR == 21 && LIBCURL_VERSION_PATCH < 3) || LIBCURL_VERSION_MINOR < 21
#define CURLOPT_RESOLVE 0

My assumption is that all the old #ifdefs were written assuming Curl version 7.
So the first thing I tried was:
#if (LIBCURL_VERSION_MAJOR == 7 && LIBCURL_VERSION_MINOR == 21 && LIBCURL_VERSION_PATCH < 3) || LIBCURL_VERSION_MAJOR == 7 && LIBCURL_VERSION_MINOR < 21
#define CURLOPT_RESOLVE 0

...but same error.
Next,  tried hardcoding it enabled:
#define CURLOPT_RESOLVE 1

(yeah yeah there's a better way to remove the check, but what I was going for was: "it's enabled by default, sl let's try disabling the disable)
Still same error


Error CPlayI2C.h: No such file or directory

Hi @jamesadevine
I am trying to compile a version for MKR1300, but trying to do it I get the following error
In file included from /home/build/prjclone/pxtapp/pxtbase.h:34:0,
                 from /home/build/prjclone/pxtapp/base/advmath.cpp:1:
/home/build/prjclone/pxtapp/platform.h:14:22: fatal error: CPlayI2C.h: No such file or directory
 #include "CPlayI2C.h"
                      ^
compilation terminated.
In file included from /home/build/prjclone/pxtapp/pxtbase.h:34:0,
                 from /home/build/prjclone/pxtapp/base/core.cpp:1:
/home/build/prjclone/pxtapp/platform.h:14:22: fatal error: CPlayI2C.h: No such file or directory
 #include "CPlayI2C.h"
                      ^
compilation terminated.
In file included from /home/build/prjclone/pxtapp/pxtbase.h:34:0,
                 from /home/build/prjclone/pxtapp/base/control.cpp:1:
/home/build/prjclone/pxtapp/platform.h:14:22: fatal error: CPlayI2C.h: No such file or directory
 #include "CPlayI2C.h"
                      ^
compilation terminated.
In file included from /home/build/prjclone/pxtapp/pxtbase.h:34:0,
                 from /home/build/prjclone/pxtapp/base/pxt.cpp:1:
/home/build/prjclone/pxtapp/platform.h:14:22: fatal error: CPlayI2C.h: No such file or directory
 #include "CPlayI2C.h"
                      ^
In file included from /home/build/prjclone/pxtapp/pxtbase.h:34:0,
                 from /home/build/prjclone/pxtapp/base/loops.cpp:1:
/home/build/prjclone/pxtapp/platform.h:14:22: fatal error: CPlayI2C.h: No such file or directory
 #include "CPlayI2C.h"
                      ^
In file included from /home/build/prjclone/pxtapp/pxtbase.h:34:0,
                 from /home/build/prjclone/pxtapp/base/buffer.cpp:1:
/home/build/prjclone/pxtapp/platform.h:14:22: fatal error: CPlayI2C.h: No such file or directory
 #include "CPlayI2C.h"
                      ^
compilation terminated.
compilation terminated.
compilation terminated.
In file included from /home/build/prjclone/pxtapp/pxtbase.h:34:0,
                 from /home/build/prjclone/pxtapp/pxt.h:4,
                 from /home/build/prjclone/pxtapp/buttons/buttons.cpp:1:
/home/build/prjclone/pxtapp/platform.h:14:22: fatal error: CPlayI2C.h: No such file or directory
 #include "CPlayI2C.h"
                      ^
compilation terminated.
In file included from /home/build/prjclone/pxtapp/pxtbase.h:34:0,
                 from /home/build/prjclone/pxtapp/pxt.h:4,
                 from /home/build/prjclone/pxtapp/core/control.cpp:1:
/home/build/prjclone/pxtapp/platform.h:14:22: fatal error: CPlayI2C.h: No such file or directory
 #include "CPlayI2C.h"
                      ^
compilation terminated.
In file included from /home/build/prjclone/pxtapp/pxtbase.h:34:0,
                 from /home/build/prjclone/pxtapp/pxt.h:4,
                 from /home/build/prjclone/pxtapp/core/codal.cpp:1:
/home/build/prjclone/pxtapp/platform.h:14:22: fatal error: CPlayI2C.h: No such file or directory
 #include "CPlayI2C.h"
                      ^
compilation terminated.
In file included from /home/build/prjclone/pxtapp/pxtbase.h:34:0,
                 from /home/build/prjclone/pxtapp/pxt.h:4,
                 from /home/build/prjclone/pxtapp/dmac.h:4,
                 from /home/build/prjclone/pxtapp/core/dmac.cpp:1:
/home/build/prjclone/pxtapp/platform.h:14:22: fatal error: CPlayI2C.h: No such file or directory
 #include "CPlayI2C.h"

my log is
https://makecode.com/compile/8095be936cc04b1dd63e5b868c30c966d916e2b6d253952a30f112f5c7eaf55e.log
apparently does not find the file "#include "CPlayI2C.h"
Thanks

solved


Edge vs chrome or FF

hey, i try connect edge with chrome or FF,  what i try to do:
1 - load page on edge (it send offer and candidates)
2- load on chrome or FF (get offer put ice candidates, and send answer)
3 - edge get answer and put ice candidates and on this step i got error
Timeout for addRemoteCandidate. Consider sending an end-of-candidates notification
is anyone notice that?

you need to call pc.addIceCandidate(nullOrUndefined) on the remote end once the local end emits a onicecandidate event with event.candidate being undefined.

now its work, but have one bug, if edge will be send offer first all work fine, if chrome first send offer i get error

when that happens (it should not) what is the value of self.localDescription?

null


[[SPARK-24012][SQL]][TEST][followup] add unit test

What changes were proposed in this pull request?
a followup of https://github.com/apache/spark/pull/21100
How was this patch tested?
N/A

Hi @liutang123 , hopefully you know how to write unit test for type coercion now and do it yourself next time :)
also cc @gatorsmile

Test build #89842 has started for PR 21154 at commit f1a0f4f.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/2670/
Test PASSed.

Test build #89842 has finished for PR 21154 at commit f1a0f4f.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/89842/
Test PASSed.


Error when build

I need your help on the project build.
My Environment is Windows 7, VS 2015, I used the git cloned project, but have an error when build, Firstly, it say no Tao.DevIl package found, I searched the Tao Package, and parsed Il.cs into project. then this error go away;
Then, It say no Half defined, I looked the project References configured, it also say No System.Half was found. After I changed one line of code:result = Half.ToHalf(inputBytes, 0); to
result = (float) BitConverter.ToInt16(inputBytes, 0); this error can also be fixed, (and I think they should be same, right?).
But after that, when try to start it in VS, it reported one dll error:
Additional information: Unable to find an entry point named 'FMOD_System_Create' in DLL 'fmod'.
How could I solve it?
Thanks for your time in advance.

I met the same problem , did you fix it?

Click Project / Add Reference then browse for Tao.DevIl.dll and System.Half.dll.
You can get Tao.Devil here: http://sourceforge.net/projects/taoframework/
System.Half you have to build from here: http://sourceforge.net/projects/csharp-half/
Or you can find all dll files in one of my releases.
(float) is only a cast, it doesn't convert the bytes into a half-precision floating point.
As for the FMOD error, make sure you have fmod.dll in your Debug/Release folder.

When I try to open a texture in asset list, it apears a exception and says can't load dll "Devil.dll".
The exception interrupt here:
Il.ilGenImages(1, out img_name);

I just downloaded from https://sourceforge.net/projects/taoframework/?source=typ_redirect
It seems ok,
I'm now finding the System.Half


[WIP] Node API and CLI

What do you think of using commander to create the cli?

Hey @boopathi! It looks like one or more of your builds have failed.

Node vnode - linux

Hey @boopathi! It looks like one or more of your builds have failed.

Node vnode - linux

Hey @boopathi! It looks like one or more of your builds have failed.

Node vnode - linux

Hey @boopathi! It looks like one or more of your builds have failed.

Node vnode - linux

Hey @boopathi! It looks like one or more of your builds have failed.

Node vnode - linux

Hey @vigneshshanmugam! It looks like one or more of your builds have failed.

Node vnode - linux

Hey @vigneshshanmugam! It looks like one or more of your builds have failed.

Node vnode - linux


when i try to send message it doesnt update the ui in some cases

onSendMessage message= {_id: 64f56b2a64537bef9fb3c39f, chat_dialog_id: null, message: hii, date_sent:<PHONE_NUMBER>, sender_id: null, recipient_id: null, read_ids: null, delivered_ids: null, views_count: null, attachments: null, reactions: null, id: null, created_at: null, updated_at: null}
can u tell me the problem here? @TatankaConCube

our sdk doesn't provide any UI components or solutions, please take a look more carefully at your code to determine what required data is absent


Designate that an UPSTREAM commit needs to be rolled into the "OpenShift-specific files" commit at the next rebase/sync

Sometimes we need to make changes that we want to persist as part of the "OpenShift-specific files" commit that is pulled forward every time we sync. One example is a new commit that deletes the .github directory from our downstream forks. This is something we want to squash into the "OpenShift-specific files" commit when we next synchronize, instead of continuing to carry it.

Another example: we were carrying commitchecker, then we had another carry commit to delete it. The bumper continued to pull forward the carry + the delete, instead of getting rid of it entirely.


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-k8s-26-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 3488

Questions ?
Please refer to the Backport tool documentation


Unable to open Monster stat blocks with SRD 3.0.1

This was posted on the old GitHub repo by Skywolf-Software, but I will reproduce it here as I understand this is the current git repo. Original post can be found here
Module Version: v0.10.1
Replication Steps:

Install 5e SRD 3.0.1
Install TidySheet but do not activate it
Disable all modules but 5E SRD
Drag a monster from SRD/any other compatible compendium to your items area
Double click the monster and whilst it's using the default sheet it will open as expected
Enable the TidySheet module
Attempt to open it again, but now stat blocks does not open

Expected Behavior
Monster and NPC sheets should be able to open when Tidy5e has been set as the default - but this is not the case. Sheets do not open at all.
Screenshots
N/A - unable to open sheets whilst NPC/Monster stat-blocks are set to use tidy5e as default
Browser:
Chrome, Firefox, and integrated VTT browser
Foundry Version:
Version 11 Stable - Build 315
Game System:
DnD 5e

Thanks for reporting.
Is "5e SRD 3.0.1" a module? Or is this referring to the dnd5e 3.0.1 system version?
If it's referring to the system version 3.0.1, Tidy5e Sheet 0.10.1 has a hard version cap set to 2.4.0-2.4.9, and enabling it should not be an option in dnd5e 3.x.

Thanks for reporting.
Is "5e SRD 3.0.1" a module? Or is this referring to the dnd5e 3.0.1 system version?
If it's referring to the system version 3.0.1, Tidy5e Sheet 0.10.1 has a hard version cap set to 2.4.0-2.4.9, and enabling it should not be an option in dnd5e 3.x.

Hi there
That's correct - it was the system I was referring to
If it's not yet compatible then that explains why it would be an issue. It did let me "use" the module in 0.10.0 which is where I noticed the problem, but after updating to 0.10.1 it did say it was no longer available
Is there a plan to make this compatible with 3.0.1? If so then I'm happy for this to be closed and will just patiently wait for the release
Appreciate the effort and development that goes into this module
Thanks

I am happy to report that the Tidy 5e Sheets rewrite is nearing V1 and will appear in the Foundry packages search as Tidy 5e Sheets version 1.0.0.
At first, it will be dnd5e 2.4.x compatible, since many of the current users are waiting for Midi-QoL and other modules to finish their 3.x upgrade.
For Tidy, I will be achieving minimal compatibility with dnd5e 3.x at first, and Tidy will grow into the additional features available in the new system, such as containers.
All of that is to say, look forward to Tidy availability in a matter of a few weeks, hopefully 🤞. In any case, I'm putting as much energy and time into this effort as I can while maintaining my balance with IRL/non-Foundry.
If interested, check out the readme on this repo for more information about progress. We also have a discord community (invite link on the readme) where I post frequent reports on how things are going.
I am looking forward to getting the rewritten sheets into your hands, and I hope they will serve you well.
This is tangentially related, but:
Tidy has historically not capped its version, which was a decision of the previous maintainers. As the new maintainer, I have opted to use the other approach where I cap version availability until I can confirm readiness of the module. So, my first release on the official package registry was 0.10.1, to prevent things like sheets not opening, since it would be pretty common for users to check out the new system version (3.x is pretty awesome 💪). I wouldn't want my module to stop people in their tracks.

I am happy to report that the Tidy 5e Sheets rewrite is nearing V1 and will appear in the Foundry packages search as Tidy 5e Sheets version 1.0.0.
At first, it will be dnd5e 2.4.x compatible, since many of the current users are waiting for Midi-QoL and other modules to finish their 3.x upgrade.
For Tidy, I will be achieving minimal compatibility with dnd5e 3.x at first, and Tidy will grow into the additional features available in the new system, such as containers.
All of that is to say, look forward to Tidy availability in a matter of a few weeks, hopefully 🤞. In any case, I'm putting as much energy and time into this effort as I can while maintaining my balance with IRL/non-Foundry.
If interested, check out the readme on this repo for more information about progress. We also have a discord community (invite link on the readme) where I post frequent reports on how things are going.
I am looking forward to getting the rewritten sheets into your hands, and I hope they will serve you well.
This is tangentially related, but: Tidy has historically not capped its version, which was a decision of the previous maintainers. As the new maintainer, I have opted to use the other approach where I cap version availability until I can confirm readiness of the module. So, my first release on the official package registry was 0.10.1, to prevent things like sheets not opening, since it would be pretty common for users to check out the new system version (3.x is pretty awesome 💪). I wouldn't want my module to stop people in their tracks.

Excellent news! I'll patiently wait for the update to 3.x then - thanks so much for clarifying, looking forward to seeing TidySheets 1.0.0 :)
I'll close this as it's already in the works


Auto unwrap for full reductions.

When you call full reductions like sum or any, you need to untag and then unwrap which is a bit painful. Seems safe to just auto unwrap there.

Oh I realize I misunderstood the semantics. So .sum only reduces over the positional axes. And unwrap_all would be dangerous.

Yeah, that's right, all array methods on NamedArray instances (including reductions like .sum()) are vectorized using nmap, so they only see positional axes. This means something like array.untag("foo", "bar").sum() will sum only over the "foo" and "bar" axes, and it might still have named axes left over.
By the way, as a convenience, you can call array.unwrap("foo", "bar") instead of array.untag("foo", "bar").unwrap() if you want! The two are equivalent.
unwrap_all is a bit underspecified to have as part of the exposed API, since the order of the axes in the result is not guaranteed. Usually, I think idiomatic code should only operate on the axis names that it knows about explicitly. But if you really want to do a full reduction over every named axis, you can do something like array.unwrap(*array.named_shape.keys()).


support GAN training procedure?

Is your feature request related to a problem? Please describe.
The process of training a GAN could be:

step 1, the discriminator trains for one or more epochs
step2, the generator trains for one or more epochs
step3, repeat step 1 and step 2 to continue to train the generator and discriminator networks

It is quite different from the ECD (Encoder-Combiner-Decoder) procedure. So how could we train a GAN using ludwig? If not support now, what can I do if I really want it (any help or insight will be highly appreciated)

Hey @ericxsun, great suggestion!  I think Ludwig definitely should support more elaborate training procedures like GANs, it's just a question of what the right user experience is in these situations.
If we take the generator and discriminator individually, each of them can be represented as distinct Ludwig model definition.  The complexity then lies in the training procedure itself.  Specifically, we would need support for such things as:

Multiple models per config
Multiple optimizers (e.g., a map of model_name: optimizer)
Policy for switching between training the different models
Discriminator: augment training dataset with outputs of generator (label=fake)
Generator: custom loss function that incorporates output of the Discriminator
Generator: ability to train on synthetic (random noise) data

I think these would all be good general improvements to the flexibility of Ludwig.  Let me know if you think I'm missing anything.

One other thing worth mentioning is that something like this should be doable programmatically using the train_online API today.  Something like:
generator = LudwigModel(generator_config)
discriminator = LudwigModel(discriminator_config)

real_samples = load_dataset()

for epoch in epochs:
    synthetic_dataset = generate_random_noise()
    generated_samples = generator.train_online(synthetic_dataset)

    combined_dataset = merge(generated_samples, real_samples)
    discriminator.train_online(combined_dataset)

Using this approach, the only missing piece at the moment is the custom loss function for the generator, but this should be solvable.

That's great, I'll take a look. Thanks a lot.

i second @tgaddair , although there is a caveat, which is the fact tht at the moment there is no support in Ludwig for gradients flowing between two instances of LudwigModel. This means that when you train the discriminator the generator would not be updated.
We have to thing about ways to make that happen that are potentially impactful on the internals.
Ther is also another alternative we are considering, which is allowing for more customization of the actual model part of a Ludwig pipeline. We believe this change would enable GAN like training procedures, although it will come no earlier that a couple releases.


WISHLISTS-81 UI & BDD Test for Create Wishlist

Sets up the UI and introduces BDD test for Wishlist creation

hi @jay-goettelmann-nyu, stuff looks good! good to merge.


Scope Context Browser integration approach and schedule

The context browsers are at:
https://github.com/sbn-psi/archive-viewer
and
https://github.com/sbn-psi/archive-viewer/tree/master/src/css

Will take about a month.
Per 2020-05-07 planning meeting, decided to:

fork this repo into NASA-PDS
create new repo for PDS Skin
Have pds.nasa.gov-search and context browser use PDS Skin with git submodules


Try printing file perms outside of script tag

Issue: #1878
Signed-off-by: Morgan Davies<EMAIL_ADDRESS>

Draft until monday so we don't screw up the weekend nightlies

I realise that this actually won't work so as we're running on the jenkins master at this point which doesn't allow printing of directories for security reasons


Power rename

Description of the new feature / enhancement
I want it to provide sequential numbering when renaming multiple files with the same name, i.e.:
renumbered file 1, renumbered file 2, etc.
Thanks..........Derek Helling
314-623-6490
Scenario when this would be used?
Whenever I rename multiple files as a batch
Supporting information
I have seen this feature in other renaming programs

If you select a number of files in File Explorer,and rename them, this is exactly what you would get.

https://docs.microsoft.com/en-us/windows/powertoys/powerrename


Server joining message

What needs to be done
When the bot joins a new server, find the first channel in that server where it has permission to send messages, and send an embed with the given information. If there are no such channels where the bot has permission to send messages, ignore.
Embed contents
Title
HELLO WORLD
URL
https://github.com/roshan1337d/coding-contests-companion
Color
1089DF
Description
Thank you for inviting the Coding Contests Companion to this server. It can show ongoing and upcoming contest information, send notifications before one is about to start, and send daily problems from various popular coding platforms. Use the **/help** command for the user guide. If you're facing any difficulties, feel free to **[join the support server.](https://discord.gg/9sDtq74DMn)**

Tips

The guildCreate client event is triggered whenever the bot joins a new server.
Example on how you can find the first channel in the server where the bot has permission to send messages.

Hey @roshan1337d , I would like to contribute in this. I am new to the open source world but I definitely am willing to learn and grow:-)

@gaurangk19 You got this 💪
Happy hacktober :)

@gaurangk19 you still on this, right?

Hey @roshan1337d, I would love to contribute but I am still learning new things and it will take me a little more time to get working with discord bot. So I will be glad if you assign this issue to someone else, will come back and add new features later :-)

Sure, no issues. Good luck 👍
This issue is open again for taking. If anyone is interested, tag me here.

@roshan1337d  may i work on this ??
if the issue is still open ??

@DevilzzNikhil assigned this to you.. good luck and happy hacktober 🚀

@roshan1337d  hey i have issue u have node version of 18 but i m using 14 and can udate to 16 max so libraries are clashing what should i do ?

You can see the error

I think the error in the discord.js library is due to this only
@roshan1337d  what u say ??

I have coded the functionality but not sure it will work or not as node deploy.js shows error in node modules in discord libraries
@roshan1337d  what should i do ??

The latest discord.js requires node 16.9.0 or newer as the error suggests. You can download the latest version 18.10.0 from here

@roshan1337d  i  am having problem with connection it is beacuse that models are establishing before monogodb connection

Is it issue in the code or issue from my side ??

should i make new file for connection.js that will use await async @roshan1337d  ??

@roshan1337d
It is reading model before establishing connection i have tried everything from my side please tell

@roshan1337d  when i am using link as channel.permissionsFor(guild.me) return a null object
I have searched everything on net kinda can you help ??

@DevilzzNikhil
const { PermissionFlagsBits } = require('discord.js');
const hasPerm = channel.permissionsFor(client.user).has(PermissionFlagsBits.SendMessages);

Here is the OUTPUT
@roshan1337d

@roshan1337d That works good Should I raise pr

Sure thing, good work 👍


Missing case for backspace control character in JSON.parse()

The \b character isn't handled in the parse property of the JSON.

Pull request: #401


Add the LIGHT-DARK mode

I can Add Light Dark Mode to all of the pages which adds another feature to this website and which just gives two choices to the user as whats its preferable UI is either light or dark.

Thank you for assigning me this issue.

Hello @urvashi-code1255  , this feature has already been added in the project. Is it allowed to do that if some other person has been assigned the issue and some other person has done that?

@K-jais Yes, but you have to ask to the project admin first and wait for it, if participant will not respond then it will be assigned to you.
Since this issue has been solved, I have to close it.


enhancement: Have to figure out a way to have bigip_license only run once

bigip_license is idempotent and can be run more than once.


Failed to build pycairo in ubuntu

I tried to search the problem in the issues in github and I found similar error, but in mac and I'm using Ubuntu 18.04.3 LTS. After did steps, I run the command:
$ python3.7 -m pip install -r requirements.txt
but , the terminal gives an error building pycairo:
Requirement already satisfied: argparse==1.4.0 in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line 1)) (1.4.0)
Requirement already satisfied: colour==0.1.5 in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line 2)) (0.1.5)
Requirement already satisfied: numpy==1.15.0 in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line 3)) (1.15.0)
Requirement already satisfied: Pillow==5.2.0 in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line 4)) (5.2.0)
Requirement already satisfied: progressbar==2.5 in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line 5)) (2.5)
Requirement already satisfied: scipy==1.1.0 in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line 6)) (1.1.0)
Requirement already satisfied: tqdm==4.24.0 in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line 7)) (4.24.0)
Requirement already satisfied: opencv-python==<IP_ADDRESS> in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line 8)) (<IP_ADDRESS>)
Collecting pycairo==1.17.1 (from -r requirements.txt (line 9))
  Using cached https://files.pythonhosted.org/packages/68/76/340ff847897296b2c8174dfa5a5ec3406e3ed783a2abac918cf326abad86/pycairo-1.17.1.tar.gz
Requirement already satisfied: pydub==0.23.0 in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line 10)) (0.23.0)
Building wheels for collected packages: pycairo
  Building wheel for pycairo (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /usr/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-835za1sc/pycairo/setup.py'"'"'; __file__='"'"'/tmp/pip-install-835za1sc/pycairo/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-rjtho98i --python-tag cp37
       cwd: /tmp/pip-install-835za1sc/pycairo/
  Complete output (19 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-3.7
  creating build/lib.linux-x86_64-3.7/cairo
  copying cairo/__init__.py -> build/lib.linux-x86_64-3.7/cairo
  copying cairo/__init__.pyi -> build/lib.linux-x86_64-3.7/cairo
  copying cairo/py.typed -> build/lib.linux-x86_64-3.7/cairo
  running build_ext
  building 'cairo._cairo' extension
  creating build/temp.linux-x86_64-3.7
  creating build/temp.linux-x86_64-3.7/cairo
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPYCAIRO_VERSION_MAJOR=1 -DPYCAIRO_VERSION_MINOR=17 -DPYCAIRO_VERSION_MICRO=1 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/python3.7m -c cairo/device.c -o build/temp.linux-x86_64-3.7/cairo/device.o -Wall -Warray-bounds -Wcast-align -Wconversion -Wdeclaration-after-statement -Wextra -Wformat=2 -Wformat-nonliteral -Wformat-security -Wimplicit-function-declaration -Winit-self -Winline -Wmissing-format-attribute -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpacked -Wpointer-arith -Wreturn-type -Wshadow -Wsign-compare -Wstrict-aliasing -Wundef -Wunused-but-set-variable -Wswitch-default -Wno-missing-field-initializers -Wno-unused-parameter -Wno-unused-command-line-argument -fno-strict-aliasing -fvisibility=hidden
  cairo/device.c:30:10: fatal error: Python.h: Arquivo ou diretório inexistente
   #include <Python.h>
            ^~~~~~~~~~
  compilation terminated.
  error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for pycairo
  Running setup.py clean for pycairo
Failed to build pycairo
Installing collected packages: pycairo
  Found existing installation: pycairo 1.16.2
ERROR: Cannot uninstall 'pycairo'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

Then, I tried to switch to pycairo 1.16.2 in requirements and it works, but, after trying the command
$ python3.7 -m manim example_scenes.py SquareToCircle -pl
but, it gives me the problem of no module named apt_pkg and no module named cairo._cairo
Traceback (most recent call last):
  File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/satoshi/Downloads/InstallManin/manin/manim.py", line 3, in <module>
    import manimlib.extract_scene
  File "/home/satoshi/Downloads/InstallManin/manin/manimlib/extract_scene.py", line 9, in <module>
    from manimlib.scene.scene import Scene
  File "/home/satoshi/Downloads/InstallManin/manin/manimlib/scene/scene.py", line 11, in <module>
    from manimlib.camera.camera import Camera
  File "/home/satoshi/Downloads/InstallManin/manin/manimlib/camera/camera.py", line 9, in <module>
    import cairo
  File "/usr/lib/python3/dist-packages/cairo/__init__.py", line 1, in <module>
    from ._cairo import *  # noqa: F401,F403
ModuleNotFoundError: No module named 'cairo._cairo'
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 63, in apport_excepthook
    from apport.fileutils import likely_packaged, get_recent_crashes
  File "/usr/lib/python3/dist-packages/apport/__init__.py", line 5, in <module>
    from apport.report import Report
  File "/usr/lib/python3/dist-packages/apport/report.py", line 30, in <module>
    import apport.fileutils
  File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 23, in <module>
    from apport.packaging_impl import impl as packaging
  File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 24, in <module>
    import apt
  File "/usr/lib/python3/dist-packages/apt/__init__.py", line 23, in <module>
    import apt_pkg
ModuleNotFoundError: No module named 'apt_pkg'

Original exception was:
Traceback (most recent call last):
  File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/satoshi/Downloads/InstallManin/manin/manim.py", line 3, in <module>
    import manimlib.extract_scene
  File "/home/satoshi/Downloads/InstallManin/manin/manimlib/extract_scene.py", line 9, in <module>
    from manimlib.scene.scene import Scene
  File "/home/satoshi/Downloads/InstallManin/manin/manimlib/scene/scene.py", line 11, in <module>
    from manimlib.camera.camera import Camera
  File "/home/satoshi/Downloads/InstallManin/manin/manimlib/camera/camera.py", line 9, in <module>
    import cairo
  File "/usr/lib/python3/dist-packages/cairo/__init__.py", line 1, in <module>
    from ._cairo import *  # noqa: F401,F403
ModuleNotFoundError: No module named 'cairo._cairo'

I got the same problem during the installation and these commands solved the problem.
sudo apt-get install pkg-config
sudo apt-get install libcairo2-dev

I got the same problem during the installation and these commands solved the problem.
sudo apt-get install pkg-config
sudo apt-get install libcairo2-dev

I did the same but still get the same error.

Same problem here. Doesn't work!

it didn't solve my problem either

neither me

cairo/device.c:30:10: fatal error: Python.h: No such file or directory
#include <Python.h>
        ^~~~~~~~~~
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for pycairo
Running setup.py clean for pycairo
Failed to build pycairo

In my case, Installing python3.7-dev solved the problem.
apt install python3.7-dev

in virtualenv  of python3.6 it's creating issue

@Malangcow

sudo apt install python3.7-dev
thanks ... I installed python3-dev which was giving the error

I have the same issue with anaconda, i tried upgrading to python 3.7, but it didn't work. Any ideas?

yo lo "solucioné", desinstalando todo y instalandolo por medio de anaconda desde cero despues de pasar a python 3.7

I got the same problem during the installation and these commands solved the problem.
sudo apt-get install pkg-config
sudo apt-get install libcairo2-dev

This fixed the issue for me on WSL, although my error looked like:
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-3.6
  creating build/lib.linux-x86_64-3.6/cairo
  copying cairo/__init__.py -> build/lib.linux-x86_64-3.6/cairo
  copying cairo/__init__.pyi -> build/lib.linux-x86_64-3.6/cairo
  copying cairo/py.typed -> build/lib.linux-x86_64-3.6/cairo
  running build_ext
  'pkg-config' not found.
  Command ['pkg-config', '--print-errors', '--exists', 'cairo >= 1.13.1']

  ----------------------------------------
  Failed building wheel for pycairo
  Running setup.py clean for pycairo
Failed to build pycairo
Installing collected packages: tqdm, numpy, opencv-python, pydub, progressbar, pycairo, scipy, pygments, Pillow, argparse, colour, manimlib
  Running setup.py install for pycairo ... error
    Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-km3wpzjk/pycairo/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-vamm5ock-record/install-record.txt --single-version-externally-managed --compile --user --prefix=:
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-3.6
    creating build/lib.linux-x86_64-3.6/cairo
    copying cairo/__init__.py -> build/lib.linux-x86_64-3.6/cairo
    copying cairo/__init__.pyi -> build/lib.linux-x86_64-3.6/cairo
    copying cairo/py.typed -> build/lib.linux-x86_64-3.6/cairo
    running build_ext
    'pkg-config' not found.
    Command ['pkg-config', '--print-errors', '--exists', 'cairo >= 1.13.1']

    ----------------------------------------
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-km3wpzjk/pycairo/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-vamm5ock-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-build-km3wpzjk/pycairo/```

cairo/device.c:30:10: fatal error: Python.h: No such file or directory
#include <Python.h>
        ^~~~~~~~~~
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for pycairo
Running setup.py clean for pycairo
Failed to build pycairo

In my case, Installing python3.7-dev solved the problem.
sudo apt install python3.7-dev

Thanks a lot
Worked for me

sudo apt install python3.7-dev

thanks, it works for me :)

seems like sudo apt install python3.7-dev doesn't work for me in the terminal, this is the error I'm getting
Unable to locate an executable at "/Library/Java/JavaVirtualMachines/jdk-15.0.1.jdk/Contents/Home/bin/apt"

My solution:
sudo apt install gcc
Then, install the newest manimpango:
pip install manimpango==0.2.6

in virtualenv of python3.6 it's creating issue

make sure make sure you built it with the python3.7-dev distribution

I am on Python3.8, 6 months later... Did I let my version go too far?


Parent Selection - Consistent Hash - secondary_mode

Add new 'parent.config' option 'secondary_mode' that can be used to
modify the fail-to behavior of the 'secondary_parent' parent list.
Option 1 (default) fails to secondary then primary (same as before).
The secondary parents are used as primary backups. This also helps to
prevent cache pollution of other caches in the primary list.
Option 2 fails to primary first then secondary.
If the secondary parents are non-optimal in some way, e.g., capacity,
bandwidth, or latency (distance), then the secondary may be used as
secondary backups instead of as primary backups.
Option 3 fails to primary first then secondary unless the first choice
parent is marked down using the host marking function. In that case,
the selection fails to the secondary first then primary. This can
be used to "forward" traffic destined for the marked-down host
to the secondary parents.

[approve ci]

@pbchou There is a problem with the tertiary on line 199 of ParentConsistentHash.cc
ParentConsistentHash.cc:199:44: error: address of array 'pRec->hostname' will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
result->first_choice_status = (pRec->hostname) ? pStatus.getHostStatus(pRec->hostname) : HostStatus_t::HOST_STATUS_INIT;
^~  ~
1 error generated.

Thanks. The expression should have been just (pRec). I will update my PR branch later today.

I re-pushed the branch. Thanks.

[approve ci]


Worked on intro screen

Added a reusable component IPDescriptionRow. This will be used to make the intro screen later on.

Kindly review the comments


chore(draft_scli_yaml_v2): minimal prototype of the automated test results CLI command

Note to self:

[ ] revamping spinner similar to our install flow.
[ ] tests for batch configs

Closing this PR since it is no longer needed.


Initialised a GitHub PR Template

Description
Now contributors of this repo can send PRs with a standardised description template. Every GitHub repo should have a PR template as it eases the procedure for both contributors and code reviewers.
With this checklist reviewers can make sure how many guidelines have been followed and prioritise their PR reviews as the number of checked items appear on the PR page.
Preview ⬇ ⬇ ⬇

Description (*)

Fixed Issues (if necessary)

Screenshots (if necessary)

Contribution checklist (*)

[X] I have read the Contributing Guidelines
[X] Commits have been made with meaningful commit messages
[X] All automated tests have passed successfully

Thanks for the PR. I modified this to match out lbry-desktop repo.

Can we show you some appreciation for the contribution?
Also, we're giving away some Hacktoberfest bonuses and goodies for this month.


Add additional button to input toolbar

Hi,
I need to add additional button to the left button (i.e. there are two left buttons).
Original my idea is to subclass JSQMessagesViewController, however the inputToolbar property is private the .m implementation.  It seems not be a good idea to do subclass and customize only inputToolbar view.
Do you have any other hints how if I can do this?
Thanks in advanced especially the modulized and clean code which teach me a lot.
Kudo

HI Kudo, do you mind sharing your approach for this? I am thinking about doing the same thing too. What I am thinking right now is to introduce an array of left buttons instead of one left button. It seems modifying the original source code is unavoidable.
Thanks.

I'm pretty sure this is possible now. See #1068. It has an example of adding two buttons on the left side. You just have to use your own selectors instead of handling JSQMessagesViewController:didPressAccessoryButton:

Nice, I saw the containerView today too thought it was doable. @eliburke  thank you very much for pointing me to the right solution. :+1:


[BUG] Favicon is not matching

Description
Describe the bug:
Favicon logo image is different in this page(Divine activities for all generations)
Add any other context about the

problem here.

please assign this issue to me under GSSOc'23


ts-web/rt: move @types/elliptic to production dependencies

Dev dependencies aren't installed when you add this as a library, so you'll end up without @types/elliptic. But that's needed because some advanced uses of EllipticSigner let you access elliptic's types. There's no special section for dev dependencies that dependents will need, so the next best thing is to put them in the production dependencies. ):

we don't even use elliptic anymore


Showing "Twig_Loader_Filesystem"

Hi Team,
It shows error Twig_Loader_Filesystem while trying to run http://<IP_ADDRESS>:8080/ after running composer sample:custom-login.
Need your urgent help.
Thanks

Hi @trisghosh.  Could you please provide a little more information.

Please provide a stack trace of your error
what version of PHP are you using?
Do you have a reproduction repo we can look at?
Have you run composer install in the sample repo, including the custom-login folder?


(WIP) Adding docs differ to build

Related to #2376
✅ Pull Request Checklist:

[ ] Included link to corresponding React Spectrum GitHub Issue.
[ ] Added/updated unit tests and storybook for this change (for new code or code which already has tests).
[ ] Filled out test instructions.
[ ] Updated documentation (if it already exists for this component).
[ ] Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:

🧢 Your Project:

Closing for now


Problem building app for prod

This was running on a new angular-cli app and use the example from the readme
ng build --prod
Hash: 21a2a16e0f26618de677
Time: 22610ms
chunk    {0} polyfills.8430742e9160f0795fca.bundle.js (polyfills) 160 kB {4} [initial] [rendered]
chunk    {1} styles.d970cc88373160cea802.bundle.css (styles) 175 bytes {4} [initial] [rendered]
chunk    {2} main.dc00838f55b9282fe1b2.bundle.js (main) 1.09 kB {3} [initial] [rendered]
chunk    {3} vendor.d30f988bc4307961ddf5.bundle.js (vendor) 848 kB [initial] [rendered]
chunk    {4} inline.4664330edde9d415ee63.bundle.js (inline) 0 bytes [entry] [rendered]

ERROR in ENOENT: no such file or directory, open '/Users/gperdomor/Developer/carter/angular/node_module
fly-ng/src/app/sort/sort.component.less'

ERROR in ./src/main.ts
Module not found: Error: Can't resolve './$$_gendir/app/app.module.ngfactory' in '/Users/gperdomor/Deve
ter/angular/src'
 @ ./src/main.ts 3:0-74
 @ multi ./src/main.ts

This should be fixed by https://github.com/patternfly/patternfly-ng/pull/56

Please reopen if you continue to have an issue?


SAMZA-2469: Fix out of order events throwing Duplicate key registration with same timer exception

https://issues.apache.org/jira/browse/SAMZA-2469
When using sessions with certain gap and with triggers in beam code with samza runner, for out of order events we are seeing duplicate key registration for the same timer exception.
The exception is thrown in two cases that happen within context of one trigger:

Two events for same key have same timestamp
Events come out of order

Thanks for the contribution @kathulasandeep.
@bharathkk @xinyuiscool can you take a look at this? Do we need this in 1.4?

@kathulasandeep Sorry for not getting back earlier. The problem outlined is fixed as part of https://issues.apache.org/jira/browse/SAMZA-2519. Making the timer API callbacks multi-valued doesn't align with timer contracts on Beam and other APIs. To be consistent with semantics of the Timer API (Beam, Samza) and the semantics  of timers themselves across runners, we fixed this issue to cancel the previously registered callback and overwrite it with the new callback provided previous callback can be successfully unregistered.

I am closing this PR since this is already fixed.


Update stats on the Nx Plugin Registry

This plugin is missing the Nx version and Github Stars on the Nx Plugin Registry.  To fix this, you need to publish a new version of the plugin that includes:
(1) @nx/devkit as a dependency (or peerDependency) and
(2) a repository.url in the package.json that points to this repo.  i.e.
{
  "repository": {
    "type": "git",
    "url": "https://github.com/nrwl/nx.git",
    "directory": "packages/web"
  }
}

Thanks,
Isaac (Nx Team)

Thanks for reporting! Should be fixed


Introducing missing deployment types

This PR introduces the type RAML type descriptions for various
deployment-related types that were missing
Note: This PR is a work in progress. Currently we should use this for commenting and discussion.
JIRA issues: MARATHON-7839

happy to see this in progress. looking forward to eventually killing https://github.com/mesosphere/marathon/blob/master/src/main/scala/mesosphere/marathon/api/v2/json/Formats.scala

@jeschkies I think this PR covers the work of #5722 .


Confusing order of push notifications in Integreat App/Website

Motivation

Push notifications are deleted after a certain period of time (currently 28 days), but sometimes push notifications that are older than 28 days appear in the message list in Integreat Website/app. This happened as a push notification was created more than 28 days ago but sent at a later time, which is whithin 28 days (a real example: today is 13.08.2024, a push notification was created on 21.06.2024, therefore older than 28 days but shown in the website/app, because it was sent on 18.07.2024).
This is confusing. We have to change how to sort push notifications and how to count their "age".
Proposed Solution

TBD
Alternatives

Leave it as it is and get confused sometimes
User Story

Additional Context

See the context here
Design Requirements

UI/UX team will give us an input how to sort/calculate age of push notifications.

We also just received an email from a municipality exactly regarding this issue - they also suggested to show the publish/sending date instead of the creation/last update date.
I think that makes a lot of sense - especially if some messages are created well in advance

My gut feeling is that we should simply check in the view, when displaying to the user, whether the last modified timestamp or the sent timestamp is greater and just use that for sorting

I had a chat with @nikolahoff and she agreed that the most important thing is having the most recent notification/change up top - so in her opinion there is no problem with sorting by the most current date.
@PeterNerlich could you maybe open an issue in the app board?

@PeterNerlich are the labels on this issue still correct? And did you open the app board issue?

It turns out we do sorting on CMS side after all and also don't expose the sent date via the api at all, so this becomes a task for us once again


Normalize paths to non-pods where appropriate

@bantic for you to review/merge. Moves some pod items that are not really pod items to non-pod paths.

everything looks normal here move on people

FTFY. (More on-brand.)

yes! that token/model.js has been staring me in the face for a while.


Get rid of checksum ir node

This should just be an artifact of the Runtime codegen for a document

3892a6fedead6a8db151a21122cbcd0af9c24bb5


[krew] Fix krew plugin generator.

What type of PR is this?
/kind bug

What this PR does / why we need it:
Fix krew plugin generator.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?

NONE

/lgtm

/close
Due to optimised and fixed it on #2654.