MATCH Query That Works in Redisgraph Not Working in AGE

Describe the bug
The MATCH query in the following, short test program, is expected to return the two vertexes labelled "C", along with a 'deps' value == 1 for each.
Instead, no rows are returned by the query.
TLDR:
CREATE (a:A)-[:incs]->(:C), (a)-[:incs]->(:C) RETURN a
If we assume ID(a) of the above were 0, the following query should return two rows:
MATCH (a:A) WHERE ID(a)=0 WITH a OPTIONAL MATCH (a)-[:incs]->(c)-[d:incs]-() WITH a,c,COUNT(d) AS deps WHERE deps<=1 RETURN c,deps
Substituting the actual ID, AGE gives no results.
How are you accessing AGE (Command line, driver, etc.)?

Golang Driver, Command Line

What data setup do we need to do?
Try the following go program:
package main

import (
	"database/sql"
	"fmt"

	_ "github.com/lib/pq"
	"github.com/rhizome-ai/apache-age-go/age"
)

func main() {
	dsn := "postgres://postgres:postgres@<IP_ADDRESS>:5434/postgres?sslmode=disable"
	db, err := sql.Open("postgres", dsn)
	if err != nil {
		panic(err)
	}

	graphName := "test"

	_, err = age.GetReady(db, graphName)
	if err != nil {
		panic(err)
	}

	tx, err := db.Begin()
	defer tx.Commit()
	if err != nil {
		panic(err)
	}

        // Clear previous test data, if necessary
	cursor, err := age.ExecCypher(tx, graphName, 0, "MATCH (n) DETACH DELETE n")
	if err != nil {
		panic(err)
	}

        // Create test data
	cursor, err = age.ExecCypher(tx, graphName, 1, "CREATE (a:A)-[:incs]->(:C), (a)-[:incs]->(:C) RETURN a")
	if err != nil {
		panic(err)
	}

	var row []age.Entity
	if cursor.Next() {
		row, err = cursor.GetRow()
		aid := row[0].(*age.Vertex).Id()

                // Match against test data
		q := fmt.Sprintf("MATCH (a:A) WHERE ID(a)=%d WITH a OPTIONAL MATCH (a)-[:incs]->(c)-[d:incs]-() WITH a,c,COUNT(d) AS deps WHERE deps<=1 RETURN c,deps", aid)
		fmt.Println("Test query:", q)

		cursor, err = age.ExecCypher(tx, graphName, 2, q)
		if err == nil {
			for cursor.Next() {
				row, err = cursor.GetRow()

				for _, v := range row {
					fmt.Println("V", v)
				}
			}
		} else {
			fmt.Println("ERROR:", err)
		}
	}

	_, err = tx.Exec(fmt.Sprintf("SELECT drop_graph('%s', true);", graphName))
	if err != nil {
		panic(err)
	}
}

What is the necessary configuration info needed?

N/A

What is the command that caused the error?
Snippet from the above short program:
		q := fmt.Sprintf("MATCH (a:A) WHERE ID(a)=%d WITH a OPTIONAL MATCH (a)-[:incs]->(c)-[d:incs]-() WITH a,c,COUNT(d) AS deps WHERE deps<=1 RETURN c,deps", aid)

		cursor, err = age.ExecCypher(tx, graphName, 2, q)

Expected behavior
Running the equivalent cypher queries in redisgraph gives two results: each vertex labelled "C" and the value 1 for each 'deps'.
Environment (please complete the following information):

Version: 1.0.0

Additional context
N/A

Closing; as I realised after simplifying the match query that I needed to commit the transaction before I could expect a result in this sample.


Allow access to raw ISO interconnection queue data?

Hi! I work with @TrentonBush and @bendnorman at Catalyst Cooperative.
Overview
As mentioned in #76 and #290, there are still some interesting questions about the different ways different ISOs report this data. At Catalyst, we'd like to access the raw data directly, to help understand and answer some of those questions.
Rough Plan
I think we could do this by adding an ISOBase.get_raw_interconnection_queue() -> BinaryIO method to ISOBase, along with its subclasses. We'd then consume the output of this in the various get_interconnection_queue() methods.
I know, adding to the public API is risky, because that makes promises to all future users. But, if we want to allow people to access the raw data directly, then that behavior must be exposed somehow...
We're already splitting out the raw data extraction in some of the ISO classes, sort of.
For example, in ISONE.get_interconnection_queue() we already call ISONE._extract_interconnection_queue(), which mostly handles all the junk required to get a relevant blob of HTML into memory. It also handles transforming that into a Pandas dataframe at all, before passing control back to the caller which does further transformations on the data.
And in ERCOT.get_interconnection_queue() we call ._get_document(), which handles much of the complicated aspects of the extraction process. We handle the rest of the process in the body of get_interconnection_queue itself.
For most of the other ISOs, this get_raw_interconnection_queue() would be a very simple method that just runs a GET request.
Side benefit
This sets us up to split out the logic a little bit more in the future, so that the get_interconnection_queue() logic looks something like:
def get_interconnection_queue(self):
    raw_data = self.get_raw_interconnection_queue()
    input_dataframe = pd.read_excel(raw_data, ...)
    cleaned_dataframe = self.transform_interconnection_queue(input_dataframe)
    return cleaned_dataframe

Which would allow us to write tests on each ISO's .transform_interconnection_queue() methods without having to hit various external APIs - if we so choose.
Questions
I think the big question is, do you want to allow people to use GridStatus to access the raw interconnection queue data?
If you think that's a worthwhile goal, what do you think of the plan above? What will go wrong / be hard to maintain? Are you OK with making this a public method?
I'm happy to put in a PR if that seems like the right next step.

i think access to raw interconnection queue data is great idea. I originally went into things wanting to standardize it, but eventually realized how difficult that is.
i would support this proposed.
thanks!

the only suggestion I have is I think the pseduo code could just be
def get_interconnection_queue(self):
    raw_data = self.get_raw_interconnection_queue()
    cleaned_dataframe = self._transform_interconnection_queue(raw_data)
    return cleaned_dataframe

Hi @kmax12, thanks for the quick response! I can start working on this now.
In terms of the pseudocode for the future of get_interconnection_queue - I think your version is shorter! But it does make it harder to unit test the transform logic, if that's something we'd like to do. In either case, I think that refactor is out of scope for this issue 😉

ahh, i missed that you wanted to get_raw_interconnection_queue() to return BinaryIO. i think it would make sense for that to return a minimal processed version of the the interconnection queue into a pandas dataframe. that would make that function call more useful to people that to use it directly
within get_raw_interconnection_queue() we could still implement separate functions to make it easier to unit test

i think it would make sense for that to return a minimal processed version of the the interconnection queue into a pandas dataframe. that would make that function call more useful to people that to use it directly

I can see why that may be useful, but it is not quite compatible with our motivation behind the refactor. Our motivation for the BinaryIO output is to enable archiving of raw data so that future code changes can be applied to the full set of historical data.
For example, some raw ISO queues are Excel files with multiple sheets, only one of which is currently processed by GridStatus. If we only archive a minimally transformed dataframe, those other sheets are lost even if future transformation code is capable of processing them. This is not just hypothetical for us: we likely want to expand the scope of some transformation functions to include other sheets containing withdrawn or completed projects.
Sorry to parachute in with these issues and PRs before getting aligned on the end product -- I didn't quite appreciate the scope until we had done some of the work. Are you available to discuss the compatibility of our respective visions for ISO queue access? Happy to discuss on GH or video call.


IndexSizeError: Index or size is negative or greater than the allowed amount (Firefox)

Works just fine on Chrome but in Firefox I got this error.
import React, { useState, useEffect, useCallback, useRef } from 'react';
import ReactCrop from 'react-image-crop';
import 'react-image-crop/dist/ReactCrop.css';
import { Typography } from '@material-ui/core';
import { Row, Col } from 'reactstrap';
import Modal from 'react-bootstrap/Modal';

function getResizedCanvas(canvas, newWidth, newHeight) {
    const tmpCanvas = document.createElement('canvas');
    tmpCanvas.width = newWidth;
    tmpCanvas.height = newHeight;

    const ctx = tmpCanvas.getContext('2d');

    ctx.drawImage(
        canvas,
        0,
        0,
        canvas.width,
        canvas.height,
        0,
        0,
        newWidth,
        newHeight
    );

    return tmpCanvas;
}

function generateDownload(previewCanvas, crop) {
    if (!crop || !previewCanvas) {
        return;
    }

    const dpr = window.devicePixelRatio || 1;
    const canvas =
        dpr !== 1
            ? getResizedCanvas(previewCanvas, crop.width, crop.height)
            : previewCanvas;

    canvas.toBlob(
        (blob) => {
            const previewUrl = window.URL.createObjectURL(blob);

            const anchor = document.createElement('a');
            anchor.download = 'cropPreview.png';
            anchor.href = URL.createObjectURL(blob);
            anchor.click();

            window.URL.revokeObjectURL(previewUrl);
        },
        'image/png',
        1
    );
}

export default function CropImageModal(props) {
    const { src, setImage, setImagePreview, isOpen, setIsOpen } = props;
    // const [upImg, setUpImg] = useState();
    const imgRef = useRef(null);
    const previewCanvasRef = useRef(null);
    const [previewUrl, setPreviewUrl] = useState(null);
    const [crop, setCrop] = useState({ aspect: 1 / 1 });
    const [completedCrop, setCompletedCrop] = useState(null);

    const handleCloseModal = () => {
        setIsOpen(false);
    };

    useEffect(() => {
        function createImageURL() {
            if (src) setPreviewUrl(URL?.createObjectURL(src));
            console.log(previewUrl);
        }
        createImageURL();
    }, [src]);

    const onLoad = useCallback((img) => {
        imgRef.current = img;
    }, []);

    useEffect(() => {
        if (!completedCrop || !previewCanvasRef.current || !imgRef.current) {
            return;
        }

        const image = imgRef.current;
        const canvas = previewCanvasRef.current;
        const crop = completedCrop;
        const dpr = window.devicePixelRatio || 1;

        const scaleX = image.naturalWidth / image.width;
        const scaleY = image.naturalHeight / image.height;
        const ctx = canvas.getContext('2d');

        ctx.drawImage(
            image,
            crop.x * scaleX,
            crop.y * scaleY,
            crop.width * scaleX,
            crop.height * scaleY,
            0,
            0,
            crop.width * dpr,
            crop.height * dpr
        );
    }, [completedCrop]);

    return (
        <Modal
            show={isOpen}
            onHide={handleCloseModal}
            size="md"
            aria-labelledby="contained-modal-title-vcenter"
        >
            <Modal.Body>
                <Row
                    style={{
                        textAlign: 'center',
                        justifyContent: 'center',
                    }}
                >
                    <ReactCrop
                        src={previewUrl}
                        onImageLoaded={onLoad}
                        crop={crop}
                        onChange={(c) => setCrop(c)}
                        onComplete={(c) => setCompletedCrop(c)}
                    />
                    <div>
                        <canvas
                            ref={previewCanvasRef}
                            style={{
                                width: completedCrop?.width ?? 0,
                                height: completedCrop?.height ?? 0,
                            }}
                        />
                    </div>
                    <button
                        type="button"
                        disabled={
                            !completedCrop?.width || !completedCrop?.height
                        }
                        onClick={() =>
                            generateDownload(
                                previewCanvasRef.current,
                                completedCrop
                            )
                        }
                    >
                        Download cropped image
                    </button>
                </Row>
            </Modal.Body>
        </Modal>
    );
}

Hi I just updated the hook example today but it works for me in FF. At what point and what line of code do you get the error, and what's the error trace?

I've tried comment the  that return the PreviewCanvas and the error stopped.

I need to see what line the error is on, it's on index.js line 104. In your console find the error trace and click on the top line

Mate, thanks very much for your attention and for this package. I have took your new example from Hooks, redid my changes and now it's working fine.

Thanks glad to hear!
On Fri, 5 Jun 2020 at 21:01, Jander Silva<EMAIL_ADDRESS>wrote:

Closed #363 https://github.com/DominicTobias/react-image-crop/issues/363
.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/DominicTobias/react-image-crop/issues/363#event-3411196546,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFZT6UXHXFSI2BXMXX5DFLRVDUBPANCNFSM4NTPJ4IA
.

Hello again! I'm still facing this issue on Firefox, and testing your hook example shows up the same error.
It happens when I click outside of the crop area
I've tried make a video to show how the error happens, but my computer isn't collaborating today.

Hi, you're right, this happens when trying to draw something on to a 0x0 canvas, well the crop values are also zero except for the X+Y but Firefox doesn't like it.
Fixed in the demo, you can fix it by wrapping the drawing function in a conditional:
if (canvas.width && canvas.height) {
      ctx.drawImage(
        image,
        crop.x * scaleX,
        crop.y * scaleY,
        crop.width * scaleX,
        crop.height * scaleY,
        0,
        0,
        crop.width * dpr,
        crop.height * dpr
      );
    }

Problem solved, you are awesome. Thanks for the attention again!!


Limitations in step state size means we need an extra fan-out stage

The output of the 'find fingerprints' stage (in check) outputs a list of all the fingerprint files ready for distribution to lambdas.
HOWEVER, AWS steps has a total size limit for state information - and once we get to a certain number of files this limit is reached. That number is in the thousands.
We really need an extra fan-out step that divides up the fingerprint file list in N buckets - so that we could then theoretically handles 10,000-100,000 fingerprints

This is going to be solved by the use of the new Distributed Map functionality of Steps
(literally designed by AWS for this use case)

This is now fixed


Bug with AI model service not starting

Issue:

It's been identified:
The issue was that Ultralytics released a new version of YOLO5 model that requires the installation of a new package and a fix in the code so it's not overwriting the opencv version for environments without graphics interface.. anyways, we believe we fixed it, so we'll put the image it in Docker Hub as soon as possible so it works in AKS, too.

It's fixed now in the AI model Image at Docker Hub.

Bug fixed, code updated for v0.1 and Images updated in DOCKER HUB so it also works properly in AKS/K8s. :)
Closing the issue unless anyone says something is still not working.. we'll re-open in that case.


Subliminal -- redirecting output to file

Subliminal is working fine (many, many thanks Diaoul), but I'm seeing some strange phenomenon...
When I try to re-direct the output to a log file is gives an error:

#> subliminal download -l en /share/Download/TV\ Series/Homeland/Homeland.S05E10.720p.HDTV.x264-0SEC.mkv
Collecting videos  [####################################]  100%  /share/DownloadCollecting videos  [####################################]  100%
1 video collected / 0 video ignored / 0 error
Downloading subtitles  [####################################]  100%  Homeland.S0Downloading subtitles  [####################################]  100%
Downloaded 1 subtitle

#> subliminal download -l en /share/Download/TV\ Series/Homeland/Homeland.S05E10.720p.HDTV.x264-0SEC.mkv >> subliminal.log
Traceback (most recent call last):
File "/share/CACHEDEV1_DATA/.qpkg/Python/bin/subliminal", line 11, in
sys.exit(subliminal())
File "/share/CACHEDEV1_DATA/.qpkg/Python/lib/python2.7/site-packages/click/core.py", line 716, in call
return self.main(*args, **kwargs)
File "/share/CACHEDEV1_DATA/.qpkg/Python/lib/python2.7/site-packages/click/core.py", line 696, in main
rv = self.invoke(ctx)
File "/share/CACHEDEV1_DATA/.qpkg/Python/lib/python2.7/site-packages/click/core.py", line 1060, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/share/CACHEDEV1_DATA/.qpkg/Python/lib/python2.7/site-packages/click/core.py", line 889, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/share/CACHEDEV1_DATA/.qpkg/Python/lib/python2.7/site-packages/click/core.py", line 534, in invoke
return callback(*args, **kwargs)
File "/share/CACHEDEV1_DATA/.qpkg/Python/lib/python2.7/site-packages/click/decorators.py", line 27, in new_func
return f(get_current_context().obj, *args, **kwargs)
File "/share/CACHEDEV1_DATA/.qpkg/Python/lib/python2.7/site-packages/subliminal/cli.py", line 190, in download
with click.progressbar(path, label='Collecting videos', item_show_func=lambda p: p or '') as bar:
File "/share/CACHEDEV1_DATA/.qpkg/Python/lib/python2.7/site-packages/click/_termui_impl.py", line 94, in enter
self.render_progress()
File "/share/CACHEDEV1_DATA/.qpkg/Python/lib/python2.7/site-packages/click/_termui_impl.py", line 222, in render_progress
buf.append(' ' * (clear_width - line_len))
UnboundLocalError: local variable 'line_len' referenced before assignment

I'm using subliminal version 1.0.1 installed through pip.
What could be the problem?
I used subliminal 0.7, 0.8 and I redirected the output to a log file without any issues...
Thanks

Seems like there is an issue with click. Can you provide a pip freeze?

Sure thing:
> pip freeze
aniso8601==1.1.0
APScheduler==3.0.4
babelfish==0.5.5
beautifulsoup4==4.3.2
boto==2.38.0
chardet==2.3.0
CherryPy==3.8.0
click==6.1
cssmin==0.2.0
Cython==0.22
dogpile.cache==0.5.7
dogpile.core==0.4.1
enum34==1.0.4
enzyme==0.4.1
feedparser==5.2.1
Flask==0.10.1
Flask-Assets==0.11
Flask-Compress==1.3.0
Flask-Login==0.3.2
Flask-RESTful==0.3.4
flask-restplus==0.7.2
FlexGet==1.2.395
functools32==3.2.3.post2
futures==3.0.3
guessit==0.10.3
html5lib==0.9999999
itsdangerous==0.24
Jinja2==2.8
jsonschema==2.5.1
lxml==3.5.dev0
MarkupSafe==0.23
ordereddict==1.1
path.py==8.1.2
pathlib==1.0.1
pbr==1.8.1
plumbum==1.6.0
progressbar==2.3
pynzb==0.1.0
pyparsing==2.0.6
PyRSS2Gen==1.1
pyScss==1.3.4
pysrt==1.0.1
python-dateutil==2.4.2
pytvmaze==1.3.4
pytz==2015.7
PyYAML==3.11
requests==2.8.1
rpyc==3.3.0
six==1.10.0
SQLAlchemy==1.0.9
stevedore==1.9.0
subliminal==1.0.1
tmdb3==0.7.2
transmissionrpc==0.11
tvdb-api==1.10
tvnamer==2.3
tzlocal==1.2
webassets==0.11.1
Werkzeug==0.11.2

Maybe something is interfering?
Should I use virtualenv?

Try another click version maybe? The error seems to come from there.

solved by installing click==4.0
thank you very much, Diaoul

Well... still having problems and I can't figure out why...
I solved the problem with the output to file, no worries there...
But running subliminal from cron with output to file it's not working. Other jobs run perfectly, but not subliminal.
I have a subliminal.sh script  and If I run from command line I get the following output in the log (as well as on console if I don't redirect the output):
Searching for subtitles for video files in /share/Download/TV Series/
Collecting videos  [####################################]  100%
1 video collected / 97 videos ignored / 0 error
Downloading subtitles  [####################################]  100%  The.Walking.Dead.S06E00.Next.Chapter.Downloading subtitles  [####################################]  100%
0 subtitle downloaded for The.Walking.Dead.S06E00.Next.Chapter.Prologue.720p.HDTV.x264-BATV.mkv

EXACTLY the same command ran through cron gives the following output:
Searching for subtitles for video files in /share/Download/TV Series/
Collecting videos
Collecting videos
0 video collected / 0 video ignored / 0 error
*********************************************************************

It seems that it cannot find any movies in that path...
I invoke subliminal with the following command:
subliminal --cache-dir /share/scripts/subliminal/ --addic7ed ******** ******** download --verbose --single --language ro --language en --provider addic7ed --provider opensubtitles --hearing-impaired "/share/Download/TV Series/" >> /share/scripts/subliminal/subliminal.log

Cron doesn't define the needed environment variables python AFAIK. Try setting your locale.

I crontab file I have the following:
SHELL=/bin/sh
LANG=en_US.UTF-8
LANGUAGE=en
LC_CTYPE=en_US.UTF-8

Still not working.
In my sh script I hvae full patch so there is not a problem of path...
WTF?!

Add debug logging.

OK, I have to apologize...
How the hell didn't I think of the --debug switch???
Running with --debug was pretty clear and a Google search reveal the solution...
I had:
ERROR:subliminal.video:Skipping badly encoded directory

As stated in issue #422 it was enough to add the following line in my script:
export PYTHONIOENCODING=utf8

This really has to be on the wiki/faq/examples/etc.
Diaoul, once again thank you and apologies... I should've tried harder before posting...

The docs are lacking. I see you're using subliminal as a cronjob, I'd appreciate if you can help with #483 about cron jobs with a PR. Here would be the right place I think.


[ACM-9339] Added cluster_mgmt api to discovery controller

Description
Re adding the cluster_mgmt API to the discovery controller.
Related Issue
https://issues.redhat.com/browse/ACM-9339
Changes Made
Re added cluster_mgmt API usage back into the discovery controller.
Screenshots (if applicable)
Add screenshots or GIFs that demonstrate the changes visually, if relevant.
Checklist

[ ] I have tested the changes locally and they are functioning as expected.
[ ] I have updated the documentation (if necessary) to reflect the changes.
[ ] I have added/updated relevant unit tests (if applicable).
[ ] I have ensured that my code follows the project's coding standards.
[ ] I have checked for any potential security issues and addressed them.
[ ] I have added necessary comments to the code, especially in complex or unclear sections.
[ ] I have rebased my branch on top of the latest main/master branch.

Additional Notes
Add any additional notes, context, or information that might be helpful for reviewers.
Reviewers
Tag the appropriate reviewers who should review this pull request. To add reviewers, please add the following line: /cc @reviewer1 @reviewer2
Definition of Done

[ ] Code is reviewed.
[ ] Code is tested.
[ ] Documentation is updated.
[ ] All checks and tests pass.
[ ] Approved by at least one reviewer.
[ ] Merged into the main/master branch.

/hold

/retest

/cc @cameronmwall @ngraham20


[hotfix][tidb] fix RowKind.INSERT judgement condition

RowKind.INSERT is decided via if (row.getOldValue() == null) in RowDataTiKVChangeEventDeserializationSchema:84.
But when performing INSERT statements in TiDB, it produced a Row record with NOT NULL return value from  row.getOldValue() but Internal.EMPTY_BYTE_ARRAY(a String[0] array) return value from row.getOldValue().toByteArray(), which will produce wrong RowKind (expect INSERT but actual UPDATE_AFTER) of the emitted RowData.
Hence it should add a length judgement condition for INSERT.

CC @leonardBang

@rinkako  I had run e2e test on my local machine,it passed.


Couldn't find CommonCrypto.h file

Check List

[✓] I have read the wiki page and cheat sheet, but there is no information I need.
[✓] I have searched in existing issues, but did not find a same one.
[✓] I want to reoprt a problem instead of asking a question. It'd better to use kingfisher tag in Stack Overflow to ask a question.

Issue Description
As I have many versions of Xcode, I always rename the xcode.app bundle like (xcode-9.2.app). Since CommonCrypto.h files' paths are hardcoded in module.modulemap files, the error Couldn't find CommonCrypto.h file arises.
Reproduce
Rename the xcode.app bundle and build the project containing Kingfisher.

Hi,
The CommonCrypto.h should not be needed in the latest version 4.6.1. Could you try to upgrade to the latest version?


Added some rustfmt options

Travis, what are you doing?

Nice! Really like the import ordering. Wonder if it can do the same for the whole lines, so they are always alphabethic or similar (imports are a mess throughout the codebase).


S3Control.ListJobs request query parameter encodes incorrectly

Describe the bug
S3Control.ListJobs request encodes an array of job statuses into a query parameter. We currently don't support this. Best solution is probably to write a middleware to support this as this is the one case in all the services that requires this.
Expected behavior
S3Control.ListJobsRequest.jobStatuses should encode as separate jobStatuses queries
eg jobStatuses=Active&jobStatuses=Cancelled

fixed


Portainer no longer showing Containers under the container Tab

Hello everyone,
if I visit the container tab in my stack, the tab is empty and doesn't display anything.

I can access the containers though if I do a workaround where I:

go to the network tab
pick the network the containers reside in
scroll down to the containers in network list.

If I pick a container there, I have the full control over it and am able to delete or restart them etc.
Sadly, the logs do not show any errors.
I'm running Portainer-CE 2.15.1 on Docker.
Any help would be greatly appreciated.

@strgalt-t
Can you open in your browser the Web Developer Tools >> Network and attach that screenshot for review?  Can you expand any errors you find?  You may also need to refresh the browser, remove cookies and browser data.  Can you try opening in a private or incognito window?
Thanks!


Failed at the<EMAIL_ADDRESS>install script 'node-pre-gyp install --fallback-to-build'.

Hi akmike,
An error have been happened whenever I try to set up gekko.
It is shown at the final page in the attached pdf
Error.pdf
The error is"Failed at the<EMAIL_ADDRESS>install script 'node-pre-gyp install --fallback-to-build'."
The error repeated on two different PCs, So I don't know is the problem in my following to the instillation steps or what.
Thanks

Very strange, judging by your logs it appears you are installing on a windows computer. Can you let me know the windows versions?

This was my solution,
npm install sqlite3 --unsafe-perm

windows 10

@EslamAwwad can you try proposed fix by @netcoding? I don't have access to a windows machine right now.

I tried "npm install<EMAIL_ADDRESS>and it wors
thanks guys

great :)


Error installing Cairo on M1 chip (gmp.h)

As you can see, when I try to compile the cairo file, it show with these error. I tried to search on Google but can't find with any ideas. I think it's out of my knowledge, anyone know how to solve this? Thank you.

Could you provide some cose to reproduce the issue?
On Sat, 16 Oct 2021 at 11:52 Howard Peng @.***> wrote:

[image: image]
https://user-images.githubusercontent.com/36764495/137592001-8af117e8-2d8d-44c3-b500-d00da7e26aec.png
As you can see, when I try to compile the cairo file, it show with these
error. I tried to search on Google but can't find with any ideas. I think
it's out of my knowledge, anyone know how to solve this? Thank you.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/martriay/nile/issues/22, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAM77F2EOZXSCFEGAHT6CJDUHGGT3ANCNFSM5GDXBKGQ
.

This seems to be an issue with the Cairo programming language on apple's M1 computers. I read on the Cairo discord that you were able to solve it. Leaving a few success stories taken from the Cairo discord server for anybody stumbling upon this very problem:
1. @guiltygyoza

Replying to myself for a working solution for M1-chip machine, the key to which is to install the x86 homebrew and use that to install & link gmp

Duplicate the terminal app and name it something else e.g. terminal_rosetta; set it to Open using Rosetta . Reference: https://medium.com/swlh/run-x86-terminal-apps-like-homebrew-on-your-new-m1-mac-73bdc9b0f343
In terminal_rosetta, open a virtual environment running python 3.7
Install the x86 homebrew by running arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" . It will get installed in /usr/local/
Use the x86 brew to install gmp by running /usr/local/bin/brew install gmp
Use the x86 brew to link gmp by running /usr/local/bin/brew link gmp
Follow the rest of the quickstart tutorial at https://www.cairo-lang.org/docs/quickstart.html

2. @milancermak

in case anyone else runs into this error fatal error: 'gmp.h' file not found when installing the necessary Cairo packages on a M1 Mac, after brew install gmp, try this:
CFLAGS=-I/opt/homebrew/opt/gmp/include LDFLAGS=-L/opt/homebrew/opt/gmp/lib pip install ecdsa fastecdsa sympy

3. @howardpen9

The python library fastecdsa has the issued in new MacOS or M1 chips I think!! You can't install the latest version. I reinstall the each version until the  fastecdsa==1.7.5 to run the code successfully! Finally!

4. myself!
None of the above worked for me :(
So I ended up spinning up a docker instance with ubuntu and installed Cairo in it.

To make mine more generic, try:
CFLAGS=-I`brew --prefix gmp`/include LDFLAGS=-L`brew --prefix gmp`/lib pip install ecdsa fastecdsa sympy

Edited!

I would suggest pinning this issue @martriay

Done

@milancermak trick fixed it for me.
probably worth editing https://www.cairo-lang.org/docs/quickstart.html#quickstart

I tried the @milancermak solution, but on my macOS BigSur on M1, pip is not found, while pip3 is.
So modifying Milan's command to the following, I was then able to pip3 install cairo-lang successfully.
CFLAGS=-I`brew --prefix gmp`/include LDFLAGS=-L`brew --prefix gmp`/lib pip3 install ecdsa fastecdsa sympy

To make mine more generic, try:
CFLAGS=-I`brew --prefix gmp`/include LDFLAGS=-L`brew --prefix gmp`/lib pip install ecdsa fastecdsa sympy

Worked for me! Appreciate it.

I noticed that you are using python3.8, try setting up your virtual env in python3.7, I am using macOS Monterey (12.2) on M1 Pro and everything works perfectly while I'm using python3.7 as stated in the Cairo lang doc here.

Option 1 worked for me, thank you!

Got it to work using:

Pipenv (my preference) but normal venv should be fine
MacOS's Python 3.8
@milancermak 's Point 2
@howardpen9 's fastecdsa==1.7.5

fastecdsa==1.7.5

this works for me. thank you so much

some kind soul posted this and it works for me https://th0rgal.medium.com/the-easiest-way-to-setup-a-cairo-dev-environment-8f2a63610d46

CFLAGS=-Ibrew --prefix gmp/include LDFLAGS=-Lbrew --prefix gmp/lib pip3 install ecdsa fastecdsa sympy

Thanks, I've been trying to figure this out for days. This time it happened

To make mine more generic, try:
CFLAGS=-I`brew --prefix gmp`/include LDFLAGS=-L`brew --prefix gmp`/lib pip install ecdsa fastecdsa sympy

I'm using M1 chip, this works for me, thanks!

I am also using M1 Chip, the command below also works for me
CFLAGS=-I`brew --prefix gmp`/include LDFLAGS=-L`brew --prefix gmp`/lib pip install ecdsa fastecdsa sympy

compiling works for me, but not execution
getting the same error as this one here: https://github.com/AntonKueltz/fastecdsa/issues/74#issuecomment-979722516
probably will just spin up a docker container, but would love to know if execution works for any of you

I tried the @milancermak solution, but on my macOS Monterey (12.1) on M1, pip is not found, while pip3 is. So modifying Milan's command to the following, I was then able to pip3 install cairo-lang successfully.
CFLAGS=-I`brew --prefix gmp`/include LDFLAGS=-L`brew --prefix gmp`/lib pip3 install ecdsa fastecdsa sympy

Thx! This worked for me! I ran this command after completely removing python on machine (reinstalling python3.9).

To fix this error:
OSError: no library called "cairo-2" was found no library called "cairo" was found no library called "libcairo-2" was found cannot load library 'libcairo.so.2': dlopen(libcairo.so.2, 0x0002): tried: 'libcairo.so.2' (no such file), '/usr/local/lib/libcairo.so.2' (no such file), '/usr/lib/libcairo.so.2' (no such file), '/Users/soma/Development/mkdocs-material-insiders/libcairo.so.2' (no such file), '/usr/local/lib/libcairo.so.2' (no such file), '/usr/lib/libcairo.so.2' (no such file) cannot load library 'libcairo.2.dylib': dlopen(libcairo.2.dylib, 0x0002): tried: 'libcairo.2.dylib' (no such file), '/usr/local/lib/libcairo.2.dylib' (no such file), '/usr/lib/libcairo.2.dylib' (no such file), '/Users/soma/Development/mkdocs-material-insiders/libcairo.2.dylib' (no such file), '/usr/local/lib/libcairo.2.dylib' (no such file), '/usr/lib/libcairo.2.dylib' (no such file) cannot load library 'libcairo-2.dll': dlopen(libcairo-2.dll, 0x0002): tried: 'libcairo-2.dll' (no such file), '/usr/local/lib/libcairo-2.dll' (no such file), '/usr/lib/libcairo-2.dll' (no such file), '/Users/soma/Development/mkdocs-material-insiders/libcairo-2.dll' (no such file), '/usr/local/lib/libcairo-2.dll' (no such file), '/usr/lib/libcairo-2.dll' (no such file)
run this command:
ln -s /opt/homebrew/lib/libcairo.2.dylib .


Allow elements to be passed into ListItem centerElement shape

Allow elements to be passed as primaryText, secondaryText, and tertiaryText. Particular use case is the react-intl library, which outputs a wrapping <Text> element when using FormattedMessage

Codecov Report

Merging #116 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #116   +/-   ##
=======================================
  Coverage   79.46%   79.46%
=======================================
  Files          16       16
  Lines         716      716
  Branches       99       99
=======================================
  Hits          569      569
  Misses        147      147

Continue to review full report at Codecov.

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

If we're accepting elements in the prop, should the property be named primaryElement? Or maybe we should accept both for now and remove primaryText in a later release.

Hi @RobertSheaO, are we really need it?
You can use:
centerElement={<WhateverYouWantElement />}

Or particularly for react-intl:
import { formatMessage } from 'react-intl'

....

centerElement={{
    primaryText: formatMessage({ id: 'key-to-message' })
}}

I'll close this one since I think we don't need it - see comment before


[textanalytics] quota limit exceeded behavior

Customer reported on the "I ran into an issue" button that they were seeing hanging with the sentiment API when they exceeded the 5000 calls/month quota. It's likely that the service is sending a 429 and we're trying to retry on that. We should inject a custom policy that instead throws an exception in this case.

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'Event Hubs:0.20153065,Cognitive - Text Analytics:0.09220232,Service Bus:0.067519926'

Error message:
{"error": {"code": "403", "message": "Out of call volume quota for TextAnalytics F0 pricing tier. Please retry after 15 days. To increase your call volume switch to a paid tier."}}

We don't normally retry on a 403, but since a Retry-After is included in the headers we do. This is problematic because the Retry-After is set for 15 days (in seconds).


Unit Testing - Retrieve response from routed payload

I tried to set up unit tests for my charger similar how you do it in tests folder.
I have fixture called charger as:
@pytest.fixture
def charger(connection):

    cs = Charger(
        id=1234,
        connection=connection,
    )

    cs._unique_id_generator = lambda: 1337

    return cs

I'm writing some unit tests like this:
@pytest.mark.asyncio
async def test_on_heartbeat_notification(charger):

    unique_id = str(uuid.uuid4())
    payload = HeartbeatPayload()
    heartbeat_call = Call(unique_id=unique_id, action="Heartbeat", payload=payload)

    await charger.route_message(heartbeat_call.to_json())

    # How to retrieve result ?
    print(charger._connection.send.return_value())

    charger._connection.send.assert_awaited_once()
    charger._connection.send.assert_called_once_with(
        CallResult(unique_id, asdict(payload)).to_json()
    )

I have a problem where I would like to wait for response from let's say on_heartbeat and do something with it. I find it slightly unproductive  to create JSONs in assert_called_once_with.
Something like:
response = await charger.route_message(heartbeat_call.to_json())

assert len(response) == 4
assert type(response) == list
...

Can you point me to some documentation or provide a way how to retrieve response once when payload is routed ?
Thank you.

I found a way to test a handlers, not whole chargers like this:
import pytest
from dataclasses import asdict
from ocpp.v16 import call, call_result

@pytest.fixture
def heartbeat_handler(charger):
    on_heartbeat = charger.route_map["Heartbeat"].get("_on_action")
    return on_heartbeat

@pytest.mark.django_db
def test_on_heartbeat_notification(heartbeat_handler):

    # GIVEN empty HeartBeat payload
    payload = asdict(call.HeartbeatPayload())

    # WHEN charger receives HeartBeat notification
    response = asdict(heartbeat_handler(**payload))

    # THEN charger must respond with current time
    result = call_result.HeartbeatPayload.__annotations__

    assert result.keys() == response.keys()

This way, I'm only testing the handler/method (fixture retrieves charger method) which deals with receiving payload and returning response back.
I will use other tests to test somehow websocket.serve handler.


Retweet for "Simple Subroutines" EIP.

Why is this relevant to be tweeted by @ETC_Network ?

I should write a blog post about this at some stage, but for now the tweet just gets this on ETC people's radar.

So ETC should be helping with these proposals.


Missing documentation on setting timezone

Spent a good part of 4 hours chasing the timezone settings.
After reviewing TZ = Pacific/Auckland
I finally found the answer in laravel.ini which was not on my radar as i'm using symfony.
How would you feel about the following pull request https://github.com/laradock/laradock/pull/826

Thanks for pointing out the Laravel.ini!


fix: Fixed url for wrappers in generated README (terraform_wrapper_module_for_each)

Fixes https://github.com/terraform-aws-modules/terraform-aws-acm/pull/115

This PR is included in version 1.74.2 :tada:


FancyZone hotkeys with maximized windows

Environment
Windows build number: Microsoft Windows [Version 10.0.19041.264]
PowerToys version: v0.18.1
PowerToy module for which you are reporting the bug (if applicable): FancyZones

Steps to reproduce / Actual behavior

deselect "Override Windows Snap hotkeys"
"snap" a window from maximized to left/right to max again, end in "maxed"

select "Override Windows Snap hotkeys"
"snap" the same window from max, one cannot go left/right in the same way, one must first Win-Down to unmaximize it, then one can shift between zones

(top row keypresses are effectively no-ops)
Expected behavior
To more closely mimic the behavior of normal (non-FancyZones) windows snap hotkeys, I expect them to be able to cycle out of maximized explicitly. When the FancyZones snap hotkey Win-Left is called on a maximized window, there is no ambiguity on what the user is trying to do.

(This is a 'tweener between bug and feature-request: while it isn't crashing, its behavior to mimic basic windows hotkey snap behavior is incomplete/different, seemingly unnecessarily.)

I think, this is a duplicate of https://github.com/microsoft/PowerToys/issues/2068, which was fixed with v19.0

Thanks, it might be. Neither this issue nor #2068 are listed in the release notes for v0.19.0, I'll download and see if it's really in there.

v0.19.0 allows for Win-Left and such to bring a window out of its maximized mode into one of the zones.
I realize that because of the "arbitrary" nature of possible zone layouts, my assumption that Win-Left would go from maximized to "that zone" in the left portion of my screen is presumptuous ... there could easily be a layout where "go to the left zone" is ambiguous. (As such, I haven't figured out the pattern of which zone will be used first. shrug)
Thanks all!


Allow custom rendering of oAuth issues

Changes proposed in this pull request:

Raises an exception in the oAuth security provider instead of returning a flask response

This allows easier overriding of the oAuth security failures because you add your own error handler to customise the response (if you choose not to use the 'application/json+problem' return type):
def render_unauthorized(exception):
    return Response(response=json.dumps({'error_description': 'Test String', 'error': 'test_error'}), status=401, mimetype="application/json")

app = connexion.App(__name__, specification_dir='./../swagger/', debug=debug, swagger_ui=False)
app = app.add_error_handler(401, render_unauthorized)

The current messages will continue to be returned in a b/c way because the current default exception handlers find the exceptions now being thrown and format them in the same way as of present.

Coverage remained the same at 100.0% when pulling 63e5f6dd8ccfbd32c43a24fae3ee0a5bc6a2bfec on wilsonge:hotfix/oauth-exceptions into 2ef0757a175b80c674e6d9e8f0647bd77b3bfba0 on zalando:master.

Coverage remained the same at 100.0% when pulling 63e5f6dd8ccfbd32c43a24fae3ee0a5bc6a2bfec on wilsonge:hotfix/oauth-exceptions into 2ef0757a175b80c674e6d9e8f0647bd77b3bfba0 on zalando:master.

Coverage remained the same at 100.0% when pulling 63e5f6dd8ccfbd32c43a24fae3ee0a5bc6a2bfec on wilsonge:hotfix/oauth-exceptions into 2ef0757a175b80c674e6d9e8f0647bd77b3bfba0 on zalando:master.

Thanks for the PR --- we'll have to check it...

Awesome! Let me know if you have any questions/issues :)

@wilsonge Thank you for the PR! Sounds good, but the way it is now will break all existing applications using Connexion. We need to have a way to support the current behaviour (returning 401/403 problem) if I do not configure my own error handler.

You do keep full b/c on the responses because you guys have error handlers via https://github.com/zalando/connexion/blob/master/connexion/app.py#L66
So as far as I know this doesn't break all apps

@wilsonge You are right, sorry, sleepy morning. Indeed it shouldn't break anything.

👍

@hjacobs BTW, on a slightly related note I strongly believe we should have something like connexion.Problem as an exception.

Opened a new issue for what I just mentined #366

Thank you 🙇


[Feature Request] Automatically add an environment variable on Windows for the latest editor installed.

Feature Request
It would be nice to have the latest editor version downloaded with Godots to be added to windows path environment variables, the reason is so it's easier for stuff to find the executable without having to manually input the path.


Looking for new maintainers

I don't really use this gem myself anymore so I can't properly maintain it. Asking here if someone is interested to take the ownership of the GitHub repo and the gem.

Hi @vicentllongo,
I'm Kevin and we use this gem at our company. I actually came across this issue because #12 broke some of our tests, so I have created the following fix PRs: #16, #18.
It's a simple and useful gem, and I would be more than happy to take over maintaining it. I've done some other OSS work in the past, and would be interested in contributing more.

Hello guys, I'd like too.
I have also tried to keep this gem in my projects and in my company. I wish I could contribute to her evolution.

Hi @kevjin and @marcelotoledo5000. If you are still interested to become a maintainer, send me a DM in Twitter, my handle is "@villosil"


Casing decision

Made a decision about how names should look.
Block and elements have no casing guidance so the convention becomes more subjective.

Fixes #302
I feel like I should mention that I read through #94 but there wasn't a strong consensus either way


Deleting a RabbitMQ Source should delete the queue

Describe the bug
When a RabbitmqSource is deleted, the queue that it creates is left behind.
This was observed part of https://github.com/knative-sandbox/eventing-rabbitmq/pull/522#issuecomment-981820162
Expected behavior
When the RabbitmqSource is deleted, the queue should be deleted too, otherwise it will continue receiving messages:

To Reproduce
Deploy the sample added in https://github.com/knative-sandbox/eventing-rabbitmq/pull/522. Delete the RabbitmqSource with the following config and observe the queue remaining behind.
---
apiVersion: sources.knative.dev/v1alpha1
kind: RabbitmqSource
metadata:
  name: rabbitmq-source
  namespace: concurrent-dispatch
spec:
  brokers: "rabbitmq:5672/"
  topic: ""
  user:
    secretKeyRef:
      name: rabbitmq-default-user
      key: username
  password:
    secretKeyRef:
      name: rabbitmq-default-user
      key: password
  channel_config:
    prefetch_count: 10
    global_qos: false
  exchange_config:
    name: "eventing-rabbitmq-source"
    type: "fanout"
    durable: false
    auto_deleted: false
    internal: false
    nowait: false
  queue_config:
    name: "eventing-rabbitmq-source"
    routing_key: ""
    durable: false
    # TODO: should the queue be deleted when the source gets deleted?
    delete_when_unused: true
    exclusive: false
    nowait: false
  sink:
    ref:
      apiVersion: serving.knative.dev/v1
      kind: Service
      name: rabbitmq-source-sink
      namespace: concurrent-dispatch

Knative release version
Tested with v1.0.0, eventing-rabbitmq dev version (#522) all running on GKE v1.21.5.
Additional context
@gabo1208 shares the context.
It was observed that using the Exclusive flag results in the correct behaviour, so my suspicion is that this is a RabbitMQ issue.

I think the slight wrinkle is that the source accepts a pre-existing exchange and queue, so should presumably not delete either if it did not create them

Hmm, additional wrinkle is that the adapter itself creates the queue and exchange, so its not clear who should delete them and when

maybe we should error if a queue/exchange already exists and predeclared is false

Yes, definitely.

the adapter itself creates the queue and exchange via AMQP instead of the topology operator, so its not clear who should delete them and when

Considering that a Source could connect to any RabbitMQ, including one that is not running on K8s, using the topology operator feels forced and heavy-handed.
I suspect that RabbitMQ is not deleting the Queue when the last channel disconnects as expected when autoDelete=true. I don't know if this is an option or how difficult this would be, but the simplest & quickest solution that I can think of is adding a cleanup step when a source is delete that deletes the associated queue explicitly if predeclared: false.

This discussion may provide some clarity: https://github.com/rabbitmq/rabbitmq-server/discussions/3833
Just started it today, let's see what happens.

Related to  #6

Validate if it is a duplicate and close it as well


Use FetchEvent.waitUntil() for cache expiration logic

Right now, the logic for cache expiration (if enabled) is started asynchronously in the onfetch handler following the call to FetchEvent.respondWith().
This ensures that the controlled page gets the response without being blocked during the time it takes for the cache expiration logic to run. Unfortunately, there's the possibility that the browser will terminate the service worker before the cache expiration logic has a chance to complete.
This is not likely in the current Chrome implementation at least (which tends to keep the service worker running following a fetch event for at least a few seconds), but it would be ideal to specifically tell the service worker to stay alive while the cache expiration code runs.
https://github.com/slightlyoff/ServiceWorker/issues/584 tracks FetchEvent.waitUntil(), which looks like will make it to browsers at some point. Another related bug is https://github.com/slightlyoff/ServiceWorker/issues/679

I was thinking about this, and I'm just going to make some vague notes here for future reference.
It's better to run the clean up logic once for a batch of requests, rather than for each request separately. So rather than having a promise for the clean up passed to waitUntil, have a promise for a simple setTimeout of, say, 10 seconds, which then looks at a queue of pending tasks and resolves once they are all performed. Because waitUntil will keep the service worker alive we can keep the task list in memory rather than serializing to indexedDB, etc.
We then also keep a total of pending timeouts. If, when the timeout is over, there are more timeouts still pending then don't process the task queue at all. Only when we know that there may be no more opportunities do we process the queue, to keep the number of times the logic is run to a minimum.
Hmm, except that this might mean that it doesn't run for a very long time on a site that makes frequent requests, so maybe also look at the age of the oldest task in the queue and make sure they don't get to older than, say, 1 minute.
Once this is actually implemented in browsers we can check things like how long a waitUntil gets before being killed, what the real performance gains might be before implementing, I just didn't want to forget the idea.

All good points. For now, it's ¯\_(ツ)_/¯ and we'll have to see what the performance and reliability implications are of different approaches when the underlying waitUntil() is there.

See also: https://github.com/slightlyoff/ServiceWorker/issues/790

slightlyoff/ServiceWorker#584 tracks FetchEvent.waitUntil(), which looks like will make it to browsers at some point.

FWIW, FetchEvent.waitUntil() is in Chrome and will be in the first version of SW's shipped in Firefox release.
You just have to call it synchronously in the event handler at the moment.  This makes it a bit ugly to use, but doable.  Something like this:
https://github.com/wanderview/wanderview.github.com/blob/master/sw.js#L54

waitUntil in Chrome was fixed today, will presumably ship in 53.
Seems like it shipped in FF in 44.


Update /etc/issue

For local development/debugging, is very useful to get the IPv4 without login :
root@data:~# cat /etc/issue
Ubuntu 22.04.4 LTS \n \l
eth0: \4{eth0}

man agetty for more escape sequences.


Upgrade machinecontroller to v1.2.0

What this PR does / why we need it:
This PR brings proxy support for worker nodes
original PR: https://github.com/kubermatic/machine-controller/pull/559
* Proxy support for worker nodes

@xmudrii fixed.

/retest

/retest


Error compiling LLVM and clang with EXPERIMENTAL WASM support.

Hello:
I from https://github.com/EOSIO/eos to obtain the latest source code to the local, and then according to the automatic compilation command execution, as a result of the error, is this where I lack of configuration?
System: ubuntu 17.10.
Compilation mode: automatic compilation.
git clone https://github.com/eosio/eos --recursive
cd eos
./eosio_build.sh
Here is my compile log and error message:
ARCHITECTURE Linux
	OS name: Ubuntu
	OS Version: 17.10
	CPU speed: 2712Mhz
	CPU cores: 4
	Physical Memory:  Mgb
	Disk install: /dev/sda1
	Disk space total: 49G
	Disk space available: 38G
	Checking for installed dependencies.
	Package clang-4.0 found.
	Package lldb-4.0 found.
	Package libclang-4.0-dev found.
	Package cmake found.
	Package make found.
	Package libbz2-dev found.
	Package libssl-dev found.
	Package libgmp3-dev found.
	Package autotools-dev found.
	Package build-essential found.
	Package libbz2-dev found.
	Package libicu-dev found.
	Package python-dev found.
	Package autoconf found.
	Package libtool found.
	Package curl found.
	Package mongodb found.
	No required dpkg dependencies to install.
	Checking for boost libraries
	Boost 1.66 found at /home/alan/opt/boost_1_66_0
	Checking for MongoDB C++ driver.
	Mongo C++ driver found at /usr/local/lib/libmongocxx.so.
	Checking for secp256k1-zkp
	secp256k1 found
	Checking for LLVM with WASM support.
	Installing LLVM & WASM
-- The C compiler identification is GNU 7.2.0
-- The CXX compiler identification is GNU 7.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for dirent.h
-- Looking for dirent.h - found
-- Looking for dlfcn.h
-- Looking for dlfcn.h - found
-- Looking for errno.h
-- Looking for errno.h - found
-- Looking for execinfo.h
-- Looking for execinfo.h - found
-- Looking for fcntl.h
-- Looking for fcntl.h - found
-- Looking for inttypes.h
-- Looking for inttypes.h - found
-- Looking for link.h
-- Looking for link.h - found
-- Looking for malloc.h
-- Looking for malloc.h - found
-- Looking for malloc/malloc.h
-- Looking for malloc/malloc.h - not found
-- Looking for ndir.h
-- Looking for ndir.h - not found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for signal.h
-- Looking for signal.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for sys/dir.h
-- Looking for sys/dir.h - found
-- Looking for sys/ioctl.h
-- Looking for sys/ioctl.h - found
-- Looking for sys/mman.h
-- Looking for sys/mman.h - found
-- Looking for sys/ndir.h
-- Looking for sys/ndir.h - not found
-- Looking for sys/param.h
-- Looking for sys/param.h - found
-- Looking for sys/resource.h
-- Looking for sys/resource.h - found
-- Looking for sys/stat.h
-- Looking for sys/stat.h - found
-- Looking for sys/time.h
-- Looking for sys/time.h - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for sys/uio.h
-- Looking for sys/uio.h - found
-- Looking for termios.h
-- Looking for termios.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for valgrind/valgrind.h
-- Looking for valgrind/valgrind.h - not found
-- Looking for zlib.h
-- Looking for zlib.h - found
-- Looking for fenv.h
-- Looking for fenv.h - found
-- Looking for FE_ALL_EXCEPT
-- Looking for FE_ALL_EXCEPT - found
-- Looking for FE_INEXACT
-- Looking for FE_INEXACT - found
-- Looking for mach/mach.h
-- Looking for mach/mach.h - not found
-- Looking for histedit.h
-- Looking for histedit.h - not found
-- Looking for CrashReporterClient.h
-- Looking for CrashReporterClient.h - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Looking for pthread_getspecific in pthread
-- Looking for pthread_getspecific in pthread - found
-- Looking for pthread_rwlock_init in pthread
-- Looking for pthread_rwlock_init in pthread - found
-- Looking for pthread_mutex_lock in pthread
-- Looking for pthread_mutex_lock in pthread - found
-- Looking for dlopen in dl
-- Looking for dlopen in dl - found
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt - found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Looking for compress2 in z
-- Looking for compress2 in z - found
-- Looking for setupterm in tinfo
-- Looking for setupterm in tinfo - found
-- Looking for xar_open in xar
-- Looking for xar_open in xar - not found
-- Looking for arc4random
-- Looking for arc4random - not found
-- Looking for backtrace
-- Looking for backtrace - found
-- Looking for _Unwind_Backtrace
-- Looking for _Unwind_Backtrace - found
-- Looking for getpagesize
-- Looking for getpagesize - found
-- Looking for sysconf
-- Looking for sysconf - found
-- Looking for getrusage
-- Looking for getrusage - found
-- Looking for setrlimit
-- Looking for setrlimit - found
-- Looking for isatty
-- Looking for isatty - found
-- Looking for futimens
-- Looking for futimens - found
-- Looking for futimes
-- Looking for futimes - found
-- Looking for posix_fallocate
-- Looking for posix_fallocate - found
-- Looking for sigaltstack
-- Looking for sigaltstack - found
-- Looking for writev
-- Looking for writev - found
-- Looking for lseek64
-- Looking for lseek64 - found
-- Looking for mallctl
-- Looking for mallctl - not found
-- Looking for mallinfo
-- Looking for mallinfo - found
-- Looking for malloc_zone_statistics
-- Looking for malloc_zone_statistics - not found
-- Looking for mkdtemp
-- Looking for mkdtemp - found
-- Looking for mkstemp
-- Looking for mkstemp - found
-- Looking for mktemp
-- Looking for mktemp - found
-- Looking for getcwd
-- Looking for getcwd - found
-- Looking for gettimeofday
-- Looking for gettimeofday - found
-- Looking for getrlimit
-- Looking for getrlimit - found
-- Looking for posix_spawn
-- Looking for posix_spawn - found
-- Looking for pread
-- Looking for pread - found
-- Looking for realpath
-- Looking for realpath - found
-- Looking for sbrk
-- Looking for sbrk - found
-- Looking for strtoll
-- Looking for strtoll - found
-- Looking for strerror
-- Looking for strerror - found
-- Looking for strerror_r
-- Looking for strerror_r - found
-- Looking for strerror_s
-- Looking for strerror_s - not found
-- Looking for setenv
-- Looking for setenv - found
-- Looking for dlopen
-- Looking for dlopen - found
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Performing Test HAVE_INT64_T
-- Performing Test HAVE_INT64_T - Success
-- Performing Test HAVE_UINT64_T
-- Performing Test HAVE_UINT64_T - Success
-- Performing Test HAVE_U_INT64_T
-- Performing Test HAVE_U_INT64_T - Success
-- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB
-- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB - Success
-- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB
-- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB - Success
-- Performing Test LLVM_HAS_ATOMICS
-- Performing Test LLVM_HAS_ATOMICS - Success
-- Performing Test SUPPORTS_VARIADIC_MACROS_FLAG
-- Performing Test SUPPORTS_VARIADIC_MACROS_FLAG - Success
-- Performing Test SUPPORTS_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS_FLAG
-- Performing Test SUPPORTS_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS_FLAG - Failed
-- Performing Test HAS_MAYBE_UNINITIALIZED
-- Performing Test HAS_MAYBE_UNINITIALIZED - Success
-- Native target X86 is not selected; lli will not JIT code
-- Threads enabled.
-- Doxygen disabled.
-- Sphinx disabled.
-- Go bindings disabled.
-- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH)
-- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH)
-- OCaml bindings disabled.
-- LLVM host triple: x86_64-unknown-linux-gnu
-- LLVM default target triple: x86_64-unknown-linux-gnu
-- Performing Test C_SUPPORTS_FPIC
-- Performing Test C_SUPPORTS_FPIC - Success
-- Performing Test CXX_SUPPORTS_FPIC
-- Performing Test CXX_SUPPORTS_FPIC - Success
-- Building with -fPIC
-- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG
-- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG - Success
-- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG
-- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG - Success
-- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG
-- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Failed
-- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG
-- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Failed
-- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG
-- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - Failed
-- Performing Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG
-- Performing Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - Success
-- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP
-- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP - Failed
-- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG
-- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG - Failed
-- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG
-- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG - Failed
-- Performing Test C_SUPPORTS_WERROR_DATE_TIME
-- Performing Test C_SUPPORTS_WERROR_DATE_TIME - Success
-- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME
-- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME - Success
-- Performing Test CXX_SUPPORTS_CXX11
-- Performing Test CXX_SUPPORTS_CXX11 - Success
-- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS
-- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS - Success
-- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS
-- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS - Success
-- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS
-- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS - Success
-- Performing Test C_SUPPORTS_FDATA_SECTIONS
-- Performing Test C_SUPPORTS_FDATA_SECTIONS - Success
-- Performing Test CXX_SUPPORTS_FDATA_SECTIONS
-- Performing Test CXX_SUPPORTS_FDATA_SECTIONS - Success
-- Found PythonInterp: /usr/bin/python2.7 (found version "2.7.14")
-- Constructing LLVMBuild project information
-- Targeting WebAssembly
-- Looking for sys/resource.h
-- Looking for sys/resource.h - found
-- Clang version: 4.0.1
-- Performing Test CXX_SUPPORTS_NO_NESTED_ANON_TYPES_FLAG
-- Performing Test CXX_SUPPORTS_NO_NESTED_ANON_TYPES_FLAG - Failed
-- Configuring done
-- Generating done
(The intermediate compilation section is omitted here.)
[ 71%] Butilding CXX object tools/cLang/lib/AST/CMakeFiles/clangAST.dir/RecordLayoutBuilder.cpp.o
C++: internal compiler error:已杀死(program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-7/README.BgS> for instructions.
tools/clang/lib/Sema/CMakeFiles/clangSema.dir/build.make:662: recipe for target tools/clang/lib/Sema/CMakeFiles/clangSema.dir/SemaExpr.cpp.o failed
make[2] :*** [tools/clang/lib/Sema/CMakeFiles/clangSema.dir/SemaExpr.cpp.o] Error 4
nake[2] :***正在等待未完成的任务....
[ 71%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/SelectorLocationsKind.cpp.o
[ 71%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/Stmt.cpp.o
[ 71%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/StmtCXX.cpp.o
[ 71%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/StmtIterator.cpp.o
[ 71%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/stmt0bjc.cpp.o
[ 71%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/Stmt0penMP.cpp.o
[ 71%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/StmtPrinter.cpp.o
[ 71%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/StmtProfile.cpp.o
[ 71%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/StmtViz.cpp.o
[ 71%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/TemplateBase.cpp.o
[ 71%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/Templatename.cpp.o
[ 71%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/Type.cpp.o
[ 71%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/TypeLoc.cpp.O
[ 71%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/TypePrinter.cpp.o
[ 71%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/VTableBuilder.cpp.o
[ 71%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/VTTBuilder.cpp.o
[ 71%] Linking CXX static library ../../../../lib/libclangAST.a
[ 71%] Built target clangAST
CMakeFiles/Makefile2 :9181: recipe for target tools/clang/lib/Sema/CMakeFiles/clangSema.dir/all failed
make[1]: *** [tools/clang/lib/Sema/CMakeFiles/clangSema.dir/all] Error 2
[ 71%] Linking CXX static library ../../../../../lib/libclangDynamicASTMatchers.a
[ 71%] Built target clangDynamicASTMatchers
Makefile:151: recipe for target all failed
make: *** [all] Error 2
Error compiling LLVM and clang with EXPERIMENTAL WASM support.
Exiting now.
thank you!

I am also experiencing this issue on a Dawn 4 fresh install on Ubuntu 17.10 server

@tricaricom can you send your full output from the eosio_build.sh script?

Unfortunately I did not save the output.
I tried Ubuntu 16 and was unable to update the packages in order to install Dawn 4.
So then I installed Ubuntu 18.04 and got Dawn 4 installed.

@aaroncox if you haven't already removed the directory /tmp/llvm-compiler try the following.
cd /tmp/llvm-compiler/llvm/build
make -j4 install
Please let me know the outcome.

@pacificcode going into /tmp/llvm-compiler/llvm/build and running make -j4 install succeeded without any errors.
From that point, with llvm being build within the /tmp folder, I went back to the EOS directory and ran ./eosio_build.sh and the build successfully completed without any errors.
[100%] Built target nodeos

	 _______  _______  _______ _________ _______
	(  ____ \(  ___  )(  ____ \\__   __/(  ___  )
	| (    \/| (   ) || (    \/   ) (   | (   ) |
	| (__    | |   | || (_____    | |   | |   | |
	|  __)   | |   | |(_____  )   | |   | |   | |
	| (      | |   | |      ) |   | |   | |   | |
	| (____/\| (___) |/\____) |___) (___| (___) |
	(_______/(_______)\_______)\_______/(_______)

	EOSIO has been successfully built. 00:02:18

	To verify your installation run the following commands:

	export PATH=${HOME}/opt/mongodb/bin:$PATH
	/home/aaron/opt/mongodb/bin/mongod -f /home/aaron/opt/mongodb/mongod.conf &
	cd /home/aaron/eos/build; make test

	For more information:
	EOSIO website: https://eos.io
	EOSIO Telegram channel @ https://t.me/EOSProject
	EOSIO resources: https://eos.io/resources/
	EOSIO wiki: https://github.com/EOSIO/eos/wiki

@aaroncox Great! Thank you for your quick response.


UPDATE IT TO NEWER VERSION OF MINECRAFT 1.18.x-1.19.x

is it possible? or is this mod discontinued. If not Please i really like it to be updated to the newest versions

or maybe you have a similar mod for newer versions


Remove deprecated function calls from example studies

done

Yeah!
On 21 Apr 2015 12:18 pm, "elisafilevich"<EMAIL_ADDRESS>wrote:

Closed #72 https://github.com/JATOS/JATOS/issues/72.
—
Reply to this email directly or view it on GitHub
https://github.com/JATOS/JATOS/issues/72#event-286048770.


Implemented TCP keepalive configuration option

Implementing tcp keepalive flag for sessions and connections should be added, in case users want to ensure that their connections don't time out without traffic.

Duplicate of https://github.com/scylladb/scylla-rust-driver/issues/132 ?
tokio::net::TcpStream used to have a set_keepalive method, but no longer has one. We probably could implement "manual" keepalives, e.g. sending some cheap query every keepalive period. I think that the Java and the Python driver use this method.

Ah yes, closing this one as duplicate


【Godot 4.0 beta.10】How to hide Tab symbols and line breaks in Bbcode text？

Godot version
4.0 Beta 10
System information
Window10
Issue description
How to hide Tab symbols and line breaks in Bbcode text？I didn't find the relevant settings, even in the theme settings; I think this is a rendering bug, so I submit it.

Steps to reproduce
略
Minimal reproduction project
略

Please provide a minimal reproduction project as asked, or at least detailed steps to reproduce the example in the screenshot.

Oh, I think it's my problem. The font I used caused this situation. Unifont.


Captcha not getting solved (too many trys)

Describe the bug
Captcha not getting solved correctly. This started about 1 or 2 weeks ago. Doesn't remeber correctly. The Docker app pulls 3 times new Captchas and exits with "too many login trys". Updated the Image just about now still nothing.
Screenshots or Logs
{"log":"[2021-08-27 20:45:26.904 +0200] INFO  (39 on 3699fa08f8c3): Action requested. Waiting for Captcha to be solved\n","stream":"stdout","time":"2021-08-27T18:45:26.904825811Z"}
{"log":"    user: "*****"\n","stream":"stdout","time":"2021-08-27T18:45:26.904854497Z"}
{"log":"    id: "1cd2381e-e15c-45c7-96c5-8a8b9ef508cb"\n","stream":"stdout","time":"2021-08-27T18:45:26.904858995Z"}
{"log":"    url: "http://epicgames..icu:3000?id=1cd2381e-e15c-45c7-96c5-8a8b9ef508cb"\n","stream":"stdout","time":"2021-08-27T18:45:26.904862227Z"}
{"log":"[2021-08-27 20:48:13.345 +0200] INFO  (39 on 3699fa08f8c3): Action requested. Waiting for Captcha to be solved\n","stream":"stdout","time":"2021-08-27T18:48:13.346966203Z"}
{"log":"    user: ""\n","stream":"stdout","time":"2021-08-27T18:48:13.347001882Z"}
{"log":"    id: "a19f1493-913e-413b-b05e-dae996c7e8c2"\n","stream":"stdout","time":"2021-08-27T18:48:13.347010945Z"}
{"log":"    url: "http://epicgames..icu:3000?id=a19f1493-913e-413b-b05e-dae996c7e8c2"\n","stream":"stdout","time":"2021-08-27T18:48:13.347016262Z"}
{"log":"[2021-08-27 20:48:43.804 +0200] INFO  (39 on 3699fa08f8c3): Action requested. Waiting for Captcha to be solved\n","stream":"stdout","time":"2021-08-27T18:48:43.805567657Z"}
{"log":"    user: ""\n","stream":"stdout","time":"2021-08-27T18:48:43.805608221Z"}
{"log":"    id: "73ef3797-14f2-4436-ada5-558fe12ed8c4"\n","stream":"stdout","time":"2021-08-27T18:48:43.805617249Z"}
{"log":"    url: "http://epicgames..icu:3000?id=73ef3797-14f2-4436-ada5-558fe12ed8c4"\n","stream":"stdout","time":"2021-08-27T18:48:43.805624095Z"}
{"log":"[2021-08-27 20:49:26.433 +0200] ERROR (39 on 3699fa08f8c3): Too many login attempts. This probably because something is wrong with the captcha process.\n","stream":"stdout","time":"2021-08-27T18:49:26.449462502Z"}
{"log":"    Error: Too many login attempts. This probably because something is wrong with the captcha process.\n","stream":"stdout","time":"2021-08-27T18:49:26.449502715Z"}
{"log":"        at Login.login (/usr/app/src/login.ts:100:13)\n","stream":"stdout","time":"2021-08-27T18:49:26.449512901Z"}
{"log":"        at Login.login (/usr/app/src/login.ts:136:22)\n","stream":"stdout","time":"2021-08-27T18:49:26.449519005Z"}
{"log":"        at runMicrotasks (\u003canonymous\u003e)\n","stream":"stdout","time":"2021-08-27T18:49:26.449523994Z"}
{"log":"        at processTicksAndRejections (internal/process/task_queues.js:97:5)\n","stream":"stdout","time":"2021-08-27T18:49:26.449530135Z"}
{"log":"Exiting...\n","stream":"stdout","time":"2021-08-27T18:49:26.461767192Z"}
Configuration (please complete the following information):
{    "accounts": [
// Multiple accounts can be configured here
{
"email": "",
"password": "",
"totp": ""
},
],
"onlyWeekly": true,
"runOnStartup": true,
"runOnce": true,
"TZ": "Europe/Berlin",
"logLevel": "info",
"baseUrl": "http://epicgames..icu:3000",
"email": {
"smtpHost": "smtp..de",
"smtpPort": 465,
"emailSenderAddress"<EMAIL_ADDRESS>"emailSenderName": "Epic Games Captchas",
"emailRecipientAddress": "",
"secure": true,
"auth": {
"user": "",
"pass": "*****",
},
}
}
Additional context
Maybe just checking if it is just me or everybody else also... Did Epic change something?

Same as #97

Closing as it's a duplicate of #97


Remove this expect

I have a bevy system that broadcasts events to the server like player movement (10x a second).
Whenever I disconnect my server, the client encounters a panic triggered here:
https://github.com/johanhelsing/matchbox/blob/5ebe9a3b9a6c42c57eeacad7df4bfb703292e6c5/matchbox_socket/src/webrtc_socket/socket.rs#L351
thread 'Compute Task Pool (0)' panicked at 'Send failed: TrySendError { kind: Disconnected }', /Users/simbleau/.cargo/git/checkouts/matchbox-9d3f96917a0a12d8/daab9b1/matchbox_socket/src/webrtc_socket/socket.rs:351:48

Solution?
I'd prefer probably to have a fallible and infallible version. The fallible version just logs this as an error. If possible, we could add an event which sends the socket into a disconnected state, because this should never fail unless the receiving end gets dropped (peer crash, disconnection, etc.)

Iirc it would only fail if the channel is disconnected. So no need to disconnect it.
I wonder if it might be better to do the check at a higher level, though? Just checking for channel disconnection could mask other bugs, like the user dropping the future instead of awaiting it.

So I noticed that there is a method get_channel that returns an Error and we call it in channel. Maybe here is a good place to raise some event to the client that says to stop trying to connect as the channel is disconnected. But also a match statement should solve the panic problem I believe. Just the logic inside of it may be different.

Hmm... I'm sure I understand what you want to do with get_channel?
What I was thinking about was the following scenario:
let (socket, fut) = WebRtcSocket::new_unreliable(url);
drop(fut); // a bug! this should be awaited.
socket.channel(0).send(packet, peer);

In this case, I don't think a panic is out of place, at least it should not silently continue as if nothing at all odd happened.
It would perhaps be a good idea communicate back to the socket when the future finishes normally (not dropped), and check for that in the interface end.


Update to latest simdutf, add binding for base64_to_binary_safe, add latin1 bindings

Sorry for a big PR, I'm happy to split it up if you prefer.
The base64 binding is manually written because it doesn't fit the pattern of the rest of the API.
Closes https://github.com/Nugine/simdutf-rs/issues/10.
Part of #11.

Thanks for your contribution!
You can split it to three PRs: update, latin1 and base64. It would be easier to review and trace back in the future.
A typical update commit is like fc2bff507b7deaa52c9b4bbc5735693bf734adb5, by running just upgrade.


chore: use nx commands for some scripts

Which problem is this PR solving?
leverage nx (which is used by lerna) and its cache
Short description of the changes

replace lerna's commands with nx commands when possible
add nx.json to setup task dependencies and build cache
update unit test workflow to set the build cache for nx

Type of change
Please delete options that are not relevant.

[X] Chore

How Has This Been Tested?
Checklist:

[ ] Check test workflow to se if build cache takes effect

Using nx cache here impacts a lot in the CI and adapting to it would require consensus from maintainers. The dev experience may also be inpacted. I think it's best to have the discussion 1st before presenting a PR


Upgrade to mysql-connector-j 8.2.0 or newer

Upgrade to mysql-connector-j 8.2.0 or newer. Need to do this in:

[ ] 2.x
[ ] 3.x
[ ] 4.x

8.2.0 is latest in central

PR #7988 for 4.x is ready. Back-ports will follow when this one is approved ad merged.


Add a proper functional replacement for the replaced FXAA

I'm not certain the original implementation could even be considered anti-aliasing, but it does do a little bit of hiding the jaggies.  Despite this, it doesn't really replace the "anti-aliasing" insomuch as it removes it altogether. It's possible to clean up some stairstepping by setting 2.0x resolution, but due to the bicubic scaling used it isn't the most effective, and setting it to any higher than 2.0x actually introduces more aliasing.
Ideally, some form of MSAA or Halton SSAA would be preferred, but given the artstyle I think SMAA or a better FXAA would be sufficient at cleaning up what is left in the downscaled image. Sure, I could force those through my GPU or something like ReShade, but those would negatively impact the video quality of the visual novel segments, unlike a theoretical implementation in this wrapper hook.

I didn't really consider looking for and testing new AA shaders, since the 2x downscale seems to be doing a good enough job for most people. If you suspect that this or that AA type can give significantly better results, you can try it out yourself - look at how certain shaders are already replaced in nep_hooks.cpp inside the cgCreateProgram hook. You'd want to work with the part which overrides the combined FXAA/Bloom shader, and replace its code with your own solution.


marshals set type

#53 complains that set type is not well marshalled. I figured out it's because python str representation of set type is not what cassandra needs.
python str() produces:
>>> s = {1, 2, 3}
>>> str(s)
'set([1, 2, 3])'

but cassandra wants {1, 2, 3}. So we have to marshal set elements one by one.

Hi @TimothyZhang!  Wow, thanks for picking this up!  I was going to try to do this later - awesome :D  This LGTM, except there's a merge conflict - I think you may have to remerge this repo's master (not your fork's master) into this branch?

hi @cyli I resolved the conflict. And also added code to marshal set type, originally only sortedset was marshaled, but I think set should be marshaled too.

Fixes #53

@TimothyZhang Awesome, thank you!  LGTM.


Override layout in nested folder

Hello,
Thank you for the amazing package !
I can't find a way to exclude a nested route from its parent layout when using nested folders convention.
I have the following routes defined in the projects as shown here after:
/customers
/customers/123 (Layout A)
/customers/123/transactions (Layout A)
/customers/123/transactions/456 (Layout B)
/customers/123/transactions/456/logs (Layout B)

app/routes/_dashboard
├── ...
├── customers
│   └── $customer
│       └── route.tsx (With <Outlet /> "A")
│       └── _index
│           └── route.tsx (<- Should have layout A)
│       └── transactions
│           └── route.tsx (<- Should have layout A)
│           └── $transaction
│               └── route.tsx (With <Outlet /> "B")
               └── _index
│                   └── route.tsx (<- Should have layout B)
│               └── logs
│                   └── route.tsx (<- Should have layout B)
├── ...

I'd like /customers/123 and /customers/123/transactions to have layout A, and /customers/123/transactions/456 and /customers/123/transactions/456/logs to have layout B.
I found a way to do that with flat-files and flat-routes conventions but the application has hundreds of routes and I must use the nested folders convention shown above.
Is there currently a way to obtain that result ? I have tried adding an _ to the $transaction, $transaction/_index or $transaction/logs folders but didn't manage to make it work :-)
Thanks !

First of all, thanks for the kind words. I appreciate it.
I'm not 100% sure I follow what you're asking.
Here's my initial take. I wasn't sure if you meant that the routes with Layout B DO NOT contain Layout A.

https://stackblitz.com/edit/remix-run-remix-7lgemm

Thank you for taking the time to setup this example !
Actually this result is what I currently get, i.e. layout B being nested under layout A. What I would like to achieve is keeping the same URL with a similar folder structure (maybe adding an _ somewhere or something) but with layout B not nested under by layout A. In the Remix docs, they call it "URL nesting without layout nesting".
From your example, I'd like to go from this:

To this result (the grayscaled area, i.e. layout A, should not be visible):

I was thinking maybe there could be come convention to be used in the naming of the $transaction+ folder, like $transaction_+ or something similar ?

Thanks for clarifying. I thought that was probably the case. I will update the example to show how to do it.

Ok, I've updated the example. The trick to getting the structure you want is to create a parallel hierarchy. You can then disable the layout you don't want.

Separating the routes into different folders is indeed working, thanks !
As a feedback though, I believe this will eventually create a mess in larger projects. In the situation where "We have an issue on page /super/long/and/nested/web/page", it could become harder and harder to find the routes files as the project grows.
I will try to allocate some time to experiment with the package source code and send a PR if I can get something working. I was thinking of a multiple trailing _ convention, where each _ at the end of the folder would "skip" one parent layout, so [...]/A/B/C/myfolder__ would be nested under A but neither of B and C, while preserving the URL structure.
That being said, it's another story and I believe this issue is closed ;)
Thank you for your help !

Yes, it's difficult to support all these intents with just a file path.
For complex scenarios, I typically export handle and useMatches to customize layouts further up the route tree.


🚀 [Feature] Implement Design Cockpit - Payment - Upgrade to Premium

🚀 Feature

Implement  Design Cockpit - Payment - Upgrade to Premium

Can be found in Figma in Zahlungssystem
It is the same in dark an light mode.
Current state:

Claudia needs to clarify things with Hardi


added warning in the case of insufficient virtual memory

In the case of insufficient virtual memory users will see this:

----------------------------------------------------------------------------------------------
Installation can fails during building of the MRS system due to not sufficient RAM+SWAP memory
              We recommend to have roughtly RAM+SWAP >= 2.5*number_of_cpu
             -----------------------------------------------------------
              Your number_of_cpu : 8
              Your RAM size      : 15.44 GB
              Your SWAP size     : 0 GB
----------------------------------------------------------------------------------------------
If so, please increase SWAP to recommended size, which is 4.56 GB.
To do 5 GB SWAP, follow these steps:.
-----------------------------------------------------------
sudo swapoff -a
sudo dd if=/dev/zero of=/swapfile bs=1GB count=5
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
grep SwapTotal /proc/meminfo
-----------------------------------------------------------

Press Enter to continue...


Automatic upload on tag

If a version is tagged, we can create an automatic upload.
See https://docs.travis-ci.com/user/deployment/pypi
I will add the username and password

It works!
https://github.com/niccokunzmann/hanging_threads/releases
https://pypi.python.org/pypi/hanging_threads


No such module 'Navajo_Swift'

Hi Peter,
I'm new to Swift development and Xcode (I use last Xcode 11.4.1) and I get a build error:
SwiftUI-Combine-master/SwiftUI-Combine/ViewModels/UserViewModel.swift:11:8: No such module 'Navajo_Swift'
I have tried to add a "Framework Search Paths"  to $(SRCROOT) and set it to recursive but without success (https://stackoverflow.com/questions/29500227/getting-error-no-such-module-using-xcode-but-the-framework-is-there
Can you help me to resolve this build issue ?
Thanks

Hi Jean,
did you run pod install after cloning the repo?
Feel free to post a list of steps you followed here so I can see where things break for you.
Cheers,
Peter

Hi Peter,
sank you for your fast response, I though I had done pod intall, but now I have cloned your git again and installed the pods and now it works !
Danke !
Jean G.

Great, thanks for letting me know!


Colocation bug for distributed training(NMT model)

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): No
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
Ubuntu 16.04
TensorFlow installed from (source or binary):
Source
TensorFlow version (use command below):
1.6.1
Python version:
2.7
Bazel version (if compiling from source):
0.13.0
GCC/Compiler version (if compiling from source):
5.4.0
CUDA/cuDNN version:
9/7
GPU model and memory:
TitanXP/ 12G
Exact command to reproduce:

Describe the problem
I saw the lines in NMT. If embedding parameter is set in parameter server, embedding_lookup must follow the device placement but the result is opposite(embedding parameter follows embedding_lookup). I think the placement of colocation group in placer.cc is wrong so I tried to fix it but it's complicated. Do you have any plan to fix it? or Can you give a suggestion?
Source code / logs

Nagging Assignee @michaelisard: It has been 15 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

@azaks2 any thoughts?

Nagging Assignee @azaks2: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Any easy way to reproduce the problem? Also what are the downsides for your use case to have > 1 partitions.

Nagging Assignee @azaks2: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

I'm building an automatic parallelization module on TensorFlow.(https://github.com/snuspl/parallax). However,  users must remember the number of partitions > 1 for NMT model. I want to provide an automatic way that users don't need to care about additional stuff for distributed environment.  Even though I assigned the embedding parameters on a PS, it goes away to worker by the default placer. Is there any way that I can force to assign the parameters to a PS?

model_device_fn = tf.train.replica_device_setter(10)
with tf.device(model_device_fn):
...
tf.get_variable()
should work. I also tried tf.fixed_size_partitioner(1) and it worked with nmt (tf.get_default_graph() shows expected devices).

Yes, the device is correct but the device placement is changed when running the graph in a session. I checked it log_device_placement=True for session config. I cannot control the final device placement using tf.device() API.

I poked a little more. I could not reproduce the problem. Meaning I always get lookup and the embedding var to be on ps. I did however observed the difference in the placement of dynamic_seq2seq/encoder/rnn/TensorArrayUnstack/TensorArrayScatter/TensorArrayScatterV3 op, which moves from worker to ps whenever we have 1 partition. The reason is that the embedding var is on ps, lookup is collocate with the embedding var, and the lookup result is fed to the tensor array op that wants to be collocated with its input (this can be a performance bug on its own). When num_partitions > 1 there is an intermediate node after the lookup (namely ParallelDynamicStitch) that has no collocation constraints and is placed on the worker. So now tensor array ops can be on the worker and lookup on ps.
Again, I did not witness with tf.device assignments being ignored though internally added collocation constraints can be very intuitive and potentially harmful. To keep things more consistent between having 1 partition or more I would try wrapping embedding lookup with tf.identity. Indeed I am thinking to change embedding_lookup op itself to just always do it on its own.

Thank you. I'll try with the new code.


0.5.0

What am I doing wrong in the ex. and how can I fix it?:)

Hi @FrederikBarkholt
You need to indent the line
answer_050.append(new_element)

Furthermore, you should apply your function change_url to each x in the list chars2 instead of chars2 as a whole.
Cheers
Jonas


Function to read filters from browser url query string

Signed-off-by: Zack Layne<EMAIL_ADDRESS>Related issue: https://github.com/stolostron/backlog/issues/19944

/hold

Closing in favor of: https://github.com/stolostron/console/pull/1263


Any more cheat sheets in the pipeline?

Love the work you've done. Any plans to do more?

Hi,
Thanks. I am currently working on a cheat sheet for the Part Design workbench. I think going from the Sketcher workbench to Part Design is common practice for most users looking to get into CAD and solid modeling. However, this part is tricky due to it being example heavy. And choosing information that is both useful and agnostic must be done with careful thought. If you're interested in another workbench please let me know, and I'd be happy to hear how you found the Sketcher cheat sheet helpful, and if you've shared it.

Sorry for the lack of updates. I've been working on achieving my certifications in CAD.


Change the storage account and SQL-MI name to ensure uniqueness

If the student does not change the name of the deployment, then the deployment will fail.

This is superseded by #27 and is no longer required.


Fix/ebrake audit fixes

Following the recommendation to use a different Plan struct led to a complete rewrite of the contract, made more complex because apparently you can't add dynamic arrays inside mappings. You can nest mappings, so I made my own dynamic array 🤷♂

Still have to fix the tests, obviously.

Good to go!

Added a couple of features after developing the governance proposals to enable it.

Fixed the issue around index. Not sure what to do with permissionAt if an index is passed on that leads to a non-existing permission. Right now an empty permission is returned, maybe we should revert?

@devtooligan, ready for review of audit fixes.
As discussed, instead of reverting on executing non existing permissions, I added a check function that highlights when a plan doesn't match the existing permissions.


Refactor Issues

[x] cycler doesn't seem to be working 'Reached end of Realm Playlist:'
[x] the royal decree opens underneath the swap popout on the iron bank
[x] can't buy resources on the AMM 'Maximum currency amount exceeded' and was only buying 50 units
[x] resource balances in the Iron Bank are taking up to 30 seconds to appear

@LordSquiddy
please verify on alpha site

@tenoxious nice ser all working perfectly now


Cyberduck: where are bookmarks stored?

General troubleshooting steps

[x ] I have checked the instructions for reporting bugs (or making requests) before opening the issue.

[x ] None of the templates was appropriate for my issue, or I’m not sure.

[x ] I ran brew update-reset && brew update and retried my command.
[x ] I ran brew doctor, fixed as many issues as possible and retried my command.
[x ] I understand that if I ignore these instructions, my issue may be closed without review.

Description of issue
I'm wondering where bookmarks and preferences are stored. I'd like to import my bookmarks from a previous machine. After reviewing CyberDuck's FAQ and the source for this cask I'm still unable to find the designated directory. I'm on Sierra 10.12.5.
Output of your command with --verbose --debug
N/A

Output of brew cask doctor
==> Homebrew-Cask Version
Homebrew-Cask 1.2.1
caskroom/homebrew-cask (git revision feab9; last commit 2017-05-21)
==> Homebrew-Cask Install Location
<NONE>
==> Homebrew-Cask Staging Location
/usr/local/Caskroom
==> Homebrew-Cask Cached Downloads
~/Library/Caches/Homebrew/Cask (37 files, 1.7GB)
==> Homebrew-Cask Taps:
/usr/local/Homebrew/Library/Taps/caskroom/homebrew-cask (3614 casks)
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-apache (0 casks)
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-bundle (0 casks)
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-completions (0 casks)
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core (0 casks)
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-dupes (0 casks)
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-php (0 casks)
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-services (0 casks)
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-versions (0 casks)
==> Contents of $LOAD_PATH
/usr/local/Homebrew/Library/Homebrew/cask/lib
/usr/local/Homebrew/Library/Homebrew
/Library/Ruby/Site/2.0.0
/Library/Ruby/Site/2.0.0/x86_64-darwin16
/Library/Ruby/Site/2.0.0/universal-darwin16
/Library/Ruby/Site
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby/2.0.0
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby/2.0.0/x86_64-darwin16
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby/2.0.0/universal-darwin16
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/x86_64-darwin16
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin16
==> Environment Variables
LANG="en_CA.UTF-8"
PATH="~/.rvm/gems/ruby-2.3.3/bin:~/.rvm/gems/ruby-2.3.3@global/bin:~/.rvm/rubies/ruby-2.3.3/bin:~/.nvm/versions/node/v7.10.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:~/bin:/opt/sm/bin:/opt/sm/pkg/active/bin:/opt/sm/pkg/active/sbin:~/.rvm/bin:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-bundle/cmd:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-services/cmd:/usr/local/Homebrew/Library/Homebrew/shims/scm"
SHELL="/bin/bash"

I figured it out. My mistake. I was looking in system /Library instead of the user ~/Library. Sorry for the interruption!

We have no control over that anyway. This was always a question for the cyberduck devs and not us.

Yeah that makes sense. I wasn't sure if brew perhaps changed where preferences, etc. were usually stored so I thought I'd check.
On Sun, May 21, 2017 at 6:26pm, Vítor Galvão <<EMAIL_ADDRESS><EMAIL_ADDRESS>> wrote:
We have no control over that anyway. This was always a question for the cyberduck devs and not us.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub [https://github.com/caskroom/homebrew-cask/issues/34684#issuecomment-302973785] , or mute the thread [https://github.com/notifications/unsubscribe-auth/ABi6JyCG17xCgVsHEt-D-jl3ENxiovEjks5r8NZSgaJpZM4NhsCP] .


Request Geolocation by browser

It will be used afterwards in ReactJS to ask for the feed Endpoint to be done here:
https://github.com/Semillas/semillas_backend/issues/2

Commit 24e6a225d953bcdeb573063b84a3199a82863511 and 88c46cbb2026594c606476a692e64c25177a98e7 have a prototype about this.
I need someone else check that in http://<IP_ADDRESS>:8000/webapp/geolocation, because of geolocation in my laptop is always error.POSITION_UNAVAILABLE, maybe for this bug: https://bugs.launchpad.net/linuxmint/+bug/1624937

Amazing. I'm going to define the feature we were talking yesterday. If the user does not allow to give his location. Do not order the 'feed' by any location.

I think we can close this right?

Yes


chore: fix usage instructions in README

Fix to use existing version

Description

References

Review Checklist

[x] I have clicked on "allow edits by maintainers".
[x] I have added documentation for new/changed functionality in this PR or in a PR to openfga.dev [Provide a link to any relevant PRs in the references section above]
[x] The correct base branch is being used, if not main
[x] I have added tests to validate that the change in functionality is working as expected

Apologies converting to draft so that we don't accidentally merge. We need EasyCLA sign-off and for some reason it's not yet enabled on this repo.

/easycla


Unable to create multiple replicas on kubernetes cluster

Hi,
I was trying to deploy Oracle single instance database on kubernetes cluster with 2 replicas but is failing with unknown reason. After 7% copying database files failing and trying to copy again. With single replica instance is working fine. Is there any restriction for multiple replicas on Oracle express database?

Yes I am using Oracle container registory repo image.
I am not sure weather my image is packed with extension or not. Let me review it.
Also XE supports only one database ?


Suggestion: Do not mirror the P2 portrait

Since it looks a little silly with Luigi's backwards L on his hat, and in general I just am not a fan of the practice of mirroring images personally.

Is there a technical reason the P2 portrait is mirrored? I think it would look just fine if it wasn't. :)

Images are mirrored in part because its ported code from the RoA version, where they do have to be mirrored on both html files. It's also a personal preference because of direction, and because I don't like it when its a ditto and the same render is shown on both sides, though I somehow never considered Luigi's cap.
Its def something that could be added as an optional checkbox through the GUI, though I would also need to move the franchise logo and invert the animations.


When does the document support internationalization[📖]

Suggestion
When does the document support internationalization

Hi @xzfnn, can you explain more in the detail your needs pls?

嗨，你能详细解释一下你的需求吗？

Can the official document have language switching function, such as Chinese, Japanese, Korean, etc

@xzfnn maybe you'd like https://www.npmjs.com/package/compiled-i18n

@xzfnn也许你会喜欢https://www.npmjs.com/package/compiled-i18n

https://qwik.builder.io/docs/           This link doesn't seem to integrate this plugin

I see. you are asking for a multi-language documentation, right?

明白了。你要求一个多语言的文档，对吧？

Yes, using translation plugins can lead to many word translation errors, which is not conducive to learning. Could you please help your team

明白了。你要求一个多语言的文档，对吧？

是的，使用翻译插件会导致很多单词翻译错误，不利于学习。你能帮帮你的团队吗

Thank you to your team

@xzfnn you can use the docs AI in the search box to ask questions in your language

您可以使用搜索框中的 docs AI 以您的语言提问

Okay, thank you very much

@shairez are we planning something for the multi-language support?

@gioboa we decided that it'll be too much to handle all the translations in the core and keep them up to date.
A good solution might be to install a translator plugin that might do it automatically
@xzfnn if you want to help with researching such plugin (I think wordpress sites have something similar), that'll be awesome!

Thanks @shairez for your thoughts.
So I'm closing this issue for now.