Qualify Lead to Contact

Expected behavior and actual behavior.
I'm trying to convert a lead to a contact.
Steps to reproduce the problem (screenshots are really usefull)
In my workflow, I receive the following error at the 'Qualify Lead' step.
Plugin Trace:

[msdyncrmWorkflowTools: msdyncrmWorkflowTools.QualifyLead]
[msdyncrmWorkflowTools (<IP_ADDRESS>): Qualify Lead]
Load CRM Service from context --- OK
LeadID=845af699-500c-e811-80cd-0e90f102a102

Error Message:

Unhandled Exception: Microsoft.Crm.CrmException: An error has occurred. Either the data does not exist or you do not have sufficient privileges to view the data. Contact your system administrator for help.
   at Microsoft.Crm.Sandbox.SandboxCodeUnit.Execute(IExecutionContext context)
   at Microsoft.Crm.Workflow.Services.ProxyCustomActivity.Execute(CodeActivityContext executionContext)

A screenshot of the workflow step properties.

CRM Version - online/onpremise - WorkflowTools version
Onpremise, Dynamics 2016

Does the user than trigger the workflow has permissions to update Leads,  and to create and read Contacts?

Check if this user can qualify thekead using the web interface or ifyou get there the same error that you get running the workflow

Yes, the user has full permissions to update leads, and can create and read contacts. The user can qualify a lead using the web interface.

Hi smeranda, the error message syas something regarding security and privileges.
first try to execute the workflow as administrator.
second check if the user has this privileges:
Account Entity Privileges Required: Read, Create, Append, Append To
Lead Entity Privileges Requires: Read, Edit, Create, Append, Append To
Contact Privileges Required: Read, Create, Append, Append To
Opportunity Privileges Required : Read, Create, Append, Append To
Apart from this give Read access to Attribute Map, Customizations, Entity and Entity Map on the Customizations tab in the security role in order to successfully qualify a lead.

Thanks @demianrasko, however I'm running the workflow as a system administrator with full rights. Alas, it must be an issue with my environment.

smeranda - was the solution migrated from another instance? e.g. a Sandbox?
Check that there are no business rules that have a hard Guid reference.
Workflows will deactivate in these scenarios, if there are business rules with a Guid reference, they will still import as active.
I only suggest this because this happened to us last week and had us stumped for a few hours.


Image sharing has bad UX.

It shows the file format of the images for no reason

can i work on this ??

@chrisbobbe i think @shreyanjoshi is talking about this

i have checked on android

I think it can be helpful to show the filename extension. Could you say more about why you think it's better to hide it than show it?
I noticed that the web app shows it. And in the following example I appreciate seeing ".gif" because it's a clue that the picture might move. I might act on that clue by clicking the preview to see the clip from start to finish. (In this case, it shows a recording of some mobile-app UI that I made when developing a feature.)
https://chat.zulip.org/#narrow/stream/7-test-here/topic/.E2.9C.94.20Chris/near/1491604

I'd prefer to confirm that this is something the web app wants to do, before implementing it on mobile. Could you please ask a web-app maintainer in the #frontend stream of the Zulip development community? Thanks!

Closing for the reasons in @chrisbobbe's comment above.


Threading example at programmers_guide/threading_and_queues broken

Dear TF folks,
I am trying to reproduce the example listed at 1,
# Thread body: loop until the coordinator indicates a stop was requested.
# If some condition becomes true, ask the coordinator to stop.
def MyLoop(coord):
  while not coord.should_stop():
    ...do something...
    if ...some condition...:
      coord.request_stop()

# Main thread: create a coordinator.
coord = tf.train.Coordinator()

# Create 10 threads that run 'MyLoop()'
threads = [threading.Thread(target=MyLoop, args=(coord,)) for i in xrange(10)]

# Start the threads and wait for all of them to stop.
for t in threads:
  t.start()
coord.join(threads)

When running this example, I cannot find the threading.Thread class (e.g. by searching for "Thread" in the API docs or tf.threading.Thread).
Am I missing something where? Is the example maybe broken?
Thanks!
\jv
Setup
$ python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
('v1.2.0-rc2-21-g12f033d', '1.2.0')

This is actually Python's threading library:
import threading


chore: update demo to latest comet starter

Update Demo to latest Comet-Starter, keeping everything that was in Demo if possible.

Some things that could be made as well

Update the folder structure to match the Starter
Remove outdated blocks from Demo, e.g., HeadlineBlock

Some things that could be made as well

Update the folder structure to match the Starter
Remove outdated blocks from Demo, e.g., HeadlineBlock

I was not sure here what to remove and what to keep... For example I removed the LinkList as indicated by your comment but we should keep it, so there is no way I can know which to keep and which to throw away.


[event-hubs] Unify all the various consumers under a single client (EventHubConsumerClient)

Still working on:

Adding in some more tests for some of the logic-not-service methods
Unifying the subscribe(1|2|3) overloads into a single method

/azp run js - eventhubs-client - tests

/azp run js - eventhubs-client - tests

/azp run js - eventhubs-client - tests

/azp run js - eventhubs-client - tests


Also includes changes from PR #2278
Related Issue
How Has This Been Tested?

test environment:

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Technical debt
[x] Tests only (no source changes)

Checklist:

[ ] Code changes
[ ] Unit tests added
[ ] Acceptance tests added
[ ] Documentation ticket raised:

@saw-jan PR #2278 has been merged. Please rebase...


Running Rapise Test in Release Pipeline in VSTS

Environment
I'm using VSTS, Hosted Agent
Issue Description
My Test execution stops at "Starting test execution, please wait..." until it execution time out is reached.
Error logs
No errors are shown.

@kontodos Is it consistently happening? Can you please let us know if you can run the same tests using private agents?

@kontodos any updates here?

Closing this issue. Please reopen if you have more information. You can also reach out to us at<EMAIL_ADDRESS>


measure elapsed time

measure in seconds with time library

This is the first pull request I've ever had! Never thought I would get a contribution on this project  :-)
This is a good idea, and I'll have to revisit this concept further (I want to provide an ETA while running, something I did with Taxopedia), but for now, could you at least round the time duration to maybe a single decimal place?
In general, Polyfoto is far from where I actually want it, and I might make some pretty sweeping changes infrequently. I would kind of hate to have people spend a lot of time contributing if the project ultimately goes in a different direction. So, I really have no idea how to respectfully handle contribution to one of my projects, they've always been solo.

Hi, I rounded up the output, also added the ability to display the elapsed time in the format H:M:S

I've had time to think about this, and I'm sorry this is coming in after you put some work into the formatting, but I have concluded that I don't want to be a maintainer of other people's code on a personal repo like this. This is not meant to offend you in any way, and I'm just thinking about contribution in general.
Rather, please make new features on your own fork, take it somewhere with way more features if you'd like! I'd rather maintain a code base here as small as possible, and I don't have to argue with changes I make to my own code base. I'm not trying to be selfish, but this simply isn't the thing I imagine myself liking to do regularly.
So, please fork and improve my code, but I might just be a weirdo and keep my personal repos mine. If this were, say, a repo used for academic research, then I would have more of a priority to setup guidelines for contribution, but it's really just a simple program.


[AVM Module Issue]: Add task resource for the container registry module

Check for previous/existing GitHub issues

[X] I have checked for previous/existing GitHub issues

Issue Type?
Feature Request
Module Name
avm/res/container-registry/registry
(Optional) Module Version
No response
Description
Request to add the task child-resource for the acr module
(Optional) Correlation Id
No response

Hi @sebassem ,
I can add it when im working the next time on this module.

Hey @JPEasier,
please give this issue a shot when you get the chance 🚀


Added mage file

Added skeleton for kustomize deployment
Added bootstrapper for token input locally

Sorry, opened the PR to the wrong repo :/


Added label for Android File Transfer

I added Android File Transfer, after testing it with the application closed and open.  The installation and blocking process work.

Thanks!


Build matrix for java versions

This PR updates JDK version to 17 and some relevant dependencies and adds a build matrix mechanism to TeamCity build pipeline for JDK versions 11 and 17.

Fails

:no_entry_sign:
PR Title 'Build matrix for java versions': subject may not be empty, type may not be empty

Pull request title should follow Conventional commits.

  Generated by :no_entry_sign: dangerJS against 4c5476776bec7ed91aeddcf4e708be6ba29ce64a


Chapter1/homework/4

What I did:
In all the methods I added conditions to check if the inputs were actually valid. If not they would return an error code (-1 or -) as instructed.
The BmiPrompt() function then checks for these error codes while executing other code. If the error codes are present, error text will be presented to the user. Otherwise, it will function as normal.
Issues:
Having significant issues failing checks even though it's seemingly correct in the console. I don't really know what I am doing wrong, the test says that it expected a particular response but received nothing.
Also, I am completely lost on how to return an error code while also returning the original user input. For example user inputs Age: ffav --> "ffav" is not a valid number.
Currently I get "-1" is not a valid number. because the prompt function returns -1 and not the original input.
All I can think of is doing is calling the variable from a prompt function "UserInput" var UserInput = Console.ReadLine() from the main class but I am pretty sure this is not possible.

Also, I am completely lost on how to return an error code while also returning the original user input. For example user inputs Age: ffav --> "ffav" is not a valid number.

Printing to a console and returning a value are two different things.
'ffav is not a valid number' is what will be printed, while -1 is what will be returned. 😄

Also, I am completely lost on how to return an error code while also returning the original user input. For example user inputs Age: ffav --> "ffav" is not a valid number.

Printing to a console and returning a value are two different things.
'ffav is not a valid number' is what will be printed, while -1 is what will be returned. 😄

So print to console from the function itself, not outside of it.

Also, I am completely lost on how to return an error code while also returning the original user input. For example user inputs Age: ffav --> "ffav" is not a valid number.

 Thank you so much, I don't know why my brain completely blocked me out from doing that.

Also, I am completely lost on how to return an error code while also returning the original user input. For example user inputs Age: ffav --> "ffav" is not a valid number.

 Thank you so much, I don't know why my brain completely blocked me out from doing that.
I still seem to be failing checks even though I believe it's correct in console. Is there something I have done wrong?

Yup, error messages are all wrong. Sometimes you don't print it at all, sometimes you do WrtieLine where Write is needed, etc. Be more careful the way you do it.

Also, I am completely lost on how to return an error code while also returning the original user input. For example user inputs Age: ffav --> "ffav" is not a valid number.

 Thank you so much, I don't know why my brain completely blocked me out from doing that.
I still seem to be failing checks even though I believe it's correct in console. Is there something I have done wrong?

Yup, error messages are all wrong. Sometimes you don't print it at all, sometimes you do WrtieLine where Write is needed, etc. Be more careful the way you do it.

You can see all the reasons why it failed if you click the checks link.

Expired


update fast-classpath-scanner version to 1.90.8

Not finished, I just want to test if the test failures I get locally also occur on travis ci.

Coverage remained the same at 92.744% when pulling e830f44730ad64a7f1d3f3889391c1e2f12024fb on PascalSchumacher:update_classpath_scanner_4 into 890cee4d17a5e44fe53fd20551cec9b7739035da on benas:master.

Version 1.90.7 did not work on windows (see https://github.com/lukehutch/fast-classpath-scanner/issues/60), but @lukehutch quickly fixed the issue with 1.90.8.

Coverage remained the same at 92.744% when pulling 6407db41ff70143c25e2065815904450baaf1874 on PascalSchumacher:update_classpath_scanner_4 into 890cee4d17a5e44fe53fd20551cec9b7739035da on benas:master.

Coverage remained the same at 92.744% when pulling 6407db41ff70143c25e2065815904450baaf1874 on PascalSchumacher:update_classpath_scanner_4 into 890cee4d17a5e44fe53fd20551cec9b7739035da on benas:master.

see lukehutch/fast-classpath-scanner#60

I


.Net 8 NativeAOT Crash when serialize any type contains generic property.

https://github.com/Cysharp/MemoryPack/issues/75#issuecomment-1587539431


Only add a digital location if the bib record has a location 'dlnk'

This is a fix for cases where we're showing a IIIF Presentation manifest URL that doesn't resolve, for example:
https://api.wellcomecollection.org/catalogue/v2/works?query=2436758&includes=items
Talking to Branwen, the only good distinction of whether a manifest exist is whether we've digitised it – which is the 'dlnk' code in locations. This patch updates the transformer to match, but I wonder if this is going to affect the merging? @jtweed @mklander

Turns out the merger will do the right thing, hooray! So rebasing and then merging.


Release Google.Cloud.BigQuery.Storage.V1 version 2.7.0

Changes in this release:
New features

Add trace_id for Read API (commit 2cac347)

Additional notes

The bigquery.readonly auth scope has been removed has been removed from the default scope set (commit f691c91). We don't expect that to break any users, but please be aware of the change.

Created release for Google.Cloud.BigQuery.Storage.V1-2.7.0


Add the best logo ever

cc @michelleN @jeremyrickard

Merge like everyone is still mentally on vacation! 😪 🌴

OMG this is perfect!


The Troubleshooters - update 05 Jan 22

Changes / Comments
Fixing an issue with disappearing weapon tags from the 'Combat' tab
Adding an NPC 'Chat Name' field linked to the 'Name' on the 'Character' tab
Added Soak and recovery buttons to the NPC tab
NPC Max Vitality now overrides the skill-based calculations for PCs
Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[ ] Does the pull request title have the sheet name(s)? Include each sheet name.
[ ] Is this a bug fix?
[ ] Does this add functional enhancements (new features or extending existing features) ?
[ ] Does this add or change functional aesthetics (such as layout or color scheme) ?
[ ] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
[ ] If this is a new sheet, did you follow Building Character Sheets standards ?

If you do not know English. Please leave a comment in your native language.

Character Sheet Info Roll20 Internal Use only.


Player hangs when moving to next song on Yosemite

When Radiant Player automatically moves to next songs on Yosemite, it hangs for 10/15 seconds before starting to play.

I can confirm this issue with no custom theme, no notification or anything fancy. I've also tested with the HTML5 player enabled/disabled without any difference.
Well, it seems that with the flash player, the bug happens less.

This performance issue should be solved in 1.3.2. The fix involves multiple performance fixes related to the mini player, as well as asynchronous loading of the album art in the notifications (previously, the album art was downloaded synchronously so the app would hang while it was downloading).


Add Profiles and Database Support

🤩oh wow😍

not tonight tho

closing this too i literally don't understand why i'm not allowed to delete these but ok :)


fix tf import dependency

Quick fix for conditional import of tf in config/transformers.py

rerun tests


Container

I've updated docker file, so it runs the notebooks in the container. To try it, use this link Binder, or binder badge in the readme

Published the container image at ghcr.io


Readme.md example code triggers error

System Information:

OS: Windows 11 Home
Processor:  x64-based processor
Node version: v16.15.1

Issue
In the Readme.md, there is the following code:
import * as LinvoScraper from 'linvo-scraper';
import * as puppeteer from 'puppeteer';

(async () => {
    const browser = await puppeteer.launch({
        headless: false
    });
    const page = (await browser.newPage());
    const cdp = await page.target().createCDPSession();

    // that's the res Linvo is working in production
    await page.setViewport({
        width: 1440,
        height: 900,
    });

    // add ghost-cursor for maximum safety
    await LinvoScraper.tools.loadCursor(page, true);

    // Login with Linkedin
    const {token} = await LinvoScraper.services.login.process(page, cdp, {
        user<EMAIL_ADDRESS>        password: 'superStrongPass!!%'
    })

    // set cookies
    await page.setCookie({
        name: "li_at",
        value: token,
        httpOnly: true,
        secure: true,
        sameSite: "None",
        priority: "Medium",
        path: "/",
        domain: ".www.linkedin.com",
    });
   //BELOW FUNCTION TRIGGERS ERROR
    await LinvoScraper.services.connect.process(page, cdp, {
        message: 'Hi Nevo! Let\'s connect!',
        url: 'https://www.linkedin.com/in/nevo-david/'
    })
})();

Code block that triggers error (line 38):
   //BELOW FUNCTION TRIGGERS ERROR
    await LinvoScraper.services.connect.process(page, cdp, {
        message: 'Hi Nevo! Let\'s connect!',
        url: 'https://www.linkedin.com/in/nevo-david/'
    })

Error Message

const gotSelector = "[Got Selector]".cyan() + " " + selector.blue();
TypeError: "[Got Selector]".cyan is not a function

Are you sure you have the last version? we have uploaded a fix for it

Just downloaded the newest version. The bug has been fixed. Thanks.
While I am here, there is another issue I am having. The library provides a scraper function in the linvo-scraper file. It requires the following data:
interface RequiredData {
  page: number;
  url: string; //What URL?
  remove_overlapping: boolean;
}

The scraper isn't designed for all LinkedIn webpage. Which URLs work? It might be helpful to add URL types. I could add them if needed, but I would need to know which LinkedIn pages are scrapable.

it goes into the global search, you can either pass the sales nav search URL of normal Linkedn

I have been trying with the standard URL, but I receive a "Cannot navigate to invalid URL" error. Would it be possible to provide a link to an example search url?

I have been trying with the standard URL, but I receive a "Cannot navigate to invalid URL" error. Would it be possible to provide a link to an example search url?

Could you open a new issue because it is not related to the current one


Question on padding_side "left" vs "right"

In the finetune.py, we set padding_side="left". I realize this is to enable batched inference and generally speaking I think it make sense for a decoder model.
However, it seems the default padding_side is "right" when directly loading from "decapoda-research/llama-7b-hf" (plus the truncation_side is also "right"). Also in the original alpaca work, they set the padding_side to "right" as well. May I ask why there's a difference here?
For my own project, I am working on a Sequence Classification task, where the first few sentences matters the most. I am wondering if it makes more sense to set padding side to "left" in my case to preserve more positional info.
Also to add that in generate.py, it seems we loaded the default LLaMA Tokenizer from base model which would have padding_side = "right".
Many thanks for the kind help.
@chrisociepa @ElleLeonne hoping to tag your guys given the kind answer in this post

Right padding makes sense when you batching, because you are supposed to add more (generated) text on the right side, not the left side. When finetuning with the attention mask you are masking (prompt) tokens on the left side to focus on expected responses but this is different than the padding and might be be sometimes confusing.

Thanks for the rapid reply Chris and this is super enlightening!
Am I understanding you right here? For instruct-based (prompt-based) finetuning, it make sense to pad on the left side (for the clear reason your outlined!). However for general batching purpose or for a different fine-tuning process (for example a text classification task where I only use text as input without prompt), it would make sense to pad on the right side. I should mention in my own project I seems to get better results (lower eval loss) when padding on the right! :)
If so, would you mind commenting on why in the original Alpaca work they padded on the right side (at prompt-based fine tuning stage)?
Also for future readers, to make things more confusing, in the official tutorial fine-tuning GPT for sequence classification, the set padding_side to "left"....
Many thanks! @chrisociepa

I might be wrong but I think the LLaMA model and its self-attention assumes the right padding. You can see scaled dot product attention in pytorch here with tril to get some sense of it. Assuming this if you left padding, you basically truncate (I simplify here) your prompt and the model can easier learn, so the loss is getting lower faster. Again, I am not 100% sure about this explanation but this is my understanding of your case.

I am still confused about this and believe this is a major issue which a lot of people face as I have seen similar problems in other repos as well like HF and PyTorch. I really wish there was some easy explanation for this as why some models use Left or Right Padding and why HF explicitly says to use left padding when in actual LLama tokenizer says to use right tokenizer. It can get so confusing at times

This padding side issue gets complicated because of the position_ids, which range from 0 -> max_tokens if you don't pass it explicitly, regardless of which side you pad. Meaning if you pad right you can have positions [0, 1, 2, 3, 4] for your tokens, but if you pad left, you can have positions [4090, 4091, 4091, 4093, 4095] instead.
I think this is why performance on Llama models is somehow worse if you pad left instead of right.

Would position_ids be a problem if the LLM uses RoPE, where the results only depend on the relative position?


Documentation for kconfig_filenames is misleading

The documentation for kconfig_filenames states that:

  A list with the filenames of all Kconfig files included in the
  configuration, relative to $srctree (or relative to the current directory
  if $srctree isn't set).

which lead me to believe that all paths were relative to srctree, e.g. that some kind of path conversion was done for absolute paths. But in fact 'kconfig_filenames' contains both absolute paths and paths relative to srctree.

Is this better?
diff --git a/kconfiglib.py b/kconfiglib.py
index f1d514e..771f8a1 100644
--- a/kconfiglib.py
+++ b/kconfiglib.py
@@ -609,7 +609,8 @@ class Kconfig(object):
     kconfig_filenames:
       A list with the filenames of all Kconfig files included in the
       configuration, relative to $srctree (or relative to the current directory
-      if $srctree isn't set).
+      if $srctree isn't set), except absolute paths (e.g.
+      'source "/foo/Kconfig") are kept as-is.

       The files are listed in the order they are source'd, starting with the
       top-level Kconfig file. If a file is source'd multiple times, it will

Looks great :)

Zephyr PR: https://github.com/zephyrproject-rtos/zephyr/pull/13586


Using langgraph with Sockets.io

Hi,
I need to run a multi-agent system as a server  that communicates  ( sends all the messages  and gets human input)  with a client.
How does one do this? are there  any examples?

You should read the documentation for socket.io and get comfortable with sockets before connecting that to a graph. You have a few options such as doing a human in the loop method.

Hi Danny,
I have been using socket.io with autogen without any issues .  Regarding
human in th the loop, most of the examples are about taking input from a
terminal. Real world apps don;t work like that-- i need to get input from
web page/ or  a remote app and I need the ability not onl;y to get the
input, but also to execute functions ( tools) in the client. If you have
any examples on how such things can be done, please let me know.
Cheers
A
On Thu, Sep 12, 2024 at 10:21 AM Danny Ricciotti @.***>
wrote:

You should read the documentation for socket.io and get comfortable with
sockets before connecting that to a graph. You have a few options such as
doing a human in the loop method.
—
Reply to this email directly, view it on GitHub
https://github.com/langchain-ai/langgraphjs/issues/293#issuecomment-2345267499,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A4S3B26O5ICEIPS5FS3MRBDZWEMUVAVCNFSM6AAAAABL7QHSF2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBVGI3DONBZHE
.
You are receiving this because you authored the thread.Message ID:
@.***>

Hi, I'm also implementing socket.io with langgraph, I will post my strategy and implementation after finish :)

Thanks a lot
On Tue, Oct 1, 2024 at 10:47 AM Trần Thiên Trọng @.***>
wrote:

Hi, I'm also implementing socket.io with langgraph, I will post my
strategy and implementation after finish :)
—
Reply to this email directly, view it on GitHub
https://github.com/langchain-ai/langgraphjs/issues/293#issuecomment-2384808592,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A4S3B27GBHF4SYWO3TT7YE3ZZIV4ZAVCNFSM6AAAAABL7QHSF2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBUHAYDQNJZGI
.
You are receiving this because you authored the thread.Message ID:
@.***>

Would be awesome if you keep the community posted on your progress ;)

Hi all, hope this answer your question, sorry for not having more line-by-line detail, but you guy are smart, can figuring out :)
`
import os
from contextlib import asynccontextmanager
from typing import TypedDict
from dotenv import load_dotenv
from langchain_core.tools import tool
from langgraph.checkpoint.postgres import PostgresSaver
from langgraph.constants import START, END
from langgraph.graph import StateGraph
import socketio
import uvicorn
from fastapi import FastAPI
---------------------------------------------------------------------------------------------------------------------|
START LANGGRAPH                                           |
_____________________________________________________________________________________________________________________|
class MemoryManager:
def init(self, db_uri):
self.db_uri = db_uri
self.memory = None
self.memory_context = None
def open(self):
    if self.memory is None:
        self.memory_context = PostgresSaver.from_conn_string(self.db_uri)
        self.memory = self.memory_context.__enter__()  # Manually enter the context
        self.memory.setup()  # Now you can call setup on the memory object
    return self.memory

def close(self):
    if self.memory is not None:
        self.memory_context.__exit__(None, None, None)  # Manually exit the context
        self.memory = None
        self.memory_context = None

class CustomState(TypedDict):
input: str
user_feedback: str
def step_1(state: CustomState):
print("---- STEP 1 ----")
def human_feedback(state: CustomState):
print("---- HUMAN FEEDBACK ----")
def step_3(state: CustomState):
print("---- STEP 3 ----")
def step_4(state: CustomState):
print("---- STEP 4 ----")
builder = StateGraph(CustomState)
builder.add_node("step_1", step_1)
builder.add_node("human_feedback", human_feedback)
builder.add_node("step_3", step_3)
builder.add_node("step_4", step_4)
builder.add_edge(START, "step_1")
builder.add_edge("step_1", "human_feedback")
builder.add_edge("human_feedback", "step_3")
builder.add_edge("step_3", "step_4")
builder.add_edge("step_4", END)
DB_URI = "postgresql://trong:@localhost:5432/langgraph_memory?sslmode=disable"
---------------------------------------------------------------------------------------------------------------------|
END LANGGRAPH                                             |
_____________________________________________________________________________________________________________________|
@tool
def analyst_result(result: str):
"""Just print the answer"""
print(result)
---------------------------------------------------------------------------------------------------------------------|
SOCKET IO                                                 |
_____________________________________________________________________________________________________________________|
class SocketServer:
def __init__(self, app,graph, memory):
    self.graph = graph
    self.memory = memory
    self.app = app
    # Wrap the socket app with FastAPI
    self.sio = socketio.AsyncServer(cors_allowed_origins='*', async_mode='asgi', logger=True, engineio_logger=True)
    self.socket_app = socketio.ASGIApp(self.sio)
    self.app.mount("/", self.socket_app)

    self.register_events()

def register_events(self):
    @self.sio.on("connect")
    async def connect(sid, env):
        print("New Client Connected to this Socket Server: " + str(sid))
        await self.sio.emit("send_msg", "Hello from Server")

    @self.sio.on("disconnect")
    async def disconnect(sid):
        print("Client Disconnected: " + str(sid))

    @self.sio.on('user_feedback')
    async def user_feedback(sid, data):
        print("EVENT: User Feedback")
        thread_id = data['thread_id']
        thread = {"configurable": {"thread_id": thread_id}}
        user_input = data['feedback']

        saved_state = self.graph.get_state(thread)
        print("Current State")
        print(saved_state.next if bool(saved_state.values) else "No saved state")
        for event in self.graph.stream(None, thread, stream_mode="values"):
            print(event)

def create_socket_server(app, memory_manager, reload=False):
if reload:
print("Skipping server initialization on reload")
return None  # Skip initialization during reload
load_dotenv()
thread = {"configurable": {"thread_id": "8891101"}}
initial_input = {"input": "hello world"}

memory = memory_manager.open()

# Compile the graph
graph = builder.compile(checkpointer=memory, interrupt_before=["human_feedback"],
                        interrupt_after=["human_feedback"])

# Start graph streaming if necessary
saved_state = graph.get_state(thread)
print("Current State")
print(saved_state.next if bool(saved_state.values) else "No saved state")

if bool(saved_state.values):

if not bool(saved_state.values):
    print("No saved state found. Starting from the beginning.")
    for event in graph.stream(initial_input, thread, stream_mode="values"):
        print(event)

current_state = graph.get_state(thread)
print("Current node after streaming:", current_state.next)

# Pass the compiled graph and memory to the socket server class
socket_server = SocketServer(app, graph, memory)
return socket_server

Initialize MemoryManager
memory_manager = MemoryManager(DB_URI)
Create the socket server object inside lifespan
@asynccontextmanager
async def lifespan(app: FastAPI):
# Load the ML model
memory_manager.open()
# Only create socket server once, check if app is being reloaded
reload = "SERVER_RELOADER" in os.environ
socket_server = create_socket_server(app, memory_manager, reload=reload)

if socket_server is not None:
    application = socket_server.app

yield
# Clean up the ML models and release the resources
memory_manager.close()

app = FastAPI(lifespan=lifespan)
application = app  # Use the FastAPI app directly for uvicorn
if name == "main":
uvicorn.run("main:application", host="<IP_ADDRESS>", port=3500, lifespan="on", reload=True)
`


Bitbucket is broken as v1 API deprecated

https://discourse.drone.io/t/drone-0-8-broken-due-to-bitbucket-v1-api-being-decommissioned/4816/8

Although my focus is on Github, I make a stab at this. Will update this in 24hrs.

This is an attempt to fix the issue. Worked with my basic tests.
https://github.com/laszlocph/drone-oss-08/pull/35

I'm waiting for someone to confirm that the fix works.
The images can be pulled from:
laszlocloud/drone-oss-08-agent:0.8.95-bitbucket
laszlocloud/drone-oss-08-server:0.8.95-bitbucket

A preliminary test suggests that this does indeed work.  I'll post an update here if I run into any issues.  Could you please post here if/when you merge this into the main branch?
Thanks!

Based on the two ping backs from users, this issue seem to be fixed and part of the master since  https://github.com/laszlocph/drone-oss-08/releases/tag/v0.8.101

Sorry, I forgot to update, I think that this is not triggering for tags.  However, this is based on me using the two images posted above, so I haven't tested with the latest.


Write project planning section of report

Include weekly screenshots of project board

Starting to write project planning section of report

The project work was split by three members. Github and its project board are the main sources that have contributed to effective and efficient collaboration between the team. With the Github Project, the team was able to assign, organize, document, and discuss issues when they arose on all the tasks at hand. Before creating the tasks, the whole project was split up into various milestones. These milestones included the following: preliminary planning, learning about each individual component, UX design, application logic, circuit prototyping on PCB and Perfboard, browser based UI, and finally packaging and presentation. By setting up these milestones, they enabled the team to have a soft deadline to stay on track and have a general sense of direction on when individual tasks should be completed.
After these milestones were established, the tasks were created and assigned to members. Assigning these tasks created a sense of accountability for the work. Everyone knew what they were responsible for and what had to be delivered. In Github, the team commented on their progress on each task in the comment section. This allowed easy hand-offs of work in case one member had to be given a task that another member started. For example, Andrew was having difficulties with the affinity map and persona creations so Beatriz took over. She was able to go through Andrew’s documentation and pick off where he left off. Andrew took over Beatriz’s work with the heart rate sensor. Andrew was able to figure out the connections of the breakout board with a screenshot Beatriz had added in the comment section of her task without even having to ask her. These things all contributed towards effective communication throughout the project. Slack is another key component to functional communication. Whenever the team had any questions or needed feedback on current work, they would ask the slack channel. This is where other team members would provide feedback/answers. For example, after Beatriz finished the affinity map she sent the link to the Slack. This is where Aron noticed an issue with one of the categories on the map and suggested an improvement.
To stay on track, another key factor was taking weekly notes. The following template was set up and used during every meeting. This helped the team stay consistent and organized through every meeting by following the same order of things every time.

Overall, with the combination of Github and its project board, Slack, and weekly meetings, the team was able to effectively collaborate, establish goals, plan tasks, and meet all the objectives in a timely manner.

Moving to review

need to include weekly project board screenshots


Better HTTP Handling

This PR changes the http module to:

handle different accept/content types
handle graphql GET ?query requests

I tried to stay within the same code style but let me know/feel free to make changes.
Also: contentType defaults to 'text/plainbecause there is more logic to check if it is supposed to be that then if it is supposed to beapplication/json` so it was simpler to do it this way (as far as I am aware).
This would close #6 .

could you please add a few tests for new stuff?

@talentlessguy done (?)


Please add "Restart Computer" step to documentation section addressing "Edit the Windows 10 task sequence"

Task sequence will stall with "Can not find script file “C:\LTIBootstrap.vbs" during sysprep execute phase. Adding "Restart Computer" before "Imaging" branch resolves this issue.

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

ID: e0eb8c97-caa0-bb05-4b91-14ad2adc4aac
Version Independent ID: 0cc541a3-8198-c029-d795-308e673ee2f4
Content: Create a Windows 10 reference image (Windows 10) - Windows Deployment
Content Source: windows/deployment/deploy-windows-mdt/create-a-windows-10-reference-image.md
Product: windows-client
Technology: itpro-deploy
GitHub Login: @frankroj
Microsoft Alias: frankroj

Thank you for the feedback @jgetts. This isn't normal behavior and a reboot shouldn't normally be needed. I’m sorry that you’re having problems, and I want to make sure it gets to the right people that can help. There are a couple of options available to provide the best level of support for this issue:

Post to Windows on Q&A. These are moderated by community members who are very experienced, knowledgeable, and helpful.
Use Microsoft Support to search for the issue, or open a case with professional support.
Contact your Microsoft Unified Support team, such as a Customer Engineer or Customer Success Account Manager.

I'm closing this issue as there's nothing actionable for docs at this time.


Discord thread doesn't work

Hi,
i'm trying to send event message in discord thread like this :
discord:
webhooks: [https://discord.com/api/webhooks/346456456/sdfsdf?thread_id=546456]
(I replace uri with fake data)
and i have this message :
17:25:35.401 [komf-event-listener-1] ERROR org.snd.mediaserver.komga.KomgaEventListener -- kotlin.Unit
org.snd.common.exceptions.HttpException: response code: 400 url: https://discord.com/api/webhooks/346456456/sdfsdf body: {"message": "Webhooks posted to forum channels must have a thread_name or thread_id", "code": 220001}

You created a webhook to a thread channel, not the actual thread itself.


Included v1/v2 switcher in admin-area sub-pages

Checklist before merging

[X] I added an appropriate entry to CHANGELOG.md

Closes #478
The switcher is not visible in the admin pages that exists only in v2: tasks and tasks-compatibility.

It works as expected, thanks!
Perhaps we could also include #486, and avoid duplicating the V1 admin-area page for users (since the two pages are strictly identical, I think).

This means that the switcher would only be on the "jobs" page, which was anyway the most relevant use case for #478.


There is a successful activity log when cloning one ADLS Gen2 folder using an existing empty folder's name

Storage Explorer Version: 1.26.0-dev
Build Number: 20220926.1
Branch: main
Platform/OS: Windows 10/Linux Ubuntu 22.04/MacOS Monterey 12.5.1 (Apple M1 Pro)
Architecture: ia32/x64
How Found: From running test case
Regression From: Not a regression
Steps to Reproduce

Expand one storage account -> Blob Containers.
Create a blob container -> Create two empty folders 'f1' & 'f2'.
Right click 'f1' -> Click 'Clone...'.
Type 'f2' as the new name.
Check whether there is a failed activity log.

Expected Experience
There is a failed activity log indicating 'An object with the new name already exists'.
Actual Experience
There is a successful activity log.

Additional Context

This issue doesn't reproduce for folders under file shares.
Clone empty folder using an existing non-empty folder's name, there is a failed activity log indicating 'An object with the new name already exists.'
Clone non-empty folder using an empty folder's name, there is a successful activity log. the item under the non-empty folder will be pasted to the empty folder.

Based on our current implementation this is by design. Empty directories will appear to be non-existent during our existence check.


Specify a long slug for creator links

Resolves https://github.com/product-os/jellyfish/issues/8733
Change-type: patch
Signed-off-by: Lucian Buzzo<EMAIL_ADDRESS>

@balena-ci I self-certify!

@balena-ci retest


Feature: Integrate with AWSLambda via serverless.com framework

Summary
Added basic integration with AWS via serverless.com framework (zip deployment approach).
Implementation Notes :hammer_and_pick:

Added Lambda code & Go binary under server/trace-func-go/aws/*

External Dependencies :four_leaf_clover:

Breaking API Changes :warning:

Simply specify none (N/A) if not applicable.

And on top of that, apply linters to the code, fix typos and sign-off the commit. If there is no actual typo but the test fails, add it to wordlist.


unknown option when building unity project for webgl on aws cloudrunner

Hello
I am using unity-builder to build my unity project for webgl target platform.
Currently I am encountering problems with the build itself. The build outputs the following error
Error: error: unknown option '--logFile'
I'm following the official documentation and the configuration that I'm using in my workflow is as following:
      - uses: game-ci/unity-builder@cloud-runner-develop
        id: aws-fargate-unity-build
        env:
          UNITY_SERIAL: ${{ secrets.UNITY_SERIAL }}
          UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
          UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
        with:
          providerStrategy: aws
          targetPlatform: WebGL
          gitPrivateToken: ${{ secrets.GH_TOKEN }}
          containerCpu: 4096
          containerMemory: 8192

Is there any problem with my configuration? any help would be greatly appreciated! Thanks!

I'm seeing this as well on self-hosted k8s
 cache key  selection
│ ::warning::cache item  doesn't exist /data/34-webgl-ggu0/repo/Library
│ [Client] RunCustomHookFiles: before-build
│ [Client] {
│     "errno": -2,
│     "syscall": "scandir",
│     "code": "ENOENT",
│     "path": "/data/34-webgl-ggu0/repo/game-ci/hooks"
│ }
│ game ci start
│ error: unknown option '--logFile'


Screenshot doesnt work on full screen videos

Even when you have the option to take a screenshot with right click, if a video is in full screen it will not be covered by the screenshot overlay, and when exiting full screen you will have that overlay on waiting for you to take the screenshot.

Pushed an update that should fix it. It's waiting for verification by Mozilla.


[REQUEST] Save returned value from EXECUTEJS to a variable

More info in here
https://forum.openbullet.dev/topic/277/grab-a-variable-out-of-executejs

https://github.com/openbullet/openbullet/commit/098df27c4f7a424f8ecbbbe7254f5ee9b7a6e54a
Will merge into master soon


The haarcascade_upperbody.xml (cuda version) does not work

The file is missing a - sign at the beginning of the comment, therefore the OpenCV parse does not recognize it.
Adding the missing sign will fix the issue.

can be closed after #6136


Added support for VBScript

Hi! Thanks for your PR!
please, fix the Lint errors from Travis logs, and I can merge your pr


Segment Anything V2

Model description
https://ai.meta.com/blog/segment-anything-2/
Prerequisites

[ ] The model is supported in Transformers (i.e., listed here)
[ ] The model can be exported to ONNX with Optimum (i.e., listed here)

Additional information
Would be great to support SAM V2, however I don't know what needs to happen to support it. Would love community support to write out the instructions on how to implement this.
Your contribution
Can write medium-grade JS and run testing :)

This is currently being worked on in transformers:

feature request: https://github.com/huggingface/transformers/issues/32308
PR: https://github.com/huggingface/transformers/pull/32317


CLI: Don't prompt for both DSN and parts in rill env configure

We should either have an opinionated prompt (simple path) or ask something like "do you want to specify a DSN or individual connection options?" (advanced path). The advanced path might also enable us to ask things like "do you want to set advanced options"?
See report in Slack.

Few approaches I can think :

A lot of tools like airbyte, metabase have just hardcoded database specific properties on UI (at least I saw no network call so this is my assumption). So we could employ something similar on CLI/UI and following path can be taken:
a. On the CLI we can ask user to set dsn first with extra hint that they can chhose to ignore this field and set individual properties. If user set dsn skip other properties.
connector.clickhouse.dsn (ignore this if you want to set properties individually)

b. Ask user to chhose between dsn or individual properties.

Add a special PropertyType called drivers.DSNPropertyType which should indicate that it is a special property that encompasses all properties. Given most of our connectors will have a DSN property this seems like a good type to introduce. If a DSNPropertyType is present we can ask user to chhose between two options.

1.a sounds good to me.

It may still seem confusing if you enter a DSN, and it then proceeds to ask for the individual properties. If other tools have hard-coded properties, how about we also just decide on one recommended set of properties to prompt for? We could have a Prompt bool on the config keys, and only set it to true for the recommended set of config keys to configure.

It may still seem confusing if you enter a DSN, and it then proceeds to ask for the individual properties.

No I meant if the user inputs DSN we can skip prompting for other properties.
I am fine with adding a Prompt bool for now as well with it being set as false for DSN. Workarounds exists for advanced users.


[sui move] generate layouts for Move structs

Add build option to SuiCompiledPackage that generate a serde-reflection Registry containing the layout of relevant structs in the package. For now, we define "relevant" as the structs declared by each module in the package, plus the struct types passed to entry functions of each module (either directly or by reference).
 This will hopefully make writing Sui web apps much faster--if you've written Move types already, you get the TS type definitions + BCS serializers and deserializers for free. It's also fairly straightforward to extend this to autogenerating tx builders. I have mentioned this idea to @666lcz and @Jordan-Mysten, also curious to hear what TS BCS library creator @damirka thinks.
Use serde-generate https://github.com/zefchain/serde-reflection/tree/main/serde-generate to generate type definitions from a Registry in a variety of languages (e.g. Python, Go, Rust, Java, Swift, C++). This makes it much easier to write an SDK that talks to an on-chain Move package in these langs because you can generate all the boilerplate wrapper types.
Autogenerate a Registry for your types that should not change, serialize the result to a YAML file, check it in, and then use this to detect breaking changes to those types. We do this for our key Rust types used in txes etc. Check out https://github.com/MystenLabs/sui/blob/main/crates/sui-core/tests/README.md--https://github.com/MystenLabs/sui/blob/main/crates/sui-core/tests/staged/sui.yaml is a serialized Registry autogenerated in the manner described above.

Here's an example of what the Registry for the games package looks like:
---
"0000000000000000000000000000000000000000::hero::Boar":
  STRUCT:
    - id:
        TYPENAME: "0000000000000000000000000000000000000002::object::UID"
    - hp: U64
    - strength: U64
    - game_id:
        TYPENAME: "0000000000000000000000000000000000000002::object::ID"
"0000000000000000000000000000000000000000::hero::BoarSlainEvent":
  STRUCT:
    - slayer_address:
        TYPENAME: AccountAddress
    - hero:
        TYPENAME: "0000000000000000000000000000000000000002::object::ID"
    - boar:
        TYPENAME: "0000000000000000000000000000000000000002::object::ID"
    - game_id:
        TYPENAME: "0000000000000000000000000000000000000002::object::ID"
"0000000000000000000000000000000000000000::hero::GameAdmin":
  STRUCT:
    - id:
        TYPENAME: "0000000000000000000000000000000000000002::object::UID"
    - boars_created: U64
    - potions_created: U64
    - game_id:
        TYPENAME: "0000000000000000000000000000000000000002::object::ID"
"0000000000000000000000000000000000000000::hero::GameInfo":
  STRUCT:
    - id:
        TYPENAME: "0000000000000000000000000000000000000002::object::UID"
    - admin:
        TYPENAME: AccountAddress
"0000000000000000000000000000000000000000::hero::Hero":
  STRUCT:
    - id:
        TYPENAME: "0000000000000000000000000000000000000002::object::UID"
    - hp: U64
    - experience: U64
    - sword:
        TYPENAME: "0000000000000000000000000000000000000001::option::Option<0000000000000000000000000000000000000000::hero::Sword>"
    - game_id:
        TYPENAME: "0000000000000000000000000000000000000002::object::ID"
"0000000000000000000000000000000000000000::hero::Potion":
  STRUCT:
    - id:
        TYPENAME: "0000000000000000000000000000000000000002::object::UID"
    - potency: U64
    - game_id:
        TYPENAME: "0000000000000000000000000000000000000002::object::ID"
"0000000000000000000000000000000000000000::hero::Sword":
  STRUCT:
    - id:
        TYPENAME: "0000000000000000000000000000000000000002::object::UID"
    - magic: U64
    - strength: U64
    - game_id:
        TYPENAME: "0000000000000000000000000000000000000002::object::ID"
"0000000000000000000000000000000000000000::rock_paper_scissors::Game":
  STRUCT:
    - id:
        TYPENAME: "0000000000000000000000000000000000000002::object::UID"
    - prize:
        TYPENAME: "0000000000000000000000000000000000000000::rock_paper_scissors::ThePrize"
    - player_one:
        TYPENAME: AccountAddress
    - player_two:
        TYPENAME: AccountAddress
    - hash_one: BYTES
    - hash_two: BYTES
    - gesture_one: U8
    - gesture_two: U8
"0000000000000000000000000000000000000000::rock_paper_scissors::PlayerTurn":
  STRUCT:
    - id:
        TYPENAME: "0000000000000000000000000000000000000002::object::UID"
    - hash: BYTES
    - player:
        TYPENAME: AccountAddress
"0000000000000000000000000000000000000000::rock_paper_scissors::Secret":
  STRUCT:
    - id:
        TYPENAME: "0000000000000000000000000000000000000002::object::UID"
    - salt: BYTES
    - player:
        TYPENAME: AccountAddress
"0000000000000000000000000000000000000000::rock_paper_scissors::ThePrize":
  STRUCT:
    - id:
        TYPENAME: "0000000000000000000000000000000000000002::object::UID"
"0000000000000000000000000000000000000000::sea_hero::RUM":
  STRUCT:
    - dummy_field: BOOL
"0000000000000000000000000000000000000000::sea_hero::SeaHeroAdmin":
  STRUCT:
    - id:
        TYPENAME: "0000000000000000000000000000000000000002::object::UID"
    - supply:
        TYPENAME: "0000000000000000000000000000000000000002::balance::Supply<0000000000000000000000000000000000000000::sea_hero::RUM>"
    - monsters_created: U64
    - token_supply_max: U64
    - monster_max: U64
"0000000000000000000000000000000000000000::sea_hero::SeaMonster":
  STRUCT:
    - id:
        TYPENAME: "0000000000000000000000000000000000000002::object::UID"
    - reward:
        TYPENAME: "0000000000000000000000000000000000000002::balance::Balance<0000000000000000000000000000000000000000::sea_hero::RUM>"
"0000000000000000000000000000000000000000::sea_hero_helper::HelpMeSlayThisMonster":
  STRUCT:
    - id:
        TYPENAME: "0000000000000000000000000000000000000002::object::UID"
    - monster:
        TYPENAME: "0000000000000000000000000000000000000000::sea_hero::SeaMonster"
    - monster_owner:
        TYPENAME: AccountAddress
    - helper_reward: U64
"0000000000000000000000000000000000000000::shared_tic_tac_toe::GameEndEvent":
  STRUCT:
    - game_id:
        TYPENAME: "0000000000000000000000000000000000000002::object::ID"
"0000000000000000000000000000000000000000::shared_tic_tac_toe::TicTacToe":
  STRUCT:
    - id:
        TYPENAME: "0000000000000000000000000000000000000002::object::UID"
    - gameboard:
        SEQ: BYTES
    - cur_turn: U8
    - game_status: U8
    - x_address:
        TYPENAME: AccountAddress
    - o_address:
        TYPENAME: AccountAddress
"0000000000000000000000000000000000000000::shared_tic_tac_toe::Trophy":
  STRUCT:
    - id:
        TYPENAME: "0000000000000000000000000000000000000002::object::UID"
"0000000000000000000000000000000000000000::tic_tac_toe::GameEndEvent":
  STRUCT:
    - game_id:
        TYPENAME: "0000000000000000000000000000000000000002::object::ID"
"0000000000000000000000000000000000000000::tic_tac_toe::Mark":
  STRUCT:
    - id:
        TYPENAME: "0000000000000000000000000000000000000002::object::UID"
    - player:
        TYPENAME: AccountAddress
    - row: U64
    - col: U64
"0000000000000000000000000000000000000000::tic_tac_toe::MarkMintCap":
  STRUCT:
    - id:
        TYPENAME: "0000000000000000000000000000000000000002::object::UID"
    - game_id:
        TYPENAME: "0000000000000000000000000000000000000002::object::ID"
    - remaining_supply: U8
"0000000000000000000000000000000000000000::tic_tac_toe::MarkSentEvent":
  STRUCT:
    - game_id:
        TYPENAME: "0000000000000000000000000000000000000002::object::ID"
    - mark_id:
        TYPENAME: "0000000000000000000000000000000000000002::object::ID"
"0000000000000000000000000000000000000000::tic_tac_toe::TicTacToe":
  STRUCT:
    - id:
        TYPENAME: "0000000000000000000000000000000000000002::object::UID"
    - gameboard:
        SEQ:
          SEQ:
            TYPENAME: "0000000000000000000000000000000000000001::option::Option<0000000000000000000000000000000000000000::tic_tac_toe::Mark>"
    - cur_turn: U8
    - game_status: U8
    - x_address:
        TYPENAME: AccountAddress
    - o_address:
        TYPENAME: AccountAddress
"0000000000000000000000000000000000000000::tic_tac_toe::Trophy":
  STRUCT:
    - id:
        TYPENAME: "0000000000000000000000000000000000000002::object::UID"
"0000000000000000000000000000000000000001::option::Option<0000000000000000000000000000000000000000::hero::Sword>":
  STRUCT:
    - vec:
        SEQ:
          TYPENAME: "0000000000000000000000000000000000000000::hero::Sword"
"0000000000000000000000000000000000000001::option::Option<0000000000000000000000000000000000000000::tic_tac_toe::Mark>":
  STRUCT:
    - vec:
        SEQ:
          TYPENAME: "0000000000000000000000000000000000000000::tic_tac_toe::Mark"
"0000000000000000000000000000000000000002::balance::Balance<0000000000000000000000000000000000000000::sea_hero::RUM>":
  STRUCT:
    - value: U64
"0000000000000000000000000000000000000002::balance::Balance<0000000000000000000000000000000000000002::sui::SUI>":
  STRUCT:
    - value: U64
"0000000000000000000000000000000000000002::balance::Supply<0000000000000000000000000000000000000000::sea_hero::RUM>":
  STRUCT:
    - value: U64
"0000000000000000000000000000000000000002::coin::Coin<0000000000000000000000000000000000000002::sui::SUI>":
  STRUCT:
    - id:
        TYPENAME: "0000000000000000000000000000000000000002::object::UID"
    - balance:
        TYPENAME: "0000000000000000000000000000000000000002::balance::Balance<0000000000000000000000000000000000000002::sui::SUI>"
"0000000000000000000000000000000000000002::object::ID":
  STRUCT:
    - bytes:
        TYPENAME: AccountAddress
"0000000000000000000000000000000000000002::object::UID":
  STRUCT:
    - id:
        TYPENAME: "0000000000000000000000000000000000000002::object::ID"
"0000000000000000000000000000000000000002::sui::SUI":
  STRUCT:
    - dummy_field: BOOL
"0000000000000000000000000000000000000002::tx_context::TxContext":
  STRUCT:
    - signer:
        TYPENAME: Signer
    - tx_hash: BYTES
    - epoch: U64
    - ids_created: U64
AccountAddress:
  NEWTYPESTRUCT:
    TUPLEARRAY:
      CONTENT: U8
      SIZE: 20
Signer:
  NEWTYPESTRUCT:
    TUPLEARRAY:
      CONTENT: U8
      SIZE: 20

This contains all declared structs, all structs passed as arguments to entry functions, and all of the types they (transitively) depend on.
Note: there are a number of fixes we need to make to SerdeLayoutGenerator to really get this working. The biggest problem now is that the generator will not create layout files for open types (i.e., struct declarations with unbound type parameters).
Note: this PR also upgrades the Move version to pull in a fix to SerdeLayoutGenerator that I needed. This unfortunately required a few updates to the gas logic because of breaking changes upstream--please take a look at the changes in bytecode_tables.rs @oxade.

LGTM!
P.S. There is not a day that goes by that I don't miss stacked diffs.

The absence of this + dependent tasks is so, so puzzling...


Typo's

  php:test_namespace_integrity               ALPHA: Tests the "namepace integrity?  Not sure what this is anymore.
namepace -> namespace
When running pestle.phar magento2:scan:class_and_namespace app/code;
No Namspace: Skipping app/code/Client/OrderSync/Model/Esb/PushOrder.php
Namspace > Namespace
  magento2:convert_observers_xml             ALPHA: Partiall converts Magento 1 config.xml to Magento 2
Partiall > Partially

Thanks @peterjaap -- fixed, and should be part of next week's release.


Race condition in maps load?

I'm getting this periodically if I hard refresh the page during local testing.  I think there's a race between the script blob in index.html that loads the maps API and our JS file.
locations-list-map.js:382 Uncaught ReferenceError: google is not defined
    at initMap (locations-list-map.js:382)
    at Object.success (locations-list-map.js:288)
    at c (jquery.min.js:2)
    at Object.fireWith [as resolveWith] (jquery.min.js:2)
    at l (jquery.min.js:2)
    at XMLHttpRequest.<anonymous> (jquery.min.js:2)

FYI, this seems to only happen if the JS loads at different rates. Mashing reload on prod doesn't reproduce.  Using local.findthemasks.com:8080 with a local server bound to 8080 does seem to give enough gap that the race occurs about 1/3 of the time on a full reload for me.
The code needs to not call initMap() until google maps api has initialized. Not sure the right way to do that.
We've had this bug live for a while so it's not critical, but it's real and likely explains reports of folks on mobile getting blank donation lists as mobile has a less uniform network layer.

It looks like the Google Maps API script tag is potentially loading late (defer tag?) so there's no guarantee when it will be ready.  Suggest making it load sync before the main JS blob executes (easy fix) or use a callback to trigger all of the features that require google.maps (cleaner fix).

Maps script is loaded with defer. locations-list-map is loaded as a module (implied defer). Deferred scripts are supposed to execute in the order they appear in the doc, though maybe explicit defer and modules are queued separately?
Another option would be to move the script tag creation for maps from the html file into locations-list-map and use the callback param to trigger map initialization. Could then avoid downloading the script at all for no-map scenarios.

For what it's worth, you can define a &callback=[function name] in the URL of the Google Maps API JS if you wanted to ensure that dependencies wait for maps to be fully ready prior to calling.
I tried doing this, but that's why I was so bent on using module-level vars to maintain state since then at least we could a little more easily invoke a single function that would then kick everything else off (unfortunately due to the inter-dependencies, it was a little tough to workaround). E.g. Things that don't necessarily seem at first glance to require maps (e.g. the createContent() function) actually did depend on maps, so basically entire page load had to wait for maps first, thus you encounter this error.
Originally I ended up defining a function like triggerMapsApiLoaded which then would kick off initMaps(...) with it's necessary parameters and etc. I was able to queue those up in the context of the jQuery DOM loaded function by using a special queuing function like
let mapQueueCallbacks = [];
function onMapsLoaded(callback) {
  if (typeof google !== 'undefined') {
    // fire immediately
    callback();
  } else {
    mapQueueCallbacks.push(callback);
  }
}

function triggerMapsApiLoaded() {
  for(let i = 0; i < mapQueueCallbacks.length; i++) {
    let callback = mapQueueCallbacks[i];
    callback();
  }
}

Or something along those lines. That way you can always do stuff like this when you know the nested code requires maps or requires something that requires maps, or requires something that was built by something that... requires maps :neckbeard: :

showList && createContent(window.data_by_location);
onMapsLoaded(() => {
  showList && createContent(window.data_by_location);
});

// ... and lower down....

if (showMap) {
  onMapsLoaded(() => {
    initMap(stateFilter);
  })
}

... it's hacky AF, but what so far hasn't been? 😏

Someone wanna throw up a CL?  I like @drwestco 's solution of now downloading themaps api unless needed.Then the center of control still has a single entrt-point in the JS.

fixed in #296


Update dead link for app creation in docs. Closes #30

Example query results

Results
Add example SQL query results here (please include the input queries as well)

These updates will be handled in https://github.com/turbot/steampipe-plugin-zoom/pull/35, closing this PR.


GUARD-111 Support Amazon Australia

Added Australia and other missing Amazon regions

It's been released awhile ago


Dynamics page for OAuth redirects

This PR contains the Dynamics integration dedicated page for handling OAuth redirects.
It will handle dynamics:oauth:success message sent by the window.opener interface.

I don't think it will break the existing versions, as they will continue to use https://hubspot-forms-auth.umbraco.com/ and watch for hubspot:oauth:success message. Only the new version of the Dynamics package will use https://hubspot-forms-auth.umbraco.com/oauth/dynamics/ and have the message event listener watch for dynamics:oauth:success.
The other update I will need to make is to the Umbraco Integrations Azure app to support the additional redirect URI.

for Semrush I am passing a relative URL as redirect (/oauth/umbraco/success), the integration is not using the OAuth Proxy. If I remember correctly they took care of all the setup.
only for Dynamics I modified the key from hubspot:oauth:success to dynamics:oauth:success and updated the proxy endpoint, the others are ok. Dynamics is using an Azure App called Umbraco Integrations.


Nightly e2e statins

Description and Motivation
Closes #2624
*** should also fix my node.js issues ***
Has this been tested? How?
Using vscode terminal
Screenshots (if appropriate)

Types of changes
(leave all that apply)

New content or feature

New frontend preview link is below in the Netlify comment 😎

Not quite sure why my node checks are failing. I've reinstalled node and updated everything in my local environment (as far as I can tell)


Sitting animation doesn't work in 3rd person view

If you sit on a chair while in 3rd person view the sitting animation doesn't work. The player stands on the chair

Thanks for the bug report.
At the moment I'm quite busy, but I'll look at this as soon as I have time for it.

I looked at this issue again and I fear it's a engine-side problem. I have no idea how to fix this. If someone else knows better, feel free to help!

@MarkuBu Is this fixed? This seems to work as of the ts_furniture version I was using Feb 2018 for fixing the sitting height, with 5.0.0-dev at least.

It seems like there are still problems when you sit down while in 3rd person mode.

I never had legs bending working in homedecor_modpack but did have it working in ts_furniture. The y position was working with my patch in Aug 2018 but now with recent version of minetest 5.0.0-dev the player sits on the floor inside chair (legs are bent though). This behavior is the same with or without playeranim installed (legs are bent either way, but player is too low either way). Maybe I was using a version of minetest 5.0.0-dev from before Nov 2017 when tested in Aug 2018--according to @Rui-Minetest from minetest_mods/playeranim, the model changed Nov 2017. I would like to help but need more information. Do you know the answers to the following questions, or know who does?

when was the model version bumped in minetest (I assume minetest_game doesn't have anything to do with positioning the model and that minetest controls this)
is the model "v3" used for every minetest 5.0.0-dev (and for "0.5.0-dev" as it was called earlier) always the same, or was it changed sometime afterward (playeranim has so far decided that there is "no automatic way" to detect model version--see below)
is there a known time when this broke (when engine changed--did player offset change more than once during development of minetest)
are legs not bending on 0.4.* only for you
if the bug is only with 0.4.*, is it only without playeranim (I am able to get legs to bend in 5.0.0-dev even without playeranim)
if you use playeranim, have you checked minetest.conf? It now requires a different line than it did before:

# 5.0.0-dev:
# setting formerly used by playeranim:
# player_model_version = default_character_v3
# setting currently used by playeranim:
playeranim.model_version = MTG_4_Nov_2017

# 0.4.*:
# setting formerly used by playeranim:
# player_model_version = default_character_v2
# setting currently used by playeranim:
playeranim.model_version = MTG_4_Jun_2017

For testing 5.0.0-dev, try updating if you are using git version master branch, and also updating minetest_game--if on linux, try my script:
wget -O install-minetestserver-git-all-backends.sh https://github.com/poikilos/EnlivenMinetest/raw/master/install-minetestserver-git-all-backends.sh
chmod +x install-minetestserver-git-all-backends.sh
./install-minetestserver-git-all-backends.sh both
#params:
#both: install minetestserver and minetest
#client: install minetest (client only)
#(no param): install server

As for homedecor_modpack, player stands inside the furniture at the correct y position (feet on floor) as always. Keep in mind, VenessaE has expressed that she isn't interested in supporting Minetest 5.0.0-dev until there is a release--I forget which mod, but there is an issue I posted regarding 5.0.0-dev and that was her point of view on that.

Actually, I don't know the answers to your questions.
I don't use playeranim, and I used the latest 5.0.0-dev git version for testing.
I will try to find a working solution as soon as 5.0.0 is ready for release, so we have a stable mod again.
Thanks for your contributions to this mod!

After 2.5 years, let me take a look at the problem...
Ah, here is the fix. Enjoy :)
https://github.com/minetest-mods/ts_furniture/pull/11/commits/01c9511e307a22bd54d37799e246581ea00cc592
(not related to the model or anything else mentioned above)


Error when running Ordinals-api

I've started ordhook and trying to start ordinals-api but it seems that migrations didn't start because I found this error when running npm run start
"err":{"type":"PostgresError","message":"relation \"chain_tip\" does not exist","stack":"PostgresError: relation \"chain_tip\" does not exist

hi @soliman9 is this from a completely fresh start with a new DB? Or did that start happening after some use?
can you double check that the API has the correct DB connection settings in the .env file? That could be an error when running migrations

It is from a completely fresh start with a new DB. and yes , the connection settings are correct.


HorkEye Engine help

Hello, sorry for inconvenience, I wonder if is possible add support for HorkEye Engine's scripts. I tried to  extract arc.dat of one game but I don't know the file extension of the scripts, and there's not really many tools that support this engine (and some one them are quite complicated to understand for me) I'm attaching one script here just in case, also the game is this one, it's for a translation project. Thank you in adavance https://vndb.org/v22880
00001D3587EF8E0F46D43.zip

Addtional info, it seems it's the same engine that uses the games of Minato soft of the lastest years. It's some kind of improved whale engine(? or something like that, I don't really know.

Send the whole scripts, not only that file, and you will need a filename.lst to indicate the name of the script when unpacking. You can try to pull request for this one, I think the owner is still active. Also this engine need some kind of harsh key or something, this one is the second tool I found for it(need key to unpack/repack), since it's full of Chinese so I translate the buttons with deepl
Noncolor.zip

Uploading shukusai_scripts.zip…

Actually a friend of mine ported the artemis version of that game to window(need original version), if you need I can send the convert batch to you to use

Support added. I didn't test it ingame, so please try it out and let me know if it works.

Sorry for asking here, but someone know how to repack the files into .dat for this engine?

Send the whole scripts, not only that file, and you will need a filename.lst to indicate the name of the script when unpacking. You can try to make issue for this one, I think the owner is still active. Also this engine need some kind of harsh key or something, this one is the second tool I found for it(need key to unpack/repack), since it's full of Chinese so I translate the buttons with deepl Noncolor.zip

@Arata12 need Name title and harsh key to unpack/repack

If I'm not wrong, harsh key for this one is x9d0be0fa and title is just 宿星のガールフレンド. I've tried the only working tool available but it didn't worked not even changing this parameters, idk if I'm doing it wrong, but at least that was what I got from my test. Would be very useful if someone know a way to repack the scripts into .dat again.


Switch component not rendering correctly in Android 9.0. It's invisible!

Environment

React Native Environment Info:
System:
OS: macOS 10.14
CPU: (8) x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
Memory: 78.09 MB / 16.00 GB
Shell: 5.3 - /bin/zsh
Binaries:
Node: 10.13.0 - ~/.nvm/versions/node/v10.13.0/bin/node
Yarn: 1.12.3 - ~/.yarn/bin/yarn
npm: 6.4.1 - ~/.nvm/versions/node/v10.13.0/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 12.1, macOS 10.14, tvOS 12.1, watchOS 5.1
Android SDK:
API Levels: 23, 27, 28
Build Tools: 28.0.2, 28.0.3
System Images: android-27 | Google APIs Intel x86 Atom, android-28 | Google APIs Intel x86 Atom, android-28 | Google APIs Intel x86 Atom_64
IDEs:
Android Studio: 3.2 AI-181.55<IP_ADDRESS>56338
Xcode: 10.1/10B61 - /usr/bin/xcodebuild
npmPackages:
react: 16.5.0 => 16.5.0
react-native: 0.57.7 => 0.57.7
npmGlobalPackages:
react-native-cli: 2.0.1
Description

The Switch component is not displaying in Android 9.0 Pie on Pixel devices or emulators when it's inside of a ScrollView. It is there and you can interact with the component, but it's invisible.
Reproducible Demo

It looks like Snack is running Android 8.1. It's not showing the problem. Only with Android 9.0 will you would see the problem.
https://snack.expo.io/rJnA0c8mN

I just updated:
React Native Environment Info:
    System:
      OS: macOS 10.14.3
      CPU: (8) x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
      Memory: 64.91 MB / 16.00 GB
      Shell: 5.3 - /bin/zsh
    Binaries:
      Node: 10.13.0 - ~/.nvm/versions/node/v10.13.0/bin/node
      Yarn: 1.13.0 - ~/.yarn/bin/yarn
      npm: 6.4.1 - ~/.nvm/versions/node/v10.13.0/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: iOS 12.1, macOS 10.14, tvOS 12.1, watchOS 5.1
      Android SDK:
        API Levels: 23, 27, 28
        Build Tools: 28.0.2, 28.0.3
        System Images: android-27 | Google APIs Intel x86 Atom, android-28 | Google APIs Intel x86 Atom, android-28 | Google APIs Intel x86 Atom_64
    IDEs:
      Android Studio: 3.2 AI-181.55<IP_ADDRESS>56338
      Xcode: 10.1/10B61 - /usr/bin/xcodebuild
    npmPackages:
      react: ^16.6.3 => 16.8.3
      react-native: ^0.58.5 => 0.58.5
    npmGlobalPackages:
      react-native-cli: 2.0.1

Still not seeing it... Not sure what the issue in my build... I will try to isolate.

Using react-native: 0.58.6 and Android9 on a Pixel2.
Switch is invisible.

I have been facing similar problem when  will not render. I realized that using   or in style using background, will make the Switch not render in Android 9. Removing backgrounds, fixed the issue.

It is happening with latest version of RN (0.60.5), if any ancestor view has opacity property < 1, Switch component will not be rendered.
Sample with default react-init app

It is happening with latest version of RN (0.60.5), if any ancestor view has opacity property < 1, Switch component will not be rendered.

This is exactly as I observe. Any workaround suggestions are appreciated...


How to create encoders and decoders for non-case classes?

I'm having a bit of trouble writing an encoder/decoder pair for a class that I don't control and that's not a case class.  For the following example, I'll use java.time.Instant.
Looking at Circe's source, writing the encoder is straightforward:
import java.time.Instant
import io.circe._, io.circe.generic.auto._, io.circe.parser._, io.circe.syntax._

implicit val encodeInstant = new Encoder[Instant] {
  final def apply(a: Instant): Json = Json.fromString(a.toString)
}

It's the decoder that's the problem.  Following the example set by Circe's source:
type Result[A] = Xor[DecodingFailure, A]

implicit val decodeInstant = new Decoder[Instant] {
  final def apply(c: HCursor): Result[Instant] = c.focus match {
    case JString(string) => try {    // error: not found: value JString
      Xor.right(Instant.parse(string))
    } catch {
      case _: Throwable => Xor.left(DecodingFailure("Instant", c.history))
    }
    case _ => Xor.left(DecodingFailure("Instant", c.history))
  }
}

The problem is that JString is private to Circe.  If using JString isn't the way to go, what's the canonical way of writing a custom decoder?

with circe you can directly use primitive decoder/encoder
// Decoder
Decoder.decodeString.emap { str =>
    Xor.catchNonFatal(Instant.parse(str)).leftMap(t => "Instant")
  }

// Encoder
Encoder.encodeString.contramap[Instant](i => i.toString)

Thank you!
This seems like a common use case.  May I suggest it be put in the Readme, under the Usage section?

It can be a good idea, any thought @travisbrown ?


Helm Lint prints one error and then ends

This may or may not be a feature request, but it would be really nice if running the command helm lint would print more than one error at a time. The behavior I'm seeing currently is that the lint ends upon first error detected. Is that by design, and/or am I missing something?
Output of helm version: version.BuildInfo{Version:"v3.3.4", GitCommit:"a61ce5633af99708171414353ed49547cf05013d", GitTreeState:"dirty", GoVersion:"go1.15.2"}
Output of kubectl version: Client Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.3", GitCommit:"1e11e4a2108024935ecfcb2912226cedeafd99df", GitTreeState:"clean", BuildDate:"2020-10-14T18:49:28Z", GoVersion:"go1.15.2", Compiler:"gc", Platform:"darwin/amd64"}
Cloud Provider/Platform (AKS, GKE, Minikube etc.): Mac OS

IIRC helm lint is designed to report all errors, though we'd welcome changes to if there were bugs in the system that only reported those errors one at a time.
https://github.com/helm/helm/blob/11077a4991a9501e2d056c32eb6cb0c69212b287/pkg/lint/support/message.go#L38

updating to a bug after an initial code review of pkg/lint.

If possible, I am willing to fix this bug.

@donggangcj Go ahead. We look forward to your PR.

@meh98943 can you please provide a test case we can use to verify this issue?

test-chart.zip
See attached. You should be able to do helm lint in that top level directory and see numerous values unknown.
Below is an example of the first error I see when running that cmd.
==> Linting .
[INFO] Chart.yaml: icon is recommended
[ERROR] templates/: template: test-chart/templates/tests/test-connection.yaml:14:63: executing "test-chart/templates/tests/test-connection.yaml" at <.Values.service.port>: nil pointer evaluating interface {}.port

Okay. That error case makes sense here... text/template is effectively telling you that it cannot continue parsing the template, so it stops rendering due to a missing value. There's not much we can do in this case.
The linter runs against valid template outputs and reports any invalid rulesets... But if it can't render the templates at all, then it can't get to the linter.
To clarify, there's a few steps involved during helm lint:

Fetch the chart
Unpack the chart
Render the chart
Run the linter rulesets

So based on the error output, it's failing on step 3, before it's even hit the ruleset. So I'm not sure there's a way we can fix that.
Let us know if you find out anything else.

I see, so the errors I'm getting aren't a part of the lint'ing yet, just the preparation for lint'ing.
At this time I don't have any further information or an example of multiple errors not printing during the lint'ing process.

Okay. That error case makes sense here... text/template is effectively telling you that it cannot continue parsing the template, so it stops rendering due to a missing value. There's not much we can do in this case.
The linter runs against valid template outputs and reports any invalid rulesets... But if it can't render the templates at all, then it can't get to the linter.
To clarify, there's a few steps involved during helm lint:

Fetch the chart
Unpack the chart
Render the chart
Run the linter rulesets

So based on the error output, it's failing on step 3 before it's even hit the ruleset. So I'm not sure there's a way we can fix that.
Let us know if you find out anything else.

Yes, so far, this is in line with the design.

Closing for now. This appears to be intentional behaviour.
Let us know if you run into further issues. Thanks!


Feature/config ordering

@bomoko @CGoodwin90 could you take a look at this one when you get the chance, thanks!


use lima to use melange on mac

Signed-off-by: Batuhan Apaydın<EMAIL_ADDRESS>/cc @kaniini @rawlingsj @dentrax

Nice!  I'll probably defer to @kaniini and @jdolitsky as they probably know more about this

any thoughts? @kaniini @imjasonh

kindly ping @kaniini


Add --force option to deamon to allow clean init

Should solve #16 .

This should now be complete.


Install Redux 4 and compatible versions of DevTools extension

Fixes #28, Redux 4 should now be fully supported. Tested by running npm install with no peer dependency warnings and successfully running the example (after updating React Redux).

Out of curiosity, what happens if we make Redux a peer dependency at 3 || 4 ?

This is a pretty straightforward change that is useful in other more opinionated PRs, merging.


Version of TensorFlow

Hello,
I would like to know which version of TensorFlow used in this code.

Hello,
This code was written in tf 1.x, most probably tf 1.9.
I know it is not tf2 if that's what your after.
Best
On Tue, Jun 16, 2020 at 5:59 PM shahadalsh<EMAIL_ADDRESS>wrote:

Hello,
I would like to know which version of TensorFlow used in this code.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/maziarraissi/PINNs/issues/11, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHLQRJDHM7P7LQH7PJP4HVTRW5XUDANCNFSM4N7T3HZA
.

Thank you

Thank you

Could you tell me which version worked for this code.

Thank you

Could you tell me which version worked for this code.

Version 1.15 worked fine for me. Some warnings here and there for soon to be deprecated commands but found nothing else pointing to incompatibilities

Thank you

Could you tell me which version worked for this code.

Version 1.15 worked fine for me. Some warnings here and there for soon to be deprecated commands but found nothing else pointing to incompatibilities

Could 1.14 work fine or no?


Feature - Multi print iOS

Description
The current implementation can only handle printing on a single printer. So this PR will handle multi-print for iOS which addresses https://github.com/tr3v3r/react-native-esc-pos-printer/issues/60. Since I didn't want to have a big impact on the current flow of printing, the old way demonstrated in the example project will still work. But there is only one change that will actually impact current users:
Right now the discovery the printers have the default timeout of 5 seconds. But that timeout will stop as soon as the first printer is discovered, which might be expected for some use cases, but this prevents discovering multiple printers. And it was addressed on this PR, so now the discovery method will resolve only after the specified timeout (which is 5 seconds by default), and then return all discovered printers within the timeframe.
There is another issue in the current implementation, where you can't send multiple print jobs to the same printer simultaneously, as after initializing the printer, every time when sending a print command the printer instance will first connect ➡ print the data ➡ disconnect and if the first print job is not finished the second action will try to connect which is going to fail. This issue persists if using the current flow for initializing the printer, but is addressed in a new way of initializing which also supports multi-print.
So the new way of initializing the printer basically is just the map of printer instances where the key is just the printer target.
the new method is called instantiate with the same params as init method. But it uses ThePrinterWrapper class which will create a new instance of the printer mapped with printer target as a key, and also connect to the printer after initialization. So now the printer is ready to accept the print jobs. Creating the commands also uses Printing class but when sending the print job by calling the send method of the Printing class there is an additional parameter target and if there is a target passed then ThePrinterWrapper - printBuffer method will handle the command and there is since the printer was already connected after initialization there is no need to connect the printer while printing. Actually, this also doesn't disconnect the printer, to allow sending multiple commands to the same printer simultaneously.
So consumer should handle the connect/disconnect events of the printer, basically if the printer is not needed anymore it can be disconnected using disconnectPrinter method passing the target of the printer, which will also remove the printer instance. So next when using the printer for the next time, it should be initialized again.
Changes

Fixed scripts/movelib.js dir typo.
Upgraded react-native-esc-pos-printer to the latest in Podfile.lock.
Allow discovering multiple printers based on the timeout.
Update iOS info.plist to support Bluetooth printers.
Upgraded react-native-builder-bob
Upgraded the IPHONEOS_DEPLOYMENT_TARGET to 11.0 also updated in Podfile.
Added react, react-native types.

Demo
In example, iOS project there is a new button added - Test multi-print:

Which opens a new Modal, and the discovery will start automatically:

@tr3v3r

@fragilehm  First of all thank you very  the efforts!
Everything is fine from my side, only concerns about Android.
Do you have time / possibility  to add the same functionality to Android as well?
I'll prepare release ( maybe alpha ) as soon as PR will be merged.

@fragilehm First of all thank you very the efforts!
Everything is fine from my side, only concerns about Android. Do you have time / possibility to add the same functionality to Android as well?
I'll prepare release ( maybe alpha ) as soon as PR will be merged.

Would be nice if we can get this one out, I will already ship beta phase to our customers. Android is in progress already.

@fragilehm v2.0.0 released


Fixed version in manifest.json

Hey, thank you for the contribution!
The version v<IP_ADDRESS> is actually not a typo, rather an immediate fix to a feature released in v1.1.1 a few minutes before.
I had to add an extra number to allow me to update the theme on my side for final checking.
For future reference, this pattern (x.x.x.1) is also used for live-debugging, specially for debugging on iOS platform since I don't have the tools to do that other than testing it live.
I will be closing this instead of merging, though let me know if you have any concerns with the process above.

OK 👍


Start a schema based on ATF4 guidance

#31
Note the schema isn't written correctly yet; the editor shows an error Value must validate against exactly one of the provided schemas. It currently validates against 4 of the schemas.. I think it's because the complexity field is used in all of the enum cases, so the schema can't understand which case we're in. Not worried about figuring out the right way to encode this yet; this is all just illustrative anyway.
Also, I only added a few categories from the page. The details in each one are not terribly interesting... instead of making people pick complexity, we should ask more specific questions and auto-calculate complexity from it

Will check locally now...

Seems to only be scheme level options and complexity + n. junctions, right?

No, the scheme describes one single intervention. Each is one of 4 cases, with different details based on the table in the guidance doc. Most of those details are just a complexity field.

I think the key thing is a taxonomy that includes the types of intervention:

Those can be within out existing top level classification of area/route/crossing interventions I think.

Those can be within out existing top level classification of area/route/crossing interventions I think.

Notice this JSON schema doesn't mention area/route/crossing/other. I'm trying to follow exactly the doc's system in this option.

Those can be within out existing top level classification of area/route/crossing interventions I think.

Notice this JSON schema doesn't mention area/route/crossing/other. I'm trying to follow exactly the doc's system in this option.

That's reasonable. Good to be faithful to what's in the guidance for reference.


Merge Facebook/Twitter with Django Accounts

Hey guys, I searched through the previous issues and docs and it looked like there used to be a way to merge accounts based on the email address but it became deprecated?
Is this still possible? Am I thinking about 'association' and merging all wrong?

The setting is deprecated but not the functionality, it's defined here https://github.com/omab/django-social-auth/blob/master/social_auth/backends/pipeline/associate.py#L9, in the future who wants to disable that feature just needs to define SOCIAL_AUTH_PIPELINE dropping the associate_by_email entry. At the moment you need to define the setting for backward compatibility.
I think the moment to drop those deprecated settings is near, maybe it's time to release v0.7.0 and drop them.


Xc tree performance improvement

Inserted ngIfs in xc-tree.component.html in order to improve rendering performance.

There seems to be an issue with change detection due to the lifecycle hook I am using.
I close the pull request and will continue working on this.

I retreat this idea for the moment, since the issues cannot be solved by changing only the xc-tree class itself.
If I committed my changes as they are, everyone who uses the xc-tree would need to implement a workaround in his own code, which seems pretty unclean.


Update documentation: support for environment variables

Based on functionality provided by the Spring framework, the utility supports the use of system environment variables in the configuration file. This can be very useful for various purposes, so this functionality should be described in the utility documentation.
As an example, you could have some script to load credentials from some credential store, and pass these credentials to the utility using environment variables. That would avoid the need to hard-code the credentials in the configuration file, or passing them in plain text through command line options (which may expose these credentials in the operating system process list for example).
With the above example in mind, you could add the following snippet to the utility configuration file to load the FoD user name and Personal Access Token from the FOD_USER and FOD_PAT environment variables:
       <util:map id="cliOptionsDefaultValues">
              <entry key="FoDUserName" value="#{systemEnvironment['FOD_USER']}" />
              <entry key="FoDPassword" value="#{systemEnvironment['FOD_PAT']}" />
       </util:map>

Dedicated support for FBTU_* environment variables has been added to the utility, and is mentioned in the documentation and help output.


"Refresh all folders" button

In previous versions of k9, it was possible to manually refresh all folders on the folders screen. That screen is now a folder manager only. I suggest to add a "Refresh all" button somewhere on the main activity.
Do you have a suggestion where the button could be displayed?

Is there an ability to automatically refresh the folder list with each email refresh or once a day?
It is a bit disturbing to do it everytime again you added a folder or if an employee of the company moves emails into a new folder and he doesn't tell you about his change.

@MartinX3: That's a different question. I create issue #4216 for that.

I guess the easiest option is to put it in the overflow menu.
Later we can maybe add a swipe down to refresh mechanism to the folder list in the navigation drawer. That feels like quite a bit of work, though. And I'm not sure it would make for a nicer user experience. But it's certainly worth looking into if someone can find the time to implement it.

Possibly related:

Open a mail reader that is not K9 (e.g., Thunderbird or browser-based web mail client).
Use a mail server that is not GMail, but uses IMAP.
Open Inbox using mail reader.
Create a new folder (e.g., Main).
Create 10 sub-folders under the new folder (e.g., Main/FA, Main/FB, Main/FC, etc.).
Open K9.
Refresh the folder list using K9.
Return to other mail reader.
Rename a few of the sub-folders (e.g., "Main/FC" becomes "Main/FC - done").
Return to K9.
Refresh the folders.

Expected
The renamed folder appears in K9.
Actual
The folder name does not get updated.

@DaveJarvis: Please create a new issue and don't forget to record a debug log if you want us to have any chance at finding out what's going on exactly.


fix(client): prevent navigating on failed submissions

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Related to #37615
info about this PR:
my goal was to prevent navigation to next challenge after user pressed 'submit' button on 'success' modal, and API failed.
i used to mimic api failure by modifying /backend-challenge-completed request
to return error:
      const updatePromise = new Promise((resolve, reject) => {
        return reject("my Name is Jovanny Georgio")
      });

does this close the main issue?

Hi, @ojeytonwilliams , I am trying to get a hang of this issue:
Basically a modal to show the kind of error the user is dealing with when the submission fails ,has to be implemented?
Would adding an else condition and then updating UI makes sense in the pipe operator of returned submitter function?
https://github.com/freeCodeCamp/freeCodeCamp/blob/1c941af2d323e35145da6ba35471982af4df23b6/client/src/templates/Challenges/redux/completion-epic.js
     return submitter(type, state).pipe(
        tap(res => {
          if (res.type !== submitActionTypes.updateFailed) {
            navigate(pathToNavigateTo());
          }
        }),
        concat(of(closeModal('completion')))
      );
    })
  );
}


Allow multiple  component selection

Allow to select multiple components at once. The behavior depends on the format:

Formats with "structures" shall generate one structure per component, e.g.  Python below. Formats: C enum, Python dict, HTML Table, MD Table.

pinout_U1 = { pin1: .....}
pinout_U2 = { pin1: .....}

Formats without structures shall instead display an error message "Multiple component selected (). Select only one to generate an output with this format."  Formats: VHDL, C #define.

Notes:

TBC how to handle CSV/List formats.
This evolution is useful for documentation format, especially on connectors (e.g. https://github.com/CGrassin/kicad-pinout-generator/issues/1).
Major code refactoring is required to implement this.

Added with https://github.com/CGrassin/kicad-pinout-generator/commit/d455a5af842c6a3104bc8c5aae369a7f7afde91d
Still TBC on CSV and List.

Fixed remaining TBC with b8e69bea79f1838e93bdafaea1ab5e989231c94f : for both CSV and List, a new column with the component reference is added when there is a multiple selection.
Note: the current implementation means that the output format is different when in multiple selection compared to single selection.


Add support for 3rd Party Plugins to show in the resources made

Is your feature request related to a problem? Please describe.
In the backend resources page where it lists categories added to the project, it would be nice to at least acknowledge other 3rd party plugins used outside of the 1st party plugins.
Describe the solution you'd like

At least list all the resources/categories used in the project, whether they are 1st party or 3rd party.

List resources created by 3rd party plugins

Provide a way for 3rd party plugins can create their own pages in the amplify console for resources.

Additional context
This is addition to this feature release: https://medium.com/@dabit3/amplify-console-and-cli-now-work-together-five-new-features-6a6ee1d45b1c

@wizage acknowledged! Right now we aren't showing every single category and we'll work on an item to dynamically generate the categories based on what's been enabled.


encoder to allow number values

https://github.com/redis/node-redis/issues/1808
https://github.com/redis/node-redis/issues/2019
Description

Currently xAdd allows for adding to redis streams only string values. In practice often JSONs stringified objects are xadded, but wen they contain number values:

{ "key": 1234 } // valid JSON

an exception is being thrown:
/home/akrsmv/test/node_modules/@redis/client/dist/lib/client/RESP2/encoder.js:17
            throw new TypeError('Invalid argument type');
                  ^

TypeError: Invalid argument type
    at encodeCommand (/home/akrsmv/test/node_modules/@redis/client/dist/lib/client/RESP2/encoder.js:17:19)
    at RedisCommandsQueue.getCommandToSend (/home/akrsmv/test/node_modules/@redis/client/dist/lib/client/commands-queue.js:138:45)
    at Commander._RedisClient_tick (/home/akrsmv/test/node_modules/@redis/client/dist/lib/client/index.js:507:76)
    at Commander._RedisClient_sendCommand (/home/akrsmv/test/node_modules/@redis/client/dist/lib/client/index.js:494:82)
    at Commander.commandsExecutor (/home/akrsmv/test/node_modules/@redis/client/dist/lib/client/index.js:193:154)
    at BaseClass.<computed> [as xAdd] (/home/akrsmv/test/node_modules/@redis/client/dist/lib/commander.js:8:29)
    at /home/akrsmv/test/packages/core/dist/dataStore.js:130:62
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Promise.all (index 4)
    at async loadFromBucketV1 (/home/akrsmv/test/packages/core/dist/dataStore.js:124:9)

and one needs to:
function replacer(key: string, value: any) {
    if (typeof value === "number") {
        return value.toString();
    }
    return value;
}
xAdd('mystream', '*', JSON.parse(JSON.stringify(JSON.parse(jsonline), replacer)))

Which leads to many redundant operations

Checklist

[ ] Does npm test pass with this change (including linting)?
[ ] Is the new or changed code fully tested?
[ ] Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?

Anyway, a test should be added.


Use external docker container to speed up tests.

Summary
Setup a docker container to reuse across tests instead of depending on gnomock to start and stop the container for every test.
Test Plan
Existing tests.

Codecov Report

Merging #948 (acfb7e7) into develop (99ab66f) will increase coverage by 0.32%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop     #948      +/-   ##
===========================================
+ Coverage    59.21%   59.53%   +0.32%
===========================================
  Files           42       41       -1
  Lines         5720     5689      -31
===========================================
  Hits          3387     3387
+ Misses        1896     1865      -31
  Partials       437      437

Impacted Files
Coverage Δ

util/diff.go

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 99ab66f...acfb7e7. Read the comment docs.