News for hackers. Stuff that matters.

dokka

I also did this a few months ago using a custom MCP server I built for the Alpaca API, the yfinance MCP server, and a reddit MCP server, and the "sequential thinking" mcp server. I hade claude write a prompt that combined them all together starting with checking r/pennystocks for any news, looking up the individual ticker symbols with alpaca and yfinance, checking account balance and making a trade only if a very particular set of criteria was met. I used claude code instead of desktop so that I could run it as a cron job, and it all works! I mostly built it to see if I could, not for any financial gain. I had it paper trading for a few months and it made a 2% profit on 100k. I really think someone that knows more about trading could do quite well with a setup like this, but it's not for me.
Re:Hot take: GPT 4.5 is a nothing burger on Friday February 28, 2025 @06:11PM (#43213022)
It's good at taking code of large, complex libraries and finding the most optimal way to glue them together. Also, I gave it the code of several open source MudBlazor components and got great examples of how they should be used together to build what I want. Sure, Grok 3 and Sonnet 3.7 can do that, but the GPT 4.5 answer was slightly better.
Re:Twenty Years of FM Synthesis Inside Ableton Live on Sunday September 22, 2024 @03:01AM (#41615146)
Ah Operator. This synth is so deep. Not only is it a fantastic FM synth, but it does subtractive synthesis well too. Also, it really is impressive how the UI manages to fit all those parameters. I mostly use it for cool synth leads. Here's one of my favorite videos on Operator https://youtu.be/rfeY0_k1ctk?si=s68Lr033cHf34a4M by Robert Henke himself.
Re:Writing GUI apps for Windows is painful on Sunday June 30, 2024 @04:15PM (#40840007)
Yeah, I can confirm that writing windows GUI apps is not at all painful for me. I still use Windows Forms in .NET 4.8 and my executables are < 1mb, Visual Studio's form designer is very easy to use, you can subclass all the .NET UI controls and customize them however you want. There's always been accessibility and even support for high DPI.
I've tried all the popular yerba mate brands, smoked, flavored, Uruguayan, Argentinian, but I still prefer organic unsmoked Yerba Mate with stems. I brew 1/2 cup of mate with 2 cups of 150F water and a splash of lemon juice for 30 minutes, then pour the whole thing through a chemex coffee filter. It takes a few minutes to filter, but the result is a delicious, very caffinated, slightly lemony tea.
Re:Delete or hide life-wasting apps on Tuesday January 02, 2024 @06:53PM (#38848845)
This is an excellent suggestion, and it's how I've been using discord since 2019. I will probably never install discord on my phone or desktop again.
good job! this is every bit as good as GPT-3 for programming tasks! I was able to get it to write a C# extension method without any issues.
I own this tv, and I had it connected to the internet for a short while. Not only does it have ads everywhere, but the menu is SLOW. Taking it off the internet not only got rid of the ads, but also made menu navigation faster.
There have a few times that I presented a VB6 prototype along with a price and had my prototype purchased on the spot. Sometimes when a client says "We need this software now", they really mean it.
Re:Fourth-generation programming language on Friday April 29, 2022 @06:07PM (#31211134)
I don't know if this counts, but I built so much software in Access '97. Mostly for small businesses and individuals. I could build a whole inventory management system in a weekend(a simple one anyways). It was phenomenal. Once I learned Java and SQL(how to correctly use SQL, lol) I quit using it as much. But sometimes I still prototype software in old versions of Access just to model everything out.
Re:Mastodon – A Federated Twitter Alternative on Tuesday April 26, 2022 @02:03AM (#31164458)
I rather like mastodon compared to the other implementations of activitypub (Misskey, Friendica and Pleroma). What I'd really like is to build my own activitypub server and client, but it's so hard. I'm going to keep using mastodon for now, but it sucks that the best activitypub implementation is basically a twitter clone. I'd really like something with a layout more like Facebook. Most of the people I try to convert to mastodon don't like twitter. I want to give them Friendica, but it needs a lot of UI work and a nice android client to really be useful to them.
Re:MonoLisa – A font designed for developers on Monday February 14, 2022 @02:39PM (#30337141)
very cool! it passes the 1IilL0Oo test. I'll give it a try.
Re:Career advice nobody gave me: Never ignore a recruiter on Tuesday February 01, 2022 @03:25PM (#30168702)
I also strongly disagree. All the jobs I've taken at the advice of a recruiter were the worst jobs I've ever had. Even if the job matched everything on my checklist and I was able to visit the company and talk to the employees before signing on, it was still a terrible place to work. Why? Because it was in everyone's best interest to hide how miserable the job actually was. And yes, the salary was higer, but the jobs didn't last. The longest I was able to tolerate these jobs was about 2 years each. Which didn't look very good on my resume. Switching jobs every 2 years is probably ok for some, but I wouldn't hire anyone that has a consistent record of that. My advice is to find places that you would want to work and apply there on your own.
Re:Don't you lecture me with your thirty dollar website on Saturday January 29, 2022 @02:01PM (#30129284)
It's excellent!
Re:Don't you lecture me with your thirty dollar website on Saturday January 29, 2022 @01:50PM (#30129154)
Here's my useless website https://dx.tc/
Re:Poll: Why are you staying at your job? on Friday January 14, 2022 @03:12PM (#29939706)
^YES! This is 100% of the reason I'm not looking for another job.
Re:Why Electron Is a Necessary Evil on Thursday December 02, 2021 @01:50PM (#29420599)
At least java is actually typesafe
Yeah, why was this posted?
Re:The Next Step for Generics on Wednesday June 17, 2020 @12:55AM (#23547952)
I won't use GO until they add generics. Hopefully they'll add them someday. I can wait as long as it takes.
Re:Ask HN: What are you learning? on Monday April 06, 2020 @01:56AM (#22791211)
I bought the cheapest trumpet on ebay($65) and I'm learning the trumpet. It's a lot of fun. I'm slightly annoyed that I'm not programming as much, but this is fun too
Re:Will VBA Die? (2019) on Thursday February 27, 2020 @06:52PM (#22439241)
I'm working on an excell addin right now. It doesn't use VBA (it uses microsoft interop libs for .NET) And I have zero interest in using VBA, but I will admit, it would have been much easier to do this project in VBA instead of C#. Debugging would have been easier. I could debug inside the VBA code-behind instead of Attaching to the excel process in Visual Studio. Deployment would have been easier. I could make an .xlam file and just give it to the users instead of A separate visual studio project that creates an installer on each build. Excel interop would have been easier too(probably, I'm not 100% sure.) But using the Microsoft.Office.Interop.Excel libs are kinda hard. I don't have any good reference material for this lib, but for VBA, there are tutorials all over the internet for doing common things. I mostly avoided VBA because I prefer the syntax of C#. I would imagine most people that only know VBA would have no interest in using C# to write office interop code, and I don't blame them. As for javascript, I doubt anyone that knows VBA well would have a hard time learning javascript, and if the codebehind for excel was slowly migrated to that, most devs would welcome the change.
I used to just write code fast and forget about it, only slightly caring about the finished product. After having to build and support 2 fairly large applications(for use on a company intranet) I will fully plan, document and test my software. No more clever code, no more quick hacks. I also gave up on Javascript and node.js, and I mostly do c# now because of type safety.
Re:What ORMs have taught me: just learn SQL (2014) on Saturday September 21, 2019 @02:22PM (#21036988)
In my career, I have used Entity Framework, Active Record, Sequelize.js and Hibernate. I haven't had a problem with any of them. Especially not with postgres and mysql. I've worked in teams of 10+ and personal projects that I've completed in a couple of days. My advice is to only use the best of ORM's. I won't use an ORM unless it's at least 5 years old.
Re:You-Dont-Need-Lodash-Underscore on Friday August 09, 2019 @01:14PM (#20656328)
I agree, also. The code in lodash is arguably better than mine, and they are more experienced than I.
Re:Show HN: JSON Pizza – Beautify your JSON quickly on Thursday August 08, 2019 @05:40PM (#20649099)
I like it! It's alot nicer than my json formatter https://oil-comma.glitch.me/
Hah! So did I! I'm working on Mirth Connect right now.
Re:BonziBuddy on Thursday June 20, 2019 @07:24PM (#20238467)
I would love to build a harmless and open source version of BonziBuddy. One day I'll do it.
Re:Pi-hole: A black hole for Internet advertisements on Thursday May 30, 2019 @11:02AM (#20051914)
Pi-hole is fantastic and I will gladly donate to them.
Millennial here, I agree.

Older »