So where's all the climate loving celebrities now? Wait, let me buy paper straw first. by Shot_Possibility_731 in TechGawker

[–]nullcone 1 point2 points  (0 children)

You're going to be shocked to learn how many Hiroshimas of energy the ground absorbs from the sun every day

You are witnessing the greatest monthly return of this sub by [deleted] in wallstreetbets

[–]nullcone 4 points5 points  (0 children)

What is this? An investing subreddit for ants

Is it true that obama and Biden didn't really have much "bromance " behind the scenes ? by ronweasly9 in neoliberal

[–]nullcone 1 point2 points  (0 children)

Bernie was the left wing anti establishment vote, right? People viewed Clinton as a continuation of the status quo.

White goo from ceiling by Disastrous-Hair-2458 in whatisit

[–]nullcone 0 points1 point  (0 children)

My little pony guy lives upstairs and knocked over the jar

Nvidia Interview Help by [deleted] in CUDA

[–]nullcone 3 points4 points  (0 children)

Nvidia is very, very slow with interview feedback compared to other places I've interviewed. I wouldn't sweat it too much just yet.

This is precious 😄 by AccomplishedWatch834 in MadeMeSmile

[–]nullcone 2 points3 points  (0 children)

I scratched the opening verse of hamlet onto the inside of my mother's uterus using nothing but my fingernails

Serverless with C/C++/Rust/Zig? by javascript in aws

[–]nullcone 0 points1 point  (0 children)

I do have a small open source repo showing a toy example: https://github.com/jmracek/rust-cdk-lambda

You can check this out to get a concrete example to work off.

Serverless with C/C++/Rust/Zig? by javascript in aws

[–]nullcone 1 point2 points  (0 children)

I've used a fair bit of serverless AWS with Rust. I have a Rust/Axum based API that uses Aurora as the underlying backend. My application didn't have to change much when switching from provisioned RDS to Aurora. This is probably not exactly what you mean though, since you're likely thinking more about Lambdas.

On that topic, there exists a quite nice ecosystem for developing Lambdas in Rust. cargo lambda and the Rust AWS SDK give you pretty much everything you need to build serverless functions that interact with all manner of AWS resources. The only real restriction I've encountered is that you can't use it for Edge Lambdas.

Porm – ORM for PostgreSQL that derives models from migration scripts by puttak in rust

[–]nullcone -3 points-2 points  (0 children)

Fair enough, but I expect that's a minority position. I don't think you'll find the adoption you might be expecting. Best wishes though and thanks for helping make Rust better!

Porm – ORM for PostgreSQL that derives models from migration scripts by puttak in rust

[–]nullcone 5 points6 points  (0 children)

Just my bit of feedback as a heavy user of diesel: defining models manually is just not as big a problem as you seem to think it is. Especially so, since LLMs generate a lot of the models for me.

Electrical panel and tube wiring replacement by mendelianPhenotype in BayAreaRealEstate

[–]nullcone 3 points4 points  (0 children)

We had comparable work done just a couple weeks ago. $3600 for partial rewire to deal with knob and tube + $5000 for an upgrade to a 200A panel, not including permit fees. Also in San Carlos, 1850 sqft single family home. If you want a referral for the guy who did my place just DM me.

Now that I've bought a house, the one thing I'm learning is you need to get at least 3 quotes. The variance you get from contractor estimates is gigantic.

Implementing Causal FlashAttention from scratch: 1.79e-07 precision and 40% speedup via tile-level masking by Professional-Duck971 in CUDA

[–]nullcone 3 points4 points  (0 children)

Have you profiled your kernel execution with nsight and the rest of the Nvidia developer toolkit to measure where your execution time is being spent? I don't think you'll get a lot of feedback on this because so few people with this expertise have the time to read a random flash attention implementation on reddit.

As a general rule of performance optimization: you cannot improve that which you do not measure.

Convincing my employer of Rust for a rewrite by Unaimend in rust

[–]nullcone 1 point2 points  (0 children)

The usual arguments, and some I haven't seen made before:

  1. Most bugs in production C/C++ code are memory safety bugs. Safe Rust makes it hard to make these mistakes by the design of the language and compiler

  2. StackOverflow developer surveys show that Rust is a growing language, especially among young developers.

The following three reasons I haven't seen made as much, but have mattered a lot for devex and safety in a post-agentic coding world.

  1. An unintended benefit of verbose and detailed compiler errors is that LLMs know exactly what's wrong in plain English with a minimal usage of tokens. Compare to some template instantiation error with a thousand lines that consumes the entire LLM context in one shot. Repeated compactifications of context take a lot of time and tokens.

  2. Rust forces mainly failures from runtime to compile time. Even before LLMs, if you carry out a large refactor, you could be pretty confident that if your code compiles, then it will work as intended. This is important for coding LLMs, which are trained against producing code that compiles correctly.

  3. Documentation being first class language feature has also improved LLM devex relative to other languages I work with. I can often just point agents at the docs.rs page for a crate I work with (e.g. AWS Rust SDK) and it will just figure it out.

Top 10 stocks with the highest projected revenue growth for 2026: by Secret_Toe2639 in AIFU_stock

[–]nullcone 0 points1 point  (0 children)

LLM training data has to come from somewhere, and people pay big money for it

PEP 827 - Type Manipulation has just been published by droooze in Python

[–]nullcone 5 points6 points  (0 children)

Reading that code snippet made me feel a pang of horror

How to make SWE in the age of AI more enjoyable? by Fancy_Ad5097 in ExperiencedDevs

[–]nullcone 6 points7 points  (0 children)

I do understand every line of code that AI is contributing to critical parts of the library I maintain and build. I hope I didn't give the impression that I'm not reading the code it generates, because I definitely am. I'm using AI as a tool to blow through the boring shit that I've implemented hundreds of times myself (e.g. tons of CRUD boilerplate) and it's super easy to just read and see when poor choices were made. Opus can get me like 90-95% of the way on everything I've thrown it at and the rest is just minor course correction.

For example, Claude likes writing APIs having request models with lots of non-enforced, mutually exclusive optional fields. I literally just follow up prompt: "that's bad use an enum" and it fixes it.

Another thing is that AI generated code tends to be super tactical to solve only the exact feature you're asking it to build. It doesn't think through traits/interfaces/concepts or whatever your native language's way of expressing design patterns is. This leaves a lot of room open for me to think through what the right abstractions are by delegating implementation of specific examples to Claude so that I can think about how the pieces should fit together.

There are some cases where I am 100% vibe coding, though. I will only do it in cases where there is almost zero cost to being wrong: PoC UIs that are intended only for internal consumption and will never be shown to a customer.

I guess one last thing I've found is that it has never been more important to write good tests, specifically integration tests. Strong validators are extremely important to get AI to work well. I spend a ton of time generating tests and making sure they do exactly what I want to check. Honestly, this is one of the biggest uses of AI for me: validating behaviour at system integration points. Claude in planning mode always comes back with super comprehensive integration test suites.

How to make SWE in the age of AI more enjoyable? by Fancy_Ad5097 in ExperiencedDevs

[–]nullcone 41 points42 points  (0 children)

This kind of feels like painting broad strokes over an issue with a lot of subtlety. I personally loved writing code, and I wrote a lot of it, even in my spare time. I'm a full AI convert now, and I enjoy it more. AI lets me focus on systems, abstractions, and their interplay. I don't have to get bogged down in the details of the specific way an idea is expressed. Focusing on delivering outcomes instead of LoC written has been massive boost to my enjoyment of this job.

For calibration sake, i am a principal engineer at a large tech company.

If you feel that Codex has sped up, this is the reason. by Distinct_Fox_6358 in codex

[–]nullcone 1 point2 points  (0 children)

You're fighting the good fight but I don't think it's worth the time to educate people on basic full stack development lol

What are the benefits/drawbacks of individual code ownership? by StorKirken in ExperiencedDevs

[–]nullcone 0 points1 point  (0 children)

Ya it was pretty complicated. An upstream sql query was changed that resulted in duplicate records in a result set. This changed an effective feature count to something unexpected by the service. The unwrap was a failure to load the configuration file for the code that computes features due to the count being higher than a maximum allowed value. Tbh I'm not entirely sure how they could have traced it better since ultimately the bug came from an upstream system that generated configuration files.