Readit News logoReadit News
totalhack commented on Python developers are embracing type hints   pyrefly.org/blog/why-type... · Posted by u/ocamoss
totalhack · 3 months ago
It's optional, and that's great, because its necessity or benefit is situational.

Loading parent story...

Loading comment...

totalhack commented on I tried every todo app and ended up with a .txt file   al3rez.com/todo-txt-journ... · Posted by u/al3rez
totalhack · 5 months ago
I use markdown files in vs code. Supports folding of sections, combined with a few keyword/char patterns that I highlight different colors. Also get code highlighting in properly labeled code sections.
totalhack commented on Show HN: Companies use AI to take your calls. I built AI to make them for you   pipervoice.com/... · Posted by u/michaelphi
zzyzxd · 5 months ago
Earlier this year I found a leak in the house and called a local plumbing business. It was after hours, and a dreaded robot voice answered my call. I was fully prepared to spend the next 10 minutes rewording my issue over and over, hoping to hit the magic key word it actually understand (and also spell out my weird custom email domain). Surprisingly, this robot understood every single sentence I said, and repeated back in a slightly different, more professional way for me to confirm. It also captured my email address accurately in one try, without questioning my weird domain name. That's the moment I realized it's a LLM. It asked a few more smart follow-ups, then ended the call. The next morning, the owner called me and jumped straight into solutions, pricing, and his availability, without any more question or BS, because the LLM already told him everything he needed to know.

That's the most pleasant customer service call I have ever experienced. I wish more business could adopt similar approach. I don't mind talking to AI. In fact, instead of a live agent, I actually prefer to talk to your LLM, so my issue can be quickly triaged to the right human who actually understand my situation.

totalhack · 5 months ago
Did you find out what service he was using?
totalhack commented on Business co-founders in tech startups are less valuable than they think   verdikapuku.com/posts/bus... · Posted by u/frenchmajesty
totalhack · 8 months ago
Well, pretty much everyone is less valuable than they think!

I've bootstrapped and sold two startups, first time with 5 (!) equal cofounders and second time with 3. I've learned a lot along the way, obviously some of that through mistakes of my own. Have my cofounders been perfect? Heck no -- one lacks the same level of drive, the other is less trustworthy (always multiple irons in the fire kinda guy). But we all have strengths, are all generally better off together, and have the combined skill set to run super lean. Even if you think you can do some things better alone, you can never do it all, and that grind will take quite a toll.

Related: over the years the topic of going into business with some of my best friends has come up, and I always say I would never do that. Running a fast-moving, high stakes business with multiple founders involves a lot of tough conversations and occasional relationship strain. My business partners are business partners first, friends second, and I think that's important to consider if you really value a friendship.

totalhack commented on Apple M4 MacBook Air review: I have no notes   arstechnica.com/apple/202... · Posted by u/tosh
kisamoto · 9 months ago
I am evaluating a new machine to replace my laptop & desktop for coding (Python, Go, React), data exploration, running containers and low resource business day-to-day (Microsoft Suite, Slack, light image editing etc.) - not necessarily all the same time but often.. I travel a medium amount so can't just use a desktop but running both seems cumbersome.

The M4 MacBook Airs are very tempting and I think the size & weight of the 15" is not as offputting as it once was. However I agree with the criticism in this article. A lesser quality display and lacking a little power (M4 Pro option would be nice).

A 14" MacBook Pro is the current draw. Slightly heavier but option for M4 Pro as well as more memory (up to 48GB) as well as nanotexture for out and about.

I love the idea of the Framework 13" machines with Ubuntu. Almost same weight as a 13" Air and with strong upgradeability. Disadvantages (to me) are the battery life on Linux is significantly less than an Apple device (although hard to find exact numbers), and even with the new Ryzen AI Max processors and the DDR5 memory, speed is much lower compared to the M-series soldered on a chip (although I'm open to counter points that this difference in speed is not worth it).

The Apple software ecosystem is a soft grab but to be honest there are options to Apple Photos which is the one I use the most.

totalhack · 9 months ago
I just went through this process and ended up getting the HP Omnibook Ultra Flip with a core 7 258v, running Ubuntu 24.10. Performance is excellent, battery life is the best I've ever had on an Intel running Linux. If you truly need more RAM than 32 GB it won't be an option though.

The air or an mb pro seems so nice until I remember the sting of dealing with the dev environment and docker on a Mac compared to Linux. No amount of battery life or marginal jump in performance (which gets lost through needed virtualization) will make up for that for me.

Loading parent story...

Loading comment...

totalhack commented on Building AI agents to query your databases   blog.dust.tt/spreadsheets... · Posted by u/vortex_ape
gcanyon · 9 months ago
My general method for things like this is to:

1. Get a .dot file of the database. Many tools will export this. 2. Open the .dot in a tool I built for the purpose. 3. Select the tables I'm interested in, and export a subset of the .dot file representing just those tables and relationships. 4. Hand that subset .dot file to the LLM and say, "given this schema, write a query -- here's what I want: <rest of the request here>"

That gets the job done 60% of the time. Sometimes when there's an incorrect shortcut relationship resulting in the wrong join I'll have to redirect with something like, "You need to go through <table list> to relate <table X> to <table Y>" That gets my success rate up above 95%. I'm not doing ridiculous queries, but I am doing recursive aggregations successfully.

totalhack · 9 months ago
You are doing a lot of the work a semantic layer would do for you. I wonder if you would have better luck having the LLM talk to a semantic layer instead of directly to the database.
totalhack commented on Xonsh – A Python-powered shell   xon.sh/... · Posted by u/GTP
totalhack · 10 months ago
This is slightly less interesting now that I can have AI remember bash script syntax for me.
totalhack commented on Framework's first desktop is a strange–but unique–mini ITX gaming PC   arstechnica.com/gadgets/2... · Posted by u/perihelions
totalhack · 10 months ago
Happy to see them announce the new AMD chips in the 13", but the prices are a little nuts compared to what you can get elsewhere.

I bet the desktop is interesting, but first I was in a 30m waiting room to access their website (what?!?) and then the button to pre order the desktop is broken. Ouch.

u/totalhack

KarmaCake day139June 23, 2020
About
https://github.com/totalhack

https://bsky.app/profile/totalhack.bsky.social

View Original