Issue: <How to store/export the output of a chatbot to excel  ' prefix>

Issue you'd like to raise.
i have created a chatbot to chat with the sql database using openai and langchain, but how to store or output data into excel using langchain.
I got some idea from chatgpt which i have integrated with my code, but there is an error while importing the modules
below is my code
import pandas as pd
import sqlalchemy as sal
import os, sys, openai
import constants
from langchain.sql_database import SQLDatabase
from langchain.llms.openai import OpenAI
from langchain_experimental.sql import SQLDatabaseChain
from sqlalchemy import create_engine
import ChatOpenAI
from langchain.chat_models import ChatOpenAI
from typing import List, Optional
from langchain.agents.agent_toolkits import SQLDatabaseToolkit
from langchain.callbacks.manager import CallbackManagerForToolRun
from langchain.chat_models import ChatOpenAI
from langchain_experimental.plan_and_execute import (
PlanAndExecute,
load_agent_executor,
load_chat_planner,
)
from langchain.sql_database import SQLDatabase
from langchain.text_splitter import TokenTextSplitter
from langchain.tools import BaseTool
from langchain.tools.sql_database.tool import QuerySQLDataBaseTool
from secret_key import openapi_key
from langchain import PromptTemplate
from langchain.models import ChatGPTClient
from langchain.utils import save_conversation
os.environ['OPENAI_API_KEY'] = openapi_key
def chat(question):
from urllib.parse import quote_plus
server_name = constants.server_name
database_name = constants.database_name
username = constants.username
password = constants.password
encoded_password = quote_plus(password)
connection_uri = f"mssql+pyodbc://{username}:{encoded_password}@{server_name}/{database_name}?driver=ODBC+Driver+17+for+SQL+Server"
# custom_suffix = """""
# If the SQLResult is empty, the Answer should be "No results found". DO NOT hallucinate an answer if there is no result."""

engine = create_engine(connection_uri)
model_name="gpt-3.5-turbo-16k"
db = SQLDatabase(engine, view_support=True, include_tables=['EGV_emp_departments_ChatGPT'])
# db = SQLDatabase(engine, view_support=True, include_tables=['egv_emp_acadamics_ChatGPT'])

llm = ChatOpenAI(temperature=0, verbose=False, model=model_name)
db_chain = SQLDatabaseChain.from_llm(llm, db, verbose=True)
from langchain.prompts import PromptTemplate

PROMPT = """
Given an input question, first create a syntactically correct mssql query to run,
then look at the results of the query and return the answer.
The question: {db_chain.run}
"""
prompt_template = """" Use the following pieces of context to answer the question at the end.
If you don't know the answer, please think rationally and answer from your own knowledge base.
Don't consider the table which are not mentioned, if no result is matching with the keyword Please return the answer as invalid question

{context}

Question: {questions}
"""
PROMPT = PromptTemplate(
    template=prompt_template, input_variables=["context", "questions"]
)

def split_text(text, chunk_size, chunk_overlap=0):
    text_splitter = TokenTextSplitter(
        chunk_size=chunk_size, chunk_overlap=chunk_overlap
    )
    yield from text_splitter.split_text(text)

class QuerySQLDatabaseTool2(QuerySQLDataBaseTool):
    def _run(
        self,
        query: str,
        run_manager: Optional[CallbackManagerForToolRun] = None,
    ) -> str:
        result = self.db.run_no_throw(query)

        return next(split_text(result, chunk_size=14_000))

class SQLDatabaseToolkit2(SQLDatabaseToolkit):
    def get_tools(self) -> List[BaseTool]:
        tools = super().get_tools()
        original_query_tool_description = tools[0].description
        new_query_tool = QuerySQLDatabaseTool2(
            db=self.db, description=original_query_tool_description
        )
        tools[0] = new_query_tool

        return tools

return db_chain.run(question)

answer=chat("give the names of employees who have completed PG")
answer= chat("give the list of employees joined in january and february of 2023 with Employee ID, Name, Department,Date of join")
print(answer)
conversation_data= chatgpt.chat(prompt="convert into .csv and .xlsx only if the multiple values are asked in the question, if one a single thing is asked, just give the answer in chatbot no need to save the answer")
conversation_data = chat("convert into .csv and .xlsx only if the multiple values are asked in the question, if one a single thing is asked, just give the answer in chatbot no need to save the answer")
save_conversation(conversation_data, "chat_data.csv")
df = pd.read_csv("chat_data.csv")
path = r"C:\Users\rndbcpsoft\OneDrive\Desktop\test\chat_data.xlsx"
df.to_excel(path, index=False)
print(f"Conversation data has been saved to '{path}' in Excel format.")
Suggestion:
No response

You can do like this as I did the same for exporting my chat into csv
csv_file_path = 'Conversation.csv'
response = HttpResponse(content_type='text/csv')
csv_writer = csv.writer(response)

Hi deepak,
can you share some details about it or any reference work which i can fallow , and what kind of data you have for extraction, is it structured or unstructured.
Thank you.

Hi deepak,
can you share some details about it or any reference work which i can fallow , and what kind of data you have for extraction, is it structured or unstructured.
Thank you.

Actually I am developing a chatBot which takes either of PDF,URL,Confluence as an input,
I am exporting Conversation into excel like this
csv_file_path = f'AllConversations.csv'
response = HttpResponse(content_type='text/csv')
response['Content-Disposition'] = f'attachment; filename="{csv_file_path}"'
csv_writer = csv.writer(response)
csv_writer.writerow(['conversation_name','user_message', 'bot_message'])


build: Bump build image hash to d9b1f1cbb24b2cecca768feaa9fa3c6e6660a948

Signed-off-by: Ryan Northey<EMAIL_ADDRESS>Commit Message: build: Bump build image hash to d9b1f1cbb24b2cecca768feaa9fa3c6e6660a948
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Deprecated:]
[Optional API Considerations:]

/retest

not sure why this is failing - it seems like an unrelated formatting issue in source - main doesnt seem to be failing tho, so im confused

/retest

Does the new build image have a newer version of clang-format? That might explain why this fails in the PR and not on master.

yep, that makes sense
i guess the fix is to apply the diff

@zuercher ive applied the diff generated by CI
there was one change im not sure about...

seems like there are more than just lint changes in the newer build image

/retest

@zuercher seems like main is updated - hopefully this is good to land


Calling __tostring for string conversion on a type that was just pulled from the stack

So I'm writing a print function that expands on the behaviour of the normal lua one. Currently it can display booleans, nil, and tables.
It works as a lua_CFunction by simply checking how many values are on the stack and removing them one by one. However, after binding the metafunction __tostring on some of my types, the string conversion did not automatically work as expected - according to the Lua documentation, it's meant for use by Lua's tostring function which, for me, isn't present at all unless I load Lua libraries - something I'm trying to avoid doing in this case because I want to use Unreal's utility functions rather than Lua's whenever possible. I am not sure why this is or exactly which Lua library tostring is from.
Anyway, onto the question: I have a Lua stack index. I don't know what the value is because print is supposed to take anything. I can specifically check for all of the Lua base types as well as usertype, but that doesn't help me figure out if what I've pulled off the stack has a __tostring metafunction or not. Is there any way to know this once I've done the usertype conversion?

After consulting various API I've come up with this code to do it, but this isn't using any of sol:
if (lua_isuserdata(L, i))
{
	if (luaL_getmetafield(L, i, "__tostring")) // puts a lua_CFunction on the stack
	{
		lua_CFunction ToString = lua_tocfunction(L, lua_gettop(L));
		lua_pop(L, 1);

		// Get lua to call the function
		lua_pushcfunction(L, ToString);
		lua_pushvalue(L, i);

		lua_pcall(L, 1, 1, 0); // pops the two values we just pushed, pushes a string

		// We now SHOULD have the string representation of i on the top of the stack.
		// It's not doing much good there so lets remove it
		const char* str = lua_tostring(L, lua_gettop(L));
		ResultString = FString::Printf(TEXT("%s"), UTF8_TO_TCHAR(str));

		// Again, we need to remove the extra stack value
		lua_pop(L, 1);
	}
}

You're assuming that __tostring would be a C function. It doesn't have to be. It can be multiple things, including a plain function from Lua. When you do luaL_getmetatfield(L, i, "__tostring");, that function is already on the stack, at the top. So, you can modify your code to do the following:
if (lua_isuserdata(L, i))
{
	if (luaL_getmetafield(L, i, "__tostring")) // puts a some function on the stack
	{
                lua_pushvalue(L, i);
                // call that function, with the value at 'i'
		lua_pcall(L, 1, 1, 0); // pops the two values we just pushed, pushes a string

		// We now SHOULD have the string representation of i on the top of the stack.
                // use -1 to reference the value at the top of the stack
                // negative indices are equivalent to start from
                // the very top of the stack (-1) and traversing down it (-2, -3, ...)
		const char* str = lua_tostring(L, -1);
		ResultString = FString::Printf(TEXT("%s"), UTF8_TO_TCHAR(str));

		// Again, we need to remove the extra stack value
		lua_pop(L, 1);
	}
}

Now, with more sol2:
if (lua_isuserdata(L, i))
{
	if (luaL_getmetafield(L, i, "__tostring")) // puts a some function on the stack
	{
                lua_pushvalue(L, i);
                // call that function, with the value at 'i'
		lua_pcall(L, 1, 1, 0); // pops the two values we just pushed, pushes a string

		// We now SHOULD have the string representation of i on the top of the stack.
                // use -1 to reference the value at the top of the stack
                // negative indices are equivalent to start from
                // the very top of the stack (-1) and traversing down it (-2, -3, ...)
		const char* str = lua_tostring(L, -1);
		ResultString = FString::Printf(TEXT("%s"), UTF8_TO_TCHAR(str));

		// Again, we need to remove the extra stack value
		lua_pop(L, 1);
	}
}

stack_function means "the thing at this index is a function on the stack. treat it like one". It is a bit faster than function because it does not save things in the Lua C Registry on construction and remove it on destruction.
We get out a std::string because stack_function removes its results off the stack when done.
We still have to pop because we left the __tostring value on the stack.

Alrighty, thanks.

This isn't quite possible yet, but in the next commit I make for sol2, for maximum performance:
if (lua_isuserdata(L, i))
{
	if (luaL_getmetafield(L, i, "__tostring")) // puts a some function on the stack
	{
                sol::stack_aligned_function f_tostring(L, -1);
                sol::function_result result = f_tostring(sol::stack_reference(L, i));
                const char* str = result;
		ResultString = FString::Printf(TEXT("%s"), UTF8_TO_TCHAR(str));
                f_tostring.pop();
	}
}

This version:
Uses the new (and currently undocumented) stack_aligned_ version of function: what it does is realizes that luaL_getmetafield already pushed a function onto the stack, and it knows that its at the of the stack already. So it doesn't push the function a second time before setting up the arguments (pushing a sol::stack_reference for i).
This saves 1 push operation.
The second boost is something that is possible: saving const char* from a function_result. function_result calls lua_pop(L, result_count); when it's done. Therefore, if you save it on the stack and don't do anything funny with said stack between getting it and using it, you can leave the string on the Lua stack and thus make it safe to get a const char* from Lua, without invalidating the string pointer on the Lua stack.
This saves a malloc/new

stack_aligned_function is now part of the latest, but I still need to make the tests pass, just as an FYI:
http://sol2.readthedocs.io/en/latest/api/stack_reference.html#stack-aligned-function
There might also be some typos here and there: it's fresh documentation.

if your metatable has '__tostring' method, you can just call
luaL_tolstring(L, i, 0);


Handling requests/urllib3 multiprocessing failures

At some point between requests 2.5 and 2.7, a bug was introduced which causes the session to be reused across concurrent requests, which causes IncompleteReads when this causes a parsing error.
This is currently causing the django-haystack test suite to fail on the multiprocessing tests.
One possible fix is to simply recreate the session and retry:
https://github.com/toastdriven/pysolr/compare/master...acdha:retry-session-failures
I'm not in love with this approach since it means that any customizations performed on the session will be lost when the session is recreated.

The simple error handling change in https://github.com/acdha/pysolr/commit/b4a6c2d723612bee928718d55901293d67febc77 avoids the haystack test suite failing but does not address the issue of retrying failed commands.


Implement "Animals" plugin.

Realised that jsbeautifier adds spaces instead of hard tabs.
Fix the help command
Remove Zoo.

still spaces instead of tabs :x

still spaces 🚕

doing just /animal makes the help command show up twice


Snippets

Hey guys, there's a way to add vscode's snippets when creating templates?
Actual method:
{           "fileName": "index.tsx",           "template": "React Native Functional Component"         },
What i want:
 {           "fileName": "index.tsx",           "template": rnfc << my snippet"         },
I tried using variable and won't work, any tip or method?
Thanks.

Hey,
right now there's no way to do this.
I'll take a look at this in the near future.

Ok, no problem.
Thanks.

Sorry for coming back so late to this and also with the bad news that this doesn't appear to be possible.
I did not find a way to read snippets from the extension interface.


Unable to use Plugin for authentication

When try to connect with LDAP authentication : you ca n not set Plugin param
See : https://manual.limesurvey.org/RemoteControl_2_API#get_session_key

Same workaround : https://github.com/DIRKMJK/limepy/issues/21
work
Adding & or ? after the complete url.

Do I understand correctly that the plugin param is an optional parameter? And that the solution would be to add an optional paramter plugin to the get_responses and get_session_key functions and that, if provided, this plugin param should be added to the list of params sent with the request in the get_session_key function?


Open to a new way of building the site.

I like the blogit makefile thing, but it takes a long time to compile because it has to do a million loops per file to get all the info and has yielded quite a few bugs so far. blogit would probably run a bit faster if it used mostly read, but I think that's not something I want to work on.
If anyone wants to give another way of compiling the site, feel free to. This might include a static site generator that can give me a new front page as the articles are getting more numerous.
The only big requirement it needs is tagging at least analogous to what we have and that could serve as a drop-in replacement.

I don't have a specific way, but, if the website could compile css menus per tag. Example lets say Recipe A is tagged american and dessert. The website would make menus per each tag, and put the recipe in each tag menu. This can minimize a bunch of recipes on the one page.

Have you considered leveraging GitHub Page's resource by using Jekyll as the static site generator? That eliminates the need to use your Vultr server, and enables us to directly have GitHub via automation handle .md to .html conversion per specified parameters and stylesheets.
Sorry in advance if you ever mentioned before in live stream to not use Jekyll, but I never heard you say that.
If you want to consider this thought, I have a template ready which I can send you as a proposal for change.

I'm not going to host with Github.
I'm not necessarily against Jekyll or Hugo or something. I've used them in the distant past, but I'm sure I'll try to implement them and inevitably find they add stupid stuff or a 300k of unreadable source code to every page, knowing how even "minimalist" static site generators are.

@LukeSmithxyz You could implement Jekyll with the current setup you have. Just need to do a bit of tweaking. I think eventually for a better user experience/a more seamless way of uploading recipes (doing it through based.cooking via an upload system), you will need a proper database and server-side business logic. And eventually, if you want to implement said functionality, you will probably need to write some Javascript. A static-site generator (such as blogit) will become tedious to maintain and deal with as the application scales up.

Okay. Jekyll is out of the question then.

Would you be open to potentially using a Database server like MySQL as the amount of recipes scale up? @LukeSmithxyz

That is the absurd mentality that leads to bloat. There is really no need for a database server.

Yeah agreed. Just thinking about the future of the site beyond a static site generator. @JohnHolmesII

This is a static site. It will always be a static site. This site was literally founded to be a static site.

I have been looking at Zola for some days now. It seems better than Jekyll for sure (and easy enough for noob like me, not that it matters for you.
Here's a look to Zola homepage

Why not rewrite blogit functionalities to a compiled programming language? Go or C could easily do string concatenation and keeping each tag in their place in parallel. Rewriting stuff to template based system is problematic enough.
The question is whether there is a will to make one, as this project is something that will take a bit of time (might work on it on the weekend if anyone is interested).

Why not rewrite blogit functionalities to a compiled programming language? Go or C could easily do string concatenation and keeping each tag in their place in parallel. Rewriting stuff to template based system is problematic enough.

The question is whether there is a will to make one, as this project is something that will take a bit of time (might work on it on the weekend if anyone is interested).

Well it seems like this would just be supplemental effort for functionality that's already satisfied by Static Site Generators like Hugo, Strapi, Gatsby, Blogit (though there have been problems), etc. I'd be willing to work on something like what you proposed this weekend I'd just like the get the greenlight from @LukeSmithxyz before we move forward.

Why not rewrite blogit functionalities to a compiled programming language? Go or C could easily do string concatenation and keeping each tag in their place in parallel. Rewriting stuff to template based system is problematic enough.

The question is whether there is a will to make one, as this project is something that will take a bit of time (might work on it on the weekend if anyone is interested).

Well it seems like this would just be supplemental effort for functionality that's already satisfied by Static Site Generators like Hugo, Strapi, Gatsby, Blogit (though there have been problems), etc. I'd be willing to work on something like what you proposed this weekend I'd just like the get the greenlight from @LukeSmithxyz before we move forward.

Each of them uses senseless internals or is too slow. Having an in-house solution would stop us from having to revise all recipes, and we wouuld be able to add functionalities we want directly.

The real chad way is to write your own markdown-to-html compiler in awk or use something like https://github.com/nuex/zodiac

So Make is a good system for automating a process to command execution. But if you start embedding scripts and the steps share alot of data, you are better off bringing that into a complete script of its own. Converting the Makefile into the script intended is the task required here.
I've converted the core of the generation process (articles and tag filter pages) into a script, so about 50% done in about an hour. Basically it's a direct conversion of what Make did into a new script, using the same shell commands. Then I started passes at optimizing the external shell commands into internal commands. Now I can see the issue with the Makefile. It was basically reading the md files again and again at every step. Basically using Make without any benefit, because it pretty much needed to read every file again to know what to do every step, even if nothing need to be written on some steps.
Anyway, I was initially resistant to the management ideas that the blogit had, but I am coming around to it, after optimizing it. I thought it was just going to be a burden and wanted to suggest other ways. Anyway I am using tried and true methods having done similar generators, but keep the same system so it will be a drop in replacement.
Note: I was likely going to write this system anyway, for my own stuff. This is why I wanted to do it a bit different, because when I saw Luke suggesting blogit in the video a week ago, I was concerned about it. And I haven't found a static gen system that I've liked for searching for months now.

Why not rewrite blogit functionalities to a compiled programming language? Go or C could easily do string concatenation and keeping each tag in their place in parallel. Rewriting stuff to template based system is problematic enough.

The question is whether there is a will to make one, as this project is something that will take a bit of time (might work on it on the weekend if anyone is interested).

Well it seems like this would just be supplemental effort for functionality that's already satisfied by Static Site Generators like Hugo, Strapi, Gatsby, Blogit (though there have been problems), etc. I'd be willing to work on something like what you proposed this weekend I'd just like the get the greenlight from @LukeSmithxyz before we move forward.

Each of them uses senseless internals or is too slow. Having an in-house solution would stop us from having to revise all recipes, and we would be able to add functionalities we want directly.

Agreed, but I'm not sure if the project is at the point where it's necessary yet. Could you describe your proposed in-house solution more and what the architecture/functionality would look like? Thanks

I finished up last week my static site generation script using Perl. I'll be using it on my own site soon. It tested successfully on based.cooking as well, with all the same features, except now doesn't require all the shell commands or loops -- it's as integrated as could be without deviating.

Hey, I've recently encountered a simple static site generator written mainly in sh. It's called mkws.sh (https://mkws.sh/) and is quite simple (just shell scripts) , just add *.upphtml files and it will automatically transform them into *.html files. What's cool about this is that it allows you to embed shell script within these files, e.g. allowing to run a markdown processor which will output data into HTML. So, maybe, set up a make file which does the following: for each recipe file (written in markdown) create an .upphtml file with the code which will process the Markdown into html. And for each html file geneated, create an index.html file which adds each of these.

So, maybe, set up a make file which does the following: for each recipe file (written in markdown) create an .upphtml file with the code which will process the Markdown into html.

Just run the Markdown processor in the share/l.upphtml file and loop through the recipes in the Makefile (if you prefer) or bin/mkws file. No need to create an .upphtml  for each recipe.

@adriangrigore sounds great! I guess this is quite  a good solution then.

I doesn't have the tagging functionality but I believe it's not that hard to add with a small parser.

Why aren't you storing the HTML files in git, that way, you don't have to rebuild the whole web site for every new recipe?

Yeah, that seems like the soundest way to go, otherwise build times will increase a lot. Combined with some git magic, some automated workflow (maybe on Github) could check if the files have been modified and therefore trigger a build for the new changed files only.

Combined with some git magic, some automated workflow (maybe on Github) could check if the files have been modified and therefore trigger a build for the new changed files only

That's what the  Makefile does.

Ok, I played a little with https://mkws.sh, this is what I ended with until now:
#!/bin/sh
PATH=./bin:$PATH

usage() {
	>&2 printf "usage: %s url [path]\\n" "$(basename "$0")"
	exit 1
}

test $# -lt 1 && usage

export src=${2:-.}
export public="$src"/public
export share=${MKWSTHEMEDIR:-"$src"/share}
export LANG=${LANG:-en_US.UTF-8}

if ! test -f "$src"/index.upphtml
then
	>&2 printf "no index.upphtml file found\\n"
	exit 1
fi

if test "$share"/s.uppcss -nt "$public"/s.cs
then
echo "Making s.css"
pp "$share"/s.uppcss "$1" > "$public"/s.css
fi

for f in "$src"/src/*
do
	o="$public"/$(basename "${f%.md}".html)

	test "$0" -ot "$o" &&
	test -f "$o" &&
	test "$share"/s.uppcss -ot "$o" &&
	test "$share"/l.upphtml -ot "$o" &&
	test "$f" -ot "$o" && continue

	echo "Making $(basename "${f%.md}".html)"
	TITLE="$(head -1 "$f" | cut -c 3-)" \
	PAGETITLE="$TITLE Recipe -- Based Cooking" \
	AUTHOR="$(git log --format="%an" -- "$f" | tail -n 1)" \
	POSTED="$(git log -n 1 --diff-filter=A --date="format: %F" --pretty=format:'%ad' -- "$f")" \
	EDITED="$(git log -n 1 --date="format: %F" --pretty=format:'%ad' -- "$f")" \
	TAGS="$(grep -i '^; *tags:' "$f" | cut -d: -f2-)"
	pp "$share"/l.upphtml "$f" "$1" > "$o"
done

all=$(ls -1 src | sed "s/.md//g" | sort)
oall=$(find "$public"/ -name '*.html' ! -name '@*' ! -name 'index.html' | sed -E "s#^$public/(.*).html#\1#g" | sort)
tags=$(grep -hi '^; *tags:' src/* | cut -d: -f2- | tr ' ' '\n' | sort | uniq | sed 1d)
otags=$(find "$public" -name "@*" | sed -E "s#^$(echo "$public" | sed 's/\./\\./g')/@([a-z]+).html#\1#g" | sort)

if
test "$0" -nt "$public"/index.html ||
test "$share"/s.uppcss -nt "$public"/index.html ||
test "$share"/l.upphtml -nt "$public"/index.html ||
test "$tags" != "$otags"
then
for t in $tags
do
	echo "Making @$t.html"
	grep -l "$t" src/* |
	PAGETITLE="Articles tagged $* -- Based Cooking" \
	TITLE="Based Cooking" \
	TAGS="$tags" \
	pp "$share"/l.upphtml tag.upphtml ><EMAIL_ADDRESS>done
fi

if
! test -f "$public"/index.html ||
test "$0" -nt "$public"/index.html ||
test "$share"/s.uppcss -nt "$public"/index.html ||
test "$share"/l.upphtml -nt "$public"/index.html ||
test "$tags" != "$otags" ||
test "$all" != "$oall" ||
test index.upphtml -nt "$public"/index.html
then
echo "Making index.html"
PAGETITLE="Based Cooking" \
TITLE="Based Cooking" \
pp "$share"/l.upphtml index.upphtml > "$public"/index.html
fi

if
test "$0" -nt "$public"/sitemap.xml ||
test "$share"/sitemap.uppxml -nt "$public"/sitemap.xml ||
test "$tags" != "$otags"
test "$all" != "$oall"
then
echo "Making sitemap.xml"
pp "$share"/sitemap.uppxml "$1" > sitemap.xml
fi

if
test "$0" -nt "$public"/rss.xml ||
test "$share"/rss.uppxml -nt "$public"/rss.xml ||
test "$all" != "$oall"
then
echo "Making rss.xml"
pp "$share"/rss.uppxml "$1" > "$public"/rss.xml
fi

if
test "$0" -nt "$public"/atom.xml ||
test "$share"/atom.uppxml -nt "$public"/atom.xml ||
test "$all" != "$oall"
then
echo "Making atom.xml"
pp "$share"/atom.uppxml "$1" > atom.xml
fi

I added caching also.
Probably a combination of blogit and https://mkws.sh/pp.html would be better.

There's no need to store HTML build files in the git  repository, they should and can easily be persistent server side.

Write it in C


Support .config/ dir

Clear and concise description of the problem
Due to a lack of standards for where tools store their configuration, the number of top-level configuration files in projects is increasing day by day.  See .config dir proposal for more context.
Suggested solution
I propose supporting .config/vitest.js and .config/vitest.config.js as alternative places to check and load vite configuration if top-level vitest.config.ts does not exist to unblock adopting this new convention across the ecosystem.
Is it too early? While it can take a while to onboard more tools with this new convention, it will be an egg-and-chicken problem to adopt a new convention like this unless more mainstream tools onboard to support it.
Implementation
It seems we can easily append .config/ variants to CONFIG_NAMES array.
Alternative
See relevant discussions.
Additional context
(parent issue in vite: https://github.com/vitejs/vite/issues/15911)
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Should this be applied to vitest.workspace.ts and its other formats too?


build ro-crate for wf outcome

Add a new module to generate a RO-crate based on the input-output of a metaGOflow run.
Exploit template and python script from the MetaGOflow-Data-Products-RO-Crate repo.
Remember, we build a RO-crate only for the i/o of the wf.
Another ro-crate has been already been building for the content of the source code of metaGOflow.

We need to have 2 cases:

if sample in ENA
if local sample used

For some reason, I cannot have 2 types of licenses so if I unmute line 436 the validator will fail with the following message:
"Licensing property check": [
        false,
        "Semantic Error: Invalid ID Value at https://creativecommons.org/licenses/by/4.0/legalcode. It must be an URL."
    ],

@steninidak  @jprmachado you could check on that for the next release. Feel free to close this issue and open a new one if you prefer.


Promises Exercise may be missing tests

https://github.com/exercism/javascript/blob/ba702157951d269f3ec70d968bd8573efd3a2ade/exercises/practice/promises/promises.spec.js
The tests for the promises exercise ensures each function returns a promise, but does not test for two scenarios:

What should happen if the function is called with no arguments (or nullish) rather than empty array

That the promise resolves when called with an empty promises array.

I spotted these because my own implementations pass all the tests but do not resolve when given an empty array.
I am happy to add tests if we agree they would add value.

Yep, that sounds good. Go for it!

Should there also be a test for the incoming promises array containing non-promise objects?


Doc links for stable Go libraries are missing in GitHub IO release page

pkg.go.dev reference doc links for stable Go client libraries are missing from the GitHub IO Azure SDK Releases page.
Interestingly beta releases have the correct link.

@sandeep-sen the stable packages are supposed to link to mslearn not godev. If that is something we want to change then we can update the template at https://github.com/Azure/azure-sdk/blob/main/_includes/releases/variables/go.md

@weshaggard we should update these links for Go to pkg.go.dev for now, as we are not moving to ms learn any time soon.


Replacing word numbers with digits in a string

word2number seems to be able to pull numbers from words out of a more general string:
w2n.word_to_num("I count it at two million three thousand nine hundred and eighty four or thereabouts")

#returns: 2003984

but is there also a way of plugging that back in to the original string?
For example, if I wanted something like:
w2n.word_to_num("I count it at two million three thousand nine hundred and eighty four or thereabouts", replace=True)

#returns: "I count it at 2003984 or thereabouts"

Not as of now. You will have to process that with additional code at your end.


Multipart upload is broken

Hello,
I think you missed the last partition check here

thanks, I'll look into that - I was pretty sure that we have integration tests testing multipart uploads...

It won't fail in case you are uploading a file each part of which is more than 5mb. Maybe that's the case.

Just added a test, everything works as expected.
How did you reproduce this exactly?

Sorry, my bad :(
That was a bug in our tests.
#https://github.com/aiokitchen/aiohttp-s3-client/pull/12


DOC: fill in missing docstrings for Series.all and Series.sort

xref #71

Thanks! Though _pandas_like is private and doesn't show up in the docs, I'd suggest we instead focus on making sure that everything public has a docstring (so, the files directly under the narwhals folder)

Thanks! Though _pandas_like is private and doesn't show up in the docs, I'd suggest we instead focus on making sure that everything public has a docstring (so, the files directly under the narwhals folder)

thank you, it's my mistake. I moved docstrings from private _pandas_like to public series and added examples.


Generalize groupby to support more than two columns

This PR aims to provide better support for grouping by more than two columns.
The previous code explicitly checked if we were dealing with one or two columns, and ran different code branches depending on that. The proposed change treats both cases with the same code (no branching), and would do the same for any number of columns.
I do not consider the support for more than two columns finished with this PR because I didn't add any new tests for more than two columns. But I think that the PR is still a good contribution because it doesn't break the existing tests for one and two columns, and provides a better starting point for adding new tests for more columns and, in case of bugs, hopefully they should be localized fixes and not a major refactor.
Related issue: https://github.com/opensource9ja/danfojs/issues/162

@sponsfreixes this looks awesome. I will clone this branch and test for more than two-columns. Thanks 👍


Update send message button state based on input sources

Send message button state must be updated by taking into account text, file uploads, service availability and send message request.
MOB-1854

!merge


Minor formatting and wording issues

https://github.com/riscv/riscv-isa-manual/blob/bf5a151cda2a3e28a238f9c5f22575d38f7782b2/src/rv32.tex#L483
vs
https://github.com/riscv/riscv-isa-manual/blob/bf5a151cda2a3e28a238f9c5f22575d38f7782b2/src/rv32.tex#L605
Is there a semantic difference between an instruction and operation?
Not only these titles but many sentences use these words interchangeably.

https://github.com/riscv/riscv-isa-manual/blob/bf5a151cda2a3e28a238f9c5f22575d38f7782b2/src/rv32.tex#L631
could use the same formatting as
https://github.com/riscv/riscv-isa-manual/blob/bf5a151cda2a3e28a238f9c5f22575d38f7782b2/src/rv32.tex#L501
(ADD/SLT/SLTU => ADD/SLT[U])

Feel free to close this issue if they are too minor.

Thanks @aswaterman. I'll leave the issue open, as point 1. was not addressed.


bug: in 4.3.1 labware is loaded onto heat module without Z-offset

Overview
Hello
Following update from 4.2 to 4.3.1 we noticed that when the labware is loaded onto the heatmodule - the tip arrives higher then expected with the exact delta corresponding to z-offset. At the same time when placed onto the deck the tip arrives at the precise expected position. This behavior is specific to 4.3 and is not observed in 4.2
Steps to reproduce
have a calibrated labware placed on the heat module and check the precision of tip arrival at aspiration position. Compare the effect between the 4.2 and 4.3.

Hi @bmyury, have you noticed this issue on the latest version of the software (version 4.4.0)?

we haven't. I would imagine that since this issue hasn't been addressed – it might have propagated to the 4.4


deleting remote window Temp fIle

can we remove remote window temporary file Using Python Wmi Library?

Hi @vandnanegi, can you explain how this relates to python-crowd? I'm not sure what this issue refers to.


When writing cross account, you need to specify the ACL

@adamjt @nahiluhmot

+1

Does this need a version bump?

I will do that on master and push to rubygems from there.


DefaultViewLocator thinks the View class has same name as ViewModel class if naming convention is not maintained

See for behavior and workaround.
http://stackoverflow.com/questions/43585510/ninject-is-finding-multiple-bindings-for-implicit-self-bindings-after-upgrade-to/43590384#43590384

Possibly resolved by #1311 which has now been merged. Will try and find time to check this.


Add lint GitHub Action to PRs

discovered that building takes a few minutes, whereas linting is on the scale of seconds, so we'll just lint


Missing AST error when stylesheet link.href contains a #fragment

When a stylesheet link.href contains a #fragment identifier, minimalcss throws:
Error: Found stylesheets that failed to download (...).
This is because the #fragment is omitted from puppeteer's response.url(), so that it doesn't match the expected href. As a result, a missing AST is identified, even though the stylesheet was in fact downloaded and parsed.
(I have no idea why stylesheet urls would contain #fragments, as I understand they're never sent to the server. But... amazon.com has them, so they might be a thing?)

Do you have a URL where this happens?

The only one I identified was amazon.com (and its regional variants, e.g. amazon.co.uk).


[v0.1.42] Canvas ref makeImageSnapshot() crashes app

Description
Hello, just started testing v0.1.142, the reworked loading patterns works perfectly, thanks a bunch for that 🙌
However, cannot figure out why, but the makeImageSnapshot() method of the canvas ref systematically crashes the app, on both iOS and Android.
I did not see any change related to that in the changelog between 0.1.141 and 0.1.142, so I am not sure why this starts happening, but I can confirm that it works fine when locking the exact version v0.1.141.
I made sure to reinstall the pods several times.
I could also reproduce it within my (up-to-date) fork, using a new example.
I can open a PR with the example it you wish?
Version
v0.1.142
Steps to reproduce

Install the library v0.1.141 in any project
Create a canvas using a ref, and a method taking a snapshot of it as illustrated in the documentation (this should work fine)
Update the library to v0.1.142, reinstall the pods and relaunch (invoking "makeImageSnapshot()" should crash the app)

Snack, code example, screenshot, or link to a repository
import React, { useState } from 'react';
import { Button, Image, View, StyleSheet } from 'react-native';
import {Canvas, Circle, Group, ImageFormat, Rect, useCanvasRef} from '@shopify/react-native-skia';

export default function App() {
  const canvas = useCanvasRef();
  const [base64, setBase64] = useState('');
  const takeSnapshot = () => {
    if (canvas.current) {
      // the following line crashes on v0.1.142, while working like a charm in v0.1.141
      const snapshot = canvas.current.makeImageSnapshot();
      const data = snapshot?.encodeToBase64(ImageFormat.JPEG, 100);
      console.info('base64', data?.length);
      if (data) {
        setBase64(`data:image/jpeg;base64,${data}`);
      }
    }
  };

  return (
    <View style={styles.container}>
      <Canvas ref={canvas} style={styles.canvas}>
        <Rect x={0} y={0} width={120} height={120} color="#2fcfff" />
        <Group opacity={0.75}>
          <Circle cx={60} cy={60} r={20} color="#ffcf2f" />
        </Group>
      </Canvas>
      <Button title="take snapshot" onPress={takeSnapshot} />
      {!!base64 && (
        <Image
          source={{
            uri: base64
          }}
          style={{
            width: 120,
            height: 120
          }}
        />
      )}
    </View>
  );
}

const styles = StyleSheet.create({
  container: {
    flex: 1,
  },
  canvas: {
    width: 120,
    height: 120,
    backgroundColor: '#dddddd'
  }
});

I have the same issue.

Thank for catching this, we have a fix for it at #834


Promote ShootMaxTokenExpirationValidation feature gate to beta

How to categorize this PR?

/area open-source ops-productivity
/kind enhancement
What this PR does / why we need it:
Similar to #5726: Promote ShootMaxTokenExpirationValidation feature gate to beta.
Release note:

The `ShootMaxTokenExpirationValidation` feature gate has been promoted to beta and is now enabled by default.

https://github.com/gardener/gardener/blob/e0654f04e0c87e87f2f5af7639ebc00e4b24704d/hack/local-development/start-apiserver#L63
Is this flag still needed?

https://github.com/gardener/gardener/blob/e0654f04e0c87e87f2f5af7639ebc00e4b24704d/hack/local-development/start-apiserver#L63
Is this flag still needed here?

Not necessarily, I will clean this up after GA promotion.

/lgtm

/lgtm


Add Runnable interface and use it to introduce generic Run function.

What is the purpose of this change? What does it change?
Most commands all use the same sequence of function that is now factored out.
Was the change discussed in an issue?
No, but this change removes duplicated code and adds the opportunity to modify all commands Run functionality at once.
How to test changes?
No changes in behaviour should occur.

:white_check_mark: odo build 1502 completed and artifacts can be found here (for commit https://github.com/redhat-developer/odo/commit/e9911e0a97 by @metacosm)

2 acks, 0 changes requests,  green test -> merge

@mik-dass

LGTM

Don't be afraind to hit that magical button ;-)


v1.1 release

Are there any plans to release a v1.1 release with a .bin?
I'm having some issues connect to the device on my laptop and hoping flashing the device will fix it.
Cheers,
Matt

Hey!
We had some issues generating the final binary file so pushed off the upload for a while.
You can find the latest release (v1.1) here!  Let us know if you have any other problems.


Installation for CLI without node

Supporting brew, curl, apt etc.

For now, since Prisma is for TS/JS, this doesn't seem to be particularly worth the effort.
I would tie this to potential efforts on the Go client


lock no longer works

It returns the following:
2022-08-16 16:34:32 [FALCON] [ERROR] POST /lock => Traceback (most recent call last):
File "falcon/app.py", line 365, in falcon.app.App.call
File "/Users/ruthchoueka/git/WebOfTrust/keripy/src/keri/app/kiwiing.py", line 64, in on_post
tcp=self.bootConfig["tcp"],
KeyError: 'tcp'

Lock is now working


Feat: Ability to disable tow step confirmation

Changes

Feat: Ability to disable tow step confirmation
Feat: Added a setting to disable two step confirmation

Feat: Disable tow step confirmation by default on development.

Issues

It is annoying during development :)
Requested on discord: https://discord.com/channels/459365938081431553/1294063111770341467

Thank you for the PR!


[SPARK-37623][SPARK-39230][SQL][FOLLOW-UP] Make regr_slope and regr_intercept safe with ANSI mode

What changes were proposed in this pull request?
This PR proposes to make regr_slope and regr_intercept ANSI-safe by checking zero to avoid divide-by-zero exceptions when ANSI mode is on.
Why are the changes needed?
To make both expressions working regardless of ANSI mode.
Does this PR introduce any user-facing change?
No, both functions are not released yet.
How was this patch tested?
JDBCV2Suite already covers it when ASNI mode is on. This was found by a broken test case, see also https://github.com/apache/spark/pull/36773/files#r916607535

LGTM. @HyukjinKwon

Merged to master.


HDDS-9120. EC: Add a separate ec rpc timeout in ECXceiverClientGrpc

What changes were proposed in this pull request?
Add a separate ec rpc timeout in ECXceiverClientGrpc
Currently the ec rpc timeout is shared with grpc, this pr will add a separate timeout just for ec rpc.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-9120

all ci is passed, see: https://github.com/guohao-rosicky/ozone/actions/runs/5757771231

Thx @guohao-rosicky for this work.
I wonder why this EC-specific RPC time-out config is proposed. Additionally,  why the config in EC is only 10s rather than the default 30s?

@Xushaohong for the review.

Because the current timeout is used for both OBJECT reads and EC writes, it is more flexible to set it separately;
10s ec write timeout, because generally we set the ec write chunk size is 512k~1024k, compared to the default chunk of multi-copy 4MB is much smaller.

Thanks @guohao-rosicky for the patch.  Can we set the default value to match the current timeout (30s)?  This would improve flexibility via the new configuration while avoiding unexpected changes upon upgrade.

Thanks @guohao-rosicky for the patch. Can we set the default value to match the current timeout (30s)? This would improve flexibility via the new configuration while avoiding unexpected changes upon upgrade.

Thanks @adoroszlai , this a good idea, let me change it.

@siddhantsangwan @sodonnel @umamaheswararao would you like to take a look?


Bug report: it's laggy dragging the program window on GNOME

Describe the bug
It is laggy when dragging the window around on GNOME. The rotating UI is laggy as well, and other buttons are also not so responsive. I don't know if it is because of flutter, GNOME or a bug of the program. And sometimes it even slows other programs down.
To reproduce
Just open the program and drag it around a little bit.
Expected behavior
smooth dragging and responsiveness like other programs
Screenshots
https://github.com/localsend/localsend/assets/74327704/336e8c4e-fa1f-44ae-b9cb-b3948a8182fc
Here is a comprison with terminal. It may not be so obvious in the video because of fps limit, but the lagging is indeed pretty apparent on my device.
Desktop (please complete the following information)
Fedora Linux 38 with GNOME 44.6
Smartphone (please complete the following information)
No response
Additional context
No response

Can you confirm this still occurs with the latest version of LocalSend @Q1CHENL
But this is probably something we can't optimize, LocalSend is already a pretty "minimal" Flutter app GUI wise. But I'm not an expert in optimizing flutter applications...

Can you confirm this still occurs with the latest version of LocalSend @Q1CHENL
But this is probably something we can't optimize, LocalSend is already a pretty "minimal" Flutter app GUI wise. But I'm not an expert in optimizing flutter applications...

So it actually might be a problem from my side, cuz it runs pretty normal on my laptop, but still laggy on my desktop PC, even though I have the same system on both of them (Fedora 40)


getPublicAddress will always return the ETH public key

✅ Prerequisites

[x] Did you perform a cursory search of open issues? Is this bug already reported elsewhere?
[x] Are you running the latest SDK version?
[x] Are you reporting to the correct repository (@magic-sdk/admin)?

🐛 Description
When attempting to verify a user is who they say that they are, we need to be able to verify that they're public keys are the same. If a token is generated for example with the SolanaExtension enabled we should be able to get the public address of the user for the solana blockchain. Right now the only available option is ETH. This applies to decode as well as getMetadataByPublicAddress.
🧩 Steps to Reproduce

Generate a Did token using magic-js with SolanaExtension.
Pass that to magic-admin and call magic.token.getPublicAddress(DidToken)
See that the address is a ETH address (starts with 0x)

🤔 Expected behavior
getPublicAddress should return the users associated Solana Wallet Public Key
😮 Actual behavior
Returns the users ETH public key
💻 Code Sample
🌎 Environment

Software
Version(s)

@magic-sdk/admin
1.3.4

Node
16.7

Operating System
any

@harryEth Any updates on this?

@bmeeder22 This isn't a bug report, but it is a valid feature request. I'll be putting this under the attention of our Product team so we can add it to our roadmap.


Scheduled Report Enhancements

Description
Adds "Resource" Group as a dimension as well as "Cloud Vendor", "Cloud Vendor Account", and "Cloud Vendor Account Name"
Adds support for reporting on Child Billing Centers
Forces the Chart Legend to always display below the chart
Adds currency symbol and thousands separator based on the currency set in Optima.
Issues Resolved
Scheduled Report calculations off - #211
Contribution Check List

[x] All tests pass.
[x] New functionality includes testing.
[x] New functionality has been documented in the README if applicable
[x] New functionality has been documented in CHANGELOG.MD

Need to verify the calculations look good compared to the UI.
Also, need to consider use-cases and how to account for situations such as specifying a parent billing center and one of its children.

LGTM


feat: support sqlserver

CI is red, need a test for for sqlserver

CI is red, need a test for for sqlserver

Yes, testing. :D


Remove Polyfills section from sidebar

Some of these will be in basics, guides and apis instead. One less layer
of confusion.

Note: APIs are not totally alphabetical any longer -- but neither were
Polyfills. We can fix that in extractDocs.js maybe. But not worth doing
in this pull request, imho.

Test Plan:
http://localhost:8079/react-native/docs/network.html

By analyzing the blame information on this pull request, we identified @caabernathy and @sahrens to be potential reviewers.

Looks good, lets sync tomorrow on how to handle the links between these and the new touches guide.

@hramos Made your suggested changes. I don't think we should be conflicting now with #8299, right?

@facebook-github-bot shipit

Thanks for importing. If you are an FB employee go to Phabricator to review.


Lack of other versions

Hello, thanks for your sharing of your work.
In pytorch version, there are four versions: s, m, l, x.
By viewing your code, I guess your network is yolov5x.
Do you have plans of updating the other version like s?
Thanks a lot

I replaced the parameters of classes of network modules in nn.py with the  parameters of yolov5s and started training successfully.
I'll validate whether the training result is right.

hello, thanks for your interest.
yes, this is x version.
i will reorganize the repo to support other versions

other versions are added

other versions are added


feat: product grid rendering improvements

Load scaled-down product images instead of the 3000×4000 originals.
Limit the maximum width of product cards to avoid a single card stretching to the entire screen.
Remove the fade-in effect on each card because it impacts page loading and scrolling performance.

Is the scroll still slow after restricting the images size and without the effect removal?

No, the image size was the issue. I still removed the effect, as it looked a bit too busy when changing filters or sorting. You get a mix of old and new product cards, and only some of them start animating.


Folder Version changed mcmilk.7zip-zstd

Folder changed from "manifests/m/mcmilk/7zip-zstd/22.01-v1.5.5-R2" to "manifests/m/mcmilk/7zip-zstd/22.01 ZS v1.5.5 R2/mcmilk.7zip-zstd.installer.yaml"
Microsoft Reviewers: Open in CodeFlow

If any moderator approve right over here. Watch out the previous manifest file will be deleted.


notice on 3rd party licenses

For the inclusion of CAT B licensed software (noVNC is MPL 2.0 licensed) it is advised that we include a notice in our README to attend users to possible redistribution limitations
see https://www.apache.org/legal/resolved.html
Maybe a review of our rat exclusion list is in order.
ISSUE TYPE

Bug Report
Improvement Request
Enhancement Request
Feature Idea
Documentation Report
Other

COMPONENT NAME

CLOUDSTACK VERSION

CONFIGURATION

OS / ENVIRONMENT

SUMMARY

STEPS TO REPRODUCE

EXPECTED RESULTS

ACTUAL RESULTS

fixed by #4097


Cherry-pick #363

Signed-off-by: Niladri Halder<EMAIL_ADDRESS>Cherry-pick the follow commit into v3.3.x branch:

491b75cc8aec16cd72aaa3e9f3ef99fce0f23953

@niladrih build failed. Please check the github action.

@pawanpraka1  -- The test is a flaky one, we should be able to get a passing result by restarting it.


struct ObjectMeta 's namespace should be pub

https://github.com/clux/kube-rs/blob/c14ef965af7d68d37e6acb343d02ef5841c5bf37/src/api/metadata.rs#L27
struct ObjectMeta 's namespace should be pub, when the k8s operator is cluster scope, operator can get CR's namespace info.

Thanks, missed that one.


IsPackable default

One thing that caught me off guard for a while was that the default for IsPackable is false?  I believe without Nugetizer it's default true, so the lack of property definition means it's packed.
I eventually figured it out and added the property everywhere, but it was initially disorienting

Yes, the fact that IsPackable=true by default with SDK pack makes no sense. Why would everything be packable by default??
BTW, if you provide a PackageId, the project becomes packable (IsPackable defaults to true in that case). Makes way more sense.
I think this is by design and I don't think it makes sense to follow the weird rule in SDK Pack, honestly. You end up with spurious packages for everything if you do dotnet pack from a solution

For one of the main reasons why this makes things infinitely more complicated on more realistic scenarios, checkout this thread: https://github.com/NuGet/Home/issues/3891
It's very non-trivial for them because they made everything packable by default, so the packing things you're just packing dependencies, rather than the actual project bits. This is a non-issue for nugetizer since you need to explicitly tell which projects you want packages for, and which are just assets contributed to the referencing project(s).


Add support for de_port and fix #73

I wanted to commit these small changes much earlier, but I simply forget about it.
This pull request adds the ability include a lua file that will be executed for the current map only and 234998451c7a4c82902bc3307d7a8c8f12b83e96 might fix issue #73.
Please take a look into the commit description of each one for further information.
And of course I whish you a Happy New Year!

Hey great addition, thanks for the contribution !
Happy new year.
I'll merge now and push to workshop on Saturday

Hey great addition, thanks for the contribution !
Happy new year.
I'll merge now and push to workshop on Saturday


[HIPIFY] hipify-clang yields some header-specific warnings

hipify-clang processes each of its input files as a "main" file using the clang API. This changes the behaviour of clang's warning system, yielding output like this when processing header files:
example.hip.h:1:9: warning: #pragma once in main file [-Wpragma-once-outside-header]
#pragma once
        ^
1 warning generated.

To reproduce, create any random header file with #pragma once and feed it to hipify-clang.
I think the solution here is to tell the API that no files are the main file - since the notion of a main file makes no sense for this application anyway. I haven't tested if this failure exists when using compilation-database mode.

@emankov Can we close this issue?

No, it's not fixed yet.


Displaying all event data

I added a few extra event details and what columns they map to for display purposes, and removed initializing each event with empty values to clean up the details pane.

I added a little bit of code to account for errors when clicking on events with empty text fields. This also solves the problem where the text tab was highlighted after clicking over an event with an empty text field. This isn't a permanent solution, I'll make more substantial changes when session templates get implemented for the June release.


npm command stalls in nsh

I'm not quite sure if this is the right place, but the npm command in the 2015-03-31 qemu release seems to stall for me on a newline without producing any output.

Are you talking about the npm command running inside NodeOS? We have at this moment network support disabled, so this may be the reason why it's not working for you. Definitely something that need to be reviewed soon.

Yup, the npm command from within NodeOS.

How would I go about enabling network support?  Do I have to do anything fancy from within qemu?

QEmu itself have by default a basic network interface, problem is regarding to NodeOS itself. In old instances it was working on Docker, but lately the dependencies doesn't compile and need a review, and also the new filesystem would lead to problems if it needs access to /proc :-/ I have been focusing on make a solid base and a secure architecture, sorry. Pull-request welcome, though :-P

Sweet!  I'm gonna play around with creating some sort of user facing device manager interface, possibly through my flow based programming library forker.

A better alternative is to do it as a FUSE filesystem, this way current apps that use the /dev filesystem can still work the same way.

Seems it was a problem due to lack of memory, on real hardware npm works without problems, although I forgot to test to download any module. Could you be able to download latest release and check it?

Closed since this is working now on master.


Add docker image to build process.

Signed-off-by: Derek Rushing<EMAIL_ADDRESS>What Are We Doing Here
We are adding a build/deploy of a docker image containing the lostromos binary.
How to Verify

Check out this PR and run make GOOS=linux build and make docker-build, then use the docker image locally to interact with lostromos.

@wpdrush21 can you update this to merge in the other changes you have made. Thanks!


Fix for lastRefreshTime inclusterupstreamrefresher

For the first time when clusterLastRefreshTime annotation doesn't
exist yet, don't report error about lastRefreshTime.

This will be continued in https://github.com/rancher/rancher/pull/31901


ci: use mkdocs-material-insders fork repo

https://github.com/squidfunk/mkdocs-material/discussions/3816#discussioncomment-2559838

It works:
10:28:25  + pip install --user -r requirements.txt
10:28:27  Collecting<EMAIL_ADDRESS>(from -r requirements.txt (line 9))
10:28:27    Cloning<EMAIL_ADDRESS>to /tmp/pip-req-build-lbqnafuq
10:28:27    Running command git clone --filter=blob:none --quiet<EMAIL_ADDRESS>/tmp/pip-req-build-lbqnafuq
10:28:38    Resolved<EMAIL_ADDRESS>to commit c8551a261c82f3620d9045f38fde0e3caa19887c
10:28:38    Preparing metadata (setup.py): started
10:28:40    Preparing metadata (setup.py): finished with status 'done'

https://ci.infra.status.im/job/website/job/dev-help.status.im/137/console


adds missing transaction types to link-wallet component

as can be seen here for example, some transaction types were not considered in the link-wallet component, leaving the "recipient" field empty. the missing transaction types were added.
these are mostly placeholders, transaction type 4 is the only new one for which there actually are transactions.
if someone who speaks dutch wants to confirm the durch translations that be great :)

Thank! I'll change it asap


Using Swipe Deck inside NestedScrollview is creating issues

This library is really helpful, easing up the work to the great extend!!
I found one Issue, When i am using the NestedScrollView as a Parent Layout and pass the fragment of SwipeDeck. It causing problem in animating.

It doesnt smoothy goes off on Left/Right on single swipe. Card Stucks and needs multiple swipe to swipe it off.
If it drag to some extend than double clicking will swipe off the Card.
I have disable the click of Parent also tired with setting the nestedscrollviewenabled = false.

Can anyone help me in resolving the Issue. @aaronbond
Thanks.

sorry for taking so long to reply, are you still having this issue? could you try the new version at
https://github.com/aaronbond/SwipeDeck2 ?


Question ( non issue ). How to apply fitBounds to the map instance.

I'm able to access the map instance, but I feel like I'm doing something else wrong ( markers load correctly, popup window works great ect ):
Mounted:
this.$GMaps().then((GMaps) => {

		this.mapInstance = GMaps;

	}).then(() => {

		this.getLocationService();

	});

And when I reference it again for my API call, I get fitbounds is not a function:
Service.getLocations(this.formData).then((response) => {

	const results = response.data;
	// eslint-disable-next-line no-undef
	this.bounds = new google.maps.LatLngBounds();

	this.markers = results;

	results.forEach((data) => {
		const marker = data.position;
		// eslint-disable-next-line no-undef
		const position = new google.maps.LatLng(marker);
		this.bounds.extend(position);
	});

})
      .then(() => {
          const map = this.mapInstance;
          console.log(map);
          map.fitBounds(this.bounds);
      })
      .catch((error) => {
      // eslint-disable-next-line no-console
          console.log(error);
      });

I feel like I'm missing something, or should fitBounds be applied different in this plugin?

Hi @roryheaney I'm happy to clarify - and acknowledge maybe there needs to be better docs on this.
this.$GMaps() returns the Google Maps API - not the map instance.
To get the map instance you need to add @mounted on your map component and it will return the instance after it is created and rendered:
<gmaps-map @mounted="test" />

// ...
methods: {
  test(map) {
    this.mapInstance = map
  }
},
// ...

Happy to explain more if you need, but the steps taken to render the final map are:
1. Load Vue
2. Load Google Maps API (which is what $GMaps() returns)
3. Create and mount the x5-gmaps map component (with an empty div)
4. Use Google Maps API to replace the empty div with its Map
5. Emit the reference to the Google Maps API created Map (what @mounted returns)

@xon52 OOOO, gotcha.  Yeah that makes total sense now.
That also did it for me. Thanks again for the assist, and this plugin really is awesome.  It's been a super easy to use, and the popup option has been great.


window.open should return WindowProxy object

According to the spec window.open() returns corresponding WindowProxy object unless it could not be opened - which in practice is when call isn't triggered from the DOM event handler as a popup prevention mechanism.
This feature commonly used to allow cross site communication via postMessage between window that was opened and it's window.opener usually used for logins or payments or any situation where page requesting action from another page doesn't wishes to discard it's current state.
At the moment this is totally broken in beaker meaning window.open() always returns null even though tab get's open and window.opener is also always null.

that is misleading for the opener, for instance typically if window.open returns null that tells site it needs to fallback to loading that URL instead passing destination a callback URL, which in beaker would result in two tabs with a same URL active one would not know how to communicate back to opener

I remember from a project that I worked couple years ago that this was an Electron limitation, but it seems that it may have being resolved since https://github.com/electron/electron/issues/9523
There is also dedicated doc for that https://electronjs.org/docs/api/window-open

I was able to re-enable native open in the electron3 branch but window.opener isn't getting set AFAICT.

I can take stab at creating a reproducible test case for Electron in that case, unless you already have one.

I dont
On Mon, Oct 8, 2018 at 1:16 PM Irakli Gozalishvili<EMAIL_ADDRESS>wrote:

I was able to re-enable native open in the electron3 branch but
window.opener isn't getting set AFAICT.
I can take stab at creating a reproducible test case for Electron in that
case, unless you already have one.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/beakerbrowser/beaker/issues/1194#issuecomment-427931039,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABNhU4LmxTew-MMcMm6CeKwQqwEXbCs_ks5ui5Z6gaJpZM4XKrhJ
.

I seem to be able to get window.open() return WindowProxy but I don't have much luck in getting that window be displayed in <webview>.

don't have much luck in getting that window be displayed in <webview>

Getting that window to be displayed? What do you mean?

@pfrazee this is more or less the code I have:
https://github.com/Gozala/electron-quick-start/blob/window.open/renderer.js#L12-L19
What I observe is if I open a window from with-in the webview document, I get WindowProxy object but it's not the window that is being displayed in the new web-view that I've created.
It appears to me that I need some way to take event.options.webContents and make my webview use it as it's webContents but I don't see a way of doing it.

BTW if you set webpreferences="nativeWindowOpen=yes" allowpopups on webview it does open separate window and provides proxy window to it. Updated example now does it and is able to interact with opened window. Still not sure how do I make it be a webview instead.

I have given up on trying to make this work, as it does not look like Electron provides a mechanism to load opened documents into <webview>. I did submit corresponding issue https://github.com/electron/electron/issues/15040

I found out that BrowserWindowProxy instances returned on "nativeWindowOpen=yes" are implemented (in something that looks like "preload" script) by overriding native window.open to return the instance that is just wired to corresponding guestId.
I am starting to think same mechanism could be (re)used to return BrowserWindowProxy wired to guestId of the <webview> document instead.

I have made a workaround that can be use to overcome bugs (or deliberate choices) in Electron that cause window.open to return null. I have described it in this comment with links to implementation.
I think it would make a lot more sense to land changes into Electron as described in my comment, but unfortunately maintainers 😞 are really fast at closing issues I open in that regard and so fast with feedback loop.
@pfrazee I'll leave it up to you to decide what to do here, as I can no longer justify spending additional time on getting cross-dat-app communication possible.


WSL Disconnected

Type: Bug
open WSL in new window
VS Code version: Code 1.73.1<PHONE_NUMBER>f055b99068d3688932416f2346dd3b, 2022-11-09T04:27:29.066Z)
OS version: Windows_NT x64 10.0.22000
Modes:
Sandboxed: No
Connection to 'WSL: Ubuntu' could not be established  VS Code Server for WSL closed unexpectedly.
Check WSL terminal for more details.

System Info

Item
Value

CPUs
11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz (8 x 2995)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
undefined

Memory (System)
15.71GB (7.23GB free)

Process Argv
--crash-reporter-id b17a4847-d4d5-4c38-9703-89d2d9e99a05

Screen Reader
no

VM
0%

Connection to 'WSL: Ubuntu' could not be established  VS Code Server for WSL closed unexpectedly.
Check WSL terminal for more details.
Extensions: none

Can you provide the file WSL Log? Command WSL: Show Log....
Please also describe if this happens every time...

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


outcomes of pre/post rollout tasks in .lagoon.yml should be logged

Currently the outcomes of pre and post-rollout tasks defined in .lagoon.yml are only reported in the line-by-line output in container-logs of the build.  These tasks should be run and have their output logged individually - preferably in lagoon-logs, but somewhere accessible and reportable.  This would help with a more atomic view of the build process.

also linked to #1082

build log improvements have nullfied this


Add japicmp-maven-plugin to compatibility-report profile

This fixes #58

@rultor merge pls

@rultor merge pls

@aliceice OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge pls

@aliceice Done! FYI, the full log is here (took me 3min)


Defined journal input options

🎇 Description
The current code lets the user to put in only name, symptoms and medications- which are very limited options for a person who is under extreme level of medication.
The input option asking for the user's name for every entry is unrealistic since it is the health journal for one person. As soon as the user logs in, only details related to that particular user would be available and hence input options like medication dosage, doctor who precribed, notes from consultations, test resulst on that particular date, progress noticed so far and more.
🖼 Screenshots
No response

please assign the issue to me if you find it reasonable!

Sure, please proceed.✨😇

Hey,
Are you working on it?

I started working on it, I'll get it done in a day or two :D


Performance improvements - cache attributes and avoid runtime checks (#56)

scanner_t.__read_location is now being monkey patched to a CastXML/gccxml specific function; this avoid the runtime check for XML generator and creation of a list of name attributes to skip in case of CastXML.
algorithm.declaration_path is being cached and the equality check first checks a hash of declaration_path.

Coverage decreased (-2.2%) to 80.439% when pulling 1e8878ba0d40ffd08e9a3ee6af92afec3623a169 on praetorian20:perf_improvements into 0f467ae78adf406add292a02b03fad8e614e7e6f on gccxml:develop.

Thanks for the changes. Every bit of optimisation is welcome !


Vietnamese language display error with some specific chars.

Prerequisites

[x] Put an X between the brackets on this line if you have done all of the following:

Reproduced the problem in Safe Mode: https://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
Followed all applicable steps in the debugging guide: https://flight-manual.atom.io/hacking-atom/sections/debugging/
Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description
A few Vietnamese chars have display issues although the font has support Vietnamese.
Steps to Reproduce

Open atom
New file
Type or paste: ế, ề, ể, ồ, ể, ề, ở, ... and type è é, ẽ, ư, ô, ê, ừ, ứ, ... to compare.

Expected behavior:
Show normally
Actual behavior:
Text displayed as font errors.
Reproduces how often:
Always.
Versions
Atom    : 1.38.2
Electron: 2.0.18
Chrome  : 61.0.3163.100
Node    : 8.9.3

Additional Information
Nothing.

Thanks for the report -

3. Type or paste: ế, ề, ể, ồ, ể, ề, ở, ... and type è é, ẽ, ư, ô, ê, ừ, ứ, ... to compare.

Just to clarify, that second set of characters (è é, ẽ, ư, ô, ê, ừ, ứ, ...) will be displayed incorrectly only when typed but will look ok if you copy/paste them?

the font has support Vietnamese.

Which font are you using?

Hi rsese,
I have the same problem. This issue always displays data entry or copy/paste content. I use the default Atom font information.
Kindly regards,
Thanh Doan

Thanks for the report -

Type or paste: ế, ề, ể, ồ, ể, ề, ở, ... and type è é, ẽ, ư, ô, ê, ừ, ứ, ... to compare.

Just to clarify, that second set of characters (è é, ẽ, ư, ô, ê, ừ, ứ, ...) will be displayed incorrectly only when typed but will look ok if you copy/paste them?

the font has support Vietnamese.

Which font are you using?

default font, which your OS?

default font, which your OS?

I'm on macOS 10.14.
Also I looked at your screenshot again - just to clarify, the display error you're talking about is the fact that the 2 lines look like they're using different fonts yes?

default font, which your OS?

I'm on macOS 10.14.
Also I looked at your screenshot again - just to clarify, the display error you're talking about is the fact that the 2 lines look like they're using different fonts yes?

You can reproduce by yourself with your device and feel for yourself, don't ask silly questions anymore.
I think it still the same font but line 2 have the height is shrinking.

@pierreneter - we're just trying to understand the issue as best we can so we can help so we need to ask questions; please keep the Atom Code of Conduct in mind when commenting.

I think it still the same font but line 2 have the height is shrinking.

Following this: https://flight-manual.atom.io/hacking-atom/sections/debugging/#check-font-rendering-issues
It looks like they're 2 different fonts on line 1:

Vs. line 2:

I tried the 2 lines of text in VS Code and see they seem consistent; looking in devtools there, it looks like they have "Monaco" in their font stack and it shows up in the Rendered Fonts along with Menlo vs. in Atom where we saw it was Menlo and Courier New.  If I update Settings > Editor > Font Family to add "Monaco" before "monospace" at the end (Menlo, Consolas, DejaVu Sans Mono, Monacao, monospace) I now see this which looks a lot more consistent:


tag v2.0.11: build script in archive fails looking for git revision

When building from the released archive for v2.0.11 the build fails with the following error
etcd-2.0.11 # ./build
fatal: Not a git repository (or any of the parent directories): .git

yea... It is trying to get the git tag. I will look into it.

@steveeJ Thank you for reporting this. We have found the root cause and changed our release process. This will be fixed in 2.0.12+. Thanks!


Bug: Can't set a custom timer

I can't set custom counter after last update (0.14.2). The default timer I have chosen is 50 minutes, but when I want to do a short sprint of 10 minutes, it starts again at 50 minutes.

just getting back to some testing, not sure what version you were running before but testing with latest version of Obsidian and the Word Sprint tool this correctly changes the sprint to 10 minutes for that single run, and then swaps back to 50. Please reopen if you find issues.


proxy: Set environment proxy variables as per proxyRules.

Fixes: #534.

What's this PR do?
This commit sets the http and https proxy environment variable as per proxyRules so that the request module can use these rules while sending a request.
Any background context you want to provide?
request module is used in many places in the codebase. It respects the environment proxy variables so usually it used to work as whenever proxy is set in the system using GUI the environment variables are usually written as usual. However, sometimes the environment proxy variables maybe incorrect or not written due to some OS issues. Hence we are are writing the environment variables temporarily for the duration of app run with the proxy rules that we are using for the webview.
Fixes: #534
You have tested this PR on:

[x] Windows
[x] Linux/Ubuntu
[ ] macOS

@akashnimare  Added a commit that passes proxy as a parameter. If it is fine, i'll remove the first commit and update.

Merged. Thanks @abhigyank.


Remove deprecated methods

Migrated from GitLab: https://gitlab.com/meltano/sdk/-/issues/152
Originally created by @aaronsteers on 2021-06-24 20:31:47

We had some minor refactoring which we did not want to impact existing platforms and so we deprecated some methods without removing them. Now, with the 0.3.0 release we can remove those deprecated methods.

View 2 previous comments from the original issue on GitLab


v2.1: New look and extra features

Chiffee has undergone a makeover + some new functionality was added.

Users can now log in/log out on the main page, but they don't have to be logged in to purchase anything.
Users have now better UI to choose multiples at once, although a full-scale basket with different products at once is still in the workings.
Admins can edit money for all users, view and filter all past purchases, which allows for easy management. Still working on pagination, right now filtering for large databases will be slow.
Users can cancel purchases by clicking a link in the email, and then they get a confirmation email when the purchase was cancelled. Hooray!
Documentation has been improved significantly, a lot of tips and tricks were added for Apache config + some minor details to help out those who want to do a fresh setup. Also added migration instructions which should make it possible for old users to move to the new Chiffee.

This is to large to be reviewed. For future merge requests, put each feature in one merge request, or I will not accept it.


API footgun: infer_next_token still works after end of text

In llamacord, I have some logic that calls infer_next_token in a loop. Unfortunately, I didn't check for EOT - so the code would keep generating tokens and producing (fascinatingly well-structured) garbage. I think we should probably check if the last token is EOT and return an error? If you feed it a prompt, the EOT would no longer be the last token, and you should be able to infer without issues. (I wonder if A[EOT]B infers differently to AB...)

I'd say being able to infer beyond eot is a feature some might want, even if it's just to run some experiment to see what would happen. But I'm OK with making the API harder to misuse, as long as it's still possible to request inference for a new token after EOT.
Returning some sort of "EOT" error in infer_next_token sounds like it might be what we want?

I wonder if A[EOT]B infers differently to AB...

Yes, for sure. EOT is an important token and the transformer will interpret both strings completely differently :+1:

Yeah, that's what I was thinking. It wouldn't allow your use-case, though: if you returned an EOT error, you wouldn't be able to get the inferred token back.

Discussed this on the Discord - it makes much more sense to return the EOT token itself as an error, and then let users continue inferring if they want.


#13292: Skip mamba perplexity for now while we fix

Ticket
#13292
Problem description
Possible regression in mamba introduced. Skipping perplexity for now
What's changed
Skipping while we try fixing on side
Checklist

[ ] Post commit CI passes
[ ] Blackhole Post commit (if applicable)
[ ] Model regression CI testing passes (if applicable)
[ ] Device performance regression CI testing passes (if applicable)
[ ] New/Existing tests provide coverage for changes

Thank you @rdjogoTT  - this is no longer needed


Manual tile size

Would be possible to add the option to set the tile size manually like in the ultimate sd upscaler?

I have added the option to the Mikey Sampler Tiled Advanced Base Only node.


chore(deps): upgrade dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-1.x" workflow

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

Questions ?
Please refer to the Backport tool documentation


Please provide full examples of compilable code (maybe after click)

For example I have a few years of experience with Python, JS, some Go, but on this page looks like is not enough of code to compile and run it, and I do not know what wrapper code (maybe some imports) do I need.

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

ID: 9c481f71-1ea6-9ba9-e9ab-4849355b91b4
Version Independent ID: acae4227-6c8c-2c13-7b9e-3d080153504d
Content: SpeechSynthesisStream Class (Windows.Media.SpeechSynthesis) - Windows UWP applications
Content Source: https://cpubwin.visualstudio.com/DefaultCollection/windows-uwp/_git/winrt-api-build?path=%2fwinrt-api-build%2fwindows.media.speechsynthesis.speechsynthesisstream.yml&version=GBlive&_a=contents
Product: uwp
Technology: winrt-reference
Git Login: drewbatgit
Microsoft Alias: drewbat

Thanks for your feedback on the documentation. Often common, non-feature-specific code is omitted from snippets in order to make them smaller and more readable. If you are looking for a complete sample, including UI and app template code, that can be compiled without changes, I recommend downloading the speech synthesis SDK sample:
https://github.com/Microsoft/Windows-universal-samples/tree/master/Samples/SpeechRecognitionAndSynthesis
As a general tip, you can quickly discover the namespace and automatically add the required using statement for a particular API by using Visual Studio's Show Potential Fixes feature:
https://docs.microsoft.com/en-us/visualstudio/ide/quick-actions?view=vs-2019
Or the Generate Usings feature:
https://docs.microsoft.com/en-us/visualstudio/ide/reference/generate-usings?view=vs-2019


Fix the readme so that it has valuable information

I want to see a better title, description, and maybe a roadmap.

working on it now

Included in pre-release -

closing

closing


Update MQTT topics for api-v2

I've completed refactoring the device UID generation func. and the MQTT topic generation func. The MQTT topic generation func. is also updated to use the new MQTT topics for API v2.
Output:
13:57:28.436 -> Running Wippersnapper API Version: 2
13:57:28.436 -> api v2 instance::connect()
13:57:28.436 -> Adafruit.io WipperSnapper
13:57:28.436 -> -------Device Information-------
13:57:28.436 -> Firmware Version: 1.0.0-rc.1
13:57:28.436 -> API: Version 2
13:57:28.436 -> Board ID: feather-esp32s2
13:57:28.436 -> Adafruit.io User: abc
13:57:28.436 -> WiFi Network: fff
13:57:28.436 -> MAC Address: 7C:DF:A1:94:A0:3A
13:57:28.436 -> -------------------------------
13:57:28.436 -> ESP32 CPU0 RESET REASON: NO_MEAN
13:57:28.436 -> ESP32 CPU1 RESET REASON: POWERON_RESET
13:57:28.436 -> Generating device UID...
13:57:28.436 -> Calculating device UID length...
13:57:28.436 -> Allocating memory for device UID
13:57:28.436 -> Device UID: io-wipper-feather-esp32s258160148
13:57:28.436 -> Device UID generated successfully!
13:57:28.436 -> Setting up MQTT client...
13:57:28.436 -> Set up MQTT client successfully!
13:57:28.436 -> Generating device's MQTT topics...
13:57:28.436 -> Pre-calculating topic lengths...
13:57:28.436 -> Broker-to-device topic: abc/ws-b2d/io-wipper-feather-esp32s258160148
13:57:28.436 -> Device-to-broker topic: abc/ws-d2b/io-wipper-feather-esp32s258160148
13:57:28.436 -> Error topic: abc/errors
13:57:28.436 -> Throttle topic: abc/throttle
13:57:28.436 -> Generated device's MQTT topics successfully!


Bulk API 2 Implementation for Attachments

Are there any plans to implement Bulk API 2 support foe attachments?

It's Ok I have implemented these myself.

lushmana, Would you mind sharing your code as I need to implement this too. Thank you in advance.

I have changed jobs and don't have the code anymore...

I implemented these in Reinforce if you check out the interfaces in /src/Reinforce/BulkApi2 and the example UpdateAsync in /examples/AccountApi/Services/AccountService.cs.


Explosion power not configurable?

Most reactors have a configurable explosion  power.
“Art is  explosion!”--Deidara，NARUTO
#6 #7

v1.2.2 for 1.18.2 has config for that


Error after executing "drogon init"

Hello team.
Im trying to run drogon but im running into issues.
I first executed the following command npm install -g @icon-community/drogon, then I make sure that docker is running:
● docker.service - Docker Application Container Engine
     Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: >
     Active: active (running) since Fri 2023-02-03 18:54:32 -04; 2 weeks 2 days a>
TriggeredBy: ● docker.socket
       Docs: https://docs.docker.com
   Main PID: 2616 (dockerd)
      Tasks: 12
     Memory: 550.0M
     CGroup: /system.slice/docker.service
             └─2616 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/contai>

then I executed drogon install, the terminal got stuck for a while and after finishing I executed drogon init but the result is the following error:
$ drogon init                                                                                [7/27]
 _ .-') _  _  .-')                                             .-') _ ,---.
( (  OO) )( \( -O )                                           ( OO ) )|   |
 \     .'_ ,------.  .-'),-----.   ,----.     .-'),-----. ,--./ ,--,' |   |
 ,`'--..._)|   /`. '( OO'  .-.  ' '  .-./-') ( OO'  .-.  '|   \ |  |\ |   |
 |  |  \  '|  /  | |/   |  | |  | |  |_( O- )/   |  | |  ||    \|  | )|   |
 |  |   ' ||  |_.' |\_) |  |\|  | |  | .--, \\_) |  |\|  ||  .     |/ |  .'
 |  |   / :|  .  '.'  \ |  | |  |(|  | '. (_/  \ |  | |  ||  |\    |  `--'
 |  '--'  /|  |\  \    `'  '-'  ' |  '--'  |    `'  '-'  '|  | \   |  .--.
 `-------' `--' '--'     `-----'   `------'       `-----' `--'  `--'  '--'
✔ Name of the project … test-1
✔ Do you want to initialize your Drogon project with samples? … no / yes
✔ Do you want to generate a keystore for this project? … no / yes
? Is this a token / NFT? No
? What is the contract name? contract01
Traceback (most recent call last):
  File "/usr/local/bin/tackle", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.9/dist-packages/tackle/cli.py", line 130, in main
    output = tackle(
  File "/usr/local/lib/python3.9/dist-packages/tackle/main.py", line 84, in tackle
    output = update_source(context)
  File "/usr/local/lib/python3.9/dist-packages/tackle/parser.py", line 1587, in update_source
    return run_source(context, args, kwargs, flags)
  File "/usr/local/lib/python3.9/dist-packages/tackle/parser.py", line 1051, in run_source
    default_hook_output = context.default_hook().exec()
  File "/usr/local/lib/python3.9/dist-packages/tackle/parser.py", line 1235, in function_walk
    walk_sync(context=tmp_context, element=input_element.copy())
  File "/usr/local/lib/python3.9/dist-packages/tackle/parser.py", line 828, in walk_sync
    walk_sync(context, v)
  File "/usr/local/lib/python3.9/dist-packages/tackle/parser.py", line 771, in walk_sync
    run_hook(context)
  File "/usr/local/lib/python3.9/dist-packages/tackle/parser.py", line 747, in run_hook
    parse_hook(hook_dict, Hook, context)
  File "/usr/local/lib/python3.9/dist-packages/tackle/parser.py", line 525, in parse_hook
    hook_output_value = run_hook_in_dir(hook)
  File "/usr/local/lib/python3.9/dist-packages/tackle/parser.py", line 329, in run_hook_in_dir
    return hook.exec()
File "/usr/local/lib/python3.9/dist-packages/tackle/providers/logic/hooks/match.py", line 77, in exec
    raise Exception(f"Value `{self.value}` not found in {self.case.keys()}")
Exception: Value `contract` not found in <ruamel.yaml.comments.CommentedMapKeysView object at 0x7fd99400a760>

@FidelVe Im suspecting this happened because the dependencies were not installed fully, since it was hanging. Is it possible for you to do the npm install one more time since we released a version which should potentially fix this issue. Thanks!

repeated the installation process
npm install -g @icon-community/drogon

added 231 packages, and audited 232 packages in 28s

30 packages are looking for funding
  run `npm fund` for details

6 vulnerabilities (1 moderate, 5 high)

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.

drogon install
 _ .-') _  _  .-')                                             .-') _ ,---.
( (  OO) )( \( -O )                                           ( OO ) )|   |
 \     .'_ ,------.  .-'),-----.   ,----.     .-'),-----. ,--./ ,--,' |   |
 ,`'--..._)|   /`. '( OO'  .-.  ' '  .-./-') ( OO'  .-.  '|   \ |  |\ |   |
 |  |  \  '|  /  | |/   |  | |  | |  |_( O- )/   |  | |  ||    \|  | )|   |
 |  |   ' ||  |_.' |\_) |  |\|  | |  | .--, \\_) |  |\|  ||  .     |/ |  .'
 |  |   / :|  .  '.'  \ |  | |  |(|  | '. (_/  \ |  | |  ||  |\    |  `--'
 |  '--'  /|  |\  \    `'  '-'  ' |  '--'  |    `'  '-'  '|  | \   |  .--.
 `-------' `--' '--'     `-----'   `------'       `-----' `--'  `--'  '--'
☐  pending   Installing Drogon...Hold tight, it might take a while!
🧑      ⚽  🧑 Successfully pulled iconcommunity/drogon:latest
🧑     ⚽   🧑 Successfully pulled iconcommunity/gochain:latest
✨ Drogon ready for use.
✔  success   Drogon ready for use.

The following error occurs when trying to bootstrap a project
drogon init
 _ .-') _  _  .-')                                             .-') _ ,---.
( (  OO) )( \( -O )                                           ( OO ) )|   |
 \     .'_ ,------.  .-'),-----.   ,----.     .-'),-----. ,--./ ,--,' |   |
 ,`'--..._)|   /`. '( OO'  .-.  ' '  .-./-') ( OO'  .-.  '|   \ |  |\ |   |
 |  |  \  '|  /  | |/   |  | |  | |  |_( O- )/   |  | |  ||    \|  | )|   |
 |  |   ' ||  |_.' |\_) |  |\|  | |  | .--, \\_) |  |\|  ||  .     |/ |  .'
 |  |   / :|  .  '.'  \ |  | |  |(|  | '. (_/  \ |  | |  ||  |\    |  `--'
 |  '--'  /|  |\  \    `'  '-'  ' |  '--'  |    `'  '-'  '|  | \   |  .--.
 `-------' `--' '--'     `-----'   `------'       `-----' `--'  `--'  '--'
✔ Name of the project … hello-world
✔ Do you want to initialize your Drogon project with samples? … no / yes
✔ Do you want to generate a keystore for this project? … no / yes
? Is this a token / NFT? No
? What is the contract name? main contract
Traceback (most recent call last):
  File "/usr/local/bin/tackle", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.9/dist-packages/tackle/cli.py", line 130, in main
    output = tackle(
  File "/usr/local/lib/python3.9/dist-packages/tackle/main.py", line 84, in tackle
    output = update_source(context)
  File "/usr/local/lib/python3.9/dist-packages/tackle/parser.py", line 1587, in upd
ate_source
    return run_source(context, args, kwargs, flags)
  File "/usr/local/lib/python3.9/dist-packages/tackle/parser.py", line 1051, in run
_source
    default_hook_output = context.default_hook().exec()
  File "/usr/local/lib/python3.9/dist-packages/tackle/parser.py", line 1235, in fun
ction_walk
    walk_sync(context=tmp_context, element=input_element.copy())
  File "/usr/local/lib/python3.9/dist-packages/tackle/parser.py", line 828, in walk
_sync
    walk_sync(context, v)
  File "/usr/local/lib/python3.9/dist-packages/tackle/parser.py", line 771, in walk
_sync

    run_hook(context)
  File "/usr/local/lib/python3.9/dist-packages/tackle/parser.py", line 747, in run_
hook
    parse_hook(hook_dict, Hook, context)
  File "/usr/local/lib/python3.9/dist-packages/tackle/parser.py", line 525, in pars
e_hook
    hook_output_value = run_hook_in_dir(hook)
  File "/usr/local/lib/python3.9/dist-packages/tackle/parser.py", line 329, in run_
hook_in_dir
    return hook.exec()
  File "/usr/local/lib/python3.9/dist-packages/tackle/providers/logic/hooks/match.p
y", line 77, in exec
    raise Exception(f"Value `{self.value}` not found in {self.case.keys()}")
Exception: Value `contract` not found in <ruamel.yaml.comments.CommentedMapKeysView
 object at 0x7f0a08060610>

@FidelVe The issue is coming from the tackle code generation(which is outside our control unfortunately). However, since this is not a good developer experience while using drogon, we are addressing with a PR soon. We will update this ticket once we have released it. Thank you for trying Drogon.

@coconut-bunch Any updates here?

this should be fixed now. Thank you so much @robcxyz for the quick fix 🙏


repeatTensor

I'm seeing the error:
/usr/local/share/lua/5.1/autograd/direct/DirectTape.lua:56: attempt to index field 'gradFun' (a nil value)
in a test involving repeatTensor. It looks like it might just not be supported yet?

Good catch. We should support this operation, and also give better errors
here.
On Tue, Dec 1, 2015 at 4:42 AM Nicholas Andrews<EMAIL_ADDRESS>wrote:

I'm seeing the error:
/usr/local/share/lua/5.1/autograd/direct/DirectTape.lua:56: attempt to
index field 'gradFun' (a nil value)
in a test involving repeatTensor. It looks like it might just not be
supported?
—
Reply to this email directly or view it on GitHub
https://github.com/twitter/torch-autograd/issues/46.

@noa you should now receive better error messages when using functions that have no gradient defined.


allow to restart script without reload page

already did this, but if you want to pr that auto-restart go ahead :) i'm adding a victory screen continue button currently.


using of DateTimePicker from react-widgets

I have a problem by using DateTimePicker. Value in input is correct but selected value in DateTimePicker is less for one day:

component:
const renderDateTimePicker = function (params) {
        return <DateTimePicker
                {...params.input}
                time={params.time}
                format='LL'
                value={params.input.value}
                onBlur={() => params.input.onBlur(params.input.value)}
                />;
        }

using:
<Field
 component={renderDateTimePicker}
 name="fromDate"
 time={false}
 />

could you, please, add info how to use it? in http://redux-form.com/6.0.5/examples/react-widgets/
ps: I use typescript, so I can't use: = ({ input, **...rest** }) => part

This issue doesn't belong to our GitHub issue tracker.
We request you to ask again at StackOverflow, using the redux-form tag, then post the question link here.
As usual, don't forget to explain your question well and show what you've got so far!
This is because the GitHub issue tracker is better suited for discussions related to bugs and improvements of Redux Form.
Meanwhile, StackOverflow is better at keeping popular questions visible, while separating feature-related questions from help-related questions.
Thanks for using Redux Form!

This behavior looked like a bug. That's why I added it here. I also suggested to make the improvement: write use case into the documentation. Here is a possible bug and suggestion for improvement, what I did wrong?

There are tons of questions at our issue tracker related to datepicker usage:
https://github.com/erikras/redux-form/search?q=datepicker&type=Issues&utf8=✓
Sometimes I have the impression that if people contributed to a single StackOverflow question regarding redux-form + datepicker integration (the right place for questions) they would be enjoying lots of quality answers.
There's even a PR #2119 detailing how to use react-widgets datepicker, but it was probably lost.
It's not even available on the docs for v6.2.1 (first release after it was merged).
Finally, that bug to me seems like related to react-widgets itself - perhaps something related to timezones? We have this problem in the company work I for.

Yes, it's probably something to do with time zones, but maybe it would be a good idea to add an example of using into the documentation, because it's the first place where users are looking for information. Especially if there are ton of questions related to datepicker's usage that shows the need to add it in the documentation. But this is just my opinion.

Especially if there are ton of questions related to datepicker's usage that shows the need to add it in the documentation

I agree.
While the code for PR #2119 was lost, anyone is allowed to step in and fix that with broader usage examples. We are an open source project.