<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: greenyouse</title><link>https://news.ycombinator.com/user?id=greenyouse</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Tue, 07 Apr 2026 07:54:19 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=greenyouse" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by greenyouse in "How I program with LLMs"]]></title><description><![CDATA[
<p>That approach sounds similar to the Idris programming language with Type Driven Development. It starts by planning out the program structure with types and function signatures. Then the function implementation (aka holes) can be filled in after the function signatures and types are set.<p>I feel like this is a great approach for LLM assisted programming because things like types, function signatures, pre/post conditions, etc. give more clarity and guidance to the LLM. The more constraints that the LLM has to operate under, the less likely it is to get off track and be inconsistent.<p>I've taken a shot at doing some little projects for fun with this style of programming in TypeScript and it works pretty well. The programs are written in layers with the domain design, types, schema, and function contracts being figured out first (optionally with some LLM help). Then the function implementations can be figured out towards the end.<p>It might be fun to try Effect-TS for ADTs + contracts + compile time type validation. It seems like that locks down a lot of the details so it might be good for LLMs. It's fun to play around with different techniques and see what works!</p>
]]></description><pubDate>Tue, 07 Jan 2025 07:00:04 +0000</pubDate><link>https://news.ycombinator.com/item?id=42620047</link><dc:creator>greenyouse</dc:creator><comments>https://news.ycombinator.com/item?id=42620047</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42620047</guid></item><item><title><![CDATA[New comment by greenyouse in "CERN trains AI models to revolutionize cancer treatment"]]></title><description><![CDATA[
<p>It feel silly to say that AI is curing cancer. Normally a phrase like that would sinal the apex of the hype cycle but I guess it actually has some meat in this situation. Using AI more like statistical inference to screen for medical conditions or predict treatment could be helpful. I remember Jeremy Howard from fast.ai did that with deep learning to detect things in medical images. Seems like a good thing for CERN to do as long as it works.</p>
]]></description><pubDate>Sat, 05 Oct 2024 14:31:41 +0000</pubDate><link>https://news.ycombinator.com/item?id=41750142</link><dc:creator>greenyouse</dc:creator><comments>https://news.ycombinator.com/item?id=41750142</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41750142</guid></item><item><title><![CDATA[Ask HN: Does Anyone Use Prompt Books for Developing with GitHub Copilot?]]></title><description><![CDATA[
<p>Heya HN!<p>I'm exploring ways to integrate GitHub Copilot more effectively into my daily development work across different domains: web, backend, and mobile app development. My idea is to create a "prompt book" for each domain, containing common tasks and queries. This would allow me to quickly use Copilot to generate detailed code snippets based on a curated list of prompts tailored to the task at hand.<p>As an example Copilot for security has a prompt book pre-built by MS for security tasks:
https://learn.microsoft.com/en-us/security-copilot/using-promptbooks<p>In the domain of backend programming this could help with:<p><pre><code>  - stub code for endpoints
  - stub code for common file types
  - stub code for types of integration and unit testing
  - answer common questions like whether an API change is breaking
  - give tips on common logging and error handling cases
</code></pre>
It's all meant to help speed up development but a strong understanding of the material is still required to avoid wonkiness.<p>I'm curious to know if anyone in the community has experience creating or using prompt books with Copilot. Are there existing resources out there, or has anyone found this approach beneficial for their development workflow? Any insights, examples, or resources you could share would be greatly appreciated. :D</p>
<hr>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=39688191">https://news.ycombinator.com/item?id=39688191</a></p>
<p>Points: 1</p>
<p># Comments: 0</p>
]]></description><pubDate>Wed, 13 Mar 2024 04:43:46 +0000</pubDate><link>https://news.ycombinator.com/item?id=39688191</link><dc:creator>greenyouse</dc:creator><comments>https://news.ycombinator.com/item?id=39688191</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39688191</guid></item><item><title><![CDATA[New comment by greenyouse in "Ask HN: What AI Software Product/Software Do You Need?"]]></title><description><![CDATA[
<p>Here's a fun project that you could try. Use TTS to transcribe books but make the transcriptions feel more realistic. Give each character in the book a unique voice. Leading characters should have voices based on their personalities. Use quote extraction and character attributtion to tie characters to lines. Try to do convey the human qualities with EmotionML, SSML, or some kind of semantic analysis.<p>The best would be a TTS system at the level of OpenAI's but with voice selection like GCP TTS so you can get quality and a range of voices.<p>Copyright would probably spike any monetization effort but you could try. It would be nice to have an open source tool for this though! :)</p>
]]></description><pubDate>Wed, 13 Dec 2023 15:03:41 +0000</pubDate><link>https://news.ycombinator.com/item?id=38628366</link><dc:creator>greenyouse</dc:creator><comments>https://news.ycombinator.com/item?id=38628366</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38628366</guid></item><item><title><![CDATA[New comment by greenyouse in "The worst programmer I know"]]></title><description><![CDATA[
<p>That would depend on the culture of your team and larger workplace. Healthy teams should be checking in frequently to talk about ideas, reviewing big things, scoping upcoming work, etc. If there's time reserved for deeply technical but loosely structured discussion like that, then everybody takes turns being that person. In that env someone could "specialize" in it and help inspire others to do great work.<p>It's the team that creates that kind of opportunity for feedback though. If the team has dysfunctions like rejecting deeper discussion or not working beyond jira tickets or checking out at meetings, etc. then it's not going to work. Someone that's good at that kind of supporting discussion will feel push back when fostering those discussions so it will fall off over time.<p>The teams that do the best work and are the most fun to be on can host those types of discussions though, even remotely. It's worth experiencing if you haven't!</p>
]]></description><pubDate>Sat, 02 Sep 2023 15:47:09 +0000</pubDate><link>https://news.ycombinator.com/item?id=37362560</link><dc:creator>greenyouse</dc:creator><comments>https://news.ycombinator.com/item?id=37362560</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=37362560</guid></item><item><title><![CDATA[New comment by greenyouse in "Ask HN: Learning how to code?"]]></title><description><![CDATA[
<p>Check out the Upwind section of this PG essay (and the rest of the essay).
<a href="http://www.paulgraham.com/hs.html" rel="nofollow noreferrer">http://www.paulgraham.com/hs.html</a><p>What do you want to do with coding?
What's going to give you the most leverage in the long term?<p>That course is going to dump you into the deep end for modern web dev. You'll probably struggle with it because it's taking on a bunch of things all at once. Some of the technology is also temporary. Will MongoDB or GraphQL still exist in 30 years? Will HTML, CSS, and JS exist in 30 years? Focus first on fundamentals that will give you a leg up.<p>I know professional frontend devs that still struggle with HTML because they went straight into React without learning semantic HTML first. If you can master the basics early on, then learning React and other frontend frameworks later becomes way easier.<p>Start with building web pages rather than web apps. You can do apps later but there's a lot more stuff going on. It's like trying to ride a unicycle while juggling flaming torches and balancing a spoon on your nose. Maybe you could sort of figure it out but it's better to split up the tasks and handle each in turn. That course is for people that already know the basics and want to try balancing on a new unicycle.<p>If you want ways to practice frontend, try building copycats of websites. Read the DOM, look stuff up, make lists of HTML elements or JS built-ins and memorize them. Play games to learn CSS flexbox or grid. Do whatever as long as you like it and it's teaching you the way.<p>There's lots of other stuff like frontend challenge sites that are good too. You'll always be "challenged" going forward for professional projects. Some might be really easy tasks, others will be hard. Get used to being resourceful and learning how to figure things out. It's an infinite game.<p>This style of learning isn't unique to frontend. If you wanted to be a backend dev, learning Spring Boot before design patterns, networking, etc. would probably be a bad idea. It's better to start as a beginner and embrace learning the basics. Go slow and master things step by step. Eventually it pays off.<p>You could also zoom out and abstract things to help with programming languages. Popular languages are pretty similar. Familiarize yourself with basic control flow syntax in one language and chances are it carries over into others. The same goes for "paradigms" like imperative, OO, and functional programming (others exist but they're more niche). Learning a paradigm is like rebuilding the thought process for your brain. If you learn different paradigms, then your thinking gets more flexible and you can approach problems differently. You might like the "aha" moments you get when things finally connect too!</p>
]]></description><pubDate>Fri, 18 Aug 2023 22:37:39 +0000</pubDate><link>https://news.ycombinator.com/item?id=37183047</link><dc:creator>greenyouse</dc:creator><comments>https://news.ycombinator.com/item?id=37183047</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=37183047</guid></item><item><title><![CDATA[New comment by greenyouse in "Htmx is part of the GitHub Accelerator"]]></title><description><![CDATA[
<p>Polymer powered a few other things at Google too. Look at the DOM for YouTube, that dev team started with Polymer for Web Components and talked about how they built an internal library of custom HTML for the site. Doing that shared library approach seemed like a good way to scale out development across teams. It seems like it's still alive and well over there. (also used at ING, Comcast, Vercel, and others)<p>I still have hope that frontend will eventually turn back to web components now that HTML templates, Custom Elements, Shadow DOM, and ES Modules are fully adopted. One of the problems is that this stack is foreign even to professional web devs that hail from React land. It's weird because it's native browser tech adopted by the W3C and painstakingly built into the browsers. Maybe it picks up after someone rewrites the react-dom internals to support web components and adds a new tooling layer over it?<p>It's not bad tech and web components are built into the platform of the web now so they're not really going anywhere...</p>
]]></description><pubDate>Wed, 16 Aug 2023 13:20:37 +0000</pubDate><link>https://news.ycombinator.com/item?id=37146643</link><dc:creator>greenyouse</dc:creator><comments>https://news.ycombinator.com/item?id=37146643</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=37146643</guid></item><item><title><![CDATA[New comment by greenyouse in "A Tradecraft Primer (2009)"]]></title><description><![CDATA[
<p>Ah, this missed the mark since the domain is all political/state related. I saw the mental liquidity story from today and it reminded me of an old book they published about how to think. That one has better theory based talk. This article has too many references to conflicts so it's kind of distracting from the interesting stuff.<p>psychology of intelligence analysis
book link: <a href="https://www.cia.gov/static/9a5f1162fd0932c29bfed1c030edf4ae/Pyschology-of-Intelligence-Analysis.pdf" rel="nofollow noreferrer">https://www.cia.gov/static/9a5f1162fd0932c29bfed1c030edf4ae/...</a><p>previous discussion: <a href="https://news.ycombinator.com/item?id=14852250">https://news.ycombinator.com/item?id=14852250</a></p>
]]></description><pubDate>Sun, 11 Jun 2023 17:58:00 +0000</pubDate><link>https://news.ycombinator.com/item?id=36283782</link><dc:creator>greenyouse</dc:creator><comments>https://news.ycombinator.com/item?id=36283782</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36283782</guid></item><item><title><![CDATA[New comment by greenyouse in "Ask HN: Dev productivity tools you would pay for"]]></title><description><![CDATA[
<p>Wallaby.js is a no-brainer tool for writing frontend unit tests. I see a lot of people at work struggle with unit testing. For the productivity boost it gives, it's easily worth the cost.</p>
]]></description><pubDate>Sun, 11 Jun 2023 15:05:16 +0000</pubDate><link>https://news.ycombinator.com/item?id=36282051</link><dc:creator>greenyouse</dc:creator><comments>https://news.ycombinator.com/item?id=36282051</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36282051</guid></item><item><title><![CDATA[New comment by greenyouse in "A Tradecraft Primer (2009)"]]></title><description><![CDATA[
<p>Shows some helpful ways to reason about open problems with incomplete information.</p>
]]></description><pubDate>Sun, 11 Jun 2023 14:51:31 +0000</pubDate><link>https://news.ycombinator.com/item?id=36281946</link><dc:creator>greenyouse</dc:creator><comments>https://news.ycombinator.com/item?id=36281946</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36281946</guid></item><item><title><![CDATA[A Tradecraft Primer (2009)]]></title><description><![CDATA[
<p>Article URL: <a href="https://www.cia.gov/resources/csi/books-monographs/a-tradecraft-primer/">https://www.cia.gov/resources/csi/books-monographs/a-tradecraft-primer/</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=36281945">https://news.ycombinator.com/item?id=36281945</a></p>
<p>Points: 64</p>
<p># Comments: 45</p>
]]></description><pubDate>Sun, 11 Jun 2023 14:51:31 +0000</pubDate><link>https://www.cia.gov/resources/csi/books-monographs/a-tradecraft-primer/</link><dc:creator>greenyouse</dc:creator><comments>https://news.ycombinator.com/item?id=36281945</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36281945</guid></item><item><title><![CDATA[New comment by greenyouse in "Ask HN: How do you approach a problem you are not sure has a solution?"]]></title><description><![CDATA[
<p>Pair with ChatGPT 4 to set up the project design.<p>I try to give as much context as possible. Stating goals and risks of
the project. The more info you give it, the better it does at helping
you. Around 500 words for an initial prompt gets good results.<p>Break down the project into parts and take on the most risky/uncertain
part first.<p>As you work through the design, continue to refine the ChatGPT conversation
by giving it more info. Keeping around 200 words is good. New articles
can be summarized to get it up to speed on post 2021 info. Blog posts
can also be chunked out and passed through to give it more info about
the problem.<p>When the plan seems good enough, code through the steps to create the
solution. Keeping things realistic and making some slow but steady
progress is better than hammering it all out in a day. Discipline over
passion.<p>I used it for a recent project and it completely exceeded my
expectations. Not trying to hook onto the current AI bandwagon, it just
brought me to solutions I would have never gotten to on my own.</p>
]]></description><pubDate>Fri, 26 May 2023 13:56:36 +0000</pubDate><link>https://news.ycombinator.com/item?id=36084185</link><dc:creator>greenyouse</dc:creator><comments>https://news.ycombinator.com/item?id=36084185</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36084185</guid></item><item><title><![CDATA[New comment by greenyouse in "Ask HN: American friends life is falling apart badly. What can I do to help?"]]></title><description><![CDATA[
<p>Hey would she want a laptop for free? I have a 2007 macbook with lubuntu that works great. I used to use it for trips and it's a total workhorse.<p>The computer architecture is funky so it makes installing some distros a pain in the butt.<p>It was something like a 64-bit EFI bootloader for a 32-bit OS. The combo just doesn't work without compiling your own kernel. It's pretty uncommon. No biggie for someone that does C++ or embedded systems though.<p>Anyway, I'll shoot you an email with some pics and you can let me know what you think.</p>
]]></description><pubDate>Sun, 23 Apr 2023 04:53:47 +0000</pubDate><link>https://news.ycombinator.com/item?id=35673376</link><dc:creator>greenyouse</dc:creator><comments>https://news.ycombinator.com/item?id=35673376</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35673376</guid></item><item><title><![CDATA[New comment by greenyouse in "The Age of the Crisis of Work"]]></title><description><![CDATA[
<p>Part of it probably comes down to company culture. Working at a place full of people that are engaged and fixing/reporting/debating things is healthy. It's a good environment for people to learn and grow so you can move ahead in your career long-term. Being stuck somewhere where everyone is coasting is demoralizing. You'll most likely plateau in skill since you won't take on hard problems and need to constantly learn new things. You can learn stuff outside of work but it's also nice to have a life and not feel like you're working the mines.<p>Work is supposed to be fun too. Some people get a rush from working on hard problems. There's at least some joy when you debug a heisenbug for a day or two and finally solve it or take on an impossible project and succeed. Having a team that you gel with where everyone is high flow state makes you look forward to doing work things too.<p>When you look at it economically as a 8 hours in $$$ out, you're looking at the short-term and discounting your long-term personal growth. If you aren't growing in your job, leave and find a place where you can build your skills and work on things that you find enjoyable.<p>There are probably some software jobs that would be fun to do. Why not go for a fun job doing something you love if you're currently stuck?</p>
]]></description><pubDate>Wed, 19 Apr 2023 04:43:08 +0000</pubDate><link>https://news.ycombinator.com/item?id=35624312</link><dc:creator>greenyouse</dc:creator><comments>https://news.ycombinator.com/item?id=35624312</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35624312</guid></item><item><title><![CDATA[New comment by greenyouse in "Ask HN: What tricks have made you a better programmer?"]]></title><description><![CDATA[
<p>- getting used to designing abstractions before coding<p>- laying out how I'm going to program before starting<p>- using TDD for most bug fixes and refactoring efforts<p>- learning how to steal the best parts of code from other people<p>- code reading everyday via PRs (my mental VM is pretty close to a real VM)<p>- learning algorithms and data structures (at least the basics, I'm no competitive programming pro)<p>- learning how to do code archaeology with git blame</p>
]]></description><pubDate>Sat, 18 Feb 2023 05:37:11 +0000</pubDate><link>https://news.ycombinator.com/item?id=34844241</link><dc:creator>greenyouse</dc:creator><comments>https://news.ycombinator.com/item?id=34844241</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34844241</guid></item><item><title><![CDATA[New comment by greenyouse in "Ask HN: I hate gym. How to stay in shape?"]]></title><description><![CDATA[
<p>Honestly, hire a personal trainer to help you stay on track. Keep with it for at least 6 months. I started this back in December and it has been great!<p>Left to my own devices I would have done one or two sessions and then quit. Now I do two strength sessions per week and long walks one or two days per week. It's not a lot but I can feel the change. I might stick with it for 12 months but it costs a decent amount.<p>My trainer drives out to where I live and we do exercises using body weight and basic equipment (dumbbells and boxes). It also helps since I can make note of the exercises and copy the routine once I kick into my own training. They can give you lots of useful tips for how to build muscle and stick with it too!<p>I was treating it more like a course in how to stay in shape for the rest of my life. I'll probably do strength training and walks from here on out until I die of old age. (early 30s btw)</p>
]]></description><pubDate>Wed, 08 Feb 2023 03:28:58 +0000</pubDate><link>https://news.ycombinator.com/item?id=34703750</link><dc:creator>greenyouse</dc:creator><comments>https://news.ycombinator.com/item?id=34703750</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34703750</guid></item><item><title><![CDATA[New comment by greenyouse in "Ask HN: Why Is Everything Declining?"]]></title><description><![CDATA[
<p>This is a great idea! With everything on the internet trending towards instant gratification, it's counter intuitive for some of the most rewarding things to be slow. Building new relationships with people in your community takes time but it can be one of the nicest things when it goes well. Strengthening friendships usually feels worth it too.</p>
]]></description><pubDate>Sat, 28 Jan 2023 20:50:20 +0000</pubDate><link>https://news.ycombinator.com/item?id=34561698</link><dc:creator>greenyouse</dc:creator><comments>https://news.ycombinator.com/item?id=34561698</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34561698</guid></item><item><title><![CDATA[New comment by greenyouse in "Ask HN: Why Is Everything Declining?"]]></title><description><![CDATA[
<p>Yeah, the world goes through cycles of sucking. It's not all one problem. It's just a bunch of problems piling on at the same time over the last few years. Most of it boils down to economics.<p>You can still be yourself and make the world a better place for others. Just because some people have problems doesn't mean you have to emulate their bad behavior. The golden rule still applies and lots of people are still looking out for each other. If you run into problems, get involved with your community to try to solve them.<p>Instead of focusing on all of the external problems around you, focus on how you're processing them. It's okay to get therapy if it seems like overload. It's also okay to just not do anything for a weekend so you can de-stress and relax.<p>Try tuning out from all of the noise for a little bit. There's probably some internet/news withdrawal at first but after you stop worrying about everything, it's easier to see what's directly affecting you.<p>Prioritize fun stuff like finding a good book and making some tea. Go hang out with friends and have an adventure. Be unproductive for a while. Do weird things. Take an art class or find a community group. Life is happier when you're in a positive community and having fun. Most people are still good.</p>
]]></description><pubDate>Sat, 28 Jan 2023 20:38:57 +0000</pubDate><link>https://news.ycombinator.com/item?id=34561576</link><dc:creator>greenyouse</dc:creator><comments>https://news.ycombinator.com/item?id=34561576</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34561576</guid></item><item><title><![CDATA[New comment by greenyouse in "Money, money, money (and investing) (2015)"]]></title><description><![CDATA[
<p>There are some market inefficiencies that have been documented but they seem rare. The post earnings announcement drift (PEAD)[0] is a thing that exists but shouldn't if markets were totally efficient. That gets used for gains pretty consistently but not 100% of the time. Euan Sinclair had a book where he mentioned a return of 9-27% when traded on annually.[1]<p>Some of the big players have moves like that which work well given the right market conditions. My guess is that they have many, many patterns like that to trade on or models which are right more often than not. I don't know anything though since I'm a 101 retail investor... Positional options trading and volatility stuff makes my brain hurt :(<p>Have you seen strategies like that before? It's really interesting to dig into but seems to require a lot of knowledge to know how to trade on.<p>[0] <a href="https://en.wikipedia.org/wiki/Post%E2%80%93earnings-announcement_drift" rel="nofollow">https://en.wikipedia.org/wiki/Post%E2%80%93earnings-announce...</a><p>[1] Positional Options Trading: An Advanced Guide, pg. 90</p>
]]></description><pubDate>Sun, 25 Dec 2022 05:14:31 +0000</pubDate><link>https://news.ycombinator.com/item?id=34124497</link><dc:creator>greenyouse</dc:creator><comments>https://news.ycombinator.com/item?id=34124497</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34124497</guid></item><item><title><![CDATA[New comment by greenyouse in "Ask HN: What do you want for Christmas that costs less than $100?"]]></title><description><![CDATA[
<p>Some tea or fun books like "Hyperbole and a Half". Also, sharing Christmas with my family.</p>
]]></description><pubDate>Wed, 23 Nov 2022 03:35:42 +0000</pubDate><link>https://news.ycombinator.com/item?id=33714836</link><dc:creator>greenyouse</dc:creator><comments>https://news.ycombinator.com/item?id=33714836</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=33714836</guid></item></channel></rss>