HNHacker News
TopNewBestAskShowJobs

vykthur

47 karma · joined November 7, 2019

submissionscomments
vykthur··on Show HN: Rentalytics – Find rental property deals that actually make money
This is pretty cool. I can see it saving users a bit of time. Feedback - it might be worth adding an info button on what DSCR is and how your tool is calculating it (seems like a critical bit to understand to really get the value of your tool)
vykthur··on OpenAI adds MCP support to Agents SDK
I tend to agree here. Alot of the use cases are around STDIO and using MCPs within existing apps like Cursor/Windsurf etc. Most developers want to build and integrate their own tools and the complexity required here (build out the server, bundle a client, and the additional latency) is probably not worth the ROI. There also seems to be a notion that security is "handled" by MCP which might be premature. I mean, there are several good decisions in the standard (tls with sse, sampling etc), but critical choices around auth and scope for agents or 3rd party mcp providers are still wide open IMO.

Overall, a step in the right direction, but still early. I wrote more on this here. https://newsletter.victordibia.com/p/no-mcps-have-not-won-ye...

vykthur··on OpenAI adds MCP support to Agents SDK
the blog is hosted on substack which supports feeds.

https://newsletter.victordibia.com/feed

vykthur··on OpenAI adds MCP support to Agents SDK
I tend to agree with this.

No, MCP's have NOT Won (Yet) https://newsletter.victordibia.com/p/no-mcps-have-not-won-ye...

vykthur··on OpenAI adds MCP support to Agents SDK
This a good characterisation of functionality MCP might enable. Thanks.

In your opinion, what percentage of apps might benefit from this model where end users bring their own MCP tools to extend the capabilities of your app. What are some good examples of this - e.g., a development tool like Cursor, WindSurf likely apply, but are there others, preferable with end users?

How is the user incentivized to upskill towards finding the right tool to "bring in", installing it and then using it to solve their problem.

How do we think about about the implications of bring your own tools, knowing that unlike plugin based systems (e.g,. Chrome/extensions), MCP servers can be unconstrained in behaviour - all running within your app

vykthur··on [dead]
Fully multimodal on the input side: The same model can take in text, images, audio tokens, reason about them, and generate text as outputs.

Compact yet powerful: At just 5.8 billion parameters, this model can be optimized for deployment worldwide. As the official blog post mentions, it "delivers highly efficient low latency inference, all while optimizing for on-device execution and reduced computational overhead."

vykthur··on Can LLMs write better code if you keep asking them to “write better code”?
True. And that is a step forward. I notice that they make the plan, and THEN write the code in the same forward pass/generation sequence. The challenge here is that all of the incorrect assumptions get "lumped" into this pass and can pollute the rest of the interaction.

The initial interaction also sets the "scene" for other things, like letting the LLM know that there might be other dependencies and it should not assume behavior (common for most realistic software tasks).

An example prompt I have used (not by any means perfect) ...

> I need help refactoring some code. Please pay full attention. Think deeply and confirm with me before you make any changes. We might be working with code/libs where the API has changed so be mindful of that. If there is any file you need to inspect to get a better sense, let me know. As a rule, do not write code. Plan, reason and confirm first.

--- I refactored my db manager class, how should I refactor my tests to fit the changes?

vykthur··on Can LLMs write better code if you keep asking them to “write better code”?
I find that it is IMPORTANT to never start these coding sessions with "write X code". Instead, begin with a "open plan" - something the author does allude to (he calls it prompt engineering, I find it also works as the start of the interaction).

Half the time, the LLM will make massive assumptions about your code and problem (e.g., about data types, about the behaviors of imported functions, about unnecessary optimizations, necessary optimization, etc.). Instead, prime it to be upfront about those assumptions. More importantly, spend time correcting the plan and closing gaps before any code is written.

https://newsletter.victordibia.com/p/developers-stop-asking-...

- Don't start by asking LLMs to write code directly, instead analyze and provide context

- Provide complete context upfront and verify what the LLM needs

- Ask probing questions and challenge assumptions

- Watch for subtle mistakes (outdated APIs, mixed syntax)

- Checkpoint progress to avoid context pollution

- Understand every line to maintain knowledge parity

- Invest in upfront design

vykthur··on Automatic Generation of Visualizations and Infographics with LLMs
True. This is an open area of research. Tools like guidance (or other implementations of constrained decoding with llms [1,2]) will likely help improve this problem.

[1] A guidance language for controlling large language models. https://github.com/guidance-ai/guidance

[2] Knowledge Infused Decoding https://arxiv.org/abs/2204.03084

vykthur··on LIDA – A library (and UI) for automatic generation of visualizations using LLMs
LIDA is a library for generating data visualizations and data-faithful infographics. LIDA is grammar agnostic (will work with any programming language and visualization libraries e.g. matplotlib, seaborn, altair, d3 etc) and works with multiple large language model providers (OpenAI, PaLM, Cohere, Huggingface). Details on the components of LIDA are described in the paper and project page. https://microsoft.github.io/lida/
vykthur··on [dead]
https://github.com/victordibia/peacasso

Peacasso is a (yet another but really nice) user interface for interacting with stable diffusion models.

The current implementation of Peacasso provides a GUI for basic operations - text and image based prompting, remixing generated images as prompts (img2img), model parameter selection, image download. Also covers the little things .. like light and dark mode.

https://victordibia.com/peacasso/

vykthur··on Implementing gradient explanations for a HuggingFace text classification model
Yes. Captum is a great library and a few of my colleagues have used it with good results in the past. Like you mention, most of the few examples that demonstrate gradient based explanation methods for Huggingface models typically focus on Pytorch models. The example here looks at things from the Tensorflow 2.0/Keras perspective. One thing to note is that model agnostic SHAP can be resource intensive to compute , especially compared to gradient methods that require a single pass through the model for a datapoint.
vykthur··on Recent Breakthroughs in AI (Feb 11 Talk by Andrej Karpathy, Socher, Johnson)
TLDR;

The discussion mostly looked at the novelty of transformer based multimodal models such as CLIP and DALL·E which have both shown interesting results.

TLDR

- Data is king! Getting better data might be the single biggest bang for buck in terms of performance improvement.

- Data curation toolkits, MLOps (and companies in this space) and will be increasingly important.

- Transformers are unifying the deep learning problem/solution space i.e transformer-based model architectures can be effectively applied to multiple domains e.g. image, text, speech.

- Models that can be parralelized and optimized for today's hardware will have more impact.

- New Research Frontiers? Models that learn continuously; Models capable of logic/reasoning; New objective functions and application areas; New approaches to data labeling; Model-first approach to benchmark design; New approaches to creating massive datasets (e.g. via simulations)

The talk was moderated by Russell Kaplan (Scale AI) and the panel included Richard Socher (You, Salesforce Research), Justin Johnson (University of Michigan, Facebook), Andrej Karpathy (Tesla).

vykthur··on Handtrack.js: A library for prototyping realtime hand detection in the browser
Current approach being explored to expand the training dataset to include faces/heads labels such that the model better discriminates this from hands.
vykthur··on Handtrack.js: A library for prototyping realtime hand detection in the browser
Hi, handtack.js author here, I am exploring some size and speed optimizations which might help with this (smaller models such as efficientdet, quantization). Will share once something is ready.
vykthur··on Handtrack.js: A library for prototyping realtime hand detection in the browser
Author here, this is a known issue and being worked on for handtrack.js 2.0.

The face/head errors is likely an artifact of transfer learning (handtrackjs is finetuned on the object detection model trained using the coco object detection dataset which contains a person category).

Current approach being explored to expand the training data to include faces/heads such that the model better discriminates this from hands.

There are also size and speed optimizations being explored (smaller models such as efficientdet, quantization).

vykthur··on Handtrack.js: A library for prototyping realtime hand detection in the browser
Author here, this is a known issue and being worked on for handtrack.js 2.0.

The face/head errors is likely an artifact of transfer learning (handtrackjs is finetuned on the an object detection model trained using the coco object detection dataset which contains a person category).

Current approach being explored to expand the training data to include faces/heads such that the model better discriminates this from hands.

There are also size and speed optimizations being explored (smaller models such as efficientdet, quantization).