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]}");
}
}
}
}
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.
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?
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.
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?
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.
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.
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.
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.
> 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.
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!
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?
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.
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.
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.
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.
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 :)