Brandon on cursor, v0 and claude youtube

https://youtu.be/2qU3SPPojDA?si=0AO1wwnYUNOXrjAN

SUMMARY
Brandon demonstrates a three-step process for rapidly developing AI applications using Claude, v0, and Cursor, showcasing real-time offer generation for real estate agents.
IDEAS

AI-powered tools like v0 and Cursor can significantly accelerate application development for AI startups.
The three-step process involves brain dumping, stubbing out UI, and adding functionality to create MVP.
Versel AI SDK enables seamless integration of AI capabilities into web applications for real-time interactions.
Combining multiple AI tools allows developers to leverage strengths of each for more efficient coding.
Real-time offer generation showcases practical application of AI in automating complex tasks for real estate.
Using AI to generate UI components can save significant time in the initial development stages.
Tool calling functionality in AI models enables dynamic updating of application data based on user input.
Proper state management is crucial when working with AI-generated content in React applications.
AI-assisted coding can help quickly implement complex features like real-time chat and file uploads.
Developers must be prepared to debug and refine AI-generated code for optimal functionality.
The process demonstrates how AI can be used to rapidly prototype and iterate on application ideas.
Integrating AI into development workflow requires understanding of both AI capabilities and traditional coding practices.
AI tools can generate entire React components, including styling and basic functionality, with minimal input.
The approach showcases how AI can assist in creating full-stack applications, from frontend to backend.
Developers must still apply critical thinking to ensure AI-generated solutions align with project requirements.
AI-assisted development allows for rapid implementation of complex database queries and API endpoints.
The process highlights the importance of breaking down development tasks for effective AI assistance.
AI tools can help developers quickly adapt to new frameworks and libraries by generating boilerplate code.
The approach demonstrates how AI can be used to create dynamic, data-driven web applications efficiently.
Proper prompt engineering is crucial for getting desired results from AI coding assistants.
AI-assisted development can help bridge the gap between conceptual design and functional implementation.
The process shows how AI can be used to quickly generate and refine data models for applications.
AI tools can assist in implementing best practices for state management in React applications.
The approach highlights the potential for AI to revolutionize the software development lifecycle.
Developers must balance reliance on AI tools with maintaining understanding of underlying code structure.

INSIGHTS

AI-assisted development is revolutionizing the software creation process, dramatically reducing time-to-market for new applications.
The synergy between different AI tools can create a powerful development ecosystem, enhancing overall productivity.
AI's ability to generate and refine code in real-time is transforming the iterative process of software development.
Effective use of AI in development requires a strategic approach to prompt engineering and tool integration.
AI-assisted coding is shifting the developer's role towards high-level problem-solving and architecture design.
The rapid prototyping capabilities of AI tools are enabling faster validation of software concepts and ideas.
AI's proficiency in generating boilerplate code is freeing developers to focus on core business logic.
The integration of AI in development workflows is necessitating new skills in AI tool orchestration.
AI-driven development is blurring the lines between design, development, and testing phases of software creation.
The ability of AI to understand and generate complex data models is accelerating database-driven application development.

QUOTES

"AI offers are super cool for you to actually see this in action and to help you properly use these tools."

"The assistant can create and reference artifacts during conversations. Artifacts are for substantial, self-contained content that users might modify or reuse, displayed in a separate UI window for clarity."
"When collaborating with the user on creating content that falls into compatible categories, the assistant should follow these steps."
"The assistant errs on the side of simplicity and avoids overusing artifacts for content that can be effectively presented within the conversation."
"Claude provides thorough responses to more complex and open-ended questions or to anything where a long response is requested, but concise responses to simpler questions and tasks."
"Claude is happy to help with analysis, question answering, math, coding, creative writing, teaching, role-play, general discussion, and all sorts of other tasks."
"I'm teaching a beginner's programming course, and I want to include some interactive examples for the students to try out."
"Teaching a beginner's programming course is a great opportunity to introduce students to fundamental concepts through interactive examples."
"I need your help in building out the offer list view portion of the application."
"I need your help updating this backend chat route to start supporting tool calling."
"I've added a to-do to the system property inside of the stream text function."
"I just set up the functionality that you just created for updating an offer inside of our chat route."
"I understand the requirements we need to update this component to handle update offer tool calls and update both of them."
"Can you please update this code to pull out the offer that gets sent back in the response and then we want to use react navigation to redirect us over to the offers page."
"Onfinish is not properly detecting on tool calls so what I would like you to do instead is create a new use effect that monitors all of the messages inside of use chat."
"I just updated my code to start using offer content instead of offer so can you please update my functions and passing things into my children components properly."
"Can you please help me update my offer page which is a servers side component which is supposed to be fetching the current offer based off of the ID we are passing in."
"Can you please update the offer letter to show a purchase price of and then 400k."

HABITS

Regularly use AI tools like Claude, v0, and Cursor to accelerate application development process.
Break down complex development tasks into smaller, manageable steps for AI assistance.
Continuously iterate on AI-generated code to refine and improve functionality.
Utilize AI to generate boilerplate code and focus on core business logic implementation.
Regularly update and refine prompts to get better results from AI coding assistants.
Combine multiple AI tools to leverage their individual strengths in the development process.
Consistently use version control to manage AI-generated code changes and iterations.
Regularly review and refactor AI-generated code to ensure optimal performance and maintainability.
Use AI to quickly prototype ideas and get feedback before investing in full development.
Continuously learn and adapt to new AI tools and capabilities in the development ecosystem.
Regularly practice prompt engineering to improve communication with AI coding assistants.
Use AI-generated code as a starting point and customize it to fit specific project needs.
Consistently document AI-assisted development processes for future reference and improvement.
Regularly test AI-generated code to ensure it meets project requirements and quality standards.
Use AI to automate repetitive coding tasks and focus on high-level problem-solving.

FACTS

The current date mentioned in the content is Friday, October 11, 2024.
Claude's knowledge base was last updated on April 2024.
The Claude 3 family consists of Claude 3 Haiku, Claude 3 Opus, and Claude 3.5 Sonnet.
Claude 3.5 Sonnet is described as the most intelligent model in the Claude 3 family.
Versel AI SDK is used for integrating AI capabilities into web applications.
React is used as the frontend framework for building the real estate offer application.
Drizzle is mentioned as the ORM (Object-Relational Mapping) tool used in the project.
Clerk is used for authentication in the real estate offer application.
Tailwind CSS is used for styling components in the React application.
The<EMAIL_ADDRESS>library is available for importing icons in the React application.
The recharts charting library is available for creating charts in the React application.
The shadcn/ui library is used for prebuilt UI components in the React application.
Versel Postgres is used as the database for the real estate offer application.
The application uses Next.js for server-side rendering and routing.
The application implements a chat functionality using the Versel AI SDK.

REFERENCES

Claude AI assistant
v0 AI tool
Cursor AI coding assistant
Versel AI SDK
React
Next.js
Drizzle ORM
Clerk authentication
Tailwind CSS
lucide-react library
recharts charting library
shadcn/ui component library
Versel Postgres
OpenAI API
Excalidraw (mentioned as a drawing tool)
Markdown
TypeScript
JavaScript
HTML
CSS
Git (implied for version control)
AI Developer School Community
AI Developer Accelerator Pro program
Full Stack AI Marketing Platform course

ONE-SENTENCE TAKEAWAY
AI-assisted development using Claude, v0, and Cursor can dramatically accelerate the creation of complex applications.
RECOMMENDATIONS

Learn and master the three-step process for rapid AI application development using Claude, v0, and Cursor.
Integrate Versel AI SDK into your web applications to leverage powerful AI capabilities in real-time.
Use AI tools to quickly generate UI components and focus on implementing core business logic.
Implement tool calling functionality in your AI models to enable dynamic updating of application data.
Master proper state management techniques when working with AI-generated content in React applications.
Utilize AI-assisted coding to quickly implement complex features like real-time chat and file uploads.
Develop skills in debugging and refining AI-generated code for optimal functionality in your applications.
Learn how to effectively break down development tasks for more efficient AI assistance in coding.
Practice prompt engineering to improve communication and results when working with AI coding assistants.
Integrate multiple AI tools in your development workflow to leverage their individual strengths effectively.
Regularly update your knowledge of AI capabilities and best practices in software development.
Experiment with AI-generated code as a starting point for rapid prototyping and iteration of ideas.
Develop a strategic approach to using AI tools in different phases of the software development lifecycle.
Learn to balance reliance on AI tools with maintaining a deep understanding of underlying code structure.
Explore AI's potential in automating repetitive coding tasks to focus on high-level problem-solving.


gocode only works when run manually

Hi, I hope this isn't a duplicate; I read through a bunch of the existing issues, tried searching, and generally did my due diligence before reporting. Apologies if I missed something. I'm not getting any completions from the default gocode server. When I close the server and run gocode -s, completions work fine. Without running gocode -s, the log output looks like this:
2016/09/26 11:03:52 Go project path: .
2016/09/26 11:03:52 Got autocompletion request for '/private/tmp/main.go'
2016/09/26 11:03:52 Cursor at: 52
2016/09/26 11:03:52 -------------------------------------------------------
package main

import (
        "fmt"
)

func main() {
        fmt.#Println
}
2016/09/26 11:03:52 -------------------------------------------------------
2016/09/26 11:03:52 Found "fmt" at "/Users/cweber/.gvm/gos/go1.7.1/pkg/darwin_amd64/fmt.a"
2016/09/26 11:03:52 Error parsing input file (inner block):
2016/09/26 11:03:52  4:6: expected selector or type assertion, found ';'
2016/09/26 11:03:52  4:7: expected ';', found 'IDENT' Println
2016/09/26 11:03:52  5:2: expected ';', found 'EOF'
2016/09/26 11:03:52  5:2: expected '}', found 'EOF'

With gocode -s, I see:
2016/09/26 11:09:26 Go project path: .
2016/09/26 11:09:26 Got autocompletion request for '/private/tmp/main.go'
2016/09/26 11:09:26 Cursor at: 52
2016/09/26 11:09:26 -------------------------------------------------------
package main

import (
        "fmt"
)

func main() {
        fmt.#
}
2016/09/26 11:09:26 -------------------------------------------------------
2016/09/26 11:09:26 Found "fmt" at "/Users/cweber/.gvm/gos/go1.7.1/pkg/darwin_amd64/fmt.a"
2016/09/26 11:09:26 Error parsing input file (inner block):
2016/09/26 11:09:26  4:6: expected selector or type assertion, found ';'
2016/09/26 11:09:26 extracted expression tokens: fmt
2016/09/26 11:09:26 Offset: 0
2016/09/26 11:09:26 Number of candidates found: 25
2016/09/26 11:09:26 Candidates are:
2016/09/26 11:09:26   func Errorf(format string, a ...interface{}) error
2016/09/26 11:09:26   func Fprint(w !io!io.Writer, a ...interface{}) (n int, err error)
2016/09/26 11:09:26   func Fprintf(w !io!io.Writer, format string, a ...interface{}) (n int, err error)
2016/09/26 11:09:26   func Fprintln(w !io!io.Writer, a ...interface{}) (n int, err error)
2016/09/26 11:09:26   func Fscan(r !io!io.Reader, a ...interface{}) (n int, err error)
2016/09/26 11:09:26   func Fscanf(r !io!io.Reader, format string, a ...interface{}) (n int, err error)
2016/09/26 11:09:26   func Fscanln(r !io!io.Reader, a ...interface{}) (n int, err error)
2016/09/26 11:09:26   func Print(a ...interface{}) (n int, err error)
2016/09/26 11:09:26   func Printf(format string, a ...interface{}) (n int, err error)
2016/09/26 11:09:26   func Println(a ...interface{}) (n int, err error)
2016/09/26 11:09:26   func Scan(a ...interface{}) (n int, err error)
2016/09/26 11:09:26   func Scanf(format string, a ...interface{}) (n int, err error)
2016/09/26 11:09:26   func Scanln(a ...interface{}) (n int, err error)
2016/09/26 11:09:26   func Sprint(a ...interface{}) string
2016/09/26 11:09:26   func Sprintf(format string, a ...interface{}) string
2016/09/26 11:09:26   func Sprintln(a ...interface{}) string
2016/09/26 11:09:26   func Sscan(str string, a ...interface{}) (n int, err error)
2016/09/26 11:09:26   func Sscanf(str string, format string, a ...interface{}) (n int, err error)
2016/09/26 11:09:26   func Sscanln(str string, a ...interface{}) (n int, err error)
2016/09/26 11:09:26   type Formatter interface
2016/09/26 11:09:26   type GoStringer interface
2016/09/26 11:09:26   type ScanState interface
2016/09/26 11:09:26   type Scanner interface
2016/09/26 11:09:26   type State interface
2016/09/26 11:09:26   type Stringer interface
2016/09/26 11:09:26 =======================================================

Here's the output from nvim --version:
NVIM 0.1.3
Build type: RelWithDebInfo
Compilation: /usr/local/Library/ENV/4.3/clang -Wconversion -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DDISABLE_LOG -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wvla -fstack-protector-strong -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -DHAVE_CONFIG_H -I/tmp/neovim-20160707-73611-1gf4v6g/neovim-0.1.3/build/config -I/tmp/neovim-20160707-73611-1gf4v6g/neovim-0.1.3/src -I/tmp/neovim-20160707-73611-1gf4v6g/neovim-0.1.3/deps-build/usr/include -I/tmp/neovim-20160707-73611-1gf4v6g/neovim-0.1.3/deps-build/usr/include -I/tmp/neovim-20160707-73611-1gf4v6g/neovim-0.1.3/deps-build/usr/include/luajit-2.0 -I/tmp/neovim-20160707-73611-1gf4v6g/neovim-0.1.3/deps-build/usr/include -I/tmp/neovim-20160707-73611-1gf4v6g/neovim-0.1.3/deps-build/usr/include -I/tmp/neovim-20160707-73611-1gf4v6g/neovim-0.1.3/deps-build/usr/include -I/tmp/neovim-20160707-73611-1gf4v6g/neovim-0.1.3/deps-build/usr/include -I/usr/local/opt/gettext/include -I/usr/include -I/usr/include -I/tmp/neovim-20160707-73611-1gf4v6g/neovim-0.1.3/build/src/nvim/auto -I/tmp/neovim-20160707-73611-1gf4v6g/neovim-0.1.3/build/include
Compiled by cweber@MBP

Optional features included (+) or not (-): +acl   +iconv    +jemalloc
For differences from Vim, see :help vim-differences

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/local/Cellar/neovim/0.1.3/share/nvim"

My default shell is zsh (if that might affect anything)?
OSX version 10.11.6

Hm, I wonder where do you get the log from if you don't run gocode -s. Are you using gocode's "force-debug-output" option? If so, you'd be the first one who does. Just a curious fact. :)
And what do you mean you don't get any autocompletions? In the log or in nvim?

Yeah, this is coming from force-debug-output. The behavior was the same before using force-debug-output; I just used that option to get some logging info.

It's just first log message looks weird to me. Is it stripped or something? If you take a look at the code:
https://github.com/nsf/gocode/blob/master/server.go#L185-L209
It should print "Offset:" if it prints "Got autocompletion request". And I see none. Perhaps it hangs? Any signs of 100% cpu usage?

That's very odd. No sign of 100% cpu; cpu is 0 at idle and 0.9% during completion requests.

I also tried clearing my cache, in case it was confused between 1.6 and 1.7 artifacts.

Is it possible that candidates, d := g_daemon.autocomplete.apropos(file, filename, cursor) is somehow mutating g_debug or maybe panic/recovering such that the subsequent block isn't being executed?

Panic is possible, but in this case it ends up here: https://github.com/nsf/gocode/blob/master/server.go#L136-L146
And returns one autocompletion result which is PANIC. And of course panic is also printed into the log.
Mutation of g_debug is unlikely:
[nsf @ gocode]$ LANG=C grep -R g_debug *
autocompletefile.go:    if err != nil && *g_debug {
autocompletefile.go:            if err != nil && *g_debug {
cursorcontext.go:       if *g_debug {
declcache.go:   if *g_debug {
declcache.go:   if *g_debug {
declcache.go:           if err != nil && *g_debug {
declcache.go:   if *g_debug {
declcache.go:   if *g_debug {
decl.go:                } else if !*g_debug && strings.HasPrefix(t.Name, "#") {
decl.go:                } else if !*g_debug && strings.HasPrefix(t.Name, "!") {
gocode.go:      g_debug     = flag.Bool("debug", false, "enable server-side debug mode")
server.go:              *g_debug = true
server.go:              if *g_debug && err != nil {
server.go:              if *g_debug && err != nil {
server.go:                      if *g_debug {
server.go:              } else if *g_debug {
server.go:      if *g_debug {
server.go:      if *g_debug {

Only force-debug-output option writes true to it and that's it.

I threw in some log statements around the aforementioned line. If I don't run gocode -s, they don't display at all. I'm suspecting gocode close isn't actually quitting the server?

gocode close sends close command to a server if it can find one. If there is none, it will start one and send the close command to it. When server receives close command it should quit.

Is it possible that you have multiple gocode binaries on your machine? What which -a gocode says?

➜  temp which -a gocode
/Users/cweber/Projects/bin/gocode
/Users/cweber/Projects/bin/gocode

Have no idea why it shows it twice, maybe you have some duplication in your PATH env var. But that's okay, there is only one location at the end. Should work.

So it looks like YouCompleteMe contains a gocode executable:
cweber          29563   0.0  0.0 573402464   6800   ??  S    11:45AM   0:00.09 /Users/cweber/.config/nvim/bundle/YouCompleteMe/third_party/ycmd/third_party/gocode/gocode -s -sock unix -addr <IP_ADDRESS>:55311

That's interesting, I would get rid of it, but that's me, have no idea what YouCompleteMe does.

@nsf Nor I. I only installed it for Python completions, but it was a pain to install and has been more trouble than it's worth. I'll try to disable it and see what happens.

Also since it looks like a process, make sure you kill it :)

After killing off all the ycmd processes, the first  relaunched the correct gocode server, and I have my autocompletions back. Thanks very much for the debugging help!

you're welcome

For posterity, it looks like YCM clones the entire gocode repo and builds it at YCM's install time. It appears to completely disregard the gocode repo in your $GOPATH. Navigate to the YCM gocode directory and run git pull origin master && go build to fix.

You can use a YCM variable to specify the location of gocode to use. You'll want to do this for godef as well.
let g:ycm_gocode_binary_path = "$GOPATH/bin/gocode"
let g:ycm_godef_binary_path = "$GOPATH/bin/godef"


Using back button after visiting 404

Awesome library - thanks for sharing it. I've set up a site's to work with the back button per the comment at the bottom of #87 . It works great for both forward and back buttons. However, if I visit a page that is a 404 error (it could easily happen if I link to a 3rd party site that subsequently dies), when I hit the browser back button to return to a page that I know works fine, no event seems to be triggered so although the URL is correct, the page content is blank.
I'm sure I must be missing something so if someone has any suggestions where I can start looking that would be great.
Thanks,
James

use <body onpopstate="location.reload();"> on 404 error page

use <body onpopstate="location.reload();"> on 404 error page


Update agencies directory

What's changed, or what was fixed?

Updated the agencies directory data with new agencies

[x] This has been reviewed and approved by Bart Jarochowski

[x] I have run npm test locally and all tests pass.

[x] I have added the appropriate type-something label.

[x] I've staged the site and manually verified that my content displays correctly.

CC: @petele

:tada: This has been pushed live to https://developers.google.com/web/


PNP for tkinter

Hello,
I tried the pnp example for wx and it works fine for me.
Is there maybe an example available for tkinter available?
tkinter does not provide a handle, do you have some hints for me how to implement pnp for tkinter?
Thanks in advance,
GW

It seems there is a way to get the HWND, this looks like a good starting point: https://web.archive.org/web/20200731093951id_/http://effbot.org/tkinterbook/wm.htm#Tkinter.Wm.frame-method

Thanks for your very fast response!
Could you please give me an additional helping hand?
class MyFrame(ttk.Frame,hid.HidPnPWindowMixin):
# a device so we could easily discriminate wich devices to look at
my_hid_target = hid.HidDeviceFilter(vendor_id = target_vendor_id, product_id = target_product_id)
def __init__(self, parent):
    ttk.WmFrame.__init__(self,parent) #tkinter Frame has only 2 parameters
    # wx.Frame.__init__(self,parent,-1,"Re-plug your USB HID device, watch the command window!...")
    #             Frame(parent, id=ID_ANY, title="", pos=DefaultPosition, size=DefaultSize, style=DEFAULT_FRAME_STYLE, name=FrameNameStr)
    hid.HidPnPWindowMixin.__init__(self, self.GetHandle())
    ttk.EVT_CLOSE(self, self.on_close)

Result:
AttributeError: module 'tkinter.ttk' has no attribute 'WmFrame'
Do you have the time to check what's going wrong?
Or do I have to adapt the "HidPnPWindowMixin" for tkinter?
Thanks & BR

WMFrame seems to be legacy.
I check in a REPL session that a tkinter.Frame exposes a winfo_id() method, google shows this will be the frame HWND in Windows

Hello Rene,
It looks like that's how it works.
`#
"""
Plug and Play example
This script requires wxPython, but it could be easily (really!) changed
to work with any GUI working on windows, just make you you pass your frame window
handler to the HidPnPWindowMixin.init initialization function.
A hook will be inserted on the message handler so the window could be used as
a target for PnP events, for now this are HID class wise, this means you'll have
to test if your device 'plug' status has changed.
"""
from tkinter import *
from tkinter import ttk
import tkinter as tk
from tkinter import messagebox
from tkinter import filedialog
import tkinter as tk
import pywinusb.hid as hid
import sys
from time import sleep
feel free to test
target_vendor_id = 0x640
target_product_id = 0xA10
class MyFrame(ttk.Frame,hid.HidPnPWindowMixin):
# a device so we could easily discriminate wich devices to look at
my_hid_target = hid.HidDeviceFilter(vendor_id = target_vendor_id, product_id = target_product_id)
def __init__(self, parent):
    ttk.Frame.__init__(self,parent)
    # wx.Frame.__init__(self,parent,-1,"Re-plug your USB HID device, watch the command window!...")
    #             Frame(parent, id=ID_ANY, title="", pos=DefaultPosition, size=DefaultSize, style=DEFAULT_FRAME_STYLE, name=FrameNameStr)
    #hid.HidPnPWindowMixin.__init__(self, self.GetHandle())
    hid.HidPnPWindowMixin.__init__(self, self.winfo_id()) #or try winfo_id()
    #ttk.EVT_CLOSE(self, self.on_close)

    self.device = None #no hid device... yet

    # kick the pnp engine
    self.on_hid_pnp()

def on_hid_pnp(self, hid_event = None):
    """This function will be called on per class event changes, so we need
    to test if our device has being connected or is just gone"""
    # keep old reference for UI updates
    old_device = self.device

    if hid_event:
        print("Hey, a hid device just %s!" % hid_event)

    if hid_event == "connected":
        # test if our device is available
        if self.device:
            # see, at this point we could detect multiple devices!
            # but... we only want just one

            pass
        else:
            self.test_for_connection()
    elif hid_event == "disconnected":
        # the hid object is automatically closed on disconnection we just
        # test if still is plugged (important as the object might be
        # closing)
        if self.device and not self.device.is_plugged():
            self.device = None
            print("you removed my hid device!")
    else:
        # poll for devices
        self.test_for_connection()

    if old_device != self.device:
        # update ui
        pass

def test_for_connection(self):
    all_items =  MyFrame.my_hid_target.get_devices()
    if all_items:
        # at this point, what we decided to be a valid hid target is
        # already plugged
        if len(all_items) == 1:
            # this is easy, we only have a single hid device
            self.device = all_items[0]
        else:
            # at this point you might have multiple scenarios
            grouped_items = MyFrame.my_hid_target.get_devices_by_parent()
            print("%d devices now connected" % len(grouped_items))
            if len(grouped_items) > 1:
                # 1) Really you have multiple devices connected so, make
                # your rules, how do you help your user to handle multiple
                # devices?
                # maybe you here will find out wich is the new device, and
                # tag this device so is easily identified (i.e. the WiiMote
                # uses LEDs), or just your GUI shows some arbitrary
                # identification for the user (device 2 connected)
                pass
            else:
                # 2) We have a single physical device, but the descriptors
                # might might cause the OS to report is as multiple devices
                # (collections maybe) so, what would be your target device?
                # if you designed the device firmware, you already know the
                # answer...  otherwise one approach might be to browse the
                # hid usages for a particular target...  anyway, this could
                # be complex, especially handling multiple physical devices
                # that are reported as multiple hid paths (objects)...
                # so...  I recommend you creating a proxy class that is
                # able to handle all your 'per parent id' grouped devices,
                # (like a single .open() able to handle your buch of
                # HidDevice() items

                pass
            # but... we just arbitrarly select the first hid object path
            # (how creative!)
            self.device = all_items[0]
    if self.device:
        self.device.open()

        print("got my device: %s!" % repr(self.device))
        self.device.out_report = self.device.find_output_reports()[0]
        #sleep(2000)
        buffer[1] = 0x02   # Testdata
        buffer[2] = 0x00   # Testdata
        buffer[3] = 0x01   # Testdata
        buffer[4] = 0      # Testdata
        buffer[5] = 0      # Testdata
        self.device.out_report.set_raw_data(buffer)
        self.device.out_report.send()
    else:
        print("saddly my device is not here... yet :-( ")

def on_close(self, event):
    event.Skip()
    if self.device:
        self.device.close()

if name == "main":
buffer = [0x00] * 65
buffer[0] = 0x00
root = Tk()

#frame = Frame(root)
#frame.pack()

#frame = MyFrame(None)
frame = MyFrame(root)
frame.pack()

root.title("HID test pywinusb with TKINTER 2022/05/08")
root.geometry("1800x1000")
root.geometry("1920x1000+-8+0")

#frame.Show()

root.mainloop()`


[SPARK-5325][SQL][WIP] Shrink the Hive shim layer

This PR shrinks the Hive shim layer significantly by the following means:

Re-implement some functions in a backwards compatible way, e.g. constant object inspector methods in WritableConstantObjectInspectors, and the FileSinkDescWrapper class
For some simple functions that are not performance critical, re-implemented them with reflection tricks.

Most functions are moved from HiveShim to HiveCompat. Constant object inspector related methods are moved to o.a.h.h.s.o.p.WritableConstantObjectInspectors because we need to call package private constructors.
Reflection utility function callWithAlternativies is introduced to simplify reflection tricks. It tries to invoke all provided reflected constructor calls, method calls, and static method calls one by one until one of them succeeds. For example, HiveDecimal objects are created via normal constructor in Hive 0.12.0, while HiveDecimal.create must be used in Hive 0.13.1. We can fix this by:
  def createDecimal(bd: JBigDecimal) = callWithAlternatives(
    // For Hive 0.12.0
    InvokeStatic[HiveDecimal](classOf[HiveDecimal], "create",
      classOf[JBigDecimal] -> bd),

    // For Hive 0.13.1
    Construct(classOf[HiveDecimal],
      classOf[JBigDecimal] -> bd))

Test build #25770 has started for   PR 4107 at commit c61bf86.

This patch does not merge cleanly.

Test build #25770 has finished for   PR 4107 at commit c61bf86.

This patch fails Scala style tests.
This patch does not merge cleanly.
This patch adds the following public classes (experimental):
  class FileSinkDescWrapper(val dirName: String, var tableInfo: TableDesc, var compressed: Boolean)
 trait ReflectedCall[T]
 case class Construct[T](clazz: Class[T], args: (Class[_], AnyRef)*) extends ReflectedCall[T]
  case class Invoke[U](clazz: Class[_], obj: AnyRef, methodName: String, args: (Class[_], AnyRef)*)
  case class InvokeStatic[U](clazz: Class[_], methodName: String, args: (Class[_], AnyRef)*)

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

Test build #25772 has started for   PR 4107 at commit e130d93.

This patch merges cleanly.

Test build #25772 has finished for   PR 4107 at commit e130d93.

This patch fails to build.
This patch merges cleanly.
This patch adds no public classes.

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

Test build #25777 has started for   PR 4107 at commit 774eb49.

This patch merges cleanly.

Test build #25777 has finished for   PR 4107 at commit 774eb49.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
  class FileSinkDescWrapper(val dirName: String, var tableInfo: TableDesc, var compressed: Boolean)
 trait ReflectedCall[T]
 case class Construct[T](clazz: Class[T], args: (Class[_], AnyRef)*) extends ReflectedCall[T]
  case class Invoke[U](clazz: Class[_], obj: AnyRef, methodName: String, args: (Class[_], AnyRef)*)
  case class InvokeStatic[U](clazz: Class[_], methodName: String, args: (Class[_], AnyRef)*)

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

Test build #25796 has started for   PR 4107 at commit fce0849.

This patch merges cleanly.

Test build #25800 has started for   PR 4107 at commit cb2edfb.

This patch merges cleanly.

Test build #25796 has finished for   PR 4107 at commit fce0849.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
  class FileSinkDescWrapper(val dirName: String, var tableInfo: TableDesc, var compressed: Boolean)
 trait ReflectedCall[T]
 case class Construct[T](clazz: Class[T], args: (Class[_], AnyRef)*) extends ReflectedCall[T]
  case class Invoke[U](clazz: Class[_], obj: AnyRef, methodName: String, args: (Class[_], AnyRef)*)
  case class InvokeStatic[U](clazz: Class[_], methodName: String, args: (Class[_], AnyRef)*)

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

Test build #25800 has finished for   PR 4107 at commit cb2edfb.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
  class FileSinkDescWrapper(val dirName: String, var tableInfo: TableDesc, var compressed: Boolean)
 trait ReflectedCall[T]
 case class Construct[T](clazz: Class[T], args: (Class[_], AnyRef)*) extends ReflectedCall[T]
  case class Invoke[U](clazz: Class[_], obj: AnyRef, methodName: String, args: (Class[_], AnyRef)*)
  case class InvokeStatic[U](clazz: Class[_], methodName: String, args: (Class[_], AnyRef)*)

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

@yhuai @marmbrus It would be great if you can help reviewing this when you have time. This is not super urgent though.

Sorry for the delay here.  We should probably close this issue though given the other refactorings that are planned to hopefully eliminate this layer completely.

Yeah agree. Closing this. Though the callWithAlternatives utility function can be very neat to do simple lightweight reflection tricks.


[FR] Pulling metadata from an external repository

I would like to run my own instance of the metadata-server and pull from an external repository that is public, but not owned by me. General use cases would be people running their own metadata registry copy of the cardano-foundation repository.

This is getting more critical.
@sevanspowell we're using the token.cardano.org for our API, however, we are getting rate limited heavily and there is no way for us to run our own metadata server.


Update version workflow

https://github.com/creek-service/creek-test/issues/30
Reviewer checklist

[ ] Ensure relevant issues are linked (description should include text like "Fixes #")
[ ] Ensure any appropriate documentation has been added or amended

Coverage remained the same at 98.817% when pulling 8b54d72108e26e979716391582c8fe17aa9b8031 on version_final into a95c50d64485b4faeaa93c4649014b70d9ce3431 on main.


Fix build errors with SPI flash on intel S1000 CRB

Related to recent changes in label name coming from DTS.

Codecov Report

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

@@           Coverage Diff           @@
##           master   #13021   +/-   ##
=======================================
  Coverage    48.7%    48.7%
=======================================
  Files         316      316
  Lines       47166    47166
  Branches    10905    10905
=======================================
  Hits        22974    22974
  Misses      19634    19634
  Partials     4558     4558

Continue to review full report at Codecov.

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


added Actions.RepeatAction

repeat last action
Description
Implementation of a feature described in issue 489.
Adds an ability to remember and repeat the last performed action.
Checklist

[X] I've read CONTRIBUTING.md

[X] I've considered how to best test these changes (property, unit,
manually, ...) and concluded: manually

[X] I updated the CHANGES.md file

Thank you!


theme_pomological() -> theme_test()

Thanks for this project, it's really awesome!

Oops - thanks so much for the catch! And thanks for having so many great repos that I could learn from to help me pull this together 😄


RO-3857 Fix tempest test results file name

Issue: RO-3857

recheck_release

I think the release job failure has a number of cards reporting it.

recheck_artifact

Tempest results now shown: https://rpc.jenkins.cit.rackspace.net/job/PR_rpc-openstack-master-xenial_no_artifacts-swift-deploy/54/testReport/


Make external event payloads strongly typed

Readiness checklist

[ ] I added/updated unit tests.
[ ] I added/updated integration tests.
[x] I ensured that the PR title is good enough for the changelog.
[x] I labeled the PR.

So far the payloads of the external events have been anonymous objects. This isn't ideal, so this PR introduces a subclass of ExternalEvent for each external event type.

I noticed that in DomainEvents.Incoming most of the files we have a Handle method and a CreateExternalEvents but in

IdentityDeletionProcessStartedDomainEventHandler
IdentityDeletionProcessStatusChangedDomainEventHandler
RelationshipStatusChangedDomainEventHandler

we don't follow this "pattern". So for consistency sake I would refactor the above three mentioned files to have a Handle and a CreateExternalEvents method. What do you think about this?

@tnotheis Thoughts on this? It seems you missed this one.

@HunorTotBagi Sorry, you're right. I didn't see that.
I just fixed it. I also renamed the methods so they contain the name of the event that is created. So if there is another external event created by the same domain event handler, we would do this in another private method.
Further, I moved the try/catch block to the Handle method, so that we don't have to catch exceptions in all of the private methods.
Btw: I think we could even remove the try/catch blocks, because the EventBus classes already log descriptive error messages. But I will not remove them in this PR.

@HunorTotBagi Sorry, you're right. I didn't see that.
I just fixed it. I also renamed the methods so they contain the name of the event that is created. So if there is another external event created by the same domain event handler, we would do this in another private method.
Further, I moved the try/catch block to the Handle method, so that we don't have to catch exceptions in all of the private methods.
Btw: I think we could even remove the try/catch blocks, because the EventBus classes already log descriptive error messages. But I will not remove them in this PR.

Thanks, I like the changes.
I also noticed that the naming of the parameters in the Handle and in the private methods are all different for example we can see domainEvent, @event and integrationEvent. We should choose in what method which naming to use and apply all over them.

I also noticed that the naming of the parameters in the Handle and in the private methods are all different for example we can see domainEvent, @event and integrationEvent. We should choose in what method which naming to use and apply all over them.

Done


Test API OpenDroneMap to achieve: "Select an Open Source functionality that allows to do photogrammetry, orthophography and point cloud" @afariasfermin

Integrate  OpenDroneMap API to add an Open Source functionality that allows to do photogrammetry, orthophography and point cloud


Training set for the gradio demo

Hi thanks for sharing this code! What dataset are you using for the gradio demo? Thank you!

The Gradio demo we are using is coco only. You can exactly reproduce with the given config https://github.com/UX-Decoder/Segment-Everything-Everywhere-All-At-Once/blob/v1.0/configs/seem/focall_unicl_lang_v1.yaml


Custom category archive is not shown

Environment

GitHub pages
Minimal Mistakes version: Git master
Ruby gem or remote theme version: ^-- see above
Jekyll version: 3.7.4
Git repository URL:

https://github.com/vqeg/software-tools/ – the original
https://github.com/QUALINET/databases/ – the new site

GitHub Pages hosted (if yes provide URL to site):

https://vqeg.github.io/software-tools/ – the original
https://qualinet.github.io/databases/ – the new site

Operating system: macOS 10.14

Expected behavior
I have an existing website at the first repository (https://github.com/vqeg/software-tools/) which uses the /tools link to show a simple overview of the categories, with a list of tools below that overview.
I achieved this by creating the page tools.md with a categories layout:
---
permalink: /tools/
layout: categories
header:
  overlay_image: /assets/images/computer-screen.jpg
  caption: "Photo credit: [Wikimedia Commons](https://commons.wikimedia.org/wiki/File:Reflections_on_computer_screen.jpg)"
---

# Tools

Please use the below list to filter tools by category.

The category layout exists in layouts/categories.html and shows an overview of categories:

The /tools page can be reached via permalink.
I now want a copy of this website for a different purpose, where instead of tool, the collection is named database. Nothing else should change. I expect my /databases permalink to show to a similar category overview.
Actual behavior
Instead of a list of categories at the URL /databases, I get only a list of "Recent databases", and it seems that the correct page isn't even loaded, as the header is missing:

I don't know where this "Recent" list comes from. It seems that the behavior between the two repositories differs, although I cannot see any differences in code or build environment.
Steps to reproduce the behavior
I copied the existing website, and renamed all occurrences of tool with database, deleting the existing posts and adding a dummy post.
Further info
Complete build with trace:

➜ bundle exec jekyll build --trace --verbose
  Logging at level: debug
Configuration file: /Users/werner/Documents/Projects/qualinet/databases/_config.yml
      GitHub Pages: github-pages v193
      GitHub Pages: jekyll v3.7.4
         Requiring: jekyll-github-metadata
Dotenv not found. Skipping
         Requiring: jekyll-seo-tag
         Requiring: jekyll-paginate
         Requiring: jekyll-sitemap
         Requiring: jekyll-gist
         Requiring: jekyll-feed
         Requiring: jemoji
         Requiring: jekyll-include-cache
         Requiring: jekyll-coffeescript
         Requiring: jekyll-commonmark-ghpages
         Requiring: jekyll-github-metadata
         Requiring: jekyll-relative-links
         Requiring: jekyll-optional-front-matter
         Requiring: jekyll-readme-index
         Requiring: jekyll-default-layout
         Requiring: jekyll-titles-from-headings
         Requiring: jekyll-remote-theme
   GitHub Metadata: Initializing...
            Source: /Users/werner/Documents/Projects/qualinet/databases
       Destination: /Users/werner/Documents/Projects/qualinet/databases/_site
 Incremental build: disabled. Enable with --incremental
      Generating...
      Remote Theme: Using theme mmistakes/minimal-mistakes
      Remote Theme: Downloading https://codeload.github.com/mmistakes/minimal-mistakes/zip/master to /var/folders/m6/mj4fjkpj2gj4s22zc3wfnchr0000gn/T/jekyll-remote-theme-20190524-87022-1n1q021.zip
      Remote Theme: Unzipping /var/folders/m6/mj4fjkpj2gj4s22zc3wfnchr0000gn/T/jekyll-remote-theme-20190524-87022-1n1q021.zip to /private/var/folders/m6/mj4fjkpj2gj4s22zc3wfnchr0000gn/T/jekyll-remote-theme-20190524-87022-1wsrlgs
       EntryFilter: excluded /README.md
       EntryFilter: excluded /Gemfile
       EntryFilter: excluded /Gemfile.lock
           Reading: _posts/2019-05-24-test.md
             Theme: Ignoring assets/css/main.scss in theme due to existing file with that path in site.
        Generating: JekyllOptionalFrontMatter::Generator finished in 3.2e-05 seconds.
        Generating: JekyllReadmeIndex::Generator finished in 6.0e-05 seconds.
       Jekyll Feed: Generating feed for posts
        Generating: JekyllFeed::Generator finished in 0.002851 seconds.
        Generating: JekyllRelativeLinks::Generator finished in 0.001537 seconds.
        Generating: JekyllDefaultLayout::Generator finished in 0.006359 seconds.
        Generating: Jekyll::Paginate::Pagination finished in 0.000884 seconds.
        Generating: JekyllTitlesFromHeadings::Generator finished in 0.015767 seconds.
        Generating: Jekyll::JekyllSitemap finished in 0.000965 seconds.
         Rendering: _posts/2019-05-24-test.md
  Pre-Render Hooks: _posts/2019-05-24-test.md
  Rendering Liquid: _posts/2019-05-24-test.md
  Rendering Markup: _posts/2019-05-24-test.md
  Rendering Layout: _posts/2019-05-24-test.md
   GitHub Metadata: Generating for qualinet/databases
   GitHub Metadata: No GitHub API authentication could be found. Some fields may be missing or have incorrect data.

 Auto-regeneration: disabled. Use --watch to enable.
      Remote Theme: Cleaning up /private/var/folders/m6/mj4fjkpj2gj4s22zc3wfnchr0000gn/T/jekyll-remote-theme-20190524-87022-1wsrlg

Some diffs:
➜ diff _pages/databases.md ../../vqeg/software-tools/_pages/tools.md
2c2
< permalink: /databases/
---
> permalink: /tools/
9c9
< # Databases
---
> # Tools
11c11
< Please use the below list to filter databases by category.
\ No newline at end of file
---
> Please use the below list to filter tools by category.
\ No newline at end of file

➜ diff _config.yml ../../vqeg/software-tools/_config.yml
19c19
< title                    : "QUALINET Databases"
---
> title                    : "VQEG Tools and Subjective Labs Setup"
22,25c22,25
< description              : "Subjective test databases"
< url                      : "https://qualinet.github.io" # the base hostname & protocol for your site e.g. "https://mmistakes.github.io"
< baseurl                  : "/databases" # the subpath of your site, e.g. "/blog"
< repository               : "qualinet/databases" # GitHub username/repo-name e.g. "mmistakes/minimal-mistakes"
---
> description              : "Software tools and guidance for the research community."
> url                      : "https://vqeg.github.io" # the base hostname & protocol for your site e.g. "https://mmistakes.github.io"
> baseurl                  : "/software-tools" # the subpath of your site, e.g. "/blog"
> repository               : "vqeg/software-tools" # GitHub username/repo-name e.g. "mmistakes/minimal-mistakes"
103c103
<   name             : "Qualinet"
---
>   name             : "VQEG"
200,201c200,201
< paginate: 20 # amount of posts to show
< paginate_path: /databases/page:num/
---
> paginate: 5 # amount of posts to show
> paginate_path: /tools/page:num/
235c235
<   path: /databases/
---
>   path: /tools/
267c267
<       layout: database
---
>       layout: tool

The only aspect that is different is that the first project is named software-tools and the categories page lives at /tools, whereas in the second project, the project is named databases and the categories page lives at /databases. Could that be an issue? Do the permalinks not resolve properly when they're using the same path as the project's name?

Your issue is content related. You have two pages that are both using the same permalink.
Your category page at _pages/databases.md which sets the permalink to /databases/. And then you have /databases/index.html which overwrites the category page with a "recent posts" page because it's using layout: home.
Delete the /databases/index.html file and your problem will resolve.

Thank you for spotting that! I can confirm it's working now.


Ensure commits are properly linked to the primary/destination account

This update addresses an issue with the reliability of git config user.name and git config user.email when running bash script.sh.
To ensure the correct attribution of commits, I have updated the script to include the following changes:

Added GIT_COMMITTER_NAME= and GIT_COMMITTER_EMAIL= to explicitly set the committer's information for each individual commit.
Included the --author flag for each commit. This is essential because GitHub differentiates the author from the committer. Without specifying --author, the commit may show one person as the author (often linked to my primary account) and another as the committer (probably set by git config user.name in my experience). For this case, the commits may not count as the primary account's contribution because it has a different committer.

Additionally, I removed the use of the # symbol in commit messages, as this inadvertently links to issues filed in the repository.

Accidentally pushed the commits generated by the script 🤣. sorry 'bout that.

Hahahahahha, I recommend create an extra repository.
In my case, I have a private repository called "apply-sync-graph" using the template, where I do push.
Don't worry. 🤣


feat(source): add new source copymanga

[!WARNING]
@Skittyblock
Not sure if i should make this source public: tachiyomiorg/tachiyomi-extensions#12376

up to you. if it works, it's probably fine to put up until we run into any issues.

up to you. if it works, it's probably fine to put up until we run into any issues.

okay! then i’ll open this pr after aidoku is updated. this source was written and tested with Aidoku/Aidoku@99d2907, it doesn’t work with current released version

json files should use tabs instead of spaces

done!
what happened to my code style 🫠


ST - V2 - Preview not working

When I click preview I get an error message in the new window.

I have a fix for this that can go out soon.


DB actions working only after app restart

Hi,
On Android emulator all the implementation from the example works as supposed but when installed on a real device the DB methods only work after closing and re opening the app.
The error from the debug console is
E/MethodChannel#flutter_mongo_stitch(32708): Failed to handle method call
E/MethodChannel#flutter_mongo_stitch(32708): kotlin.KotlinNullPointerException
After resatrting the app all works Ok.

I think this issue and also #30 caused by some issue, I'll try to figure out why asap. Thanks for the support!


Request Failed: {"url":"api/user/login","status":400,"data":{"description":"Invalid User Name or Password."

Describe Your Problem:
I cannot seem to get past the login step. I'm using Homebridge on Synology.  I keep receiving invalid user name or password results.
I used curl to see if it was actually an issue with my user/password and it looks like it's not. I was able to use Postman with this call successfully.  When I use the curl command in Homebridge terminal I get the Invalid Username or Password.    Downloaded hoobs on a raspberry pi and got the same issue with this plugin on there, however the curl command when ssh'd into hoobs worked.
curl --location 'https://auth-prod.api.wyze.com/api/user/login'
--header 'Content-Type: application/json'
--header 'apikey: myapikey'
--header 'keyid: mykeyid'
--data-raw '{"email":"myemail@myemail.com","password":"mypassword md5'd x3"}'
Logs:
[3/30/2024, 12:30:48 AM] [Wyze] Performing request: {"method":"POST","url":"api/user/login","data":{"email":"myemail@myemail.com","password":"mypassword"},"baseURL":"https://auth-prod.api.wyze.com","headers":{"x-api-key":"WMXHYf79Nr5gIlt3r0r7p9Tcw5bvs6BB4U8O8nGJ","apikey":"my api key","keyid":"my key id","User-Agent":"unofficial-wyze-api/1.1.7"}}
[3/30/2024, 12:30:49 AM] [Wyze] Request Failed: {"url":"api/user/login","status":400,"data":{"description":"Invalid User Name or Password.","requestId":"dbb7061f-2adc-484a-ae71-9c31f65eb57c","errorCode":1000},"headers":{"content-type":"application/json","transfer-encoding":"chunked","connection":"keep-alive","date":"Sat, 30 Mar 2024 05:30:49 GMT","x-ratelimit-remaining":"18","x-ratelimit-reset-by":"Sat Mar 30 05:38:48 GMT 2024","x-cache":"Error from cloudfront","via":"1.1 c68b898f33c21dc320564e472e8aaad2.cloudfront.net (CloudFront)","x-amz-cf-pop":"MCI50-P2","x-amz-cf-id":"SOJ28SexOlF0OLvnU4j1xaWKBzP4NdyHj6wFCVLe6NTb2Jl0SP0xyw=="}}
[3/30/2024, 12:30:49 AM] [Wyze] Error getting devices: AxiosError: Request failed with status code 400
Plugin Config:
{
"name": "Wyze",
"username"<EMAIL_ADDRESS>"password": "mypassword",
"keyId": "my key id",
"apiKey": "my api key",
"refreshInterval": 60000,
"hms": false,
"showAdvancedOptions": false,
"apiLogEnabled": true,
"pluginLoggingEnabled": true,
"lowBatteryPercentage": 30,
"excludeMacAddress": false,
"excludedeviceType": false,
"platform": "WyzeSmartHome"
}
Screenshots:
Environment:

Plugin Version: v0.5.46
Homebridge Version: 3.1.1
Node.js Version: v20.9.0
NPM Version: 10.1.0
Operating System: Synology DSM

Does your apikey or keyID have any special characters? There has been
issues with this.
Thanks Allen :)
On Sat, Mar 30, 2024 at 1:07 AM github-actions[bot] <
@.***> wrote:

Message that will be displayed on users' first issue
—
Reply to this email directly, view it on GitHub
https://github.com/jfarmer08/homebridge-wyze-smart-home/issues/241#issuecomment-2027934966,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEKHFBYZOGA5UWXPJIWM35DY2ZJCZAVCNFSM6AAAAABFPJQXTCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRXHEZTIOJWGY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***
com>

Does your apikey or keyID have any special characters? There has been issues with this. Thanks Allen :)
…
On Sat, Mar 30, 2024 at 1:07 AM github-actions[bot] < @.> wrote: Message that will be displayed on users' first issue — Reply to this email directly, view it on GitHub <#241 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEKHFBYZOGA5UWXPJIWM35DY2ZJCZAVCNFSM6AAAAABFPJQXTCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRXHEZTIOJWGY . You are receiving this because you are subscribed to this thread.Message ID: @. com>

Just the standard dashes in the Key ID.  I've regenerated the key a few times and tries those as well but result in the same error.

Installed homebridge on Pi and was able to get it to work.  Must be an issue with hoobs or the homebridge install on NAS.


Add support for context.Context in engines

PR #221 added support for passing context to high-level APIs. We should also pass them to the engine implementations. E.g. it’d be possible to pass context.Context to tikvengine (though currently there is no such engine, but the API maps well to the Genji engine definitions).
See also: #206

Should be a good first issue since presumably it only involves minor API changes (adding context.Context argument) and forwarding context to callees.

Working on the PR for this issue. I’ll push the changes in a day or so.


THREE version to r72 to solve #245

hi,
with the version updated the collision.html is working.

Just realized that this PR has never been approved or rejected: moreover I saw that a more recent PR solved the same issue and has been merged.
I spent a bit of my own time for this, it would be kind from you at least to decline the PR.
Thanks,
Pietro


Add Qt logo

Hmm, I used Pixelmator Pro to center the original SVG inside a 512x512 square viewport.
The original is from https://qtcompany.sharepoint.com/sites/Marketing-Public-Access/Shared Documents/Forms/AllItems.aspx?ga=1&id=%2Fsites%2FMarketing-Public-Access%2FShared Documents%2FQt Development Brand assets - Public%2FQt Logos%2FQt - Primary Logo%2FFor Designers and CMYK Printing%2FFor Screen - RGB%2FBlack&viewid=37b212b4-fb2d-43ed-ad9f-f7e2e0d99f69
https://www.qt.io/brand-internal/development/logo

I am an employee of The Qt Company

Does the original have the same issue with the point?

It seems so :grimacing:

Illustrator file in Inkscape, after moving one point by hand
But I (or whoever merges this) can easily just delete the point.
Does Qt qualify as open source thing?
Seems so (Wikipedia entry):

But I (or whoever merges this) can easily just delete the point.

Is that necessary? Can't we keep the SVG as is? Is it a problem that two points overlap?
If we remove the additional point, is it not possible that some SVG renderers may not "complete" the path, and miss a segment of the logo?

Does Qt qualify as open source thing?

Qt is an open source project, licensed under both open source licenses and commercial license by The Qt Company.

Thanks @Finii !!

If we remove the additional point, is it not possible that some SVG renderers may not "complete" the path, and miss a segment of the logo?

No, the other closed paths also do not have double points ;-)
I'm not sure might even be that fontforge would remove that point anyhow.
Nerdfonts for sure would ;-)

If we remove the additional point, is it not possible that some SVG renderers may not "complete" the path, and miss a segment of the logo?

No, the other closed paths also do not have double points ;-)
I'm not sure might even be that fontforge would remove that point anyhow. Nerdfonts for sure would ;-)

Thanks for the explanation :)

Note to the merger:
README is missing, but as we have a parallel 'almost ready' PR pending and still no automatic codepoint allocation on merge the merge would fail anyhow for one of the PRs.


Fixes #226 TomlTable.write() throws NoSuchElementException

Fixes #226 TomlTable.write() throws NoSuchElementExceptionthrows NoSuchElementException if children is empty

Glad to help! Thanks for making an awesome utility!

Glad to help! Thanks for making an awesome utility!

if you don't mind, may I would add you to our acknowledgement list?

if you don't mind, may I add you to our acknowledgement list?

I'd love that, thanks!


Add command to analyze .Net Standard 2 library against the missing of not implemented api by net461

After the final release of .netstandard2, there are about 43 API not supported by .NET Framework 461 as shown in this discussion
Using  a .netstandard2 library which use these APIs from within net461 projects, will raise an exception "not supported platform"
It's nice if ApiPort can help in warning for using these APIs in net461 projects.

@twsouthwick Is this related to #457?

Yeah, this would fix that. For now, I would expect running the library against the .NET 4.6.1 framework would give the desired results

Closing as API Port was deprecated in favor of binary analysis in .NET Upgrade Assistant.


Problem running djinni on ubuntu

Hi guys,
Great work on djinni and thank you for sharing this project. I've been trying to generate the project files on ubuntu but ran into some issues.
When I ran make example_android I got the following error:
dirname: missing operand
Try `dirname --help' for more information.
./example/run_djinni.sh
Already up to date: Djinni
Parsing...
Resolving...
Generating...
Copying generated code to final directories...
djinni completed.
ANDROID_BUILD_TOP= deps/gyp/gyp --depth=. -f android -DOS=android -Icommon.gypi         example/libtextsort.gyp --root-target=libtextsort_jni
/bin/sh: 1: deps/gyp/gyp: not found
make: *** [GypAndroid.mk] Error 127

Interestingly, under djinni folder, there's a gyp folder that looks like so gyp folder.
when I ran make example_ios i got the following
xcodebuild -workspace example/objc/TextSort.xcworkspace \
           -scheme TextSort \
           -configuration 'Debug' \
           -sdk iphonesimulator
make: xcodebuild: Command not found
make: *** [example_ios] Error 127

At least this generates a build_ios folder and there are xcodeproject in there.
Is there any HOWTO or walk through on how to get the example project generated in linux (ubuntu)
Note: in the example folder, djinni generates djinni-output-temp which has all the generated files for cpp,java, jni and objc along with the gen.stamp.
Thanks

Most of the examples and tests are designed to run on OS X only, which is the platform we develop on at Dropbox.  Only a subset are runnable on Linux, which is used by some developers in the community.
Djinni itself can build and run on Linux just fine, and I'm pretty sure that the example_localhost target will work on Linux.  In the test-suite directory, the java test suite should be Linux compatible.
The Android example could theoretically run on Linux, though I don't know if it's been tested or debugged there.  The problem you showed above looks to be because you don't have ndk-build in your PATH.  The iOS build isn't ever going to work on Linux, since Apple doesn't allow building for iOS on non-Apple platforms.

I gave up generating the projects on Ubuntu and Windows (with Cygwin) . I ended up with generating the projects on osx.
Having said that,  I was able to get djinni to compile on ubuntu.
Thanks for your help!


reduce console logging

this impacts running tests from a consumer of this
library - its too verbose
the debug library is a well known and used library
that if you set an ENV variable to DEBUG=tf:* the logs will come back
and see the Debug package readme for more information
FYI: this was tested by cloning local this repo on the fix branch.  then using npm link. And wow, so much nicer :)
step 1 from THIS repo
npm link

then in the dependant consumer project
npm link token-flow

I see debugMode in several components already. Normally node packages relay on NODE_ENV for env and Debug package is used for emitting based DEBUG env variable.
For code like
    constructor(
        items: Map<PID, ITEM>,
        tokenFactory: TokenFactory,
        downstreamWords: Set<string>,
        stemmer: StemmerFunction = Tokenizer.defaultStemTerm,
        addTokensToDownstream: boolean,
        relaxedMatching: boolean,
        debugMode: boolean
    ) {

In the body of that component, debug could also be enabled/disabled  such as
debug.enabled = true;

thing is, i believe need to make a decision on what debug mode means (behaviour) vs. emitting more diagnostic information. Seems like both right now.


frida-il2cpp-bridge in frida's emulated realm

Over the past couple of days, I have been attempting to use frida-il2cpp-bridge on an android app that only has arm64 native libraries with frida realms.
I have a script using frida-il2cpp-bridge that works when the app is running in Google Android Emulator using a arm64 system image (api 30, which is android 11) + the arm64 version of frida-server (16.0.11) on my m1 macbook (so arm native and the frida realm=NATIVE). So I know my script is working and I know the app doesn't have any anti-inspection/anti-debugging/anti-il2cpp-apis or whatnot.
I have been trying to use this same script when the app is running in Google Android Emulator using a x64 system image (api 30, which is android 11 with arm translation) + the x86 version of frida-server (16.0.11), however, I have encountered several roadblocks. TLDR: do you think frida-il2cpp-bridge should work with frida's realm feature. If you don't, that's fine I should be able to find an arm client other than my laptop to make it work. If you think this is something that should work, I would love  to here your thoughts on how I should continue debugging this as I don't know how I should continue. The debugging steps I have already tried are below.
if I attach the script to the game using
realm=frida.Realm.Native

then this is the output of the log statements I have in my local copy:
before init
before native wait for module
moduleNames=libil2cpp.so
this.modulePath=libndk_translation_proxy_libandroid_runtime.so
this.modulePath=libandroid_runtime.so
this.modulePath=libndk_translation_proxy_libandroid.so
this.modulePath=libandroid.so
this.modulePath=libndk_translation_proxy_libnativewindow.so
this.modulePath=libnativewindow.so
this.modulePath=libndk_translation_proxy_libEGL.so
this.modulePath=libEGL.so
<EMAIL_ADDRESS>
and the script hangs here indefinitely, not resolving anything.
"before init" statement is from right before this line
"before native wait for module" is from right before this line
the modulesNames are printed on this line
the module paths are each printed after the onEnter from the interceptor in the native wait for module
This all makes sense to me, because the app code is arm (translated by the x64 system image) and frida is running in the native realm (x86_64) it can't reach/touch the emulated code.
The logical solution to me was to attach the script to the game using
realm=frida.Realm.Emulated

then this is the output of the log statements I have in my local copy:
before init
before native wait for module
after native wait for module
outside of else statement line 130
_getCorlib start

r start, exportName=il2cpp_get_corlib, retType=pointer, argTypes=
exportedPointer=null
in cModule static get
In get UnityVersion1
in internalCall1
in resolveInternalCall1

r start, exportName=il2cpp_resolve_icall, retType=pointer, argTypes=pointer
exportedPointer=null
in cModule static get
In get UnityVersion1
in internalCall1
in resolveInternalCall1

r start, exportName=il2cpp_resolve_icall, retType=pointer, argTypes=pointer
exportedPointer=null
in cModule static get
In get UnityVersion1
in internalCall1
in resolveInternalCall1
...
[Error: Script is destroyed]

The after native wait for module comes from after this line and suggests to me that the libil2cpp.so was loaded correctly. But now it doesn't print the moduleNames=libil2cpp.so statement which means that the waitForModule in the initialize block must have resolved from this line. Which makes sense to me because the module libil2cpp.so should be loaded by the game process, so I don't think anything is wrong there.
The "outside of else statement line 130" statement comes from this line. And the "_getCorlib start" statement comes from the start of this method.
Everytime this.r is invoked the three parameters are logged. Here are the parts of the this.r method I changed for debugging:
  let exportPointer = Il2Cpp.module.findExportByName(exportName);
  console.log("exportedPointer="+ exportPointer);
  exportPointer = exportPointer  ?? this.cModule[exportName];
  console.log("exportedPointer2="+ exportPointer);

first it tries to do  Il2Cpp.module.findExportByName(exportName) and then it falls back to this.cModule[exportName], however as you can see, it never makes it that far because it doesn't reach that print. It never makes it past the first line of the static get cModule because it goes straight to checking the unity version. It never makes it past the first line of the static get unityVersion where it checks unity versions because the log statement right after it "In get UnitVersion2" is never printed. Likewise, it never makes it past the first line of internalCall because the statement "in internalCall2" is never printed. Instead it calls resolveInternalCall which ends up calling this.r("il2cpp_resolve_icall", "pointer", ["pointer"]); and the whole cycle repeats.
It just keeps repeating that loop for about 5 seconds before frida gives an error that the script was destroyed. I am not sure how I should proceed on debugging this, any advice/insight/documentation you could provide about the il2cpp api (it seems to just keep calling il2cpp_resolve_icall and I assume that is an il2cpp api but have not found any documentation about it) or if you could just tell me that this won't ever work because of various reasons would be greatly appreciated.

As a last ditch debugging effort, I was wondering if maybe the exports should be resolved by the Il2Cpp.module.findExportByName(exportName) call. I added this code to the this.r method:
for (let a of Il2Cpp.module.enumerateExports()) {
    if (a.name === exportName) {
        console.log(JSON.stringify(a));
    }
}

and sure enough the function is printed:
{"type":"function","name":"il2cpp_resolve_icall","address":"0x774042174924"}

but
Il2Cpp.module.findExportByName(exportName);

is still null. There seems to be some difference between module.enumerateExports() and findExportByName(exportName) so I think this might be a frida issue and not an il2cpp-frida-bridge issue?

Yeah, this is a known Frida issue (https://github.com/vfsfitvnm/frida-il2cpp-bridge/issues/160#issuecomment-1076413405) - here's a workaround: https://github.com/vfsfitvnm/frida-il2cpp-bridge/issues/160#issuecomment-1076761759-.
However I'm still interested at that hang...

Workaround:

(globalThis as any).Module = new Proxy(Module, {
    get(target, property, _): any {
        if (property == "findExportByName") {
            return (moduleName: string, exportName: string) => {
                return (Module as any).enumerateExports(moduleName).find((_: ModuleExportDetails) => _.name == exportName)?.address;
            };
        } else {
            return Reflect.get(target, property);
        }
    }
});

import "frida-il2cpp-bridge";

Il2Cpp.perform(() => {
    console.log(Il2Cpp.unityVersion, Process.arch);
};

Prints:
2021.3.20f1 arm

Closing as there is no action I can take.
I tried to reproduce the hang, and despite succeeding, it didn't seem to be related to frida-il2cpp-bridge.
If you are still facing issues, contact me on Discord (vfsfitvnm#7025) so we can share a debug session together.


Additional join cases for unsigned delegation when already joined pool

Issue Number
https://github.com/input-output-hk/cardano-wallet/issues/2200
Overview

a5ea2f4789d679594b1ccddfa4dd7aeb3afc2eb3
Additional join cases for unsigned delegation when already joined pool

Comments
Added additional checks to existing test rather than creating new one in order to save on execution time...

bors r+


Add Storage SCP option

To make it possible to send images using DICOM protocol (instead of HTTP-post per file)

Blocked by #1 as this would mean we implement this in the package as a command line option.


Swipe to dismiss is not reponsive or reactive after zoom

If you zoom in to a picture and then zoom out of a picture, then immediately go to try to swipe to dismiss the photo, nothing happens.  If you try to swipe to dismiss a second time then it works properly
It seems the first try to swipe to dismiss is not responsive; perhaps it is being interpreted as a pan motion rather then a swipe to dismiss motion?

@mark8044 Thanks for reporting. Is this on iOS, Android or both? Thanks!

I'm closing this since I could not repro this on either iOS or Android. Maybe you hadn't zoomed out all the way before trying to swipe to dismiss? Feel free to reopen if you get around to providing more information and repro steps. Thanks!
https://github.com/thesmythgroup/easy_image_viewer/assets/16358/e455da9b-3a1d-4229-97e1-47e8de80a77e
https://github.com/thesmythgroup/easy_image_viewer/assets/16358/c42db148-eb5a-463e-89da-cd5195ff2c9c


Mockups for new task display

This issue was spawned by https://github.com/gulpjs/gulp-cli/issues/39
Now that we have --tasks-simple and --tasks-json for tools to consume, we can re-envision what the output of --tasks can be.
I'd like some people to produce mockups for new display output of the task listing flag.
Things that must be supported in the mockup:

Display top level tasks prominently
Display nested task dependencies to all depths
Display the description next to each top level task but not on nested tasks
Display a list of flags for each top level task

Hi, @phated! I'm more of a designer than a developer, so my understanding of what is or isn't possible in the CLI may be lacking, but I was reading up on Gulp 4 this evening, stumbled across this issue and figured I'd throw a mockup into the mix.
I have two variations. The first one was inspired by @chmontgomery's screenshot from gulpjs/gulp-cli#39. I liked how the detailed list was able to stand on its own, slightly apart from the normal Gulp messages. That said, I missed the "tree" characters for denoting hierarchy, and I also wanted the flags to be visually distinct from the task names. So this was my first pass:

I liked this fine, but I kind of missed the old layout... the lack of an initial branch of the tree makes it a little more difficult to scan the topmost task names. And while I liked treating all the tasks consistently, I'm not sure it was successfully displaying the topmost tasks prominently.
So I brought it closer to what's there already, and since I was no longer relying on the blue to unify the tasks, played a bit more with using different colors to make the top-level tasks (and their flags) stand out:

No hard feelings if these miss the mark somehow! I :heart: Gulp and will happily continue using it regardless.

I think it looks amazing and very informative, good work!

@tylersticka wow, that 2nd one is amazing!  I will definitely be taking a look into implementing that design in the CLI.  Thank you so much.

:+1: for the second too. Good work @tylersticka!

The second one is amazing! @tylersticka

Thanks for the kind words! :blush:

:+1: for the second one.

Deferring to gulp-cli 1.2.0

I tried to achieve @tylersticka's  second image and finished.

This has been released with gulp-cli 1.2.0 - documentation on custom metadata (descriptions and flags) at https://github.com/gulpjs/gulp-cli#custom-metadata
Many thanks to @sttk and @tylersticka!!!


Docker cross compile fixes v2

Motivation for this change
#68900
cross-compiling docker on armv7l is still blocked by #50925 (btrfs-progs fails to cross-compile)
you can cross-compile docker for armv7l by overriding btrfs-progs = null.
cc @nspin
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

@FRidh thanks :)


Unexpected window.localStorage use in user module actions

Current behavior

https://github.com/DivanteLtd/vue-storefront/blob/6a81be54dc088654b717d0cc624a90acf487a489/core/modules/user/store/actions.ts#L17-L23
Expected behavior
Don't break abstraction level, use Vue.prototype.$db.usersCollection
Steps to reproduce the issue

Set default driver for user storage as INDEXEDDB
Set breakpoint to referenced code line
Make user register action
See how action tries to get current-user from localStorage instead of expected INDEXEDDB

Can you handle fixing this bug by yourself?

[ ] YES
[x] NO

Which Release Cycle state this refers to? Info for developer.
Pick one option.

[x] This is a bug report for test version on https://test.storefrontcloud.io - In this case Developer should create branch from develop branch and create Pull Request 2. Feature / Improvement back to develop.
[ ] This is a bug report for current Release Candidate version on https://next.storefrontcloud.io - In this case Developer should create branch from release branch and create Pull Request 3. Stabilisation fix back to release.
[ ] This is a bug report for current Stable version on https://demo.storefrontcloud.io and should be placed in next stable version hotfix - In this case Developer should create branch from hotfix or master branch and create Pull Request 4. Hotfix back to hotfix.

Environment details

Browser: Opera 60
OS: Windows 10 x64
Node: 10.15.3
Code Version: develop c5d6e8a

Thanks! In fact It should be changed


Run alongside gRPC (will not HTTP2)

Hello!
Most examples use Chi or similar for the frontend part that exposes the endpoints to the real world but I'd like to use gRPC (most specifically connect-go).
That is, especially because I want to be able to use bidi streams from the client to the main component.
But it seems that something in weaver.Listener is preventing me to upgrade connections to HTT2 (h2c) and I can't seem to be able to figure it out.
So far, I tried the following:

Using h2c.NewHandler(handler, &http2.Server{}
Using http2.ConfigureServer(server, h2s)
Configuring TLSConfig.NextProtos to accept h2

To no avail.
The only thing that worked so far was to create my HTTP server and call http.ListenAndServe and it did work and gRPC was working correctly but due to the fact that it is creating two replicas, it will end up failing because it can't bind the same port twice.
My question is specifically for gRPC but I'm assuming that anybody trying to use HTTP2 in any shape or form will encounter the same issue.
Do you happen to know what would be the best way to make it work?
Thank you very much for your time!

We're mostly focused on addressing the most critical issues right now.


chromium: 121.0.6167.139 -> 121.0.6167.160

Description of changes
https://chromereleases.googleblog.com/2024/02/stable-channel-update-for-desktop.html
This update includes 3 security fixes.
CVEs:
CVE-2024-1284 CVE-2024-1283
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

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

4 packages marked as broken and skipped:

archivebox
archivebox.dist
python312Packages.pytest-playwright
python312Packages.pytest-playwright.dist

2 packages failed to build:

sharedown
sitespeed-io

15 packages built:

aws-azure-login
chromium
chromium.sandbox
fast-cli
google-chrome
mermaid-cli
mermaid-filter
netflix
percollate
playwright-test
puppeteer-cli
python311Packages.pytest-playwright
python311Packages.pytest-playwright.dist
vhs
wayback

# git describe --abbrev=40
24.05-pre-30044-gbf576e6b59b9b5d46bf0e32d37cd437a093915c5
# nix-build nixos/tests/chromium.nix -A stable
/nix/store/vrmvi228ij5g7jkpddcrrv77kh1m08n2-vm-test-run-chromium-stable


Many algorithms do not have docstrings

Balanced, Entropy, Intermodes,MinimumError,  Minimum Intermodes, Moments,  Unimodal Rosin and Yen don't have docstrings

Many thanks for reporting this. Something seems to have gone wrong with the docstrings build process. I will have a stab at fixing this ASAP.


Supported Android version number shown as 10.0+

If this issue is for a new feature, please skip the "Bug" section and fill out the "Feature Request" section at the bottom.
Bug
At date of reading (26th September 2018), the documentation at https://github.com/edsnider/latestversionplugin#supported-platforms-and-versions shows
"Xamarin.Android | Yes | 10.0+"
That 10.0+ is presumably incorrect.
Expected behavior
A version number that is correct.
Actual behavior
Android version number shown as 10.0+
Steps to reproduce the issue
Read https://github.com/edsnider/latestversionplugin#supported-platforms-and-versions

Can you explain why you think 10.0+ is incorrect?


Add document with recommendations for custom CSI components

How to categorize this PR?

/area documentation ops-productivity
/kind enhancement
What this PR does / why we need it:
Add document with recommendations for custom CSI components.
Release note:

Added a document with recommendations when custom CSI components are deployed into shoot clusters.

/squash


Automate Performance Testing Numbers for Marathon

This is captured in the scope for dcos 1.10 testing automation effort


Wrong button size in the @carbon/web-components v2 beta

Description
Looks like there is a wrong button size in the @carbon/web-components v2 beta:
Note that I manually change the button size to 400px.
https://carbon-design-system.github.io/carbon-for-ibm-dotcom/beta/carbon-web-components-v2/?path=/story/components-button--default:

https://web-components.carbondesignsystem.com/?path=/story/components-button--default:

Component(s) impacted
Button
Browser
Chrome, Safari, Firefox, Microsoft Edge
Carbon for IBM.com version
v2 beta
Severity
Severity 1 = The design is broken in a critical way that blocks users from completing tasks or damages the brand. Affects major functionality, no workaround.
Application/website

Package
@carbon/web-components
CodeSandbox example

Steps to reproduce the issue (if applicable)
No response
Release date (if applicable)
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I checked the current issues for duplicate issues

Fixed with a flex-grow: 1; in the native part="button".

@abdonrd Could you provide any additional information on what you are expecting the button width to be?
Buttons are intended to be flexible, with a 64px padding on the right side, so the v2 storybook is working as expected.

Thanks for the answer, @oliviaflory!
When we apply a custom width (width: 400px;) to the button in v1, the button width is 400px:

(https://web-components.carbondesignsystem.com/?path=/story/components-button--default)
When we apply a custom width (width: 400px;) to the button in v2, the button width is 400px, but the blue background don't change:

(https://carbon-design-system.github.io/carbon-for-ibm-dotcom/beta/carbon-web-components-v2/?path=/story/components-button--default)
We expect to fill the 400px like:

@abdonrd thank you for the clarification. I will check with our development team to ensure the button is behaving correctly.
Please be sure to read the button alignment documentation from the Carbon website and ensure your use-case for defining a custom button width is following our guidance. It's unusual that we'd set a fixed width like 400px, but is difficult to know the context of the buttons placement without a screen shot of your in-product experience.

We would typically let the button width be defined by the text content within the button.
Alternatively the button can be "fluid" and align to the grid or other components.

@oliviaflory I can share this screenshot:

When we update to v2:

@kennylam going to pass this back to you to size and schedule. The screen shots immediately above show the issue they're having in context.

Sharing an example:
https://stackblitz.com/edit/vitejs-vite-1cq7x7?file=index.html

Closed by https://github.com/carbon-design-system/carbon-for-ibm-dotcom/pull/10615


Install

I got the following error upon install:
yarn install v1.22.10
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
error<EMAIL_ADDRESS>The engine "node" is incompatible with this module. Expected version ">=10". Got "8.12.0"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

@Btibert3 Kind update your NodeJS installation to a version above 10.


Enhancement - Add centroid georeference indicator

When I am here:

I want to see an indicator that if I don't georeference any further - that a centroid calculation of the selected geographic area will be applied, like so:

Experimented with this, it doesn't feel right here.  We're going to add a badge to reflect lat/long presence, and think of a way to display soft validations easily.

Closing for now.  Hexagon metadata was added as proxy.


Does not work with AzureRM 4.x: New setting "private_endpoint_network_policies_enabled" already replaced again

It seems the attribute private_endpoint_network_policies_enabled is no longer available and was replaced again by private_endpoint_network_policies.
Message using AzureRM 4.1.0 when setting private_endpoint_network_policies_enabled:
Error: Unsupported argument
on .terraform/modules/azurenetwork/main.tf line 28, in resource "azurerm_subnet" "subnet":
28:   private_endpoint_network_policies_enabled = each.value.private_endpoint_network_policies_enabled
An argument named "private_endpoint_network_policies_enabled" is not expected here.

Message using AzureRM 4.1.0 when not setting private_endpoint_network_policies_enabled:
Error: Invalid value for input variable
The given value is not suitable for module.azurenetwork.var.subnets declared at .terraform/modules/azurenetwork/vars.tf:32,1-19: element "default_subnet": attribute
"private_endpoint_network_policies_enabled" is required.

Fixed in #8


Retrieving data

Hi,
I would like to thank the author for his huge contribution to the community - Thanks.
In addition, I would like to know how can I retrieve data from Google after the login (Username, Email etc...)
Regards,
Yair

If getToken and userInfo are functions in the googleapi object, what is the code that should be inserted into these functions? From your snippet above, noting is actually happening if these functions don't exist in the googleapi object.
Thanks in advance


Out of memory when translate to Objective C code

Since Java and Objective C have different memory management, I have memory problem when translate to Objective C code. The code works perfectly in JVM, it only cost 100MB when running but it cost 3.85GB when running on iOS devices
I am going to describe about it:
Now let's write a simple Java code, it demonstrates for the program need a lot of memory to execute.
package com.example.myapplication;

public class Foo {

    public void bar() {

        for (int i = 0; i < 100000; i++) {
            int[] fooBar = new int[10000];

            // avoid compiler warning
            fooBar[1] = 0;
            System.out.println(fooBar[1]);
        }

    }
}

Open Android profiler with sample Android app below:
package com.example.myapplication;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        new Thread(new Runnable() {
            @Override
            public void run() {
                new Foo().bar();

                try {
                    Thread.sleep(1000 * 60);
                } catch (Exception e) {
                    e.printStackTrace();
                }
                System.out.println("Completed");
            }
        }).start();
    }
}

The image below shows that memory usage do not increase too much because Java's garbage collector clean the memory of array fooBar immediately after complete one iteration of for loop (no variable references to fooBar)
Now I translate this Java code to ObjC and run it in iOS simulator
// ...

@implementation ComExampleMyapplicationFoo

J2OBJC_IGNORE_DESIGNATED_BEGIN
- (instancetype)init {
  ComExampleMyapplicationFoo_init(self);
  return self;
}
J2OBJC_IGNORE_DESIGNATED_END

- (void)bar {
  for (jint i = 0; i < 100000; i++) {
    IOSIntArray *fooBar = [IOSIntArray arrayWithLength:10000];
    *IOSIntArray_GetRef(fooBar, 1) = 0;
    [((JavaIoPrintStream *) nil_chk(JreLoadStatic(JavaLangSystem, out))) printlnWithInt:IOSIntArray_Get(fooBar, 1)];
  }
}
@end
// ...

import UIKit

class ViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

        DispatchQueue(label: "abc").async {
            ComExampleMyapplicationFoo().bar();

            usleep(1000000 * 30)
        }
    }

}

Open the profiler

We can see the memory usage increase too much (over 3.8GB). This problem occurs because the memory management of Objective C only releases object when exit async block (the generated code didn't use ARC, so it will create autorelease object). In general, objects in the autorelease pool are released at the end of an iteration of the main runloop.
I found a solution that can help avoid this problem: manual using NSAutoreleasePool
Let's refactor the code
- (void)bar {
    for (jint i = 0; i < 100000; i++) {

        NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];

        IOSIntArray *fooBar = [IOSIntArray arrayWithLength:10000];
        *IOSIntArray_GetRef(fooBar, 1) = 0;
        [((JavaIoPrintStream *) nil_chk(JreLoadStatic(JavaLangSystem, out))) printlnWithInt:IOSIntArray_Get(fooBar, 1)];

        [pool drain];

    }
}

Now rerun the application

Reference: https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/MemoryMgmt/Articles/mmAutoreleasePools.html

Thanks for the detailed analysis. The J2ObjC annotation AutoreleasePool is provided exactly for this type of scenarios.
https://github.com/google/j2objc/blob/master/annotations/src/main/java/com/google/j2objc/annotations/AutoreleasePool.java

You’ll want to read through https://developers.google.com/j2objc/guides/memory-management

I didn't notice that j2objc support @Autoreleasepool annotation. Thanks for your support.


ci: update vcpkg version

@coryan - I don't think I ever managed to test this, but this is what the bigtable update could/should look like: https://github.com/GoogleCloudPlatform/functions-framework-cpp/pull/359/commits/1aac2324ca868aa0543be08375d25dd3f023732f

this is what the bigtable update could/should look like

I didn't see your commit (https://github.com/GoogleCloudPlatform/functions-framework-cpp/pull/375/commits/b486b762cf0e0abcaa314637c1e22d657ebc9256) when I added my comment. I can make the changes I want in a follow up PR after vcpkg is updated.

I will be making more changes to the spanner, bigtable, and Pub/Sub examples to use more modern initialization (e.g. google::cloud::Options instead of *ClientOptions, and cache the connection but not the resource name).

Ugh.  I need to update the buildpack to get a newer vcpkg with a newer google-cloud-cpp.   Which is not fun because that change won't be atomic... and the deprecation warnings break the build...  Need to think.  And I need to make the minimal changes first anyway.


Management UI

The goal of this step is to deploy or develop a Web app that can be used to monitor and update your Web infrastructure dynamically. You should be able to list running containers, start/stop them and add/remove instances.

you use an existing solution (search on Google)
for extra points, develop your own Web app. In this case, you can use the Dockerode npm module (or another Docker client library, in any of the supported languages) to access the docker API.

Acceptance criteria

[ ] You can do a demo to show the Management UI and manage the containers of your infrastructure.
[ ] You have documented how to use your solution.
[ ] You have documented your configuration in your report.

The existing solution would be Portainer-CE


Ability to change battery use times in inverter settings

Is your feature request related to a problem? Please describe.
I’m guessing this won’t be possible, as I haven’t seen any APIs anywhere that can push new settings to the inverter, but thought I’d ask!
I have my DC battery set to discharge only during certain times.  At night when I charge my EVs, the battery is set to not discharge, as I don’t want to charge the EVs from the house battery.  I can change the settings using the SolaX app (after entering a four digit PIN).
It would be nice to be able to dynamically change the times the battery discharges through the Home app.  Even a “Dicharge / Not discharge” button that merely changes the discharge times on the inverter would be awesome.
Have you seen anything that would allow for this?

No I haven't seen anything, but if you ever do come across details of an API that allows this, send it through, and I'll see what i can do.
I modelled some of this plugin off of a Home Assistant extension, but didn't see anything about controlling the inverter - but a cool idea!


Delete and fixed a lot of dumb stuff I did in expand_or_contract

Merged. Can you merge from master into develop? There are some conflicts between this change and the smoothing code.

I'll try, still don't understand github well.


Add Nothing struct to help serialization.

This is a struct to replace the use of () to represent the absence of data in a *Params of Response associated type of Endpoint.
Contrarily to (), it is guaranteed to be properly serialized by serde_json and serde_urlencoded, to "{}" and "" respectively. Same goes for deserialization.
The name of the struct is open for bikeshedding, I'm not entirely convinced by Nothing to be honest.

Thanks for figuring out a possible solution for this. I think some projects have used the name "Void" for a type like this. "Nothing" also seems okay to me, though. I'm not totally sure this is the approach we want to take, so I'll just leave it open for discussion for now. We can keep playing around with alternative approaches, too.

Regarding the name, after some thought, I'm not convinced by Void either : this name is mostly used for enum Void { }, which is a type that cannot be instantiated, while the struct added by this PR can (and need to) be instantiated. Maybe a name like NoContent would be more appropriate?
As for the main rationale in favor of this possible solution: I believe it would allow avoid a lot of special-casing in the serialization & deserialization code, probably both server-side and client-side of the APIs. Without such a struct, we'll need to handle the "there is no params of this kind"/"the response is empty" in a special way.

How about having more specific names for the different use cases? I could imagine having NoParams and EmptyResponse or EmptyResponseBody, or maybe even four individual ones.

Asking on /r/rust for additional ideas: https://www.reddit.com/r/rust/comments/5o89f6/optional_associated_types/

No longer needed with the latest API on master.


Add a shortcut to restart the console

Description of the new feature/enhancement

In Setting.json, set "ssh cinnamon@roll" for "commandline" and start the terminal, and when it exits with a timeout, process ended with exit code 255 will be displayed.
In this case, I have to reopen the pane again to connect again.
So, I would like you to add a shortcut to restart the console.

Thanks for the suggestion! This is actually already being tracked by another issue on our repo - please refer to #3726 for more discussion.
/dup #3726
See also  #4772


Output Channel Size

In Unet definition, (last): Conv2d(64, 2, kernel_size=(1, 1), stride=(1, 1)) but, shouldn't be
(last): Conv2d(64, 1, kernel_size=(1, 1), stride=(1, 1))? Aren't we expecting one image in the end? Could you explain?
Thanks.

If you are doing binary classification, you can either use a single output channel with sigmoid activation or 2 outputs with softmax activation.


Don't use environment variable prefix ETCD_ for non standard etcd environment variables in systemd unit

As they make etcd logs the following messages:
Oct 12 13:14:07 tink-controller-0 96c53009bb40[846]: 2020-10-12 13:14:07.754467 I | pkg/flags: recognized and used environment variable ETCD_PEER_CLIENT_CERT_AUTH=true
Oct 12 13:14:07 tink-controller-0 96c53009bb40[846]: 2020-10-12 13:14:07.754482 I | pkg/flags: recognized and used environment variable ETCD_PEER_KEY_FILE=/etc/ssl/etcd/etcd/peer.key
Oct 12 13:14:07 tink-controller-0 96c53009bb40[846]: 2020-10-12 13:14:07.754511 I | pkg/flags: recognized and used environment variable ETCD_PEER_TRUSTED_CA_FILE=/etc/ssl/etcd/etcd/peer-ca.crt
Oct 12 13:14:07 tink-controller-0 96c53009bb40[846]: 2020-10-12 13:14:07.754529 I | pkg/flags: recognized and used environment variable ETCD_STRICT_RECONFIG_CHECK=true
Oct 12 13:14:07 tink-controller-0 96c53009bb40[846]: 2020-10-12 13:14:07.754555 I | pkg/flags: recognized and used environment variable ETCD_TRUSTED_CA_FILE=/etc/ssl/etcd/etcd/server-ca.crt
Oct 12 13:14:07 tink-controller-0 96c53009bb40[846]: 2020-10-12 13:14:07.754569 W | pkg/flags: unrecognized environment variable ETCD_IMAGE_TAG=v3.4.13
Oct 12 13:14:07 tink-controller-0 96c53009bb40[846]: 2020-10-12 13:14:07.754596 W | pkg/flags: unrecognized environment variable ETCD_IMAGE_URL=quay.io/coreos/etcd
Oct 12 13:14:07 tink-controller-0 96c53009bb40[846]: 2020-10-12 13:14:07.754605 W | pkg/flags: unrecognized environment variable ETCD_SSL_DIR=/etc/ssl/etcd
Oct 12 13:14:07 tink-controller-0 96c53009bb40[846]: 2020-10-12 13:14:07.754615 W | pkg/flags: unrecognized environment variable ETCD_USER=etcd

I think the title is misleading. It should say we should not use ETCD prefix for the env vars that are not standard etcd env vars.

Happy to take a stab to update files per github search for ETCD_IMAGE_TAG if we know what else to use?
Perhaps:

LOKOMOTIVE_ETCD_IMAGE_TAG ?
CUSTOM_ETCD_IMAGE_TAG ?
Other?

I'm fine with just IMAGE_TAG. etcd is implied from the context I think.


Custom survey audits are not accessible from the backend

Right now, tasks like batchAuditInterviews can only be run from the custom survey, since evolution-backend does not have access to the survey custom audits/validations.

What are you referring to with the "custom audits/validations"? The widget validations?


Check js-templates in case it was already loaded

If js-templates is loaded twice, it will break because Prism.languages.javascript['template-string'] will be changed from a regexp to an Array.
Would not happen in normal scenarios, but it  breaks the optimized module loader I'm writing and the extra check would not harm function and the bundle size impact is minimal.

If js-templates is loaded twice

That's the problem. You can't just load a language twice, Prism's languages aren't guaranteed to be okay with that. To be fair, most languages will continue to work but it's not guaranteed.
If you want to load a language again, you have to honor its dependencies to other languages. In this case, JS templates modifies JS, so JS has to be reloaded too (assuming that only JS and JS templates are loaded, it gets more complex when more languages are involved).
For more information about dependencies, see this section of our docs.

Since this PR is solving a problem that will only occur if Prism is used incorrectly, I will reject this PR.


🚀 - cvc code should be hidden for InputCardGrouped

Description
We need to add an option to hide cvc code input for the component.
Some clients request this feature
Thank you

I suppose we can add a flag to hide value using this CSS rule:
https://developer.mozilla.org/en-US/docs/Web/CSS/-webkit-text-security
It is now finally supported by Firefox.