News for hackers. Stuff that matters.

emgeee

Ask HN: How do you compose your long LLM prompts?

Usually, I just write mine directly in the tool I'm using (chatGPT, claude, etc). However, I've found this workflow lacking when writing a long prompt that describes a product/engineer spec as the built-in text boxes are small and I often hit "enter" before I'm ready.I've tried using a separate text editor or google docs sheet to compose these long prompts which works but still feels clunky and...

( Read More... | no comments | 2 points | on HN )
Re:On loyalty to Your Employer on Thursday April 24, 2025 @12:51PM (#43784849)
I agree. Tenures may be short but careers are long and tech is (surprisingly) small. Credibility builds trust and trust between people is ultimately what business run on. "Do right be people" is a good strategy.
Re:Show HN: LLM Based Spark Profiler on Wednesday April 09, 2025 @06:17PM (#43638648)
fellow co-founder here! One fun thing about this project is the entire frontend was vibe-coded using Bolt in a few days.
This is a pretty cool idea but I'm trying to think of the advantage of WASM vs other execution engines.

It seems to me one of the main use-cases for WASM is to execute lambdas, which are often short-lived (like 500ms timeout limits). Maybe this could have a place in embedded systems?

Re:Has the Decline of Knowledge Work Begun? on Wednesday March 26, 2025 @10:28PM (#43489826)
great point, thanks for sharing
Re:Switching from Pyenv to Uv on Wednesday March 12, 2025 @04:30PM (#43347355)
I've used uv to work on the feast feature store project to great success
Re:Detecting AI Agent Use and Abuse on Friday February 14, 2025 @12:50PM (#43050995)
I never really thought about this perspective but in some ways it makes sense. I think the ironic part is that LinkedIn now provides built-in AI tools that make you sound more like a bot.

Maybe they could fingerprint slop generated with they tools and allow it through to incentivize upgrading

Re:Introducing S2 on Sunday December 22, 2024 @09:52AM (#42486657)
Checkout warpstream (recently acquired by confluent)
Re:Show HN: Python Stream Processing with Denormalized on Wednesday November 13, 2024 @12:58PM (#42128358)
awesome, happy to answer any questions and would love any feedback!

Show HN: Python Stream Processing with Denormalized

https://github.com/probably-nothing-labs/denormalized/tree/main/py-denormalized

tl;dr we’re releasing python bindings for writing stream processing jobs using the Denormalized Rust library.Hey HN,A few months ago we released Denormalized, our embeddable stream processing engine written in rust [0]. Today we’re excited to showcase python bindings for the library.Python is still very much the language of data and we wanted to make it easy for more engineers to write fast...

( Read More... | 2 comments | 17 points | on HN )
Commenting code and generating documentation.

I like to copy entire python modules into the context window and say something like "add docstrings to all methods, classes, and functions".

You can then feed the code into something like sphinx or pdoc to get a nice webpage.

I've found them incredibly useful for writing Dockerfiles or other bits of infra config like K8s yaml
Re:State of Python 3.13 Performance: Free-Threading on Tuesday November 05, 2024 @11:56AM (#42053185)
One area where this absolutely makes a difference is when embedding python. Like it or not Python is extreme popular in data/AI/ML so if you want to build an experience where users can deploy custom functions, removing the GIL allows you to more efficiently scale these workloads.
Re:Throw Out Your Black Plastic Spatula on Thursday October 31, 2024 @11:44AM (#42008026)
One thing that's helped me is to every-so-often oil my wood utensils the same way I oil my wood cutting board. It's helps protect the wood and retain moisture so it doesn't crack. Also, at least some (if not all) woods have anti-microbial properties.
I've always wondered about this too. It should be pretty easy to recognize statistical outliers. I'm sure cheaters would start to adapt but that adaptation might start to look more in-line with normal skill levels so at least the game wouldn't be utterly ruined
"streaming data" can generally be thought of as a sequence of events in time. Think measurements from sensors, mouse click events from uses on a webpage, or access logs from a server. These events are often fed into a message bus type system like Apache Kafka or AWS Kinesis.

Stream processing is a programming paradigm for working with these types of timestamped events and a "stream processing engine" like Denormalized seeks to actually execute stream processing compute jobs against streaming data.

The goal of the engine is to abstract away as much of the low level complexities needed to effectively work with this data at scale and provide an ergonomic way for developers to write and operate streaming applications.

would love any and all feedback!
it'll be coming soon!
Other founder here -- we've been working on this now for several months and have had a lot of fun building on top of arrow and datafusion
Re:Do Skis Get Blunt? on Monday July 08, 2024 @01:01PM (#40907118)
Could definitely be wrong but I always thought waxing was about reducing the friction between the ski and the snow by both creating a uniform surface and because the wax has a lower coefficient of friction than the plastic of the skis.

edit: learned something new!

California really does seem to be getting harder to build a tech business in
Re:Practical Vim Command Workflow on Monday April 29, 2024 @12:39PM (#40200689)
+1 to vim-adventures, excellent game and well worth the money if you're a committed power user
For real, scammers are going to be licking their lips
It was a useful tool to better verify identity vs relying solely on email addresses, which were substantially easier to create at the time.

Kinda like SSNs though, I think it's way past the point when a better designed system should have been developed. Sadly, that costs a lot of money.

It bears repeating that this bill only bans tiktok if it isn't spun out of Bytedance. Given how American owned social media companies are treated in China, this doesn't seem entirely unfair.
In my experience even "a few extras privileges" can take many months to implement, especially for a company as large as Apple.
NASA is a government organization with different incentives, and, has arguably suffers from similar problems that Boeing is experiencing.

Older »