Skip to content

Instantly share code, notes, and snippets.

View chunhualiao's full-sized avatar
🎯
Focusing

Chunhua Liao chunhualiao

🎯
Focusing
View GitHub Profile
@chunhualiao
chunhualiao / founder visa.md
Created February 26, 2025 10:17
visa for startip founders

are there visa programs in usa to attract and retain foreign entrepreneurs who start high tech startup companies and secure significant investments?

Key Points

  • Research suggests there are visa programs in the USA for foreign entrepreneurs starting high-tech startups with significant investments, including the International Entrepreneur Rule (IER), EB-5, and E-2 visas.
  • The IER offers temporary stay for up to five years, requiring substantial ownership and US investments, suitable for high-tech startups.
  • The EB-5 program provides a path to permanent residency with a $1 million investment (or $500,000 in certain areas) and job creation, appealing for long-term retention.
  • The E-2 visa, for treaty country citizens, allows temporary management of investments, potentially benefiting high-tech entrepreneurs.
  • An unexpected detail is that companies like Apple might buy these cards for top talent, expanding corporate influence in immigration.

Visa Programs Overview

@chunhualiao
chunhualiao / deep search.md
Created February 25, 2025 00:47
deep search or deep research systems

what are the cutting edge designs used to build "deep search" or "deep research" systems using large language models in 2025 ?

grok-3 deep search results:

Key Points

  • Research suggests that cutting-edge designs for deep search systems using large language models (LLMs) in 2025 heavily rely on advanced Retrieval Augmented Generation (RAG) techniques.
  • It seems likely that these systems integrate real-time data retrieval, hybrid search models, and multimodal content handling for enhanced accuracy and relevance.
  • The evidence leans toward personalized implementations and on-device AI for privacy, with sparsity techniques improving efficiency.
  • There is ongoing debate about balancing computational costs and data security in these systems.

what will humans do when AI and robots can do everything much better than humans do?

When AI and robots surpass humans in all tasks, humanity will face a transformative shift across multiple dimensions. Here's a structured exploration of potential outcomes and adaptations:

1. Economic and Policy Shifts

  • Universal Basic Income (UBI): To address job displacement, societies may implement UBI, ensuring financial stability without traditional employment. This could decouple income from labor, allowing people to focus on non-economic pursuits.
  • Redistribution and Taxation: Policies like wealth taxes on AI-driven enterprises or resource-sharing models (e.g., public ownership of AI infrastructure) could mitigate inequality.
  • New Economic Metrics: Success might shift from GDP to well-being indicators, such as health, education, and environmental sustainability.

2. Redefining Work and Purpose

grok-3 deep search

what are the most difficult problems for humanity right now?

Key Points

  • State-based armed conflict is the top challenge, causing widespread suffering and instability.
  • Extreme weather events, driven by climate change, are disrupting lives and economies.
  • Misinformation and disinformation are polarizing societies and eroding trust.
  • Societal polarization threatens social cohesion and democratic institutions.
  • Economic downturns are leading to hardship and could worsen other issues.

Deepseek: 30 Highest Return Life Investments

These are 30 high-return life investments, ranked in priority order with detailed explanations to help you maximize your life benefits with minimal input.


First Tier: Survival Fundamentals (Non-Negotiable)

  1. Maintain Regular Sleep (7-9 Hours/Day)
    • Lack of sleep reduces decision quality by 30% (Harvard Medical School).
    • Long-term night owls have a 65% higher risk of Alzheimer's.
  • Quality sleep is like free body system repair.
@chunhualiao
chunhualiao / pdf to latex.md
Created February 22, 2025 13:12
pdf to latex conversion

Yes, arXiv allows users to access the LaTeX source files of many papers. To download the source files for a specific paper, navigate to the paper’s abstract page on arXiv, click on “Download” and select “Other formats,” then choose “Download source.” This will provide a file, often without an extension, containing the source materials. You may need to rename this file to add a .tar.gz extension and then extract its contents using a suitable archive tool. 

Please note that not all papers have their source files available; the availability depends on the authors’ submissions. Additionally, arXiv offers bulk access to full-text content, including LaTeX source files, through AWS for those interested in large-scale data. 

For downloading multiple papers’ LaTeX sources efficiently, tools like arxiv2latex can be helpful. This tool automates the process, allowing users to download the source code of multiple arXiv papers with a single click. 

Keep in mind that while accessing source files can provide deeper

@chunhualiao
chunhualiao / ai co-scientist.md
Last active February 22, 2025 06:21
co-scientist

generate 50 question-answer pairs to capture the key insights and know-hows of this paper. The questions can be used to measure how much understanding a reader has about this paper's key insights and know-hows:

Below are 50 question-and-answer pairs designed to help a reader check their understanding of the paper's core insights, methods, and findings.

  1. Q: What is the primary goal of the AI co-scientist introduced in the paper?
    A: Its goal is to collaborate with human researchers by generating novel, testable research hypotheses and proposals, helping scientists accelerate discovery.

  2. Q: Why is the system described as a multi-agent system?
    A: It employs multiple specialized agents—Generation, Reflection, Ranking, Evolution, Proximity, and Meta-review—each handling distinct tasks like hypothesis creation, debate, refinement, and ranking.

@chunhualiao
chunhualiao / llm correctness.md
Last active February 20, 2025 21:00
llm correctness

what are the state of the art techniques to ensure large language models output correct answers?

Key Points

  • Retrieval Augmented Generation (RAG), fine-tuning, advanced prompt engineering, Reinforcement Learning from Human Feedback (RLHF), and fact-checking are top methods to ensure LLMs output correct answers.
  • RAG uses external knowledge to reduce errors, while fine-tuning adapts models for specific tasks.
  • Advanced prompt techniques like Chain of Thought help models reason step-by-step for accuracy.
  • RLHF aligns models with human preferences, improving truthfulness, and fact-checking verifies outputs.

What Are the Main Techniques?

Large language models (LLMs) can sometimes give wrong answers, but several modern techniques help ensure they are accurate. Here’s how they work in simple terms:

what are best benchmarks designed to test AI for generating comments of source code written in C++?

步骤拆解

好的,我现在需要解决的问题是:“what are best benchmarks designed to test AI for generating comments of source code written in C++?”。首先,我要理解用户的需求。他们想知道有哪些最好的基准测试工具或方法,用于评估AI生成C++源代码注释的能力。

接下来,我应该分解这个问题。首先,可能需要明确什么是代码注释生成的基准测试。然后,找出现有的基准测试工具或框架,特别是针对C++的。此外,可能还需要了解这些基准测试的标准和评估指标,比如准确性、相关性、可读性等。另外,是否有学术研究或行业报告推荐过这些基准测试,这也是需要考虑的。

可能的子问题包括:现有的代码注释生成基准测试有哪些?这些基准测试是否专门针对C++?它们的评估标准是什么?是否有相关的研究论文或资源推荐这些基准测试?此外,可能还需要比较不同基准测试的优缺点,以确定哪些是最适合的。

@chunhualiao
chunhualiao / innovative proposal ideas.md
Created February 16, 2025 05:09
innovative proposal ideas

please suggest a set of prompts a researcher can try to get innovative ideas out of large language models when writing research proposals for a given topic, and explain why such prompts can be effective:

Here’s a curated set of prompts designed to elicit innovative ideas from large language models (LLMs) for research proposals, along with explanations of their effectiveness:


1. Challenging Assumptions

Prompt: "What untested assumptions underlie current approaches to [topic], and how could overturning them lead to groundbreaking research?"
Why Effective: This forces the LLM to identify foundational beliefs in the field, exposing gaps or biases. By questioning the status quo, researchers can reframe problems and explore radical hypotheses.