HNHacker News
TopNewBestAskShowJobs

sakopov

3,945 karma · joined August 6, 2011

[ my public key: https://keybase.io/sergeyakopov; my proof: https://keybase.io/sergeyakopov/sigs/8_qx7QLcCYm40py1uN314zwmdJr8pdBpBqFlNuv9HMQ ]
submissionscomments
sakopov··on Ollama is now available as an official Docker image
I'm running it on windows using this docker image without any issues.
sakopov··on Show HN: Decorate Java stack traces with source code snippets
This is pretty awesome! This got me curious if I can do this in C# so I took a quick stab at it. It's not actually updating the original stack trace but it's kind of cool. Might be worth exploring further :)

    static void Main()
    {
        try
        {
            throw new DivideByZeroException("Boom!");
        }
        catch (Exception ex)
        {
            var trace = new StackTrace(ex, true);
            var frame = trace.GetFrame(0);

            var targetFilename = frame.GetFileName();
            var targetLineNumber = frame.GetFileLineNumber();

            Console.WriteLine($"Exception occurred at {targetFilename}, line {targetLineNumber}");

            if (File.Exists(targetFilename))
            {
                var source = File.ReadAllLines(targetFilename);
                var startIndex = Math.Max(0, targetLineNumber - 3);
                var endIndex = Math.Min(source.Length - 1, targetLineNumber + 1);

                for (var i = startIndex; i <= endIndex; i++)
                {
                    var lineNumber = i + 1;
                    Console.WriteLine($"{(lineNumber == targetLineNumber ? $">> {lineNumber}" : $"   {lineNumber}")}{source[i]}");
                }
            }
        }
    }
sakopov··on 12,000-year-old realistic human statue was unearthed
If I remember correctly only a small portion of the site was actually excavated mostly to preserve everything from erosion.
sakopov··on My solopreneur story
He built several projects that made recurring revenue. I can't build shit that makes $1 for me before I get bored out of my mind or "life happens" and it's abandoned. People underestimate how difficult it is to see anything through to completion and make any miniscule revenue. Not to mention scaling it out to some huge MRR. And he did that several times. This isn't just luck.
sakopov··on GitHub Actions could be so much better
We need Terraform for build pipelines and God help you if you use Bitbucket lol
sakopov··on Ask HN: I'm a SWE without a CS degree. Will online certs help me get into FAANG?
Leetcode will help you get into FAANG not certs.
sakopov··on Show HN: Booklet – Async forums as an alternative to chat
Absolutely. We've made a full circle and I'm very happy that products like this are becoming a thing again.
sakopov··on YouTube blocks Russell Brand from making money through its platform
Not really insane because it's not evergreen content.
sakopov··on The Death of Unity
Unity's site is all about real-time development, visualizations and things of that nature, not game development. Did they recently rebrand or has it always been this way? Could this have something to do with the perceived downfall? Are they now just targeting a different audience?
sakopov··on Harry Browne’s Rules of Financial Safety (1999)
> You’re speculating when: You select individual stocks, mutual funds, or stock market sectors you believe will do better than the market as a whole.

So no individual stocks and funds - got it. What am I supposed to buy to be an investor? A financial advisor?

sakopov··on California deploys AI-powered wildfire detection systems
[flagged]
sakopov··on Artists have forgotten how to draw
I really think that just like everything else in modern times, drawing or the act of actually doing something that requires talent or skill is too laborious to get monetized for. The other day on YouTube, I saw a guy swinging an upside-down bucket of paint over canvas while standing next to it with another person and discussing the entire thing like they were watching Michelangelo paint the Sistine Chapel. He has hundreds of thousands of subscribers. Later, came across another artist who makes hyper-realistic pencil drawings of people where each picture takes 2 to 3 months to make and looks literally like a photo-copy. He has a couple of thousand subs and barely gets any views.
sakopov··on Getting a job at Apple without going to college or doing LeetCode
Do tech companies still do old-school interviews where you just sit down with the hiring manager and talk about tech? I just did a few interview rounds, at some relatively obscure SAAS companies, after a very, very long break and they were all leetcode-type challenges. Is this the new norm?
sakopov··on Michael Burry shorts Major index in sizable bets
If the market ends up crashing, I think we'd have our 3rd crash in 3 years, which is a little crazy. Also large caps like $META trading like a penny stock where it does it a 3x in 5 months while small and mid-caps are still down since the 2022 crash. It feels weird.
sakopov··on Launch HN: Wondercraft (YC S22) – Use text-to-speech to create podcasts easily
Sorry, I missed that in your description.
sakopov··on Launch HN: Wondercraft (YC S22) – Use text-to-speech to create podcasts easily
Congrats on the launch! Looks like ElevenLabs is your direct competitor. How do you plan to differentiate? So far their pricing is a little better and they also provide the ability to create a custom voice model.
sakopov··on Squeeze the hell out of the system you have
I thought I was going to read something insightful. Instead it was a post about how to completely ignore your database performance and then consider overcomplicating everything with sharding and microservices because you didn't care to do basic profiling on your queries. I'm glad common sense prevailed, but this is really some junior-level stuff and it's being celebrated as some kind of novelty.
sakopov··on Launch HN: Rubbrband (YC W23) – Deformity detection for AI-generated images
Wow, that page generates some striking images. Thanks for sharing the link!
sakopov··on The Collapse of the EV SPACs: Another One Goes Bankrupt, Others on the Verge
They went from losing ~$160K per vehicle in Q2 2022 to $32K in Q2 2023. So at this pace, they could break-even within the next 2 or 3 quarters.
sakopov··on The Collapse of the EV SPACs: Another One Goes Bankrupt, Others on the Verge
Rivian actually had a really good quarter. They're still losing $32K per vehicle but this number has been coming down substantially every quarter so the margins are improving and they're almost at a break-even. Nikola secured a grant from California Transportation Commission for $42M recently. This one was very shocking because they were basically a scam company a couple of years ago.
sakopov··on My frugal indie dev startup stack (2022)
> I use AWS EC2 for Waitlist's backend python webserver, RDS for the postgres database, S3 for file storage, and an Elastic IP

Honestly, if you're using AWS for VPS, S3 and RDS you're better off on something like DigitalOcean or no cloud at all.

Also, I don't understand using SendGrid and Sentry when you're already on AWS and have SES and CloudWatch. You could even connect CloudWatch with PagerDuty via alarms and milk their free tier to get notified when you have errors. You can use CloudWatch pretty extensively and still stay within the free tier and I think SES would be ~$10/mo at their volume.

sakopov··on Catching up on the weird world of LLMs
I guess the author did make a complete explanation when they mentioned arrays of floating point numbers representing connections. I just thought there was more to it that was omitted. This seems like a relatively simple solution which simulates an fascinatingly complicated process when performed at scale. Thanks for a great explanation!
sakopov··on Catching up on the weird world of LLMs
Can anyone give a layman's rundown on "it guesses the next token" in situations where it's seemingly able to apply what looks like logic to certain prompt requests?
sakopov··on Hackers manage to unlock Tesla software-locked features
I don't think anyone's taking a soldering iron to their on-board computer in a standard ICE vehicle. The fact that tesla has vehicle control code running on it (beyond your typical lane assist) makes this infinitely worse. Or am I missing something? I get that people disagree with these features being locked down and I agree. My point is this isn't like changing a cold air intake in your ICE car. This can have you go into a fucking wall at high speeds.
sakopov··on Hackers manage to unlock Tesla software-locked features
Am I the only one who thinks it's incredibly irresponsible to disclose this without going through proper channels first? They claim this hack unlocks a host of other features. Seems like a great way to get a bunch of people messing with their cars which could lead to all kinds of catastrophic consequences.
sakopov··on Ring is having a major outage
Are you implying Ring won't dispatch police when you have a break-in?
sakopov··on Threads users down by more than a half
What's the point switching from Twitter to this? Threads looks like a carbon copy without all of the engaging conversations, monetization and with all of the same censorship problems.
sakopov··on Alphabet Announces Second Quarter 2023 Results [pdf]
Looks like great earnings for probably one of the most undervalued large caps on the market right now (and Amazon).
sakopov··on Is technical analysis just stock market astrology?
Market sentiment is driven by a lot of factors including human emotion. So none of these tools are going to be accurate predictors of price movement. However, there are certain things in the market that are pretty solid indicators in my opinion. For example, RSI (relative strength index) shows when something is overbought or oversold and is a great tool to use. Typically an RSI of 70-80 is indicative of a coming sell-off or people taking profits after participating in the price appreciation rally (if RSI remains elevated for a period of time). Similarly, an RSI of 30, 40, 50 indicates that a company is over-sold and could present a good opportunity for starting a new position. Other things like head and shoulders and double top patterns are generally a crapshoot in my opinion. With that said, I do think that algorithmic trading uses these patterns, so maybe there is some merit to them.
sakopov··on The Fall of Stack Overflow
I haven't had an SO account in over a decade. In fact I had mine deleted per my request circa 2010 and it was Jeff Atwood himself who was handling that request. I still have that email interaction with him somewhere in my inbox :)
← PreviousPage 6 of 28Next →