[pixman:x64-osx] Build fails

Hi,
I am using macOS High Sierra 10.13.5 (fr-fr locale).
I tried to install cairo with vcpkg install cairo and the build fails when building pixman with this stacktrace :
[1/33] /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -DPACKAGE=\"pixman-1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_VERSION=\"0.34.0\" -DUSE_SSE2 -I/Users/Axel/.build/vcpkg/buildtrees/pixman/src/pixman-0.34.0/pixman/. -g -MD -MT CMakeFiles/pixman-1.dir/pixman.c.o -MF CMakeFiles/pixman-1.dir/pixman.c.o.d -o CMakeFiles/pixman-1.dir/pixman.c.o   -c /Users/Axel/.build/vcpkg/buildtrees/pixman/src/pixman-0.34.0/pixman/pixman.c
FAILED: CMakeFiles/pixman-1.dir/pixman.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -DPACKAGE=\"pixman-1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_VERSION=\"0.34.0\" -DUSE_SSE2 -I/Users/Axel/.build/vcpkg/buildtrees/pixman/src/pixman-0.34.0/pixman/. -g -MD -MT CMakeFiles/pixman-1.dir/pixman.c.o -MF CMakeFiles/pixman-1.dir/pixman.c.o.d -o CMakeFiles/pixman-1.dir/pixman.c.o   -c /Users/Axel/.build/vcpkg/buildtrees/pixman/src/pixman-0.34.0/pixman/pixman.c
In file included from /Users/Axel/.build/vcpkg/buildtrees/pixman/src/pixman-0.34.0/pixman/pixman.c:29:
In file included from /Users/Axel/.build/vcpkg/buildtrees/pixman/src/pixman-0.34.0/pixman/./pixman-private.h:34:
/Users/Axel/.build/vcpkg/buildtrees/pixman/src/pixman-0.34.0/pixman/./pixman-compiler.h:230:6: error: "Unknown thread local support for this system. Pixman will not work with multiple threads. Define PIXMAN_NO_TLS to acknowledge and accept this limitation and compile pixman without thread-safety support."
#    error "Unknown thread local support for this system. Pixman will not work with multiple threads. Define PIXMAN_NO_TLS to acknowledge and accept this limitation and compile pixman without thread-safety support."
     ^
1 error generated.

I expected to successfully install cairo (and thus, its dependency on pixman)
Apparently I need to define PIXMAN_NO_TLS somewhere, but even with export PIXMAN_NO_TLS=1 in the terminal, the build fails.
The full log install-x64-osx-dbg-out.log

I also made sure I was running the last version of vcpkg with git pull and vcpkg update.

It happens the same to me, I can't get the macro being recognized when compiling.
I'm thinking that maybe, on macOS, we should use HAVE_PTHREADS as they're available on the system.

Should be fixed by #3923; thanks again, @angelmixu!


Fix to Whisper Geth node issues

Fix issue where Whisper logs were printed twice because it had the same name as the blockchain, so the event to listen to process logs was registered twice. Just needed to change the name.
Fix Windows issue where the Whisper Geth node was conflicting with the main blockchain node over the IPC. Reason is that on Windows, the IPC link is made through a pipe file on disk. Changing that would mean to only change it on Windows, so it would be a pain. Instead, just putting ipcdisable in the Whisper node fixes it, and IPC is not really needed for Whisper anyway.

Fixed the commit message. Merging


Bump libfmt version to 6.1.2 for cooking

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.zichao.zhang seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Script works with mistral-tiny and mistral-small but no response when using mistral-medium

I run this script, It contains some calls to Mistral's API. These calls work perfectly when using the two smallest models, but not with the medium one.
import os
import requests
import json
from dotenv import load_dotenv
import yfinance as yf
from yahooquery import Ticker
from model.mistralStructured import MistralLanguageModel
from pydantic import BaseModel

load_dotenv()

class Output(BaseModel):
    company_name: str
    company_stock_ticker: str
    period_of_analysis: str
    filename_to_store_data: str

def get_company_news(company_name):
    params = {
        "engine": "google",
        "tbm": "nws",
        "q": company_name,
        "api_key": os.environ.get("SERPAPI_API_KEY"),
    }

    response = requests.get('https://serpapi.com/search', params=params)
    data = response.json()

    return data.get('news_results')

def write_news_to_file(news, filename):
    with open(filename, 'w') as file:
        for news_item in news:
            if news_item is not None:
                title = news_item.get('title', 'No title')
                link = news_item.get('link', 'No link')
                date = news_item.get('date', 'No date')
                file.write(f"Title: {title}\n")
                file.write(f"Link: {link}\n")
                file.write(f"Date: {date}\n\n")

def get_stock_evolution(company_name, period="1y"):
    # Get the stock information
    stock = yf.Ticker(company_name)

    # Get historical market data
    hist = stock.history(period=period)

    # Convert the DataFrame to a string with a specific format
    data_string = hist.to_string()

    # Append the string to the "investment.txt" file
    with open("investment.txt", "a") as file:
        file.write(f"\nStock Evolution for {company_name}:\n")
        file.write(data_string)
        file.write("\n")

    # Return the DataFrame
    return hist

def get_financial_statements(ticker):
    # Create a Ticker object
    company = Ticker(ticker)

    # Get financial data
    balance_sheet = company.balance_sheet().to_string()
    cash_flow = company.cash_flow(trailing=False).to_string()
    income_statement = company.income_statement().to_string()
    valuation_measures = str(company.valuation_measures)  # This one might already be a dictionary or string

    # Write data to file
    with open("investment.txt", "a") as file:
        file.write("\nBalance Sheet\n")
        file.write(balance_sheet)
        file.write("\nCash Flow\n")
        file.write(cash_flow)
        file.write("\nIncome Statement\n")
        file.write(income_statement)
        file.write("\nValuation Measures\n")
        file.write(valuation_measures)

def get_data(company_name, company_ticker, period="1y", filename="investment.txt"):
    news = get_company_news(company_name)
    if news:
        write_news_to_file(news, filename)
    else:
        print("No news found.")

    hist = get_stock_evolution(company_ticker)

    get_financial_statements(company_ticker)

    return hist

def financial_analyst(request):
    print(f"Received request: {request}")
    llm = MistralLanguageModel(model='mistral-medium')

    prompt = f"Given the user request, what is the company name and the company stock ticker ?: {request}?"

    response = llm.generate(prompt, output_format=Output)

    print(response)

    # Parse the arguments from a JSON string to a Python dictionary
    arguments = json.loads(response)
    print(arguments)
    company_name = arguments["company_name"]
    company_ticker = arguments["company_stock_ticker"]

    # Parse the return value from a JSON string to a Python dictionary
    hist = get_data(company_name, company_ticker)
    print(hist)

    with open("investment.txt", "r") as file:
        content = file.read()[:10000]

    second_prompt = f"Based on this request company: {request}, and these data, write an investment thesis: {response}, {content}"

    print("Second message:")

    try:
        second_response = llm.generate(second_prompt)

    except Exception as e:
        print(e)

    return (second_response, hist)

Hey,
This script does not contain an entry point to reproduce, and also contains third-party dependencies that we do not have access to so it's not possible to reproduce.
Please create a minimal reproducible example: https://stackoverflow.com/help/minimal-reproducible-example

Hello @Bam4d,
Thanks for the feedback. I finally did some more debugging and realised the issue was due to the fact that mistral-medium seems to struggle a bit to provide structured JSON outputs (without additional comments), contrary to tiny and small. Might be linked to the way I prompt the models.


[Question] Hardware requirements with vLLM

To fully fine-tune vinai/PhoGPT-7B5 or vinai/PhoGPT-7B5-Instruct on a single GPU A100 with 40GB memory, it is advisable to employ the decoupled_lionw optimizer with a device_train_microbatch_size set to 1.

How about minimum and recommended hardware requirements when fine-tune vinai/PhoGPT-7B5 with vLLM?

vLLM is an inference framework only.


[SPARK-21830][SQL] Bump ANTLR version and fix a few issues.

What changes were proposed in this pull request?
This PR bumps the ANTLR version to 4.7, and fixes a number of small parser related issues uncovered by the bump.
The main reason for upgrading is that in some cases the current version of ANTLR (4.5) can exhibit exponential slowdowns if it needs to parse boolean predicates. For example the following query will take forever to parse:
SELECT *
FROM RANGE(1000)
WHERE
TRUE
AND NOT upper(DESCRIPTION) LIKE '%FOO%'
AND NOT upper(DESCRIPTION) LIKE '%FOO%'
AND NOT upper(DESCRIPTION) LIKE '%FOO%'
AND NOT upper(DESCRIPTION) LIKE '%FOO%'
AND NOT upper(DESCRIPTION) LIKE '%FOO%'
AND NOT upper(DESCRIPTION) LIKE '%FOO%'
AND NOT upper(DESCRIPTION) LIKE '%FOO%'
AND NOT upper(DESCRIPTION) LIKE '%FOO%'
AND NOT upper(DESCRIPTION) LIKE '%FOO%'
AND NOT upper(DESCRIPTION) LIKE '%FOO%'
AND NOT upper(DESCRIPTION) LIKE '%FOO%'
AND NOT upper(DESCRIPTION) LIKE '%FOO%'
AND NOT upper(DESCRIPTION) LIKE '%FOO%'
AND NOT upper(DESCRIPTION) LIKE '%FOO%'
AND NOT upper(DESCRIPTION) LIKE '%FOO%'
AND NOT upper(DESCRIPTION) LIKE '%FOO%'
AND NOT upper(DESCRIPTION) LIKE '%FOO%'
AND NOT upper(DESCRIPTION) LIKE '%FOO%'

This is caused by a know bug in ANTLR (https://github.com/antlr/antlr4/issues/994), which was fixed in version 4.6.
How was this patch tested?
Existing tests.

cc @gatorsmile

Test build #81092 has started for PR 19042 at commit 1f673b6.

LGTM pending Jenkins.

Test build #81092 has finished for PR 19042 at commit 1f673b6.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Test build #81102 has started for PR 19042 at commit 700453a.

Test build #81102 has finished for PR 19042 at commit 700453a.

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

Merged build finished. Test PASSed.

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

Thanks! Merging to master.


Please provide Python API

Please provide Python API

I'd love to support a Python API and publish a package on pip. Right now neither of the maintainers are super good python devs, but if you know anyone would would want to make a contribution let us know!
The roadmap so far is:

Add more chunking options (right now we're just separating at page level)
Supporting additional document formats. This will likely be adding a document => pdf step prior to the LLM step.
Supporting additional models

@tylermaran I've been thinking of building a version of this for myself for a while now and I was so excited to see your project on HN so that I didn't have to build it myself haha
Let me look into this. Maybe I can help out with a python package

Hey @batmanscode 🦇
I would love to have some help here. It looks like there is a similar pip package for pdf2image.
https://github.com/Belval/pdf2image
Uses poppler under the hood. I wonder if there's a variant that uses imagemagik like the current node version does. But either way it should be pretty easy to set up. Within the npm setup we have an install-dependencies script to make sure all the prereqs are set up.
I'd like to keep this as a monorepo if possible. Probably something like:
zerox/
├── .gitignore
├── README.md
├── LICENSE
├── package.json     # npm config
├── setup.py         # pip config
├── node-zerox/      # typescript source
│   ├── src/
│   ├── dist/
│   ├── tests/
│   └── etc/
└── py-zerox/        # python source
    ├── src/
    ├── tests/
    └── etc/

Hey @tylermaran and @batmanscode,
This looks interesting, would love to collaborate. I have experience with both TypeScript and Python package development.
Have reviewed zerox source, can assist in replicating it to Python. My goal would be to ensure that the API and build process remain consistent across both the TypeScript and Python implementations.
Looking forward to working together!

Hey @tylermaran,
Quick update. Prepared a PR #4  which presents the monorepo structure for Zerox. This includes Poetry for dependency management, a Makefile for build automation, and some code quality checks.
Current implementations are placeholders. The actual implementation details will be added once the proposed structure gets reviewed and approved :D

Can gpt4 mini provide bounding box details also ? If I want to highlight key information in document

@saitej123 I've been looking into this as well. It doesn't seem to be immediately available using gpt-4o-mini.
I know it's possible to use a library like YOLOv8 to grab bounding boxes. But that get's a little harder when you have to host an additional model.
I think the general flow would be:

Parse the document with gpt mini
Split the resulting markdown into semantic sections (i.e. headers, subheaders, tables, etc.)
For each semantic section, use some tool to find bounding boxes in the original image

This is a bit separate from the python request, so I added a tracking issue #7

If we use azure ocr or gcp we can map bounding box not sure mapping may fail it split in different way

@wizenheimer merged your repo updates for the python package in #4
Great work. Now we just need to add the core logic.

Hey @tylermaran,
Added the PR #10 introducing Python SDK for Zerox. Ensured the external API and types remain consistent across the SDKs.

Could you add a usage section for python in the README?

Could you add a usage section for python in the README?

Could you add a usage section for python in the README? @tylermaran

@guici123, @RazvanMihaiPopa have a look at this PR https://github.com/getomni-ai/zerox/pull/21, should be useful.


DNS configuration

Can you create section about DNS record to set?
with examples for MX SPF DMARC DKIM and others that are required for optimal operation
not to be consider as SPAM sender

The correct DNS records can be found by having a quick read through the self-hosting guide.
Here are some of the records you need:

Type
Host
Value

TXT
@
v=spf1 mx ~all

TXT
*
v=spf1 mx ~all

TXT
default._domainkey
your key here...

TXT
_dmarc
v=DMARC1; p=none; sp=none; adkim=r; aspf=r; pct=100;

You can use a website such as mail-tester.com to check if you are fully authenticated to send email.


Add Desmos chain

Sourced from https://github.com/desmos-labs/mainnet
Main things missing are apis in chain.json and logo_URIs in assetlist.json

I found this image from their github:  https://github.com/desmos-labs/dpm/blob/main/src/assets/dsm_token.png
Can you add this as an asset in this PR in a subfolder called images

Nice, added 👍🏻


labo labo

created a branch, created a file and made a commit, and opened a pull request

created a branch, created a file and made a commit, and opened a pull request


[NPM-3219] Try to ensure UDP and TCP don't have the same port

What does this PR do?
Fix failures like: https://gitlab.ddbuild.io/DataDog/datadog-agent/-/jobs/437854305#L1214. This failure can only happen if both TCP and UDP get the same port, which should be very rare, but possible. The changes here try to get a unique port for all four protocols, tcp, udp, tcp6, and udp6.
Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge

/merge


CCD QA fixes

CCD stands for "continuous collision detection" but is currently used as an umbrella term for the physX character controller implementation.
How does it work?

We pass our player velocity into physX, which runs a simulation (we can set parameters like friction/gravity/bounciness etc.)
We then call physX again to get the updated character capsule transform, then apply it to our avatar.

We should never directly modify the avatar transform. Only the capsule transform should be modified, which is then applied to the avatar.
Previously we were just adding the velocity Vector3 to the avatar position.
CCD also fixes our current problem of being able to walk/run/fly through objects, which is often referred to as "Tunneling". We should be able to fly at an object at an extremely high speed and not go through it.
It will also bring exciting new possibilities like physics based vehicles.  Fall through ground? Get stuck?)
Test switching scenes multiple times, while equipping weapons and changing avatars.

1-Yes I am able to equip the collectables now.
2-while walking on steps, the movements is not smooth enough, not bad but there feels a bit of wobble while climbing steps)
-on dunes/hills(on top flat surface) the avatar even while standing keeps moving its feet without changing its position, also on
a slope, the avatar skids down side.
3-Crashed while trying to equip the lamp thing, firefly thing in darkness scene(Screenshot attached with log)

-Crashes when avatar falls while walking/running fast. It passes through the floor(dunes) and screen is blank then only
shadows are there no movement.
Issues still there:
1 -While running/ Flying, the avatar still passes through almost all objects(in my test cases, the 4 walled closed wooden cabin, tables, box walls of room, mirror etc.)
2-While flying avatar even passes through the dunes.
3-When avatar falls through the a place, it passes through the ground. I think its an issue related to speed, whenever avatar is moving with speed it passes through the objects.
4-Feet still not visible
5-Invisible collectibles? is that a thing?
6-Classroom Scene isn't working fine, the avatar appears below the scene(Screenshot attached)
7-Rides vehicle, it moves to but goes through all the objects even the hills, dunes. The movement of vehicle too is not working for up/down it moves in one direction based on cursor.(screenshot attached)

Being able to walk through the avatar is intended, otherwise you'd be able to move it around. Will need to change later. I have tested activate on https://staging.webaverse.com/ it works if you go in first person and look at the avatar's feet/lower body. This has to do with the height difference of each avatar, will be fixed.

2.Seems to be a physx grounded check problem, will look into that.

I believe lantern and firefly also break in master. If it doesn't add too much time please crosscheck master and staging cause some issues may not be related to this PR. (Though they'll need to be fixed either way)

4.Feet should be fixed next PR

I'm not sure what that is, please explain.

Just checked, happens in master too

Vehicles should probably be disabled for now, they don't have any physics based movement yet. I enabled them temporarily so it doesn't break. Physics based vehicles will be the next thing after CCD (Same as in master)

Currently the capsule is able to move through all objects' backfaces. As if the wall's collider was only front-sided and not double-sided. I will look into this and check if it's intended or not.

Thank you for the review. It does help alot.

1-I just checked the staging too but it doesn't shows again the E even while looking on lower body/feet can you look into it?
https://user-images.githubusercontent.com/35926530/142400972-ecc4a279-d4a9-4c12-9ba3-8e45eb79d324.mp4
5- I mean there are several collectables that are invisible, while they show E when reached a certain place. Is that a thing?

Device:
Mac m1
1- Walk works fine with normal fps(30-35). It starts jittering sometimes and the fps turn low(20-27) simultaneously. there is no jitter in some scenes where high fps(in Shadows scene(sand dunes), fps on same device are 40-55), that I guess is an issue related to effects in street scene. on low fps, jitter is caused.
https://user-images.githubusercontent.com/35926530/142597252-cd274e03-c19b-43d4-a49a-f8612245768b.mp4
https://user-images.githubusercontent.com/35926530/142598334-995c287f-113d-47a4-8409-16b09b1aeea6.mp4
https://user-images.githubusercontent.com/35926530/142598366-4a9ac609-460c-4d23-a5ac-3385dcabf3b8.mp4
2-pressing (Cmd+shift+f4) and (Cmd+shift+f5) to record  somehow turns walk to run(doesn't requires to hold shift key). Gets fixed when shift is pressed again.
3-Changing the avatar in shadows, darkness, grid scene makes avatar walk and gestures unstable(works fine with flying only, also works fine in app.webaverse.com). log and video attached
https://user-images.githubusercontent.com/35926530/142597957-3a0f757d-5fd6-40df-a41c-56a8e954c69c.mp4
4- Changing avatar in gunroom makes it invisible. Also another avatar appears at some distance as collectable.
https://user-images.githubusercontent.com/35926530/142597985-3ffbb053-b3d4-42f0-8fa0-d4365a01fd52.mp4
5-The collectable fox, in Tree house goes through objects and sometimes passes through the ground too.(Happens in the App.webaverse.co too. not related to this pr i guess)
https://user-images.githubusercontent.com/35926530/142598027-46bdcd3d-ddf8-468f-a18b-f818ae5e1eb2.mp4
6-in classroom scene avatar still appears under the surface. This issue is there in the production too.
https://user-images.githubusercontent.com/35926530/142598069-0ea24cd8-af6d-4fe7-b826-4ef705ba10f3.mp4

The Issue of jittering is solved.
Related to this PR, only speed IMO is a bit slow, should be optimized, as it appears to be in slow motion while walking/running.
Else is fine.


gha: uniform downgrade settings in clustermesh upgrade/downgrade test

Currently, the clustermesh upgrade/downgrade tests leverages a dedicated logic to determine the image-related helm flags for to the downgrade version. Let's switch this to use the standard helm-default action, to ensure uniformity with the upgrade version, and most other workflows.

/ci-clustermesh

/test


Error with beta 15

When running with beta 15, i have the following errors:
error TS2322: Type 'EventEmitter<{}>' is not assignable to type 'EventEmitter<NgGridItem>'

can you update the following lines:
public dragStart: EventEmitter<NgGridItem> = new EventEmitter();

to
public dragStart: EventEmitter<NgGridItem> = new EventEmitter<NgGridItem> ();

?
Thanks

Which version of Typescript are you using? I don't get the same error. Will see if it breaks things here...

typescript": "1.9.0-dev.20160409” like angular
--
Gilles Haiat
On 27 April 2016 at 23:02:06, Ben Morton<EMAIL_ADDRESS>wrote:
Which version of Typescript are you using? I don't get the same error. Will see if it breaks things here...
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub


dirty shutdown when update pending causes errors

Issue Type: Bug
If VSCode has an update downloaded, and is pending a restart (of VSCode) to install it, and I restart my computer without closing vscode first, the next time I open vscode, I get a long string of JS errors in a messagebox and it won't start. I had to reinstall vscode.
This happened to me with the upgrades from 1.54.0->1.54.1, 1.54.1->1.54.2, and at least in one other recent upgrade, but I didn't pay attention at the time to what version it was, thinking it was some one-time glitch.


Feature: Blur background environment map

GSVN-247

https://github.com/ux3d/glTF-Sample-Viewer/pull/109 needs to be merged first

https://github.com/ux3d/glTF-Sample-Viewer/pull/109 needs to be merged first


Avoid passing loop= argument where it is deprecated/unneeded

What do these changes do?
Avoids passing explicit loop arguments to asyncio.wait_for (where it is deprecated) and asyncio.open_connection (where it is still allowed by unneeded within a coroutine).
Are there changes in behavior for the user?
No
Related issue number
#1002
Checklist

[x] I think the code is well written
[x] Unit tests for the changes exist
[ ] Documentation reflects the changes
[x] If you provide code modification, please add yourself to CONTRIBUTORS.txt

The format is <Name> <Surname>.
Please keep alphabetical order, the file is sorted by names.

[ ] Add a new news fragment into the CHANGES/ folder

name it <issue_id>.<type> (e.g. 588.bugfix)
if you don't have an issue_id change it to the pr id after creating the PR
ensure type is one of the following:

.feature: Signifying a new feature.
.bugfix: Signifying a bug fix.
.doc: Signifying a documentation improvement.
.removal: Signifying a deprecation or removal of public API.
.misc: A ticket has been closed, but it is not of interest to users.

Make sure to use full sentences with correct case and punctuation, for example:
Fix issue with non-ascii contents in doctest text files.

I didn't add any documentation or news snippet since I see this as part of the bigger change to rebase 2.0 on redis-py. But it is a change since 2.0.0a1 so let me know if I should add something.

This covers part of #1002, but I'm going to extend it to cover the rest. I'll close this and open a new PR when that's ready.


Add build-aux dir and .m4-files to secp256k

These files were copied from the Bitcoin repo as they were missing in the ION dist.

I almost got it right, except that every commits seems to depend on the previous one, while there's no need for that..

Yeah it's because you have pushed all comiits from the same branche on your repo (build-aux) ^^

@RdeWilde yep, generally you want to check out a different working branch (from the master branch) for each different change that way they're all broken up nicely.

So git branch fresh-branch origin/master and the git cherry-pick <commit>?

@RdeWilde

git remote add upstream https://github.com/ionomy/ion.git
git fetch upstream
git checkout master
git reset --hard upstream/master --
git push origin +master

Now that's out of the way:

git checkout -b [name_of_your_new_branch]
git cherry-pick <commit id> (Do this with however many commits are relevant)
git push origin [name_of_your_new_branch]
Open a new pull request :)

I think that covers it, I'm sure @IngCr3at1on will find something to poke a hole in!!

@mitchellcash seems good, personally I try to make sure I always use ssh instead of http/https but that's not really relevant to the issue so much as me purposefully finding something to poke just because you said I would :P

Unable to Merge this PR


Add selection.foreground and let WebViews style textareas like those in settings and the search panel

I am styling input and textarea elements in a WebView extensions, and I try to keep them as close as possible to the user selected theme. The selection is a struggle though. One thing to note is there is a CSS variable for selection.background and the following works well for themes that define it:
input::selection {
    background: var(--vscode-selection-background);
}

But the default selection for the light+ theme uses blue background and white foreground, where the white foreground is different from the default dark gray text foreground color. Once the following input::selection rule is added it changes the the foreground color of the selection as well. But there is no selection.foreground variable that I could add in. Then for some themes the selection.background is not set, and trying to use a fallback in CSS, that implements the default selection colors goes something like:
input::selection {
    background: var(--vscode-selection-background, blue);
    color: var(--vscode-selection-foreground, white);
}

However then the themes that actually set selection.background get the wrong foreground. In VSCode this is handled here by adding the ::selection conditionally:
https://github.com/microsoft/vscode/blob/d163f3f3d458fb65f4bb336d14ce6bdb323a0c9f/src/vs/workbench/browser/style.ts#L34-L37
I am about to try to port something similar in my js for my WebView extensions. But it would be so much easier if the --vscode-selection-background AND --vscode-selection-foreground were always provided to CSS, and when the keys were missing in the theme, were somehow interpolated, inferred or we got some defaults, that would let the following just work and style inputs the same as the search text fields and inputs:
input::selection {
    background: var(--vscode-selection-background, blue);
    color: var(--vscode-selection-foreground, white);
}

Other than that, using high contrast selection background color, would often require setting the foreground as well. For me it makes perfect sense to add selection.foreground to the selection.background, even if we don't get them in CSS when they are not set. I found a few issues about selection colors and some work has been done on them, but I wonder, if there is chance something like this could be added?

The theme text selection colors are already is exposed as: --vscode-editor-selectionBackground and --vscode-editor-selectionForeground

There's a separate vscode-selection-background variable that some themes expose to customize selection in the workbench.  Always providing a default value for that is tracked by #60198, which I think should also include adding a  vscode-selection-foreground if needed


Update mephisto.go

Made Mephisto run a bit safer, especially nice for early game runs, instead of directly attacking bot moves to attack position, waits for Mephisto to move then moves to a safer attackposition and starts attacking him.
Doesn't always work, Mephisto movement seems to be random, but in test runs it really helped with getting the chicken count down.
After killing Mephisto bot goes through red portal to A4 for faster next game town movement.

I tried this 10 times on nightmare using a blizz sorc (bad gear so slow killtime).
Somehow the bot exits the area via the red portal before Meph dies, which I didnt even know was possible.
It seems to do it after navigating to the safespot.
(If I pause the bot after it enters act4 and then manually go back to meph again, in the same game, he is still alive)
I'll try to repro again tomorrow and catch a video, maybe sleep deprivation is getting to me

I presume it will be the slow kill time. It happened when I was undergeared also, on nova sorc.
It will be triggering a time or attack loop limit, so the bot assumes the monster is unreachable etc.
Not sure on the fix/workaround, but take a look at lightning_sorceress.go where it casts static first on particular bosses. Some of that additional code might be a good starting point.
You should be able to add a specific override for Mephisto where it attacks more loops or something along those lines.
Sorry I'm not a developer but hope that points you in the right direction :)

If you get ~10 levels into static you can hit him from far away

Obsolete with #422


Can't download the pre trained models

Could you please share the pre-trained model files because I can not connect to the website?

I'm having the same issue. The first cell in the colab demo is also hanging when run.

Yes Please resolve this

http://sceneparsing.csail.mit.edu/model/pytorch/ade20k-resnet50dilated-ppm_deepsup/encoder_epoch_20.pth this link is not working

http://sceneparsing.csail.mit.edu/ this website is down completely. Its weird because other csail.mit.edu websites are working. My thesis work is basically screwed if I don't get the  pre-trained model files.

https://colab.research.google.com/drive/17alEj52QYGNB1sxNFL96BoaI-weMnpYM?usp=sharing
You can use the above method for semantic segmentation  if you want, Hope it helps

https://www.kaggle.com/d0blee2/starter-superpoint-pytorch-e9ca99d4-6
go to input>superpoint pytorch>superpoint pytorch>models. All the weights are saved there. I took the resnet50 decoder and encoder; tried it in this pretrained model and it is producing correct segmentation.

https://www.kaggle.com/d0blee2/starter-superpoint-pytorch-e9ca99d4-6
go to input>superpoint pytorch>superpoint pytorch>models. All the weights are saved there. I took the resnet50 decoder and encoder; tried it in this pretrained model and it is producing correct segmentation.

Oh Thank you

Oh Thank you


Corretto images use OpenSSL 1.0

It's a bummer that for Corretto, the native part is compiled against OpenSSL 1.0. That leaves quite a gaping hole in SSL support.
Can the native part be built against 1.1 instead?

@tianon Thank you for accepting the PR. Is it possible to push the updates images to Dockerhub, at least for latest versions?

https://github.com/docker-library/official-images/pull/10488 :+1:
(For posterity, this was fixed by https://github.com/docker-library/tomcat/pull/234)


[docs] Release number in user concept section of hue docs

Describe the bug:
Which release number are we talking about in the sample popup section in the last line??
https://docs.gethue.com/user/concept/#sample-popup
Hue version or source?
Source: Hue docs(docs.gethue.com)

Indeed, +1 to remove it
'In this release, it also opens faster and caches the data.'


[border-agent] handle error responses from leader

This PR fix the bug in border agent that it assumes the COM_PET.rsp from the leader is CHANGED. But it is possible for the leader to return a 4.XX error response. In that case, the border agent should forward that error response.

I think there is more problems with the error responses handling. The border agent should forward exactly what it received from the leader unless it is not capable of doing it (for example, allocating response message failed).
Let this to another PR.


make ta.gui microsoft friendly

ISSUE - execution engine now runs on macOS and Linux. FIX - after gathering and acting on feedback for beta release, port execution engine and dependencies to Windows

@kensoh this project looks really amazing and the goal is laudable. I've taken a look at getting this work on Windows. It appears to me that the core programs required (phantomjs and casperjs) are cross-platform, so the only things required to get it to run would be porting the Bash script src/tagui and potentially the PHP to something more friendly for Windows.
Is that accurate? Have you considered doing this in Node? If it was done that way then anyone could install it with an npm command and it would execute on any machine that has Node installed, or from a USB stick.
I might try to port it in that direction in a fork unless you note there's an issue with the approach.

Hi @c-h- thank you for your kind words :) Yes what you said is exactly correct, as far as I can tell now, it is the porting of src/tagui into a batch file, handling Windows path '\' instead of the current codebase purely using '/'. There is a lot more work than these 2 areas that I can see now, waiting to appear along the way, and be addressed to work well for Windows users.
Do you mean packaging TA.Gui in Node? Actually I haven't used Node. Just signed up on npmjs and installing Node. Thanks for your suggestion!

Hi @c-h- thank you for your kind words :) Yes what you said is exactly correct, as far as I can tell now, it is the porting of src/tagui into a batch file, updating PHP files to handle Windows path '\' instead of the current codebase purely using '/'. There is a lot more work than these 2 areas that I can see now, waiting to appear along the way, and be addressed to work well for Windows users.
Do you mean packaging TA.Gui in Node? Actually I haven't used Node. Just signed up on npmjs and installing Node. Thanks for your suggestion!

Hi @c-h-, adding on for reference, I missed out src/tagui_crontab - this file runs service requests batch if that system is used as a webserver to allow invoking automation flow execution via API.
If you have time to port it in that direction you mentioned that would be great! I'm now focusing on making the Chrome extension more expressive and improving the condition handling portion. I'll check back with you when I come back to work on the Windows portion so that we don't duplicate efforts.

@kensoh so I had some free time today and forked the repo to try a different approach. I chose to use Node to repackage the whole thing since I'm most familiar with it. I also know professionally how well it works cross-platform including off a flash drive - I'm not sure if PHP shares those capabilities or not. I ran this port off a flash drive to test it and everything ran smooth.
My Node port is functional I believe, though I hardly tested it on anything.
Some perks of the port to Node:

The code was easy to translate since bash, PHP, and Javascript are all scripting languages
No need to maintain files for multiple platforms if it's all built in Node (no bash/bat)
The whole thing is installable with a git clone and npm install (don't need to worry about phantom, casper, or slimer, those are handled as npm packages.)
If this was published on NPM (easy to do) then installation to run the whole thing would be as simple as: npm install --global ta-gui. Then can run ta-gui <pathToFlowFile> [options] from anywhere.

Cons:

Requires Node to be installed to run it
The "core" parser/casper execution was ported just to get it working but most of the extra features and some intents have yet to be ported

I intend to play with this project and the Node port and see if it's worth continuing to work on it for my own needs.
Let me know what your thoughts are!

By the way, check out the source code, particularly the intents parsing implementation: https://github.com/c-h-/TA.Gui/blob/master/src/js/tagui_intents.js#L197-L210
I think the Javascript multi-line template strings are more readable than you can do with PHP concatenation.

Hi @c-h-, wow amazing work! I've starred your repo and would encourage developers more comfortable with Node implementation to do the same. I'm undecided whether for a typical user, installing Node or installing the packages separately is a lesser evil. I do wish to have the open-source deployment as simple as installing a Windows application, just double clicking into a .exe will do.
Can you describe briefly on how you port over to js? Is it manually editing each file or there is a way to automate part of that process? It'll be great if we can come up with automated porting. There are still much changes to be done from beta to the initial release and I'm much more familiar continuing the development and maintenance in PHP.
In fact the current codebase is very dense in that I try to pack as much code/text into each line as possible, while still formatting nicely and adding comments liberally. Reason being I work in a nomadic way with my wife, staying at different cities every few months, so it's just my laptop without monitor. I try to maximize screen real estate and optimize for development in vi editor so that I can rapidly code on the go.
Your idea is great and it makes automation more accessible if both implementations can be concurrent, only catch is that progress will be a whole lot slower if I were to switch to JS as the main engine. Nevertheless, let me know what I can help with while you work on porting to Node, be it through here or directly at<EMAIL_ADDRESS>I've read through your documentation and following are some inputs fyi when I tried to run, I don't see any show-stopper. I tried using step show and it works. Tried echo it seems to throw some parsing error in the generated CasperJS script. Ran a second time and start getting below error:
executing casper
/usr/bin/env: node: No such file or directory

@c-h-, an update that in the meantime I had setup npm distribution channel so that developers with Node can npm install tagui to get PhantomJS/CasperJS/SlimerJS also installed at the same time. This is not related to Windows portability, but may give developers a more convenient way to try out TA.Gui.

@kensoh that's great - anything that makes it easier to use tools like this makes it that much more attractive. To be honest, I'll work on the Windows fork I started as I have time but it's really for a side project that isn't very important to me. I'll definitely keep you updated when I make contributions though! What would help me most is to have some example input files from the Chrome extension that use the various features of the parser, as well as the output that the parser generates. From that I can make sure the Node fork behaves identically in function as I have time so you don't have the errors you're reporting.

Thank you @c-h-! This sounds like a good time to work on some unit-tests of sorts for tagui_parse.php, to cover different steps and conditions. I'm thinking of creating 2 signature files for it, one before parsing and one after. It'll help you validate and also useful for me to make sure nothing breaks when making changes or introducing new features. I'll work on this today and keep you updated.
Oh yes, adding another channel normally is bad and dilutes traffic, but my focus now is increasing downloads so that I can get more feedback on bugs/improvements. That will help the project better in the longer term. Npm appears to be a good channel for distribution, over 150 downloads since 2 days ago.

Hi @c-h-, I've added into repo under src/test. There is a positive_test automation flow file. The idea is after running ./tagui on it the result should match positive_test.signature (I've replaced local filename with '/full_path').
This set of positive tests cover a much larger test set than the current iteration of Chrome extension. With these files my hunch is this is going to be the start of automated testing!

Cool!! Looks great. To do automated testing I'd encourage doing Javascript minification on the parser output and the signature. Reason being that the JS that the Node fork generates has different whitespace than the PHP generated version etc while having the same functionality (for the working parts).
When I was implementing the fork I looked at diffs of the PHP generated version and the Node generated version to identify where the code was functionally different.
This signature should make it a lot easier to iterate though!!

Thanks for your suggest @c-h-, I'll chew over it! I have reservations as minifying added an extra layer of complexity for troubleshooting automated tests and adds dependencies. The workflow might be easier writing a wrapper to manage the whitespaces differences as part of the automated tests.
Past few days I had been thinking, are there merits in considering deployment on Windows using tools such as Babun? It provides the Linux shell and Linux-styled paths. Also, Microsoft is already introducing Linux shell into Windows 10 (for 64-bit version).
So I'm asking myself, is it better to maintain dual copies of code for execution engine, or focus efforts on improving existing features. In any case, I think I'll contact Babun's creator. Imagine installing Babun just by typing install and then along with that auto-download and configuration of PhantomJS/CasperJS/SlimerJS. That will be perfect!

Thanks for your suggest @c-h-, I'll chew over it! I have reservations as minifying adds an extra layer of complexity for troubleshooting automated tests and adds dependencies. The workflow might be easier writing a wrapper to manage the whitespaces differences as part of the automated tests.
Past few days I had been thinking, are there merits in considering deployment on Windows using tools such as Babun? It provides the Linux shell and Linux-styled paths. Also, Microsoft is already introducing Linux shell into Windows 10 (for 64-bit version).
So I'm asking myself, is it better to maintain dual copies of code for execution engine, or focus efforts on improving existing features. In any case, I think I'll contact Babun's creator. Imagine installing Babun just by typing install and then along with that auto-download and configuration of PhantomJS/CasperJS/SlimerJS. That will be perfect!

There is also MSYS2, that provide a bash shell, Autotools, revision control systems and the like for building native Windows applications using MinGW-w64 toolchains.

Thanks @LeMoussel for sharing this tip! I'm checking MSYS2 out together with Babun and Cygwin.
If there is a way to let these shell platforms install with one click and automatically run scripts to install PhantomJS+CasperJS+SlimerJS, it sounds to me lesser user friction than having users install the dependencies separately. It also saves time porting/maintaining code for another platform, and that time can be focused on building up existing functionalities + new features.

Grab the latest MSYS2 installer and go through the installer.
As of the latest version of MSYS2 you have to run msys2_shell.cmd -mingw32 or msys2_shell.cmd -mingw64 from the command line instead wherever you installed MSYS2 (i.e. C:\msys64)
A solution is to install build tools needed for PhantomJS, CasperJS & SlimerJS. You will need to use pacman to get these packages.
For PhantomJS
pacman -S gcc make flex bison gperf ruby openssl fontconfig sqlite libpng libjpeg git python perl
git clone git://github.com/ariya/phantomjs.git
cd phantomjs
git checkout 2.0
./build.sh

Another simpler solution would be to  install applications using yaourt . Eg: yaourt -Ss phantomjs

Thanks @LeMoussel this is looking good! Noted on your inputs.
With such command-line control through automated install script, non-developers and business users could enjoy the abstraction from PhantomJS / CasperJS, while tech users such as developers can enjoy fine-grain control over the installation process (manually or npm install tagui) and have the option of using JavaScript code directly within their automation flows.

@kensoh just to chime in here, I was able to get PhantomJS, CasperJS, and SlimerJS fully locally installed and configured via npm. Once they're installed their paths are located at ./node_modules/.bin. Running casperjs commands etc. then just requires setting the environment variable so it can find the path to phantomsjs, slimerjs. Of course npm is needed to get these packages and that comes from installing Node, which is kind of a blocker.

Hi @c-h- thanks for your feedback. Have you tried npm install tagui? I've set up the package to include CasperJS, PhantomJS and SlimerJS. The paths are defined in /src/tagui file with the following 2 lines.
CASPERJS_EXECUTABLE="/usr/local/bin/casperjs"
export PHANTOMJS_EXECUTABLE="/usr/local/bin/phantomjs"

Do you think you can help to validate if a fresh install usingnpm install tagui works out of the box or would it require changing the /src/tagui settings above? I did a sanity check but wasn't able to validate 100% on my VPS as I already had their global installations in place. I just assumed out of the 300+ downloads via npm someone will raise an issue here if it breaks.
If it does not work right out of the box I think I can adjust /src/tagui to detect whether it is invoke from Node.js installation and instead use the path you mentioned above.
Another consideration is the original PhantomJS is not deployed through npm due to technical reasons. The one on npm is built by someone from Medium and I guess is the defacto one used by Node.js users as well for convenience, but I am not 100% sure that package behaves exactly like the main PhantomJS package from the official website.

am starting work on this. since beta release 3 weeks ago, much changes had been committed to resolve reported issues and strengthen the foundation of the tool. the chrome extension is also much more powerful and user friendly. as there are no more outstanding issues, am ready to cut a release candidate version as soon as the porting to windows is done.
to let windows users use the tool with minimal dependencies / installations, i will first try to go with porting the shell script to batch file and making the php file paths work for both windows and linux distributions. looking through, in theory there should be minimal maintenance effort once the base is set up.
for developers with node.js setup, the goal is for ta.gui to work directly with npm install tagui (appears to be already but need more feedback confirmation). for users without node.js setup, they are invited to download directly from phantomjs/casperjs/slimerjs websites and also have a look or learn more about those really cool tools at the same time. have updated readme for that.
i believe someone might create respective one-click installers for macos, linux, windows along the way. but not critical to be part of release agenda now. can't wait to distribute to a larger group of users to get more feedback and improve ta.gui!

Well, I'm borrowing my wife's Windows laptop to use in middle of nights to get this over.  Install PHP, install CasperJS, install PhantomJS, install TA.Gui, config environment paths. I almost gave up. This is not going to work out.
I think many Windows users might just give up along the way if it's distributed this way. So, I'm going to attempt packaging all dependencies together as a zip file. Just download and run out of the box without any setup or any other dependencies. Can't see any roadblocks at the moment to distribute this way for Windows. So I'm gonna go for it.
Got the basic flow running (haven't ported the various options and file-handling). Aiming for this weekend or the next to cut the release candidate version which works on Windows/macOS/Linux.

Thanks for your hard work for we Windows devs!
Do you have a task list on how you installed it?  But you're right environment paths can be a chore.
Perhaps a better solution would be a docker/rkt package, but let's get the manual install down first.

No probs! A lot of businesses still run on Windows, definitely have to make it a breeze for Windows users to run TA.Gui.
Yes it seems quite straightforward to package together, just put the PHP5-32bit-thread-safe + CasperJS + PhantomJS + TA.Gui files into a single directory and probably just append the paths and env variables accordingly in the main runner for Windows tagui.cmd
For Docker / rkt I won't rule out adding that distribution channel and automate the build/distribute process if some users can benefit from it. At the moment, there's only npm, direct downloads, using respective OS package managers.
Windows hopefully will be a one zip file download that works right out of the box. I hope to make a one zip file download for macOS too, and Linux if possible. Initially wanted users to manually set up the dependencies, but felt that it's so much hassle even before running the first automation file.

No probs! A lot of businesses still run on Windows, definitely have to make it a breeze for Windows users or developers to run TA.Gui.
Yes it seems quite straightforward to package together, just put the PHP5-32bit-thread-safe + CasperJS + PhantomJS + TA.Gui files into a single directory and probably just append the paths and env variables accordingly in the main runner for Windows tagui.cmd
For Docker / rkt I won't rule out adding that distribution channel and automate the build/distribute process if some users can benefit from it. At the moment, there's only npm, direct downloads, using respective OS package managers.
Windows hopefully will be a one zip file download that works right out of the box. I hope to make a one zip file download for macOS too, and Linux if possible. Initially wanted users to manually set up the dependencies, but felt that it's so much hassle even before running the first automation file.

Adding on, I also won't rule out having more than one endpoint for the automation. At the moment TA.Gui converts 'natural' language syntax into CasperJS JavaScript automation code.
But I would want to consider adding an option to also have the ability to convert to Selenium WebDriverIO if that is something useful by a substantial number of users. Since half of the project goal is make automation accessible to more people, it could mean non-developers and business users gaining the ability to write automation interactions without learning programming, it could also be for developers / QA to simplify their test automation development. I don't know if that will be a good feature to add, will look out for feedback.
At some point in time, depending on how it develops, probably have to decouple the parsing engine with parsing logic, so that through endpoints / language specific config files, the same automation flow file can output to multiple endpoints for consumption.

Another 2 features I'm thinking about lately is 1) adding the ability to run automation flow from an URL so it is easy to share and reuse certain automations. 2) adding the ability to debug online by hosting a live session so when a user types the automation instruction through some interface, the step gets executed in real-time on his Firefox browser.
Don't see any technical roadblocks for the 2 ideas, just whether to implement and how they are implemented. These 2 features are something that I would want to use myself in a web automation tool, so probably have to get them implemented at some point in time.

convert to Selenium WebDriverIO if that is something useful by a substantial number of users

This would be most beneficial to corporate projects with a large code base & 1000s of tests.  & perhaps such an addition should be sponsored by them? 💰
The other 2 ideas to good also, but perhaps another developer can create them?
Because I'd be more interested in making the tests/automation run faster, like using PHP7 or HHVM in the least, or switching over to GoLang or Node.  My ideal world is test results return so fast they are nearly instantaneous, so I could code -- test - code - test back & forth so fast it is seamless work flow.

I see.. I thought that Selenium WebDriver is the most commonly used test automation driver. If there are people benefiting it's probably not hard to add that option. The drawback is it might be an invitation to go down the rabbit hole. Because Selenium users might start asking for variants in Java, C# etc. That in theory should be manageable too if parsing engine is decoupled with language syntax and maybe contributors can just edit the config files for the respective endpoints.
I see.. Are you mainly testing web apps? From my experience with test automation, the bottleneck in test execution time is actually network latency in terms of the time the app web-server processes and return responses to users. The actual execution delay by various frameworks or methods are a small % compared to the total test execution time. I guess a quick and dirty way to make it superfast and run in parallel on multiple instances, that should bring the most gains with the least effort I think.
I like PHP language, in fact the parsing engine and API runners for TA.Gui is done in PHP. Its like some toolbox with many random things thrown inside, and so much can already be done without introducing new libraries / dependencies.

I think you're right, Selenium WebDriver does seem to be the most popular.  However once you add something, you have to maintain it, & at least field suggestions to expand it like you fear.
Though making a solution more expandable by making it easier for others to add their own plugins/API is something I wish more do.  If you feel TA.GUI already has a good plug-in architecture, then a quick docs/demo would help here.
To me, the difference between 'web apps' & 'web sites' is very small.  I approach both with the same attitude that I want both to work as intended, load & run fast as possible.  Also, with 'progressive web' & Google AMP websites are effectively web apps anyway.  But yes, my main intention is to test local builds without a live remote API (maybe simulating an API with JSON dummy data.
Network latency is a good point, perhaps I should look into testing over Ethernet connected hardware running on their own local host?  Parallel runs is also a good idea! (Though sometimes on my local machine my cores are eaten up by several graphics apps & browsers with too many tabs open to have too many other processes running also ;) )
PHP is cool.  But it is unusual for web dev tooling to be PHP.  Most of the libraries I've seen the past few years have been Node based, with some GoLang.  They just run faster.  I hope PHP7 or HHVM (or both) so people can run your tool at max speed.
Either way, thanks for your tool; I'm sure many will benefit from it! 🎆

I posted to WebdriverIO gitter chat to get some feedback from the community. Their project head and an active contributor responded positively to make this addition. In that case, I'll add this to my agenda until some new developments discourage it.
Oh it is not yet able to 'plug-and-play' using config files. I'll basically have to tear the parsing engine apart and recode it to read the parsing syntax from respective config files. Eg 1 file for CasperJS, 1 file for WebdriverIO, etc. It is probably going to be a csv file for easy and convenient editing to show mapping abc TA.Gui step to xyz code for target endpoints.
However, during the process of ripping it apart and putting it back, there has to be a code freeze for that parsing engine. Otherwise it will be very easy to introduce bugs related to other new improvements or code changes. So I can only work on this after I get some confidence that there isn't anything new or bug-fix to be implemented in the near-term for the parsing engine. Ie, I need to get the foundation solid and the distribution packages for Windows, macOS, Linux working well first.
I have a friend @franciskim who is an expert on WebdriverIO and personally interested to see TA.Gui also output to that endpoint. When the 'plug-in' system is ready, I probably can create a draft syntax csv file base on what I know, and then invite him to review/edit and commit as contributor.

I see.. Oh yeah simulating with dummy API data can be very helpful if that component is not a critical part of the test suite. I remember last year in my testing team, we used 10 laptops each running 10 Firefox sessions to drive testing through Selenium Grid. We were not able to get past 10 sessions without experiencing sporadic side-effects of overloading the laptops.
PHP7/HHVM will definitely be an improvement, though actual savings in execution time would be minimal and a large % is actual response time from target web app. As an example, the Typeform automation flow to download a report. It takes about 1 second to parse natural language into CasperJS JavaScript + load the CasperJS & PhantomJS program, while the entire flow takes 20-30+ seconds depending on how fast Typeform website responds. So optimizing the language used by the parsing engine is probably going to return negligible gains.
Thanks for your encouragement! I've spoken to someone who wrote a very nice series of CasperJS / PhantomJS tutorials a few years back. He is looking into making a simple series for TA.Gui, that will be really helpful for people to get started, besides existing readme and sample flows.

Started a new thread just for tracking and managing packaged installations.
The goal for that is users without Node.js can simply download a zip file for macOS, Linux or Windows. Just unzip and run TA.Gui, with no setup needed.
Maybe new kinds of issues will pop up, so proactively create a new issue to pre-empt - https://github.com/tebelorg/TA.Gui/issues/20. All dependencies to be included already. More info at Set Up section of README.

Windows file path handling is ok now with commit https://github.com/tebelorg/TA.Gui/commit/6f9e14fc9b7de2f91baa4c4246e25ebee81417dd and following commit comments -

casperjs/phantomjs do not seem to support \ for windows paths, replace with / to work
running manual js file directly with \ windows path for capturing images will throw phantomjs error
replacing with \ with / for windows path can capture images and save correctly, thus this change

Running on Windows on an automation flow without options work now using tagui flow_filename, left on the table is options handling and the loop for handling datatables. Should be including in the TA.Gui Windows package some ports of Linux utilities such as awk and tee.

Hi @c-h- @LeMoussel @tomByrer I've made a series of commits and I believe the port-over to Windows is completed. Check out the setup section for the packaged installation. Let me know if anyone runs into issues!
The method I chose was to simply port the Linux shell script into Windows batch script, plus handling some platform specific changes in the PHP code. Should be be easy to maintain after this initial effort. With this, there are a few areas where user friction is minimized -

no need for Linux environments in Windows
can package all dependencies for unzip & run
also works for npm install tagui on Windows
readme has manual setup steps if user wants to

I'll close this issue for now and keep issue #20 open (on tracking any issues with packaged installations for macOS, Linux, Windows).

Hi @c-h- recently I added a live mode feature, so that during run-time user can type steps or JavaScript code to test interaction with web elements. In order to do that I have to 'duplicate' almost all the translation logic from PHP tagui_parse.php to JS in tagui_header.js. I remembered you were talking about that, but you might have moved on to other stuffs already.
Hi @tomByrer @LeMoussel it's been a couple of months since the packaged installations have been released. Do let me know if you encounter issues using! They suppose to work by just unzipping and run on macOS, Windows, Linux. All dependencies r packaged in. And also supports installation by npm install tagui. I ended up just porting over shell script to bash (lots of headaches) and including some Windows version of UNIX commands.
Now I'm working to integrate SikuliX so that visual automation can be supported. For example, clicking on an element by specifying an image file of what to look for. Proof of concept tests are ok, just need to code and test it. So this feature will be in v2.0 of the tool. I adding this mainly for cases where it is just not possible to automate through using XPath/CSS. This opens up a lot more possibilities. Because you can also interact with stuffs outside the browser, such as your desktop icons.

yea @kensoh really excited you're still working on this and hope to dive in again one day. Right now it's not possible for me to contribute unfortunately. Best of luck!

No probs @c-h- cya around again 😄 Thanks for your reply!

Hi,@kensoh , Itou !  I'm actually on another project, it's not possible for me to contribute unfortunately.

Going to try integrate headless Chrome directly with TagUI, raised an issue to track - https://github.com/tebelorg/TagUI/issues/24

Done! Released v2.0 for direct Chrome automation for both visible and headless mode -
https://github.com/tebelorg/TagUI/releases/tag/v2.0.0


Use condition for embedded ES deployment progress

Currently, we set the status of the deployment of embedded ES into the ElasticsearchEndpoint. We should use Condition in clusterLogging.Status instead.

UI issue need to ready before https://github.com/rancher/rancher/issues/13010

@vimniky
Rancher versions:
rancher/server: 2.0
we add condition message for embedded logging, so user could now the deploy result. Could you help show them in the UI.
after user enables the embedded logging, show the message below the embedded endpoint. You could check the UI when user add the cluster
continue to get the message from websocket until get the embedded endpoint from status.appliedSpec.embeddedConfig or you get false from the condition Updated
status": {
"appliedSpec": {
"clusterId": "local",
"embeddedConfig": {
"dateFormat": "YYYY-MM-DD",
"elasticsearchEndpoint": "http://<IP_ADDRESS>:31787",
"indexPrefix": "local",
"kibanaEndpoint": "http://<IP_ADDRESS>:32086",
"limitsCpu": 1000,
"limitsMemory": 512,
"requestsCpu": 1000,
"requestsMemory": 512,
"type": "/v3/schemas/embeddedConfig"
},
},
}


[CLOUD-940] Expose the MAVEN_MIRROR_URL variable for JDV

If set, it will be used by s2i while building sources.
Replaces #242

rebased and merged


Created Gryffindor page

In this  , I have created Gryffindor page using a basic template , also created two button to link Home and Quiz page also added a footer and linked button of index.html to Gryffindor page .

@Rahulkumar2002 Resolve the merge conflicts, your branch is 16 commits behind the main branch


[YoutubeBridge] Add API support, option to skip using RSS feed

Temporary draft this until #2100 and #2224 is merged.

I think this should be implemented in a separate bridge YoutubeApiBridge in order to not make code unnecessarily complex.

@csisoap Any progress?

Let us know if there is still interest here.


correction for step 5 for azure container registry

In this article: https://docs.microsoft.com/en-us/azure/iot-edge/tutorial-csharp-module#feedback
Instead of step #5, you can replace the docker login step by logging into the azure container registry since the current step did not work at all.
az acr login -n ACRNAME --resource-group ACR_ResourceGroupName
Then when you execute step #6, it will execute with no issues and we should add step #7 to view this container image in the ACR to validate that step 6 was executed with no issues. I was wondering why i am not able to view the image in ACR after executing step #5, the article should add this validation step after uploading the docker image. Hope this helps.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 181d5562-f8d7-9c59-85ea-09efbe397f3e
Version Independent ID: dbedd952-a050-286e-c951-4529ec8e87b8
Content
Content Source
Service: iot-edge

@melzoghbi Thank you for your feedback! I have assigned this issue to the author to investigate further and take the right course of action.

Thanks @mike-urnun-msft

Hi @melzoghbi thanks for taking the time to open this issue.
I retested the original steps (docker login) and they do work as expected. Perhaps you were trying to sign in with your Azure account credentials, rather than taking the username and password from the ACR access keys?
I also tested the steps that you recommend. I do like the simplicity of logging in with the az acr login command, but that does require the Azure CLI which currently isn't a prerequisite for this article. I'm reluctant to add another prerequisite to an article that's already front-heavy. Would it help if I clarified the login step with more information about which ACR keys to use?
Finally, I do like your feedback that we should include steps to see the new image populate in the registry. That's a simple check in the portal which I'll add to the article once we agree on which total changes to make.

#in-process

@kganjam thanks for taking a look into this. here is my feedback:

Yes i did use my Azure Credentials rather than the username and password in ACR. since i got "Login Succeeded" message i assumed that everything is good!. I learnt the hard lesson after i connected with the product team and they pointed out this to me. So what i would recommend a change is to clearly state to use the ACR username and password from Azure portal, this will remove the confusion for the readers.

Yes, please clarify the login step as mentioned in #1 this would be enough :).

Yes please. the reader has no idea what he is doing after he pushed the image in step 6 as mentioned in my original post.

Thanks a lot for your collaboration to make our docs a stunning source for devs like me.
Thanks.

Hi @melzoghbi I've made some changes to the C# tutorial based on this issue. Can you check again and see if this addresses your concerns?

Awesome @kgremban! Looks much clearer now :-)


Middleware Callable Resolver Support Bug

In the Slim 4 feedback I had some criticism for the slim 4 middleware process.  As promised, I have some more details about the issues I was having.  The support added back in #2780 was a good idea, however, it appears to have some flawed logic related to middleware construction if added as a string that is defined in the container.  Ex: $app->add(ExceptionHandler::class);
What I expect: The class should be resolved in the container and use the $defaultMethod specified to CallableResolver::resolveByPredicate() by the AdvancedCallableResolverInterface::resolveMiddleware() method.
What is actually happening: The middleware is resolved as a string, constructed with the container and assumed to use the '__invoke' method.
The solution:  The source of the issue appears to be a general over engineering of the CallableResolver.  The resolveByPredicate() method is unneeded, and I generally wonder if the AdvancedCallableResolverInterface is needed at all.  I have included a proposed fix in PR form to remove the resolveByPredicate() method and refactor the resolveSlimNotation() method to be a little more ergonomic.
After reviewing the new Slim 4 code base, this feels like a common trend when compared to Slim 2/3.  Things are not particularly gratuitous, there were just a lot of features added, and the simplicity got lost in the implementation details.

There is still one failing test, but I didn't see this one until I pulled the most recent 4.x and appears to be unrelated to this change.  I did look at the MiddlewareDispatcher in terms of callable resolution... woof.  For all the effort that went into decoupling stuff for 4.x, I wonder why this class is also a CallableResolver.  I am also wondering if the fixes I put in place will actually fix the issue I am experiencing.

I don't actually understand the issue you're experiencing.
Can you show your ExceptionHandler class? Does it implement MiddlewareInterface?

I finally tracked it back to a freaking container issue, ie the class exists but its not in the container (when I thought it was) so it was getting constructed with ContainerInterface which is the intended behavior.  I am not super stoked that this took 2 days to sort though, the old and new code are functioning identical, do with this issue/pr whatever you want.


Security XML configs are in inconsistent states

We currently have a four separate security config files (etc/security/*.xml) which are in various states of disrepair.  These should be unified into a single config with all of the components necessary for CAS, Shibboleth, LDAP, and whatever else we support being present, but disabled.

By now, only CAS is left as a separate and somewhat broken external configuration. @miesgre, if I remember correctly, you are using CAS. Do you by any chance have the time to take a look at including CAS in the main configuration as well?

By now, only CAS is left as a separate and somewhat broken external configuration. @miesgre, if I remember correctly, you are using CAS. Do you by any chance have the time to take a look at including CAS in the main configuration as well?

I will take a look

Thanks.


#281-Create a reusable table component---->Table head component

Implement table head component, including table row component which is made from Mario

@aleksandarmicev Can you please make this your priority? Lets merge the table as soon as possible 🙏


MERN_MongoDB: 5.2 Setting up database using Mongoose

Description
Connecting database to the application using mongoose

Explain how to connect a local database to nodejs application using mongoose.

Project Directory
Branch MERN>MERN/Topic/Backend/MongoDB/
Name the file as 5.2_Connecting_application_to_database_using_Mongoose.md
Domain
MERN
Type of Contribution
Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

/assign


Make bike router ignore ferries, configurably

Fixes an issue where we get recommended a ferry with very specific hours.

We can get ferries to show up in the public transit routing instead, so ignore ferries at the bike router level.

Also, since the ultimate problem we're trying to fix is a special event only ferry being used by default in bike directions, it seems bad that stock GraphHopper will continue to have that problem. Any thoughts on what a more targeted fix would look like? Maybe only use ferries that have at least X number of voyages per day? Not to obligate you to solve it, just thinking out loud.

I think the way to solve this properly is to parse opening_hours for the ferry, but that's very complicated and I don't want to be the one to do it. I expect this will come up for them tho.

This bug appears to be back?


Fix OTA PAL test for Nordic

Fix OTA PAL test for Nordic
Description
Nordic doesn't have a PKCS11 port implementation yet, so the test for importing code signer certificate using PKCS11 should be disabled for Nordic. The test was guarded with config otatestpalREAD_CERTIFICATE_FROM_NVM_WITH_PKCS11   but not the private function.
Added guard to the private function as well.
Checklist:

[x] I have tested my changes. No regression in existing tests.
[ ] My code is Linted.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/bot run checks


Amend comment to remove reference to the no longer used NullHandler

null handler removed in 987e4b91

Could also remove the mention in docs/topics/logging.txt?

Sorry Simon, I already pushed the patch. I will care for the docs...

@charettes What mentions are you referring to? Did you mean to update the "complex" config example?

Sorry, I hadn't grepped the docs for Nullhandler. I can remove from logging.txt too.

No worries Claude, I found two mentions of it using grep. The complex config example is one of them.

Logging docs updated in commit a3d5d2ad (based partly on the default logging in utils/log.py)
Not sure how you want to incorporate it as the original commit has already been merged.

merged doc update in b3acdeee502e961065bfcdb7673d7cf91ab5b283, thanks!


fixed  the code in Linear.java to take the max_iter from input when using L2R_L2LOSS_SVC or L2R_LR as solver

Previously, when one uses the constructor for Parameter to set max_iter the code wouldn't use it when using either L2RL2LLOSS_SVC or L2R_LR. I changed the code to allow it to receive the max_iter from parameter when set.

Thanks for your contribution.
I would like to merge your changes, but it is very hard for me to grasp the real change you made from looking at the diff. It appears that you also changed the formatting of the file.
I would appreciate it very much if you could resubmit the pull request with less formatting changes.

Dear Benedikt,
I guess I accidentally used auto formatter in Eclipse. I will create a new
branch. The changes are very small I can redo the whole thing.
Thanks,
Salim
On Thu, Apr 27, 2017 at 6:04 AM, Benedikt Waldvogel <
<EMAIL_ADDRESS>wrote:

Thanks for your contribution.
I would like to merge your changes, but it is very hard for me to grasp
the real change you made from looking at the diff. It appears that you also
changed the formatting of the file.
I would appreciate it very much if you could resubmit the pull request
with less formatting changes.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/bwaldvogel/liblinear-java/pull/20#issuecomment-297671121,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA-bI-y9YnLKCF4c5rbzMyGTejEte-JXks5r0Gg0gaJpZM4M8GE1
.

Dear Benedikt,
I just created a new fork of the project and made a new pull request with
the changes. I also fixed it for other solvers.
Thanks,
Salim
On Thu, Apr 27, 2017 at 9:32 PM, salim<EMAIL_ADDRESS>wrote:

Dear Benedikt,
I guess I accidentally used auto formatter in Eclipse. I will create a new
branch. The changes are very small I can redo the whole thing.
Thanks,
Salim
On Thu, Apr 27, 2017 at 6:04 AM, Benedikt Waldvogel <
<EMAIL_ADDRESS>wrote:

Thanks for your contribution.
I would like to merge your changes, but it is very hard for me to grasp
the real change you made from looking at the diff. It appears that you also
changed the formatting of the file.
I would appreciate it very much if you could resubmit the pull request
with less formatting changes.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/bwaldvogel/liblinear-java/pull/20#issuecomment-297671121,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA-bI-y9YnLKCF4c5rbzMyGTejEte-JXks5r0Gg0gaJpZM4M8GE1
.

I’m sorry but I cannot find your new pull request.

Sorry, I just made the pull request again

Its a separate pull request


Annotate blocking I/O operations with @WorkerThread annotation

Closes #361.
@nikitin-da PTAL!

Sdk-Manager can not download support repositories. Uh…

retest this please

:+1:


More than one rule on a field

I'd like a validation constraint where a repeated message is both required and has a min_items constraint.
For example, something like this:
message Resource {
    string name = 1;
    string parent = 2;
}

message CreateResourcesRequest {
    repeated Resource resources = 1 [(validate.rules) = {
        message: {required = true},
        repeated: {min_items = 1}
    }];
}

Right now if the resources field is unspecified (e.g. nil) then the iterator over the collection just returns immediately and so no inner validation on the min_items constraint is performed.
How do I do this properly? I can't get anything of this sorts to work.

If I'm understanding your question correctly, the min_items rule will enforce that the field is required (said another way, for a repeated field, min_items: 1 is equivalent to saying it's required).

@rodaine I'm saying that's what I'd expect the behavior to be. But as it stands, you can have a repeated field with min_items: 1, but if the field is entirely omitted (e.g. field == nil) then that validation constraint is not enforced. Does that make sense?

Hm, this may be a bug in that case. It doesn't appear we have a test covering a nil repeated field with a min/max setting.


Fix smart quotes and minor cleanup

@reflectronic : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Hi @GrantMeStrength
If you approve these changes, we can remove the locales from the URLs before merging.

@ktoliver : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Unprocessable Entity on adding Application Charges

Hi to all,
I recive an error on running this code present in the example:
Unprocessable Entity - 422
$charge = array
(
"recurring_application_charge"=>array
(
"price"=>10.0,
"name"=>"Super Duper Plan",
"return_url"=>"http://super-duper.shopifyapps.com",
"test"=>true
)
);
    try
    {
        // All requests accept an optional fourth parameter, that is populated with the response headers.
        $recurring_application_charge = $shopify('POST', '/admin/recurring_application_charges.json', $charge, $response_headers);

        // API call limit helpers
        echo shopify_calls_made($response_headers); // 2
        echo shopify_calls_left($response_headers); // 298
        echo shopify_call_limit($response_headers); // 300

    }
    catch (ShopifyApiException $e)
    {
        // If you're here, either HTTP status code was >= 400 or response contained the key 'errors'
    }

Some suggestion?

Hi, i'm having the same error, do you have any solution about this?
Thanks.


[es-dev-server] Serve not supports Electron container

Hi Team,
First of all, thanks for great tool. It helps to solve a lot of things!
Unfortunately, we found that es-dev-server doesn't consider Electron container as a modern browser and so it inject polyfills when I serve the page.
Here is the error in the console.
 Using auto compatibility mode, transforming code on older browsers based on user agent.
Resolved to invalid user agent: {"family":"Electron","version":"8.2.4"}. Using max compatibility mode. Try updating your dependencies, or file an issue with a reproduction.

I currently use -c none as a workaround but I wish that es-dev-server can support Electron out-of-the-box.
After a bit of digging in the code, I think it makes sense that UA is resolved as Electron family instead of Chrome family. The browserlist seems to be sensible that it doesn't recognise that Electron is NOT in supporting browser list as technically it's Chrome. I'm not sure what the best solution would be but this may need to handle inside es-dev-server itself..
Here is a basic hello world project and when this project is run inside Electron, it will load polyfill.
https://github.com/dtanp/simple-html

We're working on a new version of the dev server where this logic is different. We should be able to support this then.


JetBrains: There is no clear way to login to Cody for Free or Pro users.

IDE Information
PyCharm 2023.3.3 (Community Edition)
Build #PC-233.13763.11, built on January 26, 2024
Runtime version: 17.0.9+7-b1087.11 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 14.3
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 8
Metal Rendering is ON
Non-Bundled Plugins:
com.sourcegraph.jetbrains (6.0.19-nightly)
Bug Description
Platform: macOS
Steps to reproduce:

Have Cody plugin installed in your JB IntelliJ editor
Let the Cody load the welcome screen
Check the Cody Free or Cody Pro panel
Click on Sign In to Your Enterprise Instance button

Observed behavior:
For step-3, there is no login button for Free or Pro users
For step-4, user will be redirected to login to Free or Pro accounts on browser
Expected behavior:
There should be a clear login button for Free or Pro users.
Clicking on Sign In to Your Enterprise Instance button should present a prompt to enter the Enterprise credentials i.e. Server and Token
Additional context
Video link:
https://drive.google.com/file/d/1zGfYjMw51iN2C2JtOSojijZVsAGiePpN/view?usp=drive_link

@jay-fibi , we need your idea.log with reports like this. Thank you for filing this—assigning this to you to add the log.

I've started tracking this in CODY-3055.

@dominiccooney please find the attached log
idea.log
file


Scrape multiple repositories with single call

Maybe we can make it possible to define multiple repository names for the same owner and return the combined metrics for all of them. Something like GET gh.skuzzle.de/owner/repository1,repository2,repository3
Combining the metrics in the results should be possible as they are labled with the repository's name anyway

Implemented in 0.0.5


Is there a sparklyr function to save one csv file.

I am looking for a way to save one csv file on S3 bucket.
It seems to me that repartion(xxx, 1) function from sparkr works.
With spark_write_csv() function, I can have only splitted csv files.
Thanks.

ml_classification_eval(predicted_tbl, label, predicted_lbl, metric = "accuracy")

Took a quick look but seems like you would have to use invoke, marking this as a feature request to provide this functionality.

Has this feature been incorporated yet? Is there a workaround in the meantime?

Is anyone can give me an example of how to export the single csv file? Thanks.

Reopening to consider feature request. Notice that in general, while dealing with big data, writing a single CSV file is not feasible due to the nature of the distributed problem; However, at times, I would agree its easier/feasible to export this to single file.

Hi javier.
At this moment I need to write a spark dataframe in a single csv on amazon s3 to Viz purpose. How can I use invoke inside sparklyr to do that? Thanks in advance

Have y'all tried calling sdf_coalesce() before exporting to csv?

@kevinykuo  sdf_coalesce() solved the problem for me.

@kevinykuo and @iamkbpark how did you use sdf_coalesce() in this instance? Within Azure Databricks I have tried;
sdf <- sdf_coalesce(sdf, 1)
spark_write_csv(sdf, 'BLOB_path')
But when I look in the blob the file remains partioned