CodeBrad

Joined 6 years ago

Karma
60
Submissions
28
Member since
Aug 7
interested in program analysis, compilers, and programming languages.
View on Hacker News

Recent submissions

Comment · 1 year ago
This was one of my favorite talks from RustConf this year! The distinction between cancel safety and cancel correctness is really helpful.

Glad to see it converted to a blog post. Talks are great, but blogs are much easier to share and reference.

Comment · 1 year ago
> which are optimized to be readable to humans and writable by AI

How might a language optimized for AI look different than a language optimized for humans?

Comment · 1 year ago
Comment · 1 year ago
I think Claude Code also already has the option to provide an API key directly for usage based pricing.

I'm a fan of having both a subscription and a usage based plan available. The subscription is effectively a built in spending limit. If I regularly hit it and need more value, I can switch to an API key for unlimited usage.

The downside is you are potentially paying for something you don't use, but that is the same for all subscription services.

Comment · 1 year ago
Comment · 1 year ago
Technically, because the bubble sort is implemented at compile time the program is infinitely faster.

The answer is produced as a compiler error and so there is zero runtime at all.

Comment · 1 year ago
Hey! I wrote this. The python being barely legible is my own fault, as the one who wrote it.

The whole post is written to be a little ridiculous, but I must not have gotten that across =(

I agree with you. In real life, python is absolutely a better choice than trying to write a Rust macro to produce the result as a compiler error.

I added a footnote to the end of the referenced paragraph to say that python is great.

Comment · 3 years ago
Is it though? How much does all the associated gear, operators, actors, sets, producers cost? In the context of professional video production, a one time savings of $6k seems pretty small.
Comment · 3 years ago
You get what you pay for.

If there is a one off person who can command a higher salary, its unlikely they alone will make a huge difference to the company anyway.

If there are a lot of people who could command a higher salary in that role, the pay is too low.

Overall it seems like a pretty good system. You could argue that the current system favors people who are good at negotiating, and not necessarily more skilled workers.

Comment · 4 years ago
"Server Not found" for any of:

- https://ai/

- https://www.ai/

- http://ai/

- http://ai.

- http://ai

and http://.ai/ gets redirected to a search engine searchfor ".ai" by firefox.

But http://www.ai/ works for some reason.

Comment · 4 years ago
Pretty similar to my experience TA'ing at a researched focused school.

My first semester teaching a lab I was told "No one is remembered for being a good TA" and encouraged to do the absolute bare minimum to get paid so that I could focus on research.

Comment · 5 years ago
I know not directly related to WebCrate, but it looks like the signup for DetaSpace is broken, so I am unable to try WebCrate.

When I try to sign up for DetaSpace, I get the following message:

> Exceeded daily email limit for the operation or the account. If a higher limit is required, please configure your user pool to use your own Amazon SES configuration for sending email.

Comment · 5 years ago
> We also focus very closely on ensuring our tools have low false positive rates and so we tend to have less noisy output.

What kind of things does lift do to ensure lower false positives?

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton