461 karma · joined Sep 20, 2018 (8y ago) · 91 submissions
1.
Agent Skills: One-Shot PySpark from the CLI(lakesail.com ↗)
22 points · by chenxi9649 · 8mo ago · 4 comments
comment 8mo ago · link · parent
I started by managing the claude agent sdk myself in a daytona container, and it was a lot more challenging than I thought. The agent kept crashing in streaming mode and there was no thread crash, so it was hard to debug, esp in a cloud container like Daytona. I also realized that I needed to implement my own session management system + my own database if I wanna save the chat and on top of that streaming so the messages come out in real time. AND I need to manage my own container janitor/heart beat system so that un-used containers don't just sit there, but I also don't want them to go cold immediately after each message since cold start takes a bit.. They all seem simple but at each step there are some edge cases. I ended up vibe coding most all of that, but it was just quite fragile. For those who hasn't tried the agent sdks, it feels like it's clearly designed to be ran on a client computers with permanent storage + lots of ram than microVMs. Which was not what I expected.
After that, I tried to find some managed option. Starting with blackbox ai because I saw a vercel tweet about them, and for some reason I just couldn't get their agent API stuff to work AT ALL?... I'm curious as to if it's actually working for anyone. Then I tried sandbox dev, which doesn't store container/sessions/storage stuff out of the box for you, so it wasn't much better than doing the daytona container myself. And then I tried terminaluse, and it worked better than I expected given all of the other stuff that I tried.
So at the end of the day, it's kind of like a managed cloud services that does agent chat history, session recovery, streaming + a CLI that makes it easy for my own codex to debug/deploy + file system sync. From what I can tell, there isn't anyone else that can do all that and I'm pretty pleased with using them.
comment 1y ago · link · parent
Games like Minecraft, Supercell, Geometry dash just to list a few, are arguably STRONGER today than they were 10/15 years ago. Even snapchat, I thought was gonna die after 2020 but my nephews today are using it more than ever.
Whereas, for my cousins who are around 40 now, basically all of the games that they played growing up are dead.
So. I can kinda see minecraft being around for another decade to say the least. It doesn't even feel that crazy for it to be around for another century... or even the rest of humanity? (like bicycles?)
4.
Ask HN: How are you teach your kids programming in 2025?
8 points · by chenxi9649 · 1y ago · 10 comments
comment 1y ago · link · parent
Sail is a Rust-native execution engine that speaks the Spark Connect protocol. Your existing Spark SQL and DataFrame code runs unchanged, but executes on average 4x faster while using 94% less infrastructure spend.
Here's how we are achieving that performance:
1. No JVM overhead: Rust's zero-cost abstractions and deterministic memory management eliminate GC pauses
2. Columnar processing: Apache Arrow format enables SIMD instructions to process multiple records per CPU cycle
3. Zero-copy data transfer: Python UDFs run in-process with shared memory buffers (no serialization)
4. Lightweight workers: Processes start in seconds
What's new in v0.3:
- This release is a major milestone - we now support both Spark 3.5 and 4.0, including the new lightweight pyspark-client. The framework automatically detects your Spark version and adjusts its behavior accordingly, so one Sail binary works across versions.
Why this matters:
- Spark revolutionized big data 15 years ago, but its JVM foundation struggles with modern workloads. As teams process more real-time data and AI workloads, they're hitting walls with latency, cloud costs, and operational complexity. Sail is trying to solve all of these problems while not requiring you to rewrite everything that you already did with Spark.
- We're working toward unifying batch, streaming, and AI workloads in a single framework. Imagine running your ETL, real-time analytics, and model training on the same infrastructure with predictable performance. The project is open source (Apache 2.0) and we'd love your feedback! We have a growing community on Slack where early adopters are already running production workloads.
GitHub: https://github.com/lakehq/sail
Docs: https://lakesail.com
Our internal benchmarks(for the 4x and 94% number): https://docs.lakesail.com/sail/latest/introduction/benchmark...
Slack: https://lakesail.com/slack
Happy to answer any questions about the architecture, benchmarks, or migration path!
6.
Sail: a Rust-Based Spark Replacement(lakesail.com ↗)
5 points · by chenxi9649 · 1y ago · 1 comment
comment 1y ago · link · parent
When it comes to the actual rendering performance, it’s an electron app, so … whatever you make of that
Personally, I feel like often times electron apps are actually smoother than swift apps nowadays due to the way swift renders text(ie. the ChatGPT app was so laggy when it was released, unclear if they fixed it). Start up time is probably slightly slower than native too but not a hugeee issue for me.
Probably not as fast as superhuman. But I don’t want to pay $30 for a 10ms diff(might be more idk)
comment 1y ago · link · parent
Tbh, I can also kinda see the vision that notion is pitching to investors now - the entire productivity suite, but redesigned and enhanced with AI. I'm not a power user of email/calendar by any means, but find myself using their calendar and mail client. I have no doubt the next generation of Tiktok girlies will eat this up like crazy. I don't use much of their AI stuff, but can also see how business can really find it useful.
GJ Notion team!
comment 1y ago · link · parent
I don't know if I'm just getting used to the claude style of response, or the orangy UI that I kind of find cozy, but I think we need better ways to convey the difference between models.
11.
Ask HN: How are LLMs getting smarter beyond just scaling?
2 points · by chenxi9649 · 2y ago · discuss
comment 2y ago · link · parent
https://www.reddit.com/r/dataengineering/comments/1gv840u/in...
https://www.reddit.com/r/rust/comments/1gwayz6/introducing_d...
comment 2y ago · link · parent
Github Repo: https://github.com/lakehq/sail
Few interesting notes:
- Benchmarks show 4x faster than Spark on TPC-H with 94% cost reduction.
- Currently at 65.7% PySpark test compatibility(they talk about this in more detail in the post)
- Built in Rust using Tokio runtime and Arrow IPC for high performance
- Already supports 79/99 TPC-DS queries
14.
Sail 0.2: Spark replacement in Rust, runs 4x faster, drop-in PySpark compatible(lakesail.com ↗)
14 points · by chenxi9649 · 2y ago · 2 comments
15.
Sail – Unify stream processing, batch processing and compute-intensive workloads(github.com ↗)
79 points · by chenxi9649 · 2y ago · 15 comments
16.
Show HN: Dubbie.com – open-source AI dubbing studio for $0.1/min(github.com ↗)
2 points · by chenxi9649 · 2y ago · discuss
17.
Ask HN: Dedicated hardware can 10x inference. Can we do the same with training?
4 points · by chenxi9649 · 2y ago · 1 comment
comment 2y ago · link · parent
A few questions:
1. just how low is the latency? "Netris delivers a zero-latency gaming experience that won't eat up your data plan." What does this mean? Wouldn't the latency be at least from my computer, to Netris server, to the game server?
I would assume you can't play FPS/MOBA games on these?
2. "10,000+ games supported" "games that come with their own launchers are not yet supported" I'm curious about the technical differences between steam games and games with their own launcher. I guess I was assuming that you're more or less just pixel streaming to me(?)
3. how does it compare to GeforceNOW? Would love to see one of those long charts with checklists.
comment 2y ago · link · parent
I can't imagine more than 2 years for GPT4 level LLM on edge devices.
The question is, will ppl want GPT4 on the edge when GPT 6 is one request away?
comment 2y ago · link · parent
hashed passwords, API keys, OAuth tokens, MFA...
Oh no.
comment 2y ago · link · parent
Honest it was quite inspiring to chat with these founders who were in a different world, and realizing that they're not all that different from myself.
So yea, maybe I was young dumb n broke.
comment 2y ago · link · parent
The written applications forces you to articulate your ideas in a concise yet easy to understand way.
And as much as YC doesn't recommend this, the mock YC interviews we did with alums was one of those most beneficial things that happened to us. Because so rarely will you get the opportunity to ask dozens of other YC founders to grill your business, and have 80%+ of them say yes.
We did about 30 at the time, which is a lot of time to be taken off product/building, hence probably why they don't recommend it, but looking back it *really helped us understand our own business. Given how young/naive/early we were.
comment 2y ago · link · parent
https://research.myshell.ai/open-voice/zero-shot-cross-lingu... I can only speak on their Dutch -> Chinese voice cloning but it's better than anything else I've tried. There is basically no "english/dutch accent" in the chinese at all. Where as the ElevenLabs Chinese voice(cloning or not) is so much worse...
comment 2y ago · link · parent
comment 2y ago · link · parent
1. The fact that this donation is 100% going towards tuition. My university has a few B's in endowment, but those money are most definitely not going towards making the tuition fees lower lol. Hopefully this will allow them to select some candidate that are struggling the most financially...
2. The donor being a 93 year old doctor/alumni of that school that studied "learning disabilities and developed screening protocols".
3. The money was from her late husband's "whole portfolio of Berkshire Hathaway stock". And before he passed, he told her to "do whatever you think is right with it" and the article ends with her saying "I hope he's smiling and not frowning". Makes me cry a little.
comment 2y ago · link · parent
I think what you said makes sense! Making connections with existing knowledge definitely strengthens the knowledge beyond simply holding it into your working memory and rote memorizing it.
The former feels like it leads to understanding, where as the latter leads to ...memorizing.
However, I feel like the difference between the two(understanding/memorizing) is actually closer than most of us imagine!