What version of Python does it run on?

What version of Python does it run on?I have version 3.9.10 and the script does not work, does not repost on VK

What version of Python does it run on?I have version 3.9.10 and the script does not work, does not repost on VK

Hello, I'm using 3.9.0 to run this. What error you get? Have you received your VK API token?


replace .A and .A1 with explicit array conversion

Newer versions of SciPy seem to have forgotten the short functions .A() and .A1() for array conversion, so we call explicitly the long names.

@taha-abdullah please test this with scipy 1.14.1

I am getting the following error when I run this:
Traceback (most recent call last):
File "/fastsurfer/recon_surf/sample_parc.py", line 430, in
sample_parc(options.insurf, options.inseg, options.seglut, options.surflut, options.outaparc, options.incort, options.projmm, options.radius)
File "/fastsurfer/recon_surf/sample_parc.py", line 421, in sample_parc
smooths = smooth_aparc(surf, surfsamples, cortex)
File "/fastsurfer/recon_surf/smooth_aparc.py", line 335, in smooth_aparc
labels_new = mode_filter(adjM, labels, fillonlylabel, np.array([fillonlylabel]))
File "/fastsurfer/recon_surf/smooth_aparc.py", line 216, in mode_filter
sums = nlabels.sum(axis=1).toarray().squeeze()
AttributeError: 'matrix' object has no attribute 'toarray'
Command exited with non-zero status 1
@#@FSTIME  2024:08:23:11:00:19 recon_surf/sample_parc.py N 16 e 0.95 S 0.12 U 0.83 P 100% M 189276 F 0 R 51683 W 0 c 11 w 1 I 0 O 0 L 3.12 3.06 3.31
@#@FSLOADPOST 2024:08:23:11:00:20 recon_surf/sample_parc.py N 16 3.03 3.04 3.30

This error is with scipy 1.14.1 u
I assume?

I assumed that sum produces a sparse matrix just as max, but it produces a matrix, so array conversion is slightly different. I also fixed deprecated in1d. These changes have now been tested with numpy 2.1.0 and script 1.14.1 and yield identical results to the previous version in my test case.


Bounding ElectionProvider

Implements Step 1 of #9511

Closing this PR as I have rewritten it in #11242


sharing a link for 20mnNeighbourhood (aka 'generic scenario') displays popup for LTS (aka demo scenario)

When sharing a link to view the 20mnNeighbouhood scenario, used to prototype addition of new 'generic scenarios', the popup for the placeholder low traffic stress scenario still comes up:

Also, the indicators that should appear from clicking do not appear -- but they should.
e.g. should look more like:

at least, until popups are implemented for this scenario (as per #22 ), then they should be included too

This is now resolved, broadly (there is a separate issue, that'll add separately)


Wrong sum() return type derivation for unknown start value

Environment data

Language Server version: 2022.11.10
OS and version: Ubuntu 20.04.5 LTS
Python version (& distribution if applicable, e.g. Anaconda): 3.8.13

Code Snippet
from typing import Iterable, Any

def f(l: Iterable[Any], s):
    return sum(l, s)

This code derives int as return type for f() although it should be Unknown.
Problem is that this can lead to type errors that should not be type errors
from typing import Iterable, Any

def f(l: Iterable[Any], s):
    return sum(l, s).width

Expected behavior
f() having Unknown as return type for first snippet and not having type error for second snippet.
Actual behavior
Pylance has derived int as return type for f() in first snippet.
Second snippet gives type error:
Cannot access member "width" for type "int"
  Member "width" is unknown

The sum function is declared in the typeshed builtins.pyi stub file, and it's an overloaded function with three overloads:
@overload
def sum(__iterable: Iterable[bool | _LiteralInteger], start: int = ...) -> int: ...

@overload
def sum(__iterable: Iterable[_SupportsSumNoDefaultT]) -> _SupportsSumNoDefaultT | Literal[0]: ...

@overload
def sum(__iterable: Iterable[_AddableT1], start: _AddableT2) -> _AddableT1 | _AddableT2: ...

Pyright (the static type checker that underlies pylance) performs overload matching by picking the first overload that matches the supplied argument list. In your example above, the first overload matches, so the return result is int. That means the inferred return type of f is int.
If you want pyright to choose a different overload, you will need to supply more precise type declarations for the parameters l and s.

@erictraut
mypy seems to be able to do the right derivation of sum returning Unknown is start type is Unknown; likely time to switch over.
Reason I stumbled on this is that I am using sum on types from a an external library (pya from klayout) that does not have type annotation.

And thinking a little further I disagree that Unknown as type for start should match the first overload of sum because the start value can be something else than an int. So IMO mypy is doing the right thing.

@FatsieFS, overload resolution rules are not specified in Python. The details are left up to each type checker. Mypy's overload resolution rules are defensible (i.e. there is a good argument for their behavior), but so are the overload rules used by pyright. They both have advantages and disadvantages and fail and succeed in different circumstances. Pyright's overload resolution rules match that of other Python type checkers like pyre and other languages like TypeScript.

@erictraut
Understood.
I tend to favor mypy resolution rules then as I find it better matching with being more compatible with non type annotated code.

Note that bool | _LiteralInteger ≤ Any, where ≤ denotes subtype.
So why does an input of type Iterable[Any] match the overload type Iterable[bool | _LiteralInteger]?
Firstly, allowing the opposite (an input Iterable[bool | _LiteralInteger] to match an overload Iterable[Any]) would be bad, as indicated by the following example from PEP 483:

Let us also consider a tricky example: If List[int] denotes the type formed by all lists containing only integer numbers, then it is not a subtype of List[float], formed by all lists that contain only real numbers. The first condition of subtyping holds, but appending a real number only works with List[float] so that the second condition fails:
def append_pi(lst: List[float]) -> None:
    lst += [3.14]

my_list = [1, 3, 5]  # type: List[int]

append_pi(my_list)   # Naively, this should be safe...

my_list[-1] << 5     # ... but this fails

Evidently, int ≤ float (well, sort of), and yet List[int] ≮ List[float].
Similarly, List[float] ≮ List[int], since:
def assert_int(lst: List[int]) -> None:
    assert all(isinstance(x, int) for x in lst)

my_list = [1.1, 3.3, 5.5]  # type: List[float]

assert_int(my_list)  # throws AssertionError

This is due to covariance/contravariance/invariance, which is defined as follows:

A generic type constructor G is called

Covariant, if G[S] ≤ G[T]
Contravariant, if G[T] ≤ G[S]

for all types S, T such that S ≤ T, and

Invariant, if G is not covariant nor contravariant (i.e., G[S] ≠ G[T] for some S ≤ T).

Apparently, List[T] is defined to be invariant.
Thus, List[Any] ≠ List[bool | _LiteralInteger].
However, Iterable[T] is defined to be covariant.
Thus, Iterable[Any] ≤ Iterable[bool | _LiteralInteger].
And that's what causes the issue.

I wonder if there's a more restrictive set of overloads that could be defined instead. For example:
def sum(iterable: List[bool], /, start: int = 0) -> int:
def sum(iterable: List[_LiteralInteger], /, start: int = 0) -> int:
def sum(iterable: Iterable[_SupportsSumNoDefaultT], /) -> _SupportsSumNoDefaultT | Literal[0]:
def sum(iterable: Iterable[_AddableT1], /, start: _AddableT2) -> _AddableT1 | _AddableT2:

...Or maybe something more fancy that can support Iterable[bool], but only invariantly rather than covariantly.


Fixed requestWebgl1 hint error in context

Fixed requestWebgl1 hint error in context

Thanks for the pull request @jiangheng90!

:heavy_check_mark: Signed CLA found.
:grey_question: Unit tests were not updated.

Make sure you've updated tests to reflect your changes, added tests for any new code, and ran the code coverage tool.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.

Thank you @jiangheng90!


Support port number

Support configurable VPN port

Add vpn_port variable, default to 443

references
https://aws.amazon.com/about-aws/whats-new/2020/01/aws-client-vpn-now-supports-port-configuration/

/terratest

lol


Vulnerability roundup 108: civetweb-1.14: 1 advisory [9.8]

search, files

[ ] CVE-2020-27304 CVSSv3=9.8 (nixos-21.05)

CVE details
CVE-2020-27304
The CivetWeb web library does not validate uploaded filepaths when running on an OS other than Windows, when using the built-in HTTP form-based file upload mechanism, via the mg_handle_form_request API. Web applications that use the file upload form handler, and use parts of the user-controlled filename in the output path, are susceptible to directory traversal

Scanned versions: nixos-21.05: 4f37689c8a2.

We no longer support nixos-21.05, but this has been fixed in the currently supported NixOS versions:

nixos-22.05: civetweb-1.15
nixos-unstable: civetweb-1.15


ndg package not being installed

So I had a very long day debugging why I was getting
EOF occurred in violation of protocol (_ssl.c:590)
It turns out that init.py tried to monkey patch the ssl_wrap_socket
    from .packages.urllib3.contrib import pyopenssl
    pyopenssl.inject_into_urllib3()

But it couldn't, since it couldn't import from .packages.urllib3.contrib import pyopenssl
Which due to packages/urllib3/contrib/pyopenssl.py tried to import:
from ndg.httpsclient.ssl_peer_verification import SUBJ_ALT_NAME_SUPPORT
but ndg didn't exist.
Once I installed ndg-httpsclient then the error went away.
What I am wondering is why package ndg-httpsclient was not installed during installing requests? Or is it supposed to be installed individually?

The reason we don't install it when you install requests is that it's optional. Requests can, on many systems, successfully handle TLS without needing any third-party libraries. However, some users will want to use a newer version of OpenSSL or enable Requests to use more advanced features. Those require some additional third-party dependencies that are strictly optional.  They can be requested when installing Requests by running pip install requests[security].

pip install requests[security] works great on Mac OS X Sierra but on Ubuntu 14.04, it ran fine but didn't seem to have any effect, any idea why?
>>> ssl.OPENSSL_VERSION 'OpenSSL 1.0.1f 6 Jan 2014' $ openssl version OpenSSL 1.0.1f 6 Jan 2014

@IntelBob The security packages don't install a newer OpenSSL on Linux and, even if they did, they don't monkeypatch the standard library. Are you having a specific problem on Ubuntu?

@Lukasa I am getting intermittent EOF occurred in violation of protocol (_ssl.c:590) error on Ubuntu, should I just upgrade Ubuntu openssl package?

You can try, but intermittent errors rather suggest that the problem isn't with OpenSSL. Are the errors intermittent in the sense that they only occur for some hosts, or intermittent in the sense that sometimes a request works for a host and sometimes it fails?

It's the latter, intermittent in the sense that it works almost all the time and occasionally it will generate that error, it's not reliably reproducible so I don't know how to debug it, I am on Python 2.7.12. Also I am using requests with threads and unsure if such an error might have caused a thread to hang, that's the core of my issue is that I get these random hanging threads and no discernible cause, any insights will be much appreciated.

So both of these intermittent issues smell like issues that have nothing to do with your OpenSSL version and everything to do with various kinds of network weirdness. Both of these errors basically boil down to "the remote peer shut the connection down when we didn't expect them to". Working out a more specific understanding of why the remote peer is doing that is much harder if you don't have access to server logs.

Yeah, I kinda had the same feeling since the errors are intermittent and random and unfortunately I don't have access to the backend logs. As a side note, do you know if using requests.get(), requests.delete() in multiple threads is safe? I assume so since requests is thread-safe and i have a try...except block that the thread should end normally even in the case of such an exception.

Yes, requests.* methods share no state so you can safely use them across threads.

Hi @Lukasa
I the same error , and it stuck me for couple of days :+1:
urllib2.URLError: <urlopen error EOF occurred in violation of protocol (_ssl.c:590)>
my python version is 2.7.10,  and I use urllib2
below is my related code:
cookieprocessor = urllib2.HTTPCookieProcessor()             opener = urllib2.build_opener(cookieprocessor)             urllib2.install_opener(opener)             request = urllib2.Request(url,postParams)             if sys.version_info < (2, 7, 9):                 file = urllib2.urlopen(request)             else:                 ctx = ssl.create_default_context()                 ctx.check_hostname = False                 ctx.verify_mode = ssl.CERT_NONE                 print ("---")                 file = urllib2.urlopen(request, context=ctx, timeout=30)             fileInfo = file.read()
Please help me...

@szyl111 Your code is using urllib2. This issue tracker is for support with the Python Requests library only. You'll need to go discuss your problem upstream with the Python Development team.


cmd/cue: mod init (no args) should do better in a modules world

What version of CUE are you using (cue version)?

$ cue version
cue version v0.0.0-20231220122134-3d09a4aafb64

go version go1.21.4
      -buildmode exe
       -compiler gc
  DefaultGODEBUG panicnil=1
     CGO_ENABLED 1
          GOARCH arm64
            GOOS linux
             vcs git
    vcs.revision 3d09a4aafb64d459fdc60348dc2da4665759a4b2
        vcs.time 2023-12-20T12:21:34Z
    vcs.modified false

Does this issue reproduce with the latest release?
No. These features are only available at tip.
What did you do?
# setup
env CUE_EXPERIMENT=modules
env CUE_REGISTRY=registry.cue.works
env HOME=$WORK/.home

exec cue mod init
exec cue mod tidy

-- x.cue --
package x

import "strings"

x: strings.ToUpper("test")

What did you expect to see?
No error on running cue mod tidy.
What did you see instead?
$ ts repro.txtar
# setup (0.015s)
> env CUE_EXPERIMENT=modules
> env CUE_REGISTRY=registry.cue.works
> env HOME=$WORK/.home
> exec cue mod init
> exec cue mod tidy
[stderr]
invalid module path "": path "" has no major version
[exit status 1]
FAIL: /tmp/testscript591263438/repro.txtar/script.txtar:7: unexpected command failure

This points towards us probably wanting to make the naked cue mod init an error.
cmd/go errors on a name go mod init, except in the special case where it can determine the module path.

Per a discussion earlier, we agreed to make the "naked" cue mod init error in modules mode. That's a good defensive measure for now that avoids opening a can of worms to support things like cue mod init test (like Go's special module paths, citation/link required) and then needing to relax the constraint on import paths needing a . in the first element of a path.


Have an explicit step that states the URL

New Turnkey users may not know to dig through the CloudFormation outputs in the deploy steps.

Closing. CloudFormation outputs are good enough, and a perfectly standard way of communicating the URL.


support column definition list in table alias for postgres

Postgres supports specifying column names AND types in a table alias (after AS) for functions that return values of type "record".
The following syntax is valid in postgres
SELECT * FROM jsonb_to_record('{"a": "x", "b": 2}'::jsonb) AS x(a TEXT, b INT);

But in sqlparser, it returns
Expected: ), found: TEXT

This was initially reported in SQLPage, as: https://github.com/sqlpage/SQLPage/discussions/690

From https://www.postgresql.org/docs/17/queries-table-expressions.html#QUERIES-TABLEFUNCTIONS :

In some cases it is useful to define table functions that can return different column sets depending on how they are invoked. To support this, the table function can be declared as returning the pseudo-type record with no OUT parameters. When such a function is used in a query, the expected row structure must be specified in the query itself, so that the system can know how to parse and plan the query. This syntax looks like:

function_call [AS] alias (column_definition [, ... ])
function_call AS [alias] (column_definition [, ... ])
ROWS FROM( ... function_call AS (column_definition [, ... ]) [, ... ] )


Field annotations must not be null, breaks OGM

Commit 7d56eda487e8ec408b13036581d08b5e9800ff3e breaks the object graph mapper (OGM) of Codyze (and possibly Neo4J) and makes CPG structure ambiguous.
Collection fields of Nodes must not be null.
Fields of classes in the CPG structure will result in either edges or properties  of a node. The clearest way is to make that explicit by using the @Relationship annotation to enforce an edge. If that is not present, the OGM will investigate the value of the respective field and see if it is a Node type or Collection of Nodes. This requires the field to be non-null, otherwise the OGM will consider it a property on the one hand, but not be able to provide type information on the other hand.
In its current form, Codyze will run into many IllegalStateExceptions.

As mentioned in the PR, can you provide an example for a IllegalStateException that is actually not caught? This is caused by codize using v.property()without checking, if the property exists here:
https://github.com/Fraunhofer-AISEC/codyze/blob/600f7f1e4455b3f43a60af56467541e535aff387/src/main/java/de/fraunhofer/aisec/crymlin/connectors/db/OverflowDatabase.java#L347
But this exception is caught, so this not an issue. BTW this was already in 2.1.1, so not sure why you reverted the cpg-2.2.0 branch on codyze.
Also codyze does "correctly" consider the annotations field as a relationship (the call to OverflowDatabase::mapsToRelationship returns true).
The issue is that codyze only sets the "xxxx_type" vertex property if, the object is non-null, but does not check, whether the "xxxx_type" property was set or not, but just access it using the v.property() line above.


Allow multiline elements in selection list

[x] I have read through the manual page (man fzf)
[x] I have the latest version of fzf
[x] I have searched through the existing issues

Info

OS

[x] Linux

Shell

[x] zsh

Problem / Steps to reproduce

Run:
echo "foo\nbar" | fzf --read0

Observe that the newline in foo\nbar has been replaced with a space.

It would be amazing if fzf had the capability to display foo\nbar as-is, although spanning multiple lines in the terminal, it would act as a single element for selection. One particularly useful use-case would be when displaying multi-line error messages from a compiler.
I had a breeze through the issues but couldn't find this direct issue, I did find this comment which says

the interface of fzf is not suitable for multi-line entries

But doesn't elaborate, perhaps things have changed since 2016.
Thank you for the amazingly useful tool!

Hi, I'm going to have to repeat my old comment here:

Thanks for the suggestion but it's non-trivial to implement multi-line entry display and it will make many parts of the code much more complex. Think about how we should handle long-line truncation and horizontal scroll, multi-part highlighting in extended-search mode possibly spanning multiple lines, page scroll, terminal resize, mouse clicks, ANSI color highlighting, etc. I have very limited time to work on fzf, so I can't say anything about it right now.

fzf has many more options than it has 5 years ago when I posted the comment, so it's even harder now than before to properly implement multi-line entry support without breaking things.
While I also would love to see fzf supporting multi-line entries, I don't think I can implement it in a near future.

Thanks for the quick and understandable reply! Not sure how I missed that original issue!

One, perhaps much easier, alternative would be being able to display the multiline string in the preview pane, could even support colors and everything there.

FYI: https://github.com/junegunn/fzf/issues/2230#issuecomment-719133459

Thanks!

For visitors stumbling on this issue after a search-engine query: https://junegunn.github.io/fzf/tips/processing-multi-line-items/


how to create cert with a bigger validity using pyndnsec

Hi,
I would like to ask while I was using pyndnsec New-Item /pcnl/ndn/video/sz02/live, the 'NotAfter' filed seems only have +1 day of validity, and I don't see an option for pyndnsec to prolong it.

/pcnl/ndn/video/sz02/live
+->* /pcnl/ndn/video/sz02/live/KEY/-F%96%1F%40%04%2F%05
+->* /pcnl/ndn/video/sz02/live/KEY/-F%96%1F%40%04%2F%05/self/v=1649990055921
Certificate name:
/pcnl/ndn/video/sz02/live/KEY/-F%96%1F%40%04%2F%05/self/v=1649990055921
Validity:
NotBefore: 19700101T000000
NotAfter:  20220415T023415 <------------------- out of date
Public key bits:
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE1h+7WRmW8/n7lJ6cfyMaDiGdYqQH
9EFjUc5Df1e9RbmtjIXbPLRiCxTC5Dbyh/TY59YvOV8IEQRQQU30t4Y/Dw==
Signature Information:
Signature Type: SignatureSha256WithEcdsa
Key Locator: /pcnl/ndn/video/sz02/live/KEY/-F%96%1F%40%04%2F%05

Thank you for reporting this. This is a bug and I have fixed it.

so, how do I prolong the validity? or should I use python-ndn v3.1?

You need to delete the certificate and create a new one.
You can use the latest pyndnsec (not published so you need to install from GitHub) or ndnsec.


Handle cases where requests to some nodes fail

This could be due to the:

The API not existing in the first place (e.g., https://fakeapi.org/) - this is a problem with the request
The API existing but is down or there is some other issue that causes a failure response code

TODO:

[x] write a test with two stubbed node-APIs, one of which responds successfully, and the other with an error. assert that the successful response makes it through
[x] write a test as above, but the "bad" node-API doesn't react / times out / is unreachable
[x] when a request partially succeeds, the API response should return:

[x] A custom success status code (https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/207)
[x] A response body containing the query results for the nodes that responded successfully, and also the errors from the nodes that failed (e.g., {"errors": {"node_name": ..., "error": ...}, "responses": ..., "nodes_response_status": ...})

[x] use above response body template for all federated query responses, changing the status key as needed, including when requests to all nodes fail (use 207 status as well)
[x] log to console when >=1 APIs do not respond with success, with the;

[x] URL of the API that failed
[x] error message from the API/request, as a warning

[x] always print (info) to console if all nodes succeeded, or if some failed (e.g., 2/3)
[x] do programming stuff to make the tests pass
[x] switch to sending requests to node APIs asynchronously using asyncio

:rocket: Issue was released in v0.1.0 :rocket:


Revert "fix: allow non-gzipped fastq input"

Reverts nf-core/fastquorum#93

This PR wasn't the problem.


Explore if you can use an emergency failover Yap instance w/Twilio.

Would it be possible to have a failover instance of Yap on Twilio (on a different provider)?  MySQL replication would be a non-starter for an Active/Active scenario.

This is do-able, it would require using database replication and then failover hooks + using MySQL as a session store.  http://shiflett.org/articles/storing-sessions-in-a-database


Generated package does not include certain required parts

Description
Started on MSDN support first.
https://social.msdn.microsoft.com/Forums/office/en-US/fa395b57-ab12-4fe8-9fa1-0726c18fe0cd/openxml-generated-file-wont-open-in-ms-spreadsheet-compare-tool-and-excel-quotopen-and?forum=oxmlsdk
The basic problem is when a new file is created by OpenXML, it appears to load in Excel, but if you use the Excel File Open tool for "Open and Repair" you can see there are some hidden errors being reported. My assumption is the tool Spreadhsheet Compare tool from MS Office can't open this file because of teh same underlying error. If the file is opened and then saved in Excel, the tool now open the file.
Information

.NET Target: 4.7.1
DocumentFormat.OpenXml Version: <IP_ADDRESS>

Repro
public static void CreateSpreadsheetWorkbook(string filepath)
        {
            // Create a spreadsheet document by supplying the filepath.
            // By default, AutoSave = true, Editable = true, and Type = xlsx.
            SpreadsheetDocument spreadsheetDocument = SpreadsheetDocument.Create(filepath, SpreadsheetDocumentType.Workbook);

            // Add a WorkbookPart to the document.
            WorkbookPart workbookpart = spreadsheetDocument.AddWorkbookPart();
            workbookpart.Workbook = new Workbook();

            // Add a WorksheetPart to the WorkbookPart.
            WorksheetPart worksheetPart = workbookpart.AddNewPart<WorksheetPart>();
            worksheetPart.Worksheet = new Worksheet(new SheetData());

            // Add Sheets to the Workbook.
            Sheets sheets = spreadsheetDocument.WorkbookPart.Workbook.
                AppendChild<Sheets>(new Sheets());

            // Append a new worksheet and associate it with the workbook.
            Sheet sheet = new Sheet()
            {
                Id = spreadsheetDocument.WorkbookPart.
                    GetIdOfPart(worksheetPart),
                SheetId = 1,
                Name = "mySheet"
            };
            sheets.Append(sheet);

            workbookpart.Workbook.Save();

            // Close the document.
            spreadsheetDocument.Close();
        }

Observed
Spreadsheet Comparison tool will report
https://support.office.com/en-us/article/Basic-tasks-in-Spreadsheet-Compare-F2B20AF8-A6D3-4780-8011-F15B3229F5D8
"Error opening workbook. Attempted to read past the end of the stream"
If you attempt to open the file through Excel "Open and Repair" option, you will get this XML error.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<recoveryLog xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main">
<logFileName>error260080_01.xml</logFileName>Errors were detected in file 'C:\TEMP\testing.xlsx'
<additionalInfo><info>Excel completed file level validation and repair. Some parts of this workbook may have been repaired or discarded.</info></additionalInfo>
</recoveryLog>

Expected
File should open without errors.
Please add your expected behavior here.

This repo is for issues in the SDK, while this error appears to be with the comparer. In order to identify if this is an issue with the SDK, can you try reopening the file you created with the SDK and see if there are any issues opening?

Yes, the SDK can reopen the file without any errors. I understand this might be a fault with Spreadsheet Compare tool, but what about Excel itself is reporting a problem with the OpenXML generated file when "Open and Repair" feature is used?

 static void Main(string[] args)
        {
            var testFile = @"c:\temp\NewReOpen.xlsx";
            CreateSpreadsheetWorkbook(testFile);
            OpenSpreadsheetWorkbook(testFile);

            Console.WriteLine("Hit any key");
            Console.ReadLine();
        }

        public static void CreateSpreadsheetWorkbook(string filepath)
        {
            // Create a spreadsheet document by supplying the filepath.
            // By default, AutoSave = true, Editable = true, and Type = xlsx.
            SpreadsheetDocument spreadsheetDocument = SpreadsheetDocument.Create(filepath, SpreadsheetDocumentType.Workbook);

            // Add a WorkbookPart to the document.
            WorkbookPart workbookpart = spreadsheetDocument.AddWorkbookPart();
            workbookpart.Workbook = new Workbook();

            // Add a WorksheetPart to the WorkbookPart.
            WorksheetPart worksheetPart = workbookpart.AddNewPart<WorksheetPart>();
            worksheetPart.Worksheet = new Worksheet(new SheetData());

            // Add Sheets to the Workbook.
            Sheets sheets = spreadsheetDocument.WorkbookPart.Workbook.
                AppendChild<Sheets>(new Sheets());

            // Append a new worksheet and associate it with the workbook.
            Sheet sheet = new Sheet()
            {
                Id = spreadsheetDocument.WorkbookPart.
                    GetIdOfPart(worksheetPart),
                SheetId = 1,
                Name = "mySheet"
            };
            sheets.Append(sheet);

            workbookpart.Workbook.Save();

            // Close the document.
            spreadsheetDocument.Close();
        }

        public static void OpenSpreadsheetWorkbook(string filepath)
        {
            // Open the document
            SpreadsheetDocument spreadsheetDocument = SpreadsheetDocument.Open(filepath, true);
            spreadsheetDocument.WorkbookPart.Workbook.Save();

            // Close the document.
            spreadsheetDocument.Close();
        }

@NerdBrick : Do you mean that above pasted code will cause a corrupted excel file?

@NerdBrick : I just used the code you pasted and Excel is able open the file just fine. What did I miss?

Yes, it will open directly in Excel; however, if on the file open dialog you chose the "Open and Repair" option, you can see there was an unreported error as Excel opens the file. My thought is this error might be what is stopping Spreadsheet compare from opening the file.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<recoveryLog xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main">
<logFileName>error260080_01.xml</logFileName>Errors were detected in file 'C:\TEMP\NewReOpen.xlsx'
<additionalInfo><info>Excel completed file level validation and repair. Some parts of this workbook may have been repaired or discarded.</info></additionalInfo>
</recoveryLog>

Thank you. So what happens is that when we overwrite the file with openxmlsdk then it removes lot of parts which were created by Excel, as default. Like this, all these Red parts were removed by openxmlsdk when the file was overwritten. After that when we run 'open and repair', Excel adds these removed parts along with other data back to package as a part of repair.

@tomjebo : What shall we do ? Shall we try to fix openxmlsdk?

@NerdBrick Can you open the corrected file in the comparer?
@tarunchopra @tomjebo  If these items are supposed to be included per the spec, I vote we should add it.

@twsouthwick , when you mean "corrected file" are you saying after I open it and save it in Excel?  Yes, once the OpenXML file has been opened and saved in Excel, Spreadsheet Compare will be happy.

@NerdBrick Yes, that's what I was referring to. This identifies that it is most likely due to the change @tarunchopra  mentioned. Next step is to identify why the package doesn't have those lines.
@tarunchopra Were the files pointed to by those parts removed or did they not even exist?

Taylor - The files got removed; they did exist initially but openxmlsdk code removed them as it recreated that file and added only the parts requested by user in the above code.

We should identify why it's being removed. Are there a list of items that are required for a well-formed document that we should ensure are there?

@tarunchopra @tomjebo Can you guys comment as to whether there is anything in the standard that specifies which parts are required for a functional package?

@NerdBrick (@twsouthwick @tarunchopra) I spent some time today testing this scenario. I found that a blank, newly created Excel workbook (no SDK involved) behaves the same way when using the "Open and Repair" option in Excel. So I focused on the Spreadsheet Compare tool.
After whittling down the Excel genned file to the same structure and content as the SDK genned one (tediously), I found that the one thing that the Spreadsheet Compare tool didn't like was the "x:" ns prefix in this line in the sheet.xml part:
<x:sheetData/>
The SDK uses a xmlns declaration attribute that specifies "x:" as the prefix like this:
<x:worksheet xmlns:x="http://schemas.openxmlformats.org/spreadsheetml/2006/main">
Excel uses other prefixes but doesn't on this first declaration as it is the default spreadsheetml/2006/main namespace.
The "x:sheetData" is being emitted as part of schema generated code and this would be a little tricky to change in the SDK, not to mention special case. Also, from everything I can discern, the XML emitted by the SDK is completely legal, the Spreadsheet Compare tool just doesn't like it. I think this would be a bug in the tool. Our team can file a bug with the Excel tools folks.

@tomjebo Yeah, that seems to be an issue with the compare tool as it is valid XML. Can you close this once you have a bug opened with the Excel tools folks?

@NerdBrick, where you able to get an answer to this issue?  I just recently took on helping resolve this issue in an application.  The end user will not want to open and save every time an Excel file is generated.
When the file is first generated, I noticed the size of the application is small. When I open up and save the file in Excel, the file almost doubles in size with all of the corrections needed.

Related https://github.com/ClosedXML/ClosedXML/issues/1436 @ClosedXML repo

@NerdBrick, where you able to get an answer to this issue? I just recently took on helping resolve this issue in an application. The end user will not want to open and save every time an Excel file is generated.
When the file is first generated, I noticed the size of the application is small. When I open up and save the file in Excel, the file almost doubles in size with all of the corrections needed.

I'm sorry for the long delay replying. I no longer work for the company that I was using OpenXML for.
Sorry I wasn't of more help.


Add integration test cases showing and dismissing of toasts

Description
Add integration test cases showing and dismissing of toasts
Closes #110
What change does this PR introduce?
Please select the relevant option(s).

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update (changes to docs/code comments)

What is the proposed approach?
First commit introduces changes that cover toast message in the integrated tests.
Second commit updates formatting in App.tsx file.
Note: if the formatting is unwanted or not well-structured, I can revert that commit.
Checklist:

[ ] The commit message follows our adopted guidelines
[ ] Testing has been done for the change(s) added (for bug fixes/features)
[ ] Relevant comments/docs have been added/updated (for bug fixes/features)

Hey @SDaniV! The integration test cases are failing, are you still working on this issue?

Hey @tjtanjin! Unfortunately, I didn't manage to understand the reason for the failure the day when I raised the PR. I will try to get it working today and let you know about the result.

Hey again! You can actually run the test locally with npm run int:test as well instead of relying on the GitHub pipeline to run. It'll hopefully ease your debugging process.

@tjtanjin Thank you for sharing the details 🙇
I spent some time reading a bit more about how Cypress works. Looks like its commands (cy.get or cy.contains) have built-in functionality that waits and retries for 4 seconds (default timeout) if an element is not found. I think it should be enough in our case.
Also, I found the reason why the RC build failed in the previous run. After I updated cypress/fixtures/templates/ChatBotApp.tsx, the checks have passed.
Please, review the changes now 🙏


callAnyMember hook does not work (regarding a previous ticket)

Bug report

What is the current behavior?
callAnyMember doesn't get invoked unless the callee of the CallExpression being looked at is an "identifier".
See original ticket that was closed due to inactivity for more info: https://github.com/webpack/webpack/issues/9480
If the current behavior is a bug, please provide the steps to reproduce.
No reproduction, but here's the offending part from webpack's source code:

The BasicEvaluatedExpression instance returned by this.evaluateExpression() has to have isIdentifier evaluate to true, otherwise it skips the entire branch that calls hooks like callAnyMember and call.
I don't know what an "identifier" is in this context, I couldn't find anything about this topic in Google, but to me it seems arbitrary to have some function calls be reported on and not others based on this flag.
What is the expected behavior?
Well callAnyMember should do what the documentation says it does - it should be "triggered when parsing a call to a member function of an object." Currently if the callee of the CallExpression isn't an "identifier" (whatever that means) it just skips those hooks entirely, and this decision seems arbitrary.
This requires plugin devs to do hacks where the evaluate hook of the Parser is used to build custom BasicEvaluatedExpression instances that evaluate isIdentifier to true. Here's one such solution that I was able to find on GitHub, I'm going to do something similar: https://github.com/aurelia/webpack-plugin/blob/9f6f7983312c66f857e79b744e4ec257cc287b8b/dist/InlineViewDependenciesPlugin.js

Other relevant information:
webpack version:  4.46.0
Node.js version: 14.15.4
Operating System: macOS Catalina v10.15.7

Sorry, you use outdated webpack version, only security fixes, please consider migration to v5, sorry again

@alexander-akait is this at least fixed in v5 or does it have the same issue?

We don't have callAnyMember in webpack v5 https://github.com/webpack/webpack/blob/master/lib/javascript/JavascriptParser.js#L2693, can you provide example of your code and what do you want achieve


[Marker.io] phone field does not have the country flag field

Steps to reproduce:

go to phone field
compare with figma

Actual result: flag field is not present which is there in figma
Expected result: if current behaviour is correct, then please ignore this one or elese please update this

Reported by: vinod<EMAIL_ADDRESS>- Contact via Marker.io
Source URL: https://proav-stg.webflow.io/contact
Issue details: Open in Marker.io
Device typedesktopBrowserChrome <IP_ADDRESS>Screen Size1366 x 768OSWindows 10 (10.0.0)Viewport Size1366 x 641Pixel Ratio@1x

also please check if this is needed on home page too because we have similar contact form there too..

Not required

🤖 Marker.io bot - This issue was marked as ✅ Resolved in Marker.io


Prod build messes up constructor.name support

Prod build messes up constructor.name support (used in state-node.ts)
UglifyJS mangles all function names. To avoid this prop keep_fnames or keep_classnames needs to be set to false in uglifyOptions.
vue-cli doesn't seem to allow modifications of this config.
Possible solution top vue.config.js: (not working)
config
  .plugin('uglify')
  .tap(args => {
    console.log(args)
    args[0].uglifyOptions.mangle = false
    return args
  })

Related links:
https://github.com/angular/angular-cli/issues/5168
https://github.com/mishoo/UglifyJS2/tree/harmony#mangle-properties-options
https://github.com/webpack-contrib/uglifyjs-webpack-plugin
https://webpack.js.org/configuration/optimization/#optimization-minimizer

Update: constructor.name is no longer used, however it does not fix this issue since class variable names are needed now.


Ionic Serve - build dev failed: Cannot read property 'indexOf' of undefined

I have upgraded to the latest CLI and AppScripts and am now having problems with my project build.  The project was building and serving fine yesterday so if there's no easy fix to the problems I am seeing today, how do I revert back to a previous version of CLI and App Scripts?
I followed the instructions here for 0.0.47:
https://github.com/driftyco/ionic-app-scripts/blob/master/CHANGELOG.md
and now when I attempt an ionic serve I get:
[10:15:23]  ionic-app-scripts 0.0.47
[10:15:24]  watch started ...
[10:15:24]  build dev started ...
[10:15:24]  clean started ...
[10:15:24]  clean finished in 1 ms
[10:15:24]  copy started ...
[10:15:24]  transpile started ...
[10:15:27]  build dev failed: Cannot read property 'indexOf' of undefined
[10:15:27]  dev server running: http://localhost:8100/
[10:15:27]  copy finished in 3.19 s
[10:15:27]  watch ready in 3.21 s
My build folder remains empty so in the browser console I see a bunch of "failed to load resource errors" for build/main.js etc.
ionic info
Your system information:
Cordova CLI: 6.4.0
Ionic Framework Version: 2.0.0-rc.3-201611211919
Ionic CLI Version: 2.1.17
Ionic App Lib Version: 2.1.7
Ionic App Scripts Version: 0.0.47
ios-deploy version: 1.9.0
ios-sim version: 5.0.11
OS: macOS Sierra
Node Version: v7.2.1
Xcode version: Xcode 8.1 Build version 8B62
package.json
{
"name": "cargomessenger",
"description": "cargomessenger",
"license": "Apache-2.0",
"scripts": {
"ionic:build": "ionic-app-scripts build",
"ionic:serve": "ionic-app-scripts serve"
},
"dependencies": {
"@angular/common": "2.2.1",
"@angular/compiler": "2.2.1",
"@angular/compiler-cli": "2.2.1",
"@angular/core": "2.2.1",
"@angular/forms": "2.2.1",
"@angular/http": "2.2.1",
"@angular/platform-browser": "2.2.1",
"@angular/platform-browser-dynamic": "2.2.1",
"@angular/platform-server": "2.2.1",
"@ionic/storage": "1.1.6",
"ionic-angular": "2.0.0-rc.3",
"ionic-native": "2.2.3",
"ionicons": "3.0.0",
"rxjs": "5.0.0-beta.12",
"zone.js": "0.6.26",
"angularfire2": "2.0.0-beta.6",
"firebase": "^3.6.1"
},
"devDependencies": {
"@ionic/app-scripts": "0.0.45",
"typescript": "2.0.9"
},
"cordovaPlugins": [
"cordova-plugin-whitelist",
{
"locator": "https://github.com/VersoSolutions/CordovaClipboard",
"id": "com.verso.cordova.clipboard"
},
{
"locator": "https://github.com/apache/cordova-plugin-splashscreen.git",
"id": "cordova-plugin-splashscreen"
}
],
"cordovaPlatforms": [
"ios",
"android"
]
}
if I run ionic build ios I get errors too (of course) and the generated log is:
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node',
1 verbose cli   '/usr/local/bin/npm',
1 verbose cli   'run',
1 verbose cli   'ionic:build',
1 verbose cli   '--' ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose run-script [ 'preionic:build', 'ionic:build', 'postionic:build' ]
5 info lifecycle cargomessenger@~preionic:build: cargomessenger@
6 silly lifecycle cargomessenger@~preionic:build: no script for preionic:build, continuing
7 info lifecycle cargomessenger@~ionic:build: cargomessenger@
8 verbose lifecycle cargomessenger@~ionic:build: unsafe-perm in lifecycle true
9 verbose lifecycle cargomessenger@~ionic:build: PATH: /usr/local/lib/node_modules/npm/bin/node-gyp-bin:/Users/richardshergold/Ionic Projects/cmx-messenger-ionic/node_modules/.bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
10 verbose lifecycle cargomessenger@~ionic:build: CWD: /Users/richardshergold/Ionic Projects/cmx-messenger-ionic
11 silly lifecycle cargomessenger@~ionic:build: Args: [ '-c', 'ionic-app-scripts build' ]
12 silly lifecycle cargomessenger@~ionic:build: Returned: code: 1  signal: null
13 info lifecycle cargomessenger@~ionic:build: Failed to exec ionic:build script
14 verbose stack Error: cargomessenger@ ionic:build: ionic-app-scripts build
14 verbose stack Exit status 1
14 verbose stack     at EventEmitter. (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:255:16)
14 verbose stack     at emitTwo (events.js:106:13)
14 verbose stack     at EventEmitter.emit (events.js:191:7)
14 verbose stack     at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:40:14)
14 verbose stack     at emitTwo (events.js:106:13)
14 verbose stack     at ChildProcess.emit (events.js:191:7)
14 verbose stack     at maybeClose (internal/child_process.js:885:16)
14 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
15 verbose pkgid cargomessenger@
16 verbose cwd /Users/richardshergold/Ionic Projects/cmx-messenger-ionic
17 error Darwin 16.1.0
18 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "ionic:build" "--"
19 error node v7.2.1
20 error npm  v3.10.10
21 error code ELIFECYCLE
22 error cargomessenger@ ionic:build: ionic-app-scripts build
22 error Exit status 1
23 error Failed at the cargomessenger@ ionic:build script 'ionic-app-scripts build'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the cargomessenger package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error     ionic-app-scripts build
23 error You can get information on how to open an issue for this project with:
23 error     npm bugs cargomessenger
23 error Or if that isn't available, you can get their info via:
23 error     npm owner ls cargomessenger
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]

FIXED - I had Firebase as a dependency as well as AngularFire  - removing Firebase from package.json fixed the issue.

I tried removing firebase from package.json, but then the app will crash trying to reference firebase in webpack.  Is there another solution?

Try deleting npm_mofules folder and run again npm install
On Thu, 22 Dec 2016, 5:41 p.m. Sean Chase<EMAIL_ADDRESS>wrote:

I tried removing firebase from package.json, but then the app will crash
trying to reference firebase in webpack. Is there another solution?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/driftyco/ionic-app-scripts/issues/544#issuecomment-268886204,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABCQy224anIZWtC655fIDeXuKKLec7bYks5rKuB-gaJpZM4LMwGa
.

Thanks guillefd for the suggestion. I tried it and had the same problem.  Found this solution and it worked:
"Delete the firebase.d.ts in the folder node_modules\firebase"
https://github.com/driftyco/ionic-cli/issues/1713#issuecomment-267753479


Check RAS logins for relevant DRS and WES Servers

RAS login is now the default login for at least some subset of Gen3 and Seven Bridges nodes running WES and DRS.
Check that tokens available for RAS logins gain proper access and authentication for the expected datasets and resources.
Links for access to relevant portals are available here

Used RAS login for CRDC and generated new access key under that login. FASP script using CRDC DRS server accessed using that token ran successfully.
Access keys  available under previous logins to CRDC via NIH login were visible and downloadable.
Seven Bridges login

Used RAS login for CRDC and generated new access key under that login. FASP script using CRDC DRS server accessed using that token ran successfully.
Access keys  available under previous logins to CRDC via NIH login were visible and downloadable.
Seven Bridges login

Natalie Madero contacting SB team.

Note: In summary, at this stage of RAS (milestone 1) the tokens I need to manage are not reduced. It's a different way of logging on to where I need to download each of those tokens from.
Still trying to understand what milestones 2 and 3 will do.

Keeping open pending seeing updated banner pages during login.
Also attaching the NIH banner page seen prior to the SB page prior to the SB banner shown above.
It's good that there is an attempt to keep a user aware of what is going on. However the language is very cryptic for many users.  The pages get mechanically generated and text like 'CRDC-Production' get dropped in. This might work for some, but will be confusing for many.
Some thought about how 'plain language' principles could be applied might help.

Contacted CRDC Communications for follow up on plain language.


Measurement of IO thread lag

A valuable metric for clusters, especially those spanning multiple datacenters, is IO thread lag: Network latency, packet loss, or disk latency can result in a risk of data loss while the "SecondsBehindMaster" happily reports 0.
The Pseudo-GTID hint encodes the timestamp at insert time, which allows downstream nodes to infer IO thread latency, which can be taken into account when assessing cluster health and making failover decisions.
See https://www.percona.com/blog/2014/05/02/how-to-identify-and-cure-mysql-replication-slave-lag/
Most solutions to this problem require correlating binlog coordinates from the master node with each replica node, but in unhealthy network conditions this may not be feasible. Pseudo-GTID as implemented in orchestrator allows reader nodes to infer their position based on the GTID hint, which encodes a timesamp at insert time.

We normally only inject PseudoGTID at the rate of once in a few seconds. This is not granular enough to diagnose lag.
What I recommend is that you use pt-heartbeat or similar. It is the right tool for the job, and will work whether you use Pseudo-GTID, GTID or neither.
We use pt-heartbeat in interval of 50ms and are able to get very granular lag measurements.


Rename WordCount to make it clear that it is an example program.

Any thoughts on names? ExampleCommandLineDataflowProgram

I like descriptive names, but probably in this instance just updating the usage and usageShort description lines to something like this might be sufficient - otherwise the name might be too long during regular usage:
        usage = "This is a test program for Dataflow via the command-line to count the usages of every word in a text",
        usageShort = "Dataflow CLI test program for counting words",

I might even got as far as shortening the name to wc, since I'm sure when used often during testing could bring happiness :)
~p

@edwardkw for you

closed by #594
Thanks @pgrosu for the suggested text.


Set mail count in title

It would be great to show the current amount of mails in the html header/title, sou you can see that new mails have been received, just by looking at the browser tabs name - so you dont have to switch your browser tab to see if there were mails sent...?
Thanks!

Mailcatcher already does this.

I don't know... For me it didn't work in Firefox?
I added a pull request for this some time ago...
https://github.com/sj26/mailcatcher/pull/219

Sorry, it is already displaying this in favicon - not in title. The favicon works for me in Firefox though.

Ah, you are right. Didn't see this before, thanks. But I would prefer this number also in the page title, since its easier to read from my point of view.

Also for me it looks like that the favicon solution doesn't work properly. I have f.e. 2 Mails in my inbox and the favicon still shows only one....

Only when I reload the page completely with clearing the cache, the favicon updates again... Normal reload doesn't update the favicon to the correct mail count.

What browser version? Works fine for me. Latest FF on OSX.

This is working in Safari, Firefox and IE for me. If you can replicate with a patch it would be much appreciated.


CoinRanking Auth

[ ] My submission is formatted according to the guidelines in the contributing guide
[ ] My addition is ordered alphabetically
[ ] My submission has a useful description
[ ] The description does not end with punctuation
[ ] Each table column is padded with one space on either side
[ ] I have searched the repository for any relevant issues or pull requests
[ ] Any category I am creating has the minimum requirement of 3 items
[ ] All changes have been squashed into a single commit

Fix https://github.com/public-apis/public-apis/pull/1540

Hello, @matheusfelipeog.
I have raised a PR against the label 'hacktoberfest' , waiting for feedback against the PR.


New author page should exist

Scenario
When a user visits the new author page
Then the page should be available at the new_author_path route and should render without errors
Hints
Currently, the application contains a single route (at /, see config/routes.rb), a view (app/views/home/index.html.erb) and a controller (app/controllers/home_controller.rb), connecting them.
All available application routes are displayed using the command rails routes.
Before implementing the requested feature, write a test for it. The file spec/features/author/new_author_spec.rb contains the needed test case, it needs to be un-commented.
The describe block defines which aspect will be tested. Specifying the feature type includes helper methods for simulating browser actions in tests. Each it block is a single test case. The test tries to access the path (i.e. the URL) of the "new author" page. This fails because no such path is defined yet.
Run the test (bundle exec rspec) and commit the failing test case.
To make the test pass, see the Rails Guide for creating the appropriate controllers, views and setting up routes for authors. Note: Instead of articles (in the guide), this exercise is concerned with authors.
You can learn more about RSpec, the testing framework here.
Error

Got NameError: undefined local variable or method `new_author_path' for #RSpec::ExampleGroups::NewAuthorPage:0x00005566c395e320
Did you mean?  new_polymorphic_path

1 exercise tests have passed. There are 44 in total. You will solve multiple at once towards the end.

Sorry, it's not working for me yet:
Scenario
When a user visits the new author page
Then the page should be available at the new_author_path route and should render without errors
Error

Got NameError: undefined local variable or method `new_author_path' for #RSpec::ExampleGroups::NewAuthorPage:0x00007f7378222840
Did you mean?  new_polymorphic_path

If you have problems solving this task, please don't hesitate to contact the teaching team!


Mandatory the owner(s) review the code

Since the repository contains four APIs, code ownership should be defined per API; it should be mandatory the owner(s) review the code

Adjusted branch protection policies to require code owners and approvers when there is  a pull request

done


Fix buildings that are not shown in full

Sometimes, a building is not drawn properly. It may be that the wall normals are in the wrong direction, e.g. the wall is not drawn when looking from outside to inside, but is visible the other way round.

See comment here:
https://github.com/brnkhy/MapzenGo/issues/41

Using the new TriangleNet library for buildings fixed the problem.


AT: connector template drop-down isn't enabled the first time you visit it after creating a system

When you add a system manually (have not tested other methods), after you save the system, it prompted you to add your data uses but if you go direction to the integrations tab, the connection type dropdown is disabled, so you have to go back to "Vew systems" and then select your edit on your system again to be able to add an integration.
https://www.loom.com/share/4b80abaf169b4e58bdfb61ff7de54dbb?sid=ef4f12e0-bccb-457a-a5b8-dbd9bd2cbc37

this is still an issue. FYI, i did test this in fidesplus.

moving to done


Use AvgMode enum for sampling_average

https://github.com/EdgePi-Cloud/edgepi-python-sdk/blob/c205afecc0050f7767898d0f1f717936d586e21b/src/edgepi/tc/edgepi_tc.py#L107

blocking https://github.com/osensa/edgepi-device-manager/pull/37


Add a user info field to SyncUser for binding use

Required for https://github.com/realm/realm-cocoa/pull/4964

I've updated this and the corresponding Cocoa PR to use our AtomicSharedPtr instead.


Compute Example Readme flow

Fixes #1195.
Changes proposed in this PR:

Add new integration test file ComputeExamples.test.ts
Add new integration test file ComputeExamples.md

I'm currently getting an error when running this, is it working ok for you?
node dist/compute.js
Aquarius URL: http://<IP_ADDRESS>:5000
Provider URL: http://<IP_ADDRESS>:8030
Deployed contracts address: [object Object]
Publisher account address: 0xe2DD09d719Da89e5a3D0F2549c7E24566e947260
Consumer account address: 0xBE5449a6A97aD46c8558A3356267Ee5D2731ab5e
dataset id: did:op:7688bf67e4db9a3a4d28e3d97982f8f501fa69d3aed0204a7101e8e626f5c021
algorithm id: did:op:4f175f2689b6e8edd3cf82989df19b3ef4ce391ec5fafb261c5cea99f84d5888
/home/jamie/Desktop/ocean/compute-quickstart/dist/compute.js:330
                    computeEnv = computeEnvs.find(function (ce) { return ce.priceMin === 0; });
                                             ^

TypeError: computeEnvs.find is not a function
    at /home/jamie/Desktop/ocean/compute-quickstart/dist/compute.js:330:46
    at step (/home/jamie/Desktop/ocean/compute-quickstart/dist/compute.js:33:23)
    at Object.next (/home/jamie/Desktop/ocean/compute-quickstart/dist/compute.js:14:53)
    at fulfilled (/home/jamie/Desktop/ocean/compute-quickstart/dist/compute.js:5:58)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

I've uploaded the code I'm running here, maybe I made some mistake following along

I'm currently getting an error when running this, is it working ok for you?
node dist/compute.js
Aquarius URL: http://<IP_ADDRESS>:5000
Provider URL: http://<IP_ADDRESS>:8030
Deployed contracts address: [object Object]
Publisher account address: 0xe2DD09d719Da89e5a3D0F2549c7E24566e947260
Consumer account address: 0xBE5449a6A97aD46c8558A3356267Ee5D2731ab5e
dataset id: did:op:7688bf67e4db9a3a4d28e3d97982f8f501fa69d3aed0204a7101e8e626f5c021
algorithm id: did:op:4f175f2689b6e8edd3cf82989df19b3ef4ce391ec5fafb261c5cea99f84d5888
/home/jamie/Desktop/ocean/compute-quickstart/dist/compute.js:330
                    computeEnv = computeEnvs.find(function (ce) { return ce.priceMin === 0; });
                                             ^

TypeError: computeEnvs.find is not a function
    at /home/jamie/Desktop/ocean/compute-quickstart/dist/compute.js:330:46
    at step (/home/jamie/Desktop/ocean/compute-quickstart/dist/compute.js:33:23)
    at Object.next (/home/jamie/Desktop/ocean/compute-quickstart/dist/compute.js:14:53)
    at fulfilled (/home/jamie/Desktop/ocean/compute-quickstart/dist/compute.js:5:58)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

Can you add a log for computeEnvs, and also check the barge logs for some errors, it looks like the compute env list is empty, it may be something local from barge to the operator when trying to get the defined compute envs.

After pruning all my docker containers and running this again it worked without any modification. Seems all good to me, let's get it merged


job_object_helper code & tests

/azp run

#include "stdint.h"

use <> for this include

Refers to: win32/src/job_object_helper.c:4 in 36b59d0. [](commit_id = 36b59d03d6987d81acdc5a376170e22ff5b5e14a, deletion_comment = False)

#include "macro_utils/macro_utils.h"

probably missing "windows.h"
Not sure about jobapi2.h

Refers to: win32/src/job_object_helper.c:6 in 36b59d0. [](commit_id = 36b59d03d6987d81acdc5a376170e22ff5b5e14a, deletion_comment = False)

/azp run


[FLINK-8243] [orc] OrcTableSource reads input path recursively by default.

What is the purpose of the change

enable recursive directory enumeration for OrcTableSource (Hive's default behavior)
expose the configuration in the OrcTableSource builder.

Brief change log

see purpose above

Verifying this change

Unit test to validate configuration of FileInputFormat has been added in OrcTableSourceTest.testBuilder()

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? yes
If yes, how is the feature documented? Java docs of builder + web documentation.

Merging


Before running migrate2rocky script, failed update dnf

I tried running the migrate2rocky from https://docs.rockylinux.org/guides/migrate2rocky/ , and it failed with dnf version. So I tried using dnf install dnf and dnf udpate, but update failed like this:
[root@localhost]# dnf update
Last metadata expiration check: 0:02:01 ago on Fri 22 Jul 2022 02:43:59 PM CST.
Error:
 Problem: cannot install the best update candidate for package libidn2-2.0.5-1.el8.x86_64
  - nothing provides libunistring.so.0()(64bit) needed by libidn2-2.3.2-1.el7.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

Then added the argument --nobest and tried again, it's still not working
[root@localhost]# dnf update --nobest
Last metadata expiration check: 0:02:18 ago on Fri 22 Jul 2022 02:43:59 PM CST.
Dependencies resolved.

 Problem: cannot install the best update candidate for package libidn2-2.0.5-1.el8.x86_64
  - nothing provides libunistring.so.0()(64bit) needed by libidn2-2.3.2-1.el7.x86_64

...

GPG key at file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8 (0x2F86D6A1) is already installed
The GPG keys listed for the "Extra Packages for Enterprise Linux 7 - x86_64" repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository.. Failing package is: adobe-source-code-pro-fonts-<IP_ADDRESS>-5.el7.noarch
 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
Public key for python36-lxml-4.2.5-5.el7.x86_64.rpm is not installed. Failing package is: python36-lxml-4.2.5-5.el7.x86_64
 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
Public key for python36-psutil-5.6.7-1.el7.x86_64.rpm is not installed. Failing package is: python36-psutil-5.6.7-1.el7.x86_64
 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
Public key for python36-pysocks-1.6.8-7.el7.noarch.rpm is not installed. Failing package is: python36-pysocks-1.6.8-7.el7.noarch
 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
Public key for python36-six-1.14.0-3.el7.noarch.rpm is not installed. Failing package is: python36-six-1.14.0-3.el7.noarch
 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
Public key for python36-urllib3-1.25.6-2.el7.noarch.rpm is not installed. Failing package is: python36-urllib3-1.25.6-2.el7.noarch
 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
Public key for brotli-1.0.7-5.el7.x86_64.rpm is not installed. Failing package is: brotli-1.0.7-5.el7.x86_64
 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
Public key for libuv-1.44.1-1.el7.x86_64.rpm is not installed. Failing package is: libuv-1:1.44.1-1.el7.x86_64
 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
Public key for p7zip-16.02-20.el7.x86_64.rpm is not installed. Failing package is: p7zip-16.02-20.el7.x86_64
 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
Public key for sscg-2.6.1-1.el7.x86_64.rpm is not installed. Failing package is: sscg-2.6.1-1.el7.x86_64
 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: GPG check FAILED

And dnf clean packages plus dnf update --nobest returned the same error.
My CentOS version is 8.0, now using mirror of 8 stream.
[root@localhost]# cat /etc/centos-release
CentOS Linux release 8.0.1905 (Core)

[root@localhost]# cat /etc/yum.repos.d/CentOS-AppStream.repo
[AppStream]
name=CentOS-$releasever - AppStream
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=AppStream&infra=$infra
baseurl=http://mirror01.idc.hinet.net/$contentdir/8-stream/AppStream/$basearch/os/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

Thanks!

Migration from EL7 is not supported.


Need to skip API Key check for Basic Auth APIs

Hello Team,
I have setup of API Umbrella and Spring boot at backend.
I have 2 APIs - First, without any authentication and Second with Basic Authentication handled on Spring boot.
When I am calling First API, it works fine.
However, while calling second API with header 'Authorization', it throws below error:
{
"error": {
"code": "API_KEY_INVALID",
"message": "An invalid api_key was supplied. Get one at {{url}}"
}
}
Could you please let me know if there is any way to skip this API_KEY check while having 'Authorization' in header?

If you edit the route in Umbrella Admin, you can disable the api key checks, and even put in a 1 user basic auth setup.
You can do this either in Global request settings, or in sub-url request settings (if you want it to apply only for a matched set of routes)

API key is already disabled. Tried by setting HTTP Basic Authentication on Global request settings but still getting the same issue.

We are currently seeing this issue as well on v 0.14.2. Calls with and without API Key check that uses basic authentication returns this error.


Unable to deploy to XDK with Microsoft Visual Studio 2017

Was able to build and deploy for x64 using Visual Studio 2017 on a local Windows 10 PC but was unable to deploy to the remote Xbox One (XDK).  The game built and was installed to the Xbox One just fine, but upon launching the following error message was displayed:
A dependent dll was not found
I found these two other developer posts, but I believe they were using Visual Studio 2015 instead.  I also did not see WIN32_LEAN_AND_MEAN set as a preprocessor flag in the GitHub project, so I don't believe that is the issue.  I retargeted the solution to platform tools v141 and tried the latest two Windows SDKs 15063 and 14393.
https://social.msdn.microsoft.com/Forums/windowsapps/en-US/2c06b874-9ee0-4a81-beea-a03278278aa1/uwpccxxbox-one-app-crashes-on-xbox-one-0xc0000135-a-dependent-dll-was-not-found?forum=wpdevelop
https://social.msdn.microsoft.com/Forums/windowsapps/en-US/92ea9bfa-2968-4cb6-9c36-d0e70d09064d/uwpxbox-a-dependent-dll-was-not-found?forum=wpdevelop
Please let me know if any additional information would be helpful to assist in debugging this issue.  If someone could confirm they also encounter errors deploying this sample to Xbox One (XDK) with Visual Studio 2017, that would also be helpful information.
For now, I am attempting to uninstall VS 2017 and will try again with a fresh install of VS 2015.
Thanks,
Mark

It seems this also doesn't work for me in Visual Studio 2015.  I just performed a fresh install and I am using platform toolset v140, x64 architecture. Windows SDK 10.0.14393.  Everything works fine deploying to the local Windows 10 machine, but I get the following errors deploying to Xbox One (XDK):
'MarbleMaze_VS2015.exe' (Win32): Loaded 'D:\DevelopmentFiles\Microsoft.SDKSamples.MarbleMaze.CPPVS.Debug_x64.mark_\MarbleMaze_VS2015.exe'. Symbols loaded. 'MarbleMaze_VS2015.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'. Cannot find or open the PDB file. 'MarbleMaze_VS2015.exe' (Win32): Loaded 'C:\Windows\System32\KernelBase.dll'. Cannot find or open the PDB file. 'MarbleMaze_VS2015.exe' (Win32): Loaded 'C:\Windows\System32\combase.dll'. Cannot find or open the PDB file. 'MarbleMaze_VS2015.exe' (Win32): Loaded 'C:\Windows\System32\ucrtbase.dll'. Cannot find or open the PDB file. 'MarbleMaze_VS2015.exe' (Win32): Loaded 'C:\Windows\System32\rpcrt4.dll'. Cannot find or open the PDB file. 'MarbleMaze_VS2015.exe' (Win32): Loaded 'C:\Windows\System32\kernel32legacy.dll'. Cannot find or open the PDB file. 'MarbleMaze_VS2015.exe' (Win32): Loaded 'C:\Windows\System32\bcryptprimitives.dll'. Cannot find or open the PDB file. 'MarbleMaze_VS2015.exe' (Win32): Loaded 'C:\Windows\System32\d2d1.dll'. Cannot find or open the PDB file. 'MarbleMaze_VS2015.exe' (Win32): Loaded 'C:\Windows\System32\msvcrt.dll'. Cannot find or open the PDB file. 'MarbleMaze_VS2015.exe' (Win32): Loaded 'C:\Windows\System32\d3d11.dll'. Cannot find or open the PDB file. 'MarbleMaze_VS2015.exe' (Win32): Loaded 'C:\Windows\System32\advapi32legacy.dll'. Cannot find or open the PDB file. 'MarbleMaze_VS2015.exe' (Win32): Loaded 'C:\Windows\System32\sechost.dll'. Cannot find or open the PDB file. 'MarbleMaze_VS2015.exe' (Win32): Loaded 'C:\Windows\System32\sspicli.dll'. Cannot find or open the PDB file. 'MarbleMaze_VS2015.exe' (Win32): Loaded 'C:\Windows\System32\MinUser.dll'. Cannot find or open the PDB file. 'MarbleMaze_VS2015.exe' (Win32): Loaded 'C:\Windows\System32\gdi32.dll'. Cannot find or open the PDB file. 'MarbleMaze_VS2015.exe' (Win32): Loaded 'C:\Windows\System32\gdi32min.dll'. Cannot find or open the PDB file. 'MarbleMaze_VS2015.exe' (Win32): Loaded 'C:\Windows\System32\win32u.dll'. Cannot find or open the PDB file. 'MarbleMaze_VS2015.exe' (Win32): Loaded 'C:\Windows\System32\dxgi.dll'. Cannot find or open the PDB file. The thread 0x5f4 has exited with code -1073741515 (0xc0000135). The thread 0xc98 has exited with code -1073741515 (0xc0000135). The program '[5736] MarbleMaze_VS2015.exe' has exited with code -1073741515 (0xc0000135) 'A dependent dll was not found'.

Thanks for bringing this issue to our attention!
I just attempted to deploy from Visual Studio 2017 without any luck. I'll investigate and see if we can get this resolved soon. :)

Following back up on this.
In its current state, this sample isn't meant to run on Xbox. One block is that it uses XINPUT which is not a valid API for UWP. By updating the sample to use Windows.Gaming.Input, you'd be a step closer to getting it deployed to an Xbox One.
This page could also be a helpful reference if you do attempt to make this work for Xbox:
UWP features not yet supported on Xbox
Thanks!

While the above suggestion is a long term fix for that particular issue, you could also change the link pointing to xinput.lib to xinputuap.lib. This library is an adapter that uses Windows.Gaming.Input.


cassandra huge validation failure for evaluation-git-29a657f

Seeing some trouble on the larger size workloads of some benchmarks. I'll make an issue for each one, for clarity. Here is Cassandra Huge. Using jdk-1.8 here, but jdk-11 also fails (newer jdks are not supported for cassandra).
$ java -version
openjdk version "1.8.0_302"
OpenJDK Runtime Environment (build 1.8.0_302-b08)
OpenJDK 64-Bit Server VM (build 25.302-b08, mixed mode)

$ java -jar dacapo-evaluation-git-29a657f.jar -n 1 -v -s huge cassandra
...
===== DaCapo evaluation-git-29a657f cassandra starting =====
Loading database...
    YCSB Client 0.17.0
    workload: site.ycsb.workloads.TimeSeriesWorkload
    records: 9437184
    100%
Running transactions...
    operations: 1179648
    100%
Digest validation failed for stderr.log, expecting 0x64897a634a4b770e77f1e930176601fbab236a3b found 0xda39a3ee5e6b4b0d3255bfef95601890afd80709
===== DaCapo evaluation-git-29a657f cassandra FAILED =====
===== DaCapo simple tail latency: 50% 31360 usec, 90% 35086 usec, 99% 54968 usec, 99.9% 116621 usec, 99.99% 260734 usec, max 383557 usec, measured over 1179648 events =====
===== DaCapo metered tail latency: 50% 2894940 usec, 90% 5038648 usec, 99% 5398079 usec, 99.9% 5435272 usec, 99.99% 5438687 usec, max 5439979 usec, measured over 1179648 events =====
Validation FAILED for cassandra huge

Hi! Checking in to see if this has been addressed a newer build. Is there a place I can download a release candidate JAR file and test it out? thanks.

Thanks very much for this.  You should find that all are now working correctly.


manually running each step

Im wondering if instead of running the .yaml and executing the entire workflow; we could use the existing tools to run the steps separately?
i imagine the commands to do so are already in the files somewhere, and maybe i just need to be pointed out where to look for them?
i ask this for two reasons:

having the multiqc and filtering step immediately go through to downstream process can be troublesome if you need to actually refine the variables, or exclude samples before proceeding. so being able to rerun this portion separately is ideal.
it seems some tools and packages have version incompatibilities and break. (i.e. everytime i do a fresh install of natrix, i have to go into a script to change "append" into "_append", or something like that.  being able to run the pipeline in a modular fashion make me feel less concerned about changing little pieces here and there when needed.

Hi @omarkr8, you could specifically run a certain rule with the following command after you have created your dataframe. All dependencies required for the rule will be included automatically. This allows you to execute individual rules specifically with your selected samples. Best, Dustin
snakemake -R --until rulename --use-conda --cores all --configfile configfile.yaml


new CDN swagger version for 2016-04-02

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

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

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

TTYL, AZPRBOT;

The version is still "version": "2016-04-02". It does not have -prerelease as mentioned in the filepath

Fix tabbing/indentation on line 253 for "200" response

Fix tabbing/indentation on

line  686, 739 for "schema" of 202 response
line 1692 for "sku" in the required array
line 1707, 1708

Remove the empty line on 2440

everything else LGTM

@csmengwan - Please make the fixes for the PR to be merged.

Hi, Amar. Thanks for reviewing this. I will fix the indentation issues. And since we are releasing at the end of this week. I will remove the pre-release tag there.

No modification for Python

No modification for NodeJS


[iOS] cannot access application specific ClipboardData

Steps to reproduce
I am trying to read data that ankimobile added to the clipboard from UIPasteboard.general.data. Its documentation states this
let PASTEBOARD_TYPE = "net.ankimobile.json"
if let data = UIPasteboard.general.data(forPasteboardType: PASTEBOARD_TYPE) {
   // clear clipboard
   UIPasteboard.general.setData(Data(), forPasteboardType: PASTEBOARD_TYPE)
   // ... handle json
}

Therefore, I am trying to read the data from Flutter's Clipboard
aunchUrlString(
  "$ankiMobileURLScheme/infoForAdding?x-success=dakanji://",
  mode: LaunchMode.externalApplication
);
await Future.delayed(Duration(seconds: 5));
print(await Clipboard.getData("text/plain"));
print(await Clipboard.getData("net.ankimobile.json"));

To verify that the data is actually written to the Clipboard, I tried using the super_clipboard package which indeed works.
Expected results
The Clipboard contains the data from ankimobile.
Actual results
The Clipboard is null.
Code sample
Code sample
aunchUrlString(
  "$ankiMobileURLScheme/infoForAdding?x-success=dakanji://",
  mode: LaunchMode.externalApplication
);
await Future.delayed(Duration(seconds: 5));
print(await Clipboard.getData("text/plain"));
print(await Clipboard.getData("net.ankimobile.json"));

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
null

Flutter Doctor output
Doctor output
flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.16.9, on macOS 13.5.2 22G91 darwin-arm64, locale en-DE)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.3)
[✓] VS Code (version 1.87.0)
[✓] Connected device (3 available)
[✓] Network resources

• No issues found!

Closing as a duplicate of https://github.com/flutter/flutter/issues/23603, since this is a subset of general clipboard access.


Support for list tags

Enhancement suggestion: Support for list tags [li] and its various attributes as well a [*] which indicated each new list item.
Or is this currently possible some how?

Any chance that gist can be merged into the main code base? I'd argue that lists are a common feature.

@axelson Not as is. That gist is pretty hacky. While I agree it'd be nice to add list support by default, I'd want to find a better way to do it. In the meantime, the API is designed for adding arbitrary code definitions, so there's not much of a burden for developers who do want to use that code definition.

Somewhat unrelated but then again not: I'm not really satisfied with how the SmileyVisitor is working. Are there any plans to make (text)nodes splitable? I'd like to keep smileys and freestanding URLs separate so they won't conflict with each other.


Toggle Village Building Generation

A config to disable village house generation Thanks Pix!

Your awesome pix thanks for the quick update Cheers!

No problem - love quick fixes like this to get motivated again :)


Switch to modern setup.cfg and setuptools-git-versioning

This will tidy things up now we've abandoned Python2

Done


python311Packages.rotary-embedding-torch: 0.5.3 -> 0.6.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python311Packages.rotary-embedding-torch is: Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch
meta.homepage for python311Packages.rotary-embedding-torch is: https://github.com/lucidrains/rotary-embedding-torch
meta.changelog for python311Packages.rotary-embedding-torch is: https://github.com/lucidrains/rotary-embedding-torch/releases/tag/0.6.1
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.6.1 with grep in /nix/store/p1jzmw0hmmkw0r5ndysnv4cq1jxa7h5g-python3.11-rotary-embedding-torch-0.6.1
found 0.6.1 in filename of file in /nix/store/p1jzmw0hmmkw0r5ndysnv4cq1jxa7h5g-python3.11-rotary-embedding-torch-0.6.1

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

4 package rebuild(s)

First fifty rebuilds by attrpath

python311Packages.k-diffusion
python311Packages.rotary-embedding-torch
tts

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/p1jzmw0hmmkw0r5ndysnv4cq1jxa7h5g-python3.11-rotary-embedding-torch-0.6.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python311Packages.rotary-embedding-torch https://github.com/r-ryantm/nixpkgs/archive/0755c03103ff270fec105c352a45b876f4e86c3f.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/0755c03103ff270fec105c352a45b876f4e86c3f#python311Packages.rotary-embedding-torch

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/p1jzmw0hmmkw0r5ndysnv4cq1jxa7h5g-python3.11-rotary-embedding-torch-0.6.1
ls -la /nix/store/p1jzmw0hmmkw0r5ndysnv4cq1jxa7h5g-python3.11-rotary-embedding-torch-0.6.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

2 packages marked as broken and skipped:

tts
tts.dist

4 packages built:

python311Packages.k-diffusion
python311Packages.k-diffusion.dist
python311Packages.rotary-embedding-torch
python311Packages.rotary-embedding-torch.dist

Maintainer pings
cc @Mic92 for testing.

Result of nixpkgs-review pr 311291 run on x86_64-linux 1

2 packages marked as broken and skipped:

tts
tts.dist

4 packages built:

python311Packages.k-diffusion
python311Packages.k-diffusion.dist
python311Packages.rotary-embedding-torch
python311Packages.rotary-embedding-torch.dist


Mv no-ecx and no-ecdsa into no-ec

I am not sure if we should do this, unless we also agree to remove no-ec/ec as a config option.
Thoughts?
See also https://github.com/openssl/openssl/issues/19127#issuecomment-1238211958
Checklist
Thank you for your contribution. Please answer the following:

[X] I acknowledge that I am authorized to submit this code under
the terms of the Apache License
[ ] All new public APIs are documented
[ ] All new public functions have tests
[ ] All new public functions have fuzzing tests

It makes very little sense to me to disable either EC or ECX in a modern TLS/QUIC library. Some of the config options were useful to disable old decrepit stuff (much of which was moved to the legacy provider). What is considered state of the art (non-PQ) crypto should not need disabling in the foreseeable future.

I agree.  Let's see if anyhone disagrees.  I propose we merge this, and then remove no-ec and no-dh and no-eddsa all in one go.

Just to be explicit: If the decision is to remove them, then yes, this makes sense as a first step and I will approve the PR. Otherwise I think it is better to leave them separate.

Apparently there are conflicts here, once they are resolved, I'll approve.

rebased and fixed the conflict in Configure.

Added the two lines of OPENSSL_NO_ECDSA to this PR

Rebased, fixed merge conflcits, pushed.

Rebased, resolved conflicts, pushed.


TypewriterRichText y position not working

Whatever you do, y position is always 0, you cant set where TypewriterRichText will begin on y axis

Can you show me a code example of what you mean?

  public class Program : IScene
  {
      private TypewriterRichText trt;

      private static void Main()
      {
          Engine.Setup(null);
          Engine.SceneManager.SetScene(new Program());
          Engine.Run();
      }

      public void Update()
      {
          trt.Update(Engine.DeltaTime);
      }

      public void Draw(RenderComposer composer)
      {
          composer.RenderSprite(Vector3.Zero, Engine.Renderer.CurrentTarget.Size, Color.CornflowerBlue);
          composer.Render(trt);
      }

      public void Load()
      {
          var font = Engine.AssetLoader.Get<FontAsset>("TestFont.ttf");
          trt = new TypewriterRichText(new Vector3(10, 50, 10), new Vector2(100, 100), font.GetAtlas(20));
          trt.SetTypewriterEffect(500);
          trt.SetText("This is a <color=255-0-0>test</>.");
      }

      public void Unload()
      {
      }
  }

It could be because you are drawing the text directly rather than through the composer (which will push its model matrix, where the translation is). I've posted an example of how to use the class above, and this applies to all TransformRenderable objects.
The confusion is understandable due to the lack of documentation. If you're wondering how to do/use something refer to the tests. In this case the "RenderRichText" test found here: https://github.com/Cryru/Emotion/blob/master/Tests/Classes/RenderTests.cs#L135

TransformRenderable is now deprecated and it doesn't matter how you call the render function.


docs: Create models.md

camel doc - Model part
Description
Models
Motivation and Context
Write our first version of camel doc.
Types of changes
What types of changes does your code introduce? Put an x in all the boxes that apply:

[ ] Put the doc with right folder structure
[ ] Move the content on notion here
[x] Documentation (update in the documentation)
[ ] Example (update in the folder of example)

Updated the model file. The table for supported models to be added.


Error [ShardingReadyDied]: Shard 0's process exited before its Client became ready.

help?

@UnknownX0001 Make sure your using atleast node v17.0.0 or you will see this error

@UnknownX0001 Make sure your using atleast node v17.0.0 or you will see this error

hey @CryptoLover705 I am using node v17.9.1 and still getting this error what do I do?

I would try resetting your bots token and see if that helps @UnknownX0001

I would try resetting your bots token and see if that helps @UnknownX0001

i will try. also, i forgot one important information, the code works locally but doesnt when i host it with any host (i.e. replit or paid hosts)

@UnknownX0001 Check Out #faq in Discord Server Just Try "kill 1" In Shell It Will Solve Your Problem

i had tried that before, it does not work

Ahh, sounds like replit/paid hosts node version are not working properly, I have tried it both locally and via a VPS and they worked fine

i even tried with discloud, but even that showed the error

@UnknownX0001 If you want, reach out to me on discord, I would be more then happy to help you try & fix this issue
CryptoLover#6396 my discord name

@CryptoLover705 hey thanks for that, fortunately my friend had forked the same exact code which i did from replit (corwin bot's code on replit) and i forked it from him, it seems working now.


[docs] tutorial on pushing excel files

Create a docs page for tutorial on pushing excel files - it can be part of pushing data page -
http://datahub.io/docs/getting-started/pushing-data
Acceptance criteria

[x] thorough and clear section about pushing excel files

Tasks

[x] plan
[x] write
[x] refactor
[x] put it online

FIXED - http://datahub.io/docs/getting-started/push-excel


NuGet.Server - Support normalized version (and use it in queries)

NuGet.Server - Support normalized version (and use it in queries)
See https://github.com/NuGet/Home/issues/2298

Short term, we plan to improve the 3.4 behavior as follows - And we will put bits in your hands as soon as they are ready (on the myget nugetbuild feed).

3.4 client will send a normalized version first which is 3 digits or 4 as applicable.
For example:

| User input     | Id in nuspec           | Request  | Response |
| ------------- |:-------------:| -----:|----|
| 1.0      |  <IP_ADDRESS> | 1.0.0 | Value in nuspec |
| 1.00      | 1.0      |   1.0.0 | Value in nuspec |
| <IP_ADDRESS> | <IP_ADDRESS> | <IP_ADDRESS> | Value in nuspec |

Also we identified that the root issue in the proget repo is that it returns a 200/html instead of 404 for that request. So lets get that fixed as well.

If we get a 404 we will get all versions of the packages and pick it from there (this is already in the code but failed because of the 200/html response)

Fixed


UnhandledPromiseRejectionWarning

Hi,
I get this warning, when send message:

UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.

[DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

It happens in File src/cluster/brokerPool.js at Line 120:
this.metadata = await broker.metadata(topics)
Is there a way you can catch the warning?
Thx

Hi @kareha, can you post a snippet of code similar to the one you use to send the message?

I tried to send the following message:
message = {
  topic: 'my_topic',
  messages:  [
    {
       headers: { type: 'error' },
       value: '{"error":{"errno":-2,"code":"ENOENT","syscall":"open","path":"tmp/test.pdf"}}'
    }
  ]
}

I tried your example with the example producer in the repo and it works, so it has to be the code around that. Can you provide the code interacting with the client?
const sendMessage = () => {
  return producer
    .send({
      topic,
      messages: [
        {
          headers: { type: 'error' },
          value: '{"error":{"errno":-2,"code":"ENOENT","syscall":"open","path":"tmp/test.pdf"}}',
        },
      ],
    })
    .then(console.log)
    .catch(e => console.error(`[example/producer] ${e.message}`, e))
}

const run = async () => {
  await producer.connect()
  setInterval(sendMessage, 3000)
}

run().catch(e => console.error(`[example/producer] ${e.message}`, e))

Thanks, that helped :)
I think I missed the catch. Can be closed


Function is never called?

The function strengthenPassword() is never called. Does it perform any functionality?

Hi @Suyash2810, the strengthenPassword function is meant to convert the inputted password to a stronger version (including a capital letter and numbers and symbols depending on if the password doesn't already have that). I haven't had time to implement it yet.
If you'd like, you can create a PR to work on that function or you could just disable the button or remove it completely and I'll get around to it.

Hey, @jemimaabu sorry for the late reply. I have made the required changes where I have commented out the whole functionality as of for now. The work can be started from there.


Added Laravel 5.5 Support

Added Support for Laravel 5.5
Added Support for Auto Discovery feature (L5.5)

LGTM, thank you very much, appreciated!


fix: improve markdown list handling

Fixes https://canary.discord.com/channels/755868545279328417/1093642705759899678, rewriting/fixing the (still fairly simple) codeblock detection in the process.
The first commit is a revert, the diff becomes much more readable by skipping it.

deferring to when new markdown is released by Discord.

deferring to when new markdown is released by Discord.

given they released it an unreleased it, i'll be adding this as part of a configuration option internally with both old and new styles

I'm in the process of redoing this, fixing a couple other minor markdown issues while we're at it. These changes are largely obsolete now.