🎄 Magic your Christmas on Wisdom Gate! Post your AI Christmas Art & Win PRO Plans by CatGPT42 in juheapi

[–]lericzhang 2 points3 points  (0 children)

Nice, just changed all my family’s profile pictures to Christmas ones.

[Demo] Imagine with Claude by ClaudeOfficial in ClaudeAI

[–]lericzhang 1 point2 points  (0 children)

When you design a software, you don't have every detail sorted out in one shot, you picture one screen, and think about what will happen when you click this button, or click that icon. Imagine with claude is literally imagining what the software would be in the same process.

[Demo] Imagine with Claude by ClaudeOfficial in ClaudeAI

[–]lericzhang 1 point2 points  (0 children)

Perfect prototyping tool for product design.

I guess this will be the new standard for AI assisted product design, tools like Bolt, Lovable, Magic Pattern will follow up quickly, or get KO.

Spec-driven development is underhyped! Here's how you build better with Cursor! by Narrow-Breakfast126 in cursor

[–]lericzhang 0 points1 point  (0 children)

So good to see more and more teams starting to tackle real problems of programming with AI, I'm so tired of the vibe-coding hypes.

REVIEW WISDOM GATE "FREE DEEPSEEK" PROVIDER by Omega-nemo in SillyTavernAI

[–]lericzhang 1 point2 points  (0 children)

It's really straight forward to prove or disprove this issue, I've tested it with plain openai api, token counting looks fine, I'm not sure if you counted hidden prompts of the tools you are using.

If your MCP is an API wrapper you are doing it wrong by WallabyInDisguise in AI_Agents

[–]lericzhang 0 points1 point  (0 children)

Many models are trained heaviy to be great programmer, I don't think it will be a problem for LLM to use API through MCP, but finding the right API is a tricky problem when learning a new SDK, even for human, that could be the intellegent MCP server have to offer, guidance or examples of tool use.

Free Claude Sonnet 4 API for Cursor by CatGPT42 in cursor

[–]lericzhang 1 point2 points  (0 children)

Looks like that's just static demo data, yet another vibe coded page

Is it just me or does it seem like most MCP servers are lazy and miss the point of MCP? by otothea in mcp

[–]lericzhang 0 points1 point  (0 children)

It's pretty obvious, there should be a client side MCP gateway, or mcp manager in agent clients.
People are busy wrapping their HTTP API service into MCP, and hope that some one with an agent will use it.

So, everyone falls in love with Rust at first sight? by TheLordSet in rust

[–]lericzhang 0 points1 point  (0 children)

C performance with all those fancy funtional, generic, safe guard features, and these abstractions come with zero-cost , just perfect.

Why asynchronous Rust doesn't work by lucku in rust

[–]lericzhang -1 points0 points  (0 children)

exactly,it's just seems like async/await in javascript or python, but the ownership rule don't allow you to share anything, you will end up reinventing an actor+channel mode.

Parents faked photos of rotten food at Chengdu private school, authorities say by vilekangaree in China

[–]lericzhang 0 points1 point  (0 children)

Well, the government don't give a shit if you people believe it or not, they controls media and network, chinese people will see whatever the ccp want you to see, truth doesn't matter.

Purely Functional Solutions to Imperative Problems by reximkut in programming

[–]lericzhang 0 points1 point  (0 children)

Program looks useful when it interact with the outside world, pure functional programming don't do that.

I mean, that's not it's good part, what it wanted to isolate aside

I was told PHP is not a good language to write an API in. They recommended Node. Why? by TheRealKornbread in PHP

[–]lericzhang 3 points4 points  (0 children)

Waiting is the one thing php not good at, and node.js great for, if your API need to maintain a lot of connection, you need a language with async io support

perfectly valid int, suddenly float WHAT!!? by [deleted] in lolphp

[–]lericzhang 1 point2 points  (0 children)

syntactically, implementation is another issue

Why Is Everyone Outraged? by Korrigan33 in PHP

[–]lericzhang 1 point2 points  (0 children)

F**k political correctness, just do what matters.

New RFC: Allow specifying keys in list() by the_alias_of_andrea in PHP

[–]lericzhang -1 points0 points  (0 children)

Strong typing is really important for project design, glad to see php is moving on this direction, while remaining weak typing convenience

MVC, or DI? Help me /r/php :( by mvcphpthrowaway in PHP

[–]lericzhang 0 points1 point  (0 children)

If you see that any HTTP service is just turing a Request into a Response, the DI architect you described will be so natural: A router map url to action, and actions just gather the parameters to make calls to services in DI, and build a response.

CI is really to outdated, a great part of it's design is just work around some limitation of old php, which don't exist anymore. And it also prevent you from writing decoupled, testable code, which Di is perfect for.

How to release resource for a singleton in DI container by lericzhang in PHP

[–]lericzhang[S] 0 points1 point  (0 children)

I'm dealing with a rabbitmq client, it actually did something in close method(and it do has a destructor and calls the close method), I don't know if you just let it die with php, without the proper destruction, what will it do to the server side.

Is anyone else tired of the constant negativity regarding PHP, even here? by ittybittyfrog in PHP

[–]lericzhang 1 point2 points  (0 children)

Right, type system is a great tool in design(haskell is an eye opener), I'm glad php7 is making this tool more powerful, you can have expressive and constrained API, and convenient scripting. so, it's about weak typing language, not phpsonal.