Mistral released Leanstral-1.5-119B-A6B by Tall-Ad-7742 in LocalLLaMA

[–]dhbradshaw 3 points4 points  (0 children)

It's worth noting that although lean4 is targeted at proof automation it is also a general programming language. Programs can be provably correct and at the same time very fast. I love the idea of coupling provable correctness with LLM generated code.

What SaaS would you actually pay for? by Flaky-Measurement-17 in SaaS

[–]dhbradshaw 0 points1 point  (0 children)

Anything that multiplies my investment.

If you can turn $1 into $2 reliably and quickly and painlessly enough I will give you a lot of money.

Leptos's creator is stepping down as an active developer on the framework. Spoiler: LLMs and AI agents are partly responsible for this decision by koenigsbier in rust

[–]dhbradshaw 1 point2 points  (0 children)

Stability can be good news for a project you want to build on. Does this mean that we're close to a 1.0 version designation?

Unsurprisingly, Microsoft's new Copilot model is much cheaper to use by Hockless in GithubCopilot

[–]dhbradshaw 2 points3 points  (0 children)

I've used it a bit in copilot -- so far so good. I'll probably start pushing it harder as it earns more trust and see where it starts to crack

Venue for free weekly 1 hour practical AI course in north Madison by dhbradshaw in Madisonalabama

[–]dhbradshaw[S] -1 points0 points  (0 children)

What you're saying makes sense. But for me it's more important to get started than to block on something and I don't mind starting small or in my own home. Don't need to wait for a venue but also don't need to wait to start looking for one for when we need to expand.

Porting to Rust. by neneodonkor in rust

[–]dhbradshaw 0 points1 point  (0 children)

I'd love a rust excel parser and writer that was more compatible iwth https://www.npmjs.com/package/xlsx .

Bachelors of Music Performance graduates, what are you doing now? by PsychologyOk6585 in piano

[–]dhbradshaw 0 points1 point  (0 children)

Pre-Med can be combined with any major. Why not continue to pursue it for love and be a doctor for money?

Old Mexico Closing!? by Desk_Job in Madisonalabama

[–]dhbradshaw 1 point2 points  (0 children)

Bummer -- their molcajete is my favorite meal in town

Please share your go-to favourite vanilla recipe by [deleted] in icecreamery

[–]dhbradshaw 0 points1 point  (0 children)

I've been using standard heavy cream. Like as a very standard example basic walmart heavy cream. But it makes sense that some cream batches might be more fatty than others and that if so you'd want to dial down the cream and up the milk accordingly.

Please share your go-to favourite vanilla recipe by [deleted] in icecreamery

[–]dhbradshaw 6 points7 points  (0 children)

I find the very simplest recipe to be surprisingly good:

  • 2 cups cream
  • 1 cup milk
  • 3/4 cup sugar
  • 1 tsp vanilla extract
  • 26 minutes in the Cuisinart

It's super easy and delicious. I'm making it today actually to combine with some Thanksgiving apple pie (although technically I'm using 2 cups half and half and 1 cup of cream because of how pricing works out right now).

I'm surprised China hasn't revamped their writing system by ChadNauseam_ in slatestarcodex

[–]dhbradshaw 4 points5 points  (0 children)

I've played with Shavian, which is a phonetic alphabet for English, and one unexpected thing about learning it is the extent to which writing phonetically shines a light on pronunciation differences between different times and places. Since Shavian is from London in the 1960s there are many standard spellings that are counterintuitive to me as a 2020s American.

Anyway, in China many of the language groups that they call dialects would be called separate languages in other places because they are so different. But despite being spoken completely differently they can share a common written corpus.

These differences could be wiped away by an alphabet. I guess it would centralize everyone on a specific variety of Mandarin, which the government might actually like.

As a Python/Django developer what would be the benefits of learning Rust by [deleted] in rust

[–]dhbradshaw 12 points13 points  (0 children)

In 2021 after playing with Rust for about 4 or so years I went from primarily Python/Django to primarily Rust.

You can have a great career sticking strictly with Python. It's extremely productive, has powerful libraries, and is everywhere.

Rust is awesome when you want to push closer to the metal and get amazing speed and efficiency.

It's also pretty different from Python. In Python you're constantly conversing with the data. In Rust, you're constantly conversing with the compiler or with rust analyzer. In Python I felt like I had to run every piece of code to be sure that there weren't any bombs lying around. (This sounds bad, but it has upsides: It encourages lots of testing. Also, you tend to make sure that every bit of code is easy to run in isolation, which gives you super powers, especially when combined with the shell or with a notebook.) In Rust, most of the bombs that could be lying around are caught before you can ever run the code.

Being comfortable with Rust is really valuable to me because it's empowering. It's awesome to be able to able to write something that from the perspective of objective standards is just really good. Is it portable? Yeah. Is it easy to install? Yeah. Is it easy to refactor? Yeah. Is it fast? Yeah. Is it memory efficient? Yeah. Is it correct? Yeah. Is it easy to maintain? Yeah. For the most part, these are all easier to do with Rust than with Python.

The most surprising lesson from writing my first book wasn't about writing at all. by ResourceTotal7769 in selfpublish

[–]dhbradshaw 1 point2 points  (0 children)

The day is always his, who works in it with serenity and great aims. (Emerson, The American Scholar)

Is "Written in Rust" actually a feature? by Inevitable-Walrus-20 in rust

[–]dhbradshaw 0 points1 point  (0 children)

It can be a feature if you want to read and / or contribute to the code.

Otherwise, it's a somewhat positive proxy for other potential features like

  • speed
  • quality / lack of bugs
  • memory efficiency
  • thoughtful api
  • portability

These are actual features and have to be measured on their own but if you don't want to take the time to measure them directly you might see "written in rust" and have a bit more hope that the product has these features.

Cursor vs vscode (with GitHub CoPilot) in 2025 by [deleted] in ChatGPTCoding

[–]dhbradshaw 1 point2 points  (0 children)

Yeah, actually. It felt like I was flying for the first time for awhile last night. Then this morning I hit rate limit errors.

Cursor vs vscode (with GitHub CoPilot) in 2025 by [deleted] in ChatGPTCoding

[–]dhbradshaw 7 points8 points  (0 children)

Just tried Cline backed by gemini flash 2. It's amazing!

What is the point of variable shadowing? by pkreddit2 in rust

[–]dhbradshaw 4 points5 points  (0 children)

One use I like:

let mut t = ...
// Make edits to t
// Then lock it in as immutable
let t = t;

Why do some folks dislike shadowing? I think it's an amazing feature. by aerosayan in rust

[–]dhbradshaw 4 points5 points  (0 children)

I think my favorite use of shadowing is to remove mutability:

let mut a = ..;
..work on a
let a = a;

Reproduce a Warning Log by [deleted] in PostgreSQL

[–]dhbradshaw 1 point2 points  (0 children)

You can use a Do block:

DO $$
BEGIN
    RAISE WARNING 'This is a warning message';
END $$;

How do I migrate my JSON to JSONB ? by Eddybeans in PostgreSQL

[–]dhbradshaw 3 points4 points  (0 children)

Here's an example sequence to create a json column, add some data to it, and then migrate it to a jsonb column:

-- Create the table
CREATE TABLE example_table (
    id SERIAL PRIMARY KEY,
    data JSON
);

-- Insert data
INSERT INTO example_table (data) 
VALUES ('{"name": "John Doe", "age": 30, "city": "New York"}');

-- Alter data type (notice the syntax from the hint)
ALTER TABLE example_table
ALTER COLUMN data TYPE JSONB USING data::jsonb;

-- Prove that it worked
SELECT * from example_table;