Hacker Newsnew | past | comments | ask | show | jobs | submit | everforward's commentslogin

Phi was like 2B params, there’s stuff that’ll run there. I wouldn’t have thought it was $200/year useful, but I hadn’t tried, maybe I’m totally wrong

I actually don't hate that part of C. You have to acknowledge it's a pointer with a different accessor. I liken it to = vs := in Go. It's an unnecessary semantic, sure, but it elevates a technical detail to be part of the syntax of the language. Go has caught me a couple of times when I forgot I had the same variable name in scope already (e.g. opening a second file descriptor and trying to name it "fd" again).

My mind equates -> to "this could be NULL" without ever looking at the function signature.

It is way more of a pain in the ass for refactors than = vs := though.


I don’t think that’s a good comparison. It’s to do with variable scoping, which is really quite core to reading and comprehending code.

-> just… isn’t. Acknowledging it’s a pointer with a different accessor is just not really that important. I mean, in some specific cases it might be, but in general it’s not.

Point in case: go?


There's one more aspect to it in D:

    struct S {
      int a;
      int f(); //getter
      void f(int i); // setter
    }
    void test() {
      S s;
      int i = s.a;
      int j = s.f;
      s.f = i;

      S* ps;
      int k = ps.a;
      int l = ps.f;
      ps.f = k;
    }
i.e. the field can be replaced by a function and the usage of it would not change.

Actually, those are things I like about C:

- It does not run code behind my back when I access a field.

- I see when a pointer is used, so the syntactic distinction between -> and . is important.

Being able to change this without changing these little things is far less important to me than being able to understand important properties of the code just by looking at it.


> it elevates a technical detail to be part of the syntax of the language

For me that's definitely a bad thing. It's the reason I don't like Rust syntax, they make you write everything out even if there is no possible way to misinterpret the code. And they never do things like Zig enum variant shorthand because syntax sugar is evil. Maybe they're just diabetic.


Rust Deref trait can do quite a bit behind the scenes. And there is (sort of) an enum shorthand, e.g. the following works. (It's more useful in match statements.)

  #[derive(Debug)]
  enum E { A, B, C }
  pub fn main() {
    use E::*;
    let x = B;
    println!("{:?}", x);
  }

Totally fair, I get that. I’m also not a hardened C dev, so maybe it would annoy me at some point. I gripe about Go’s assignment operators from time to time, but I like it on the net.

Not really Go in general, though. It’s mostly disappeared from my personal projects, in part because of their matching allergy to syntax sugar. I am incredibly tired of writing “if err != nil” blocks, and I don’t understand why there isn’t some kind of “if this function returns a non-nil error, return zero values and the error”. If only I could get something better to make a static binary. By which I mean “I like Clojure and refuse to learn SBCL because… reasons”


This is semi-common in infrastructure roles. If the company self-hosts it's super normal, there's pretty much always a set of "test hardware". Some places it's separate hardware, some places it's the dev environment and everyone is used to it being a bit funky.

It happens _sometimes_ in cloud environments if you're large enough to need some kind of a test zone. E.g. at one place management wanted the dev env to be stable, so I had to test out k8s changes in a separate cluster with the apps running. I basically perpetually had access to 500 GB of RAM and 100 or so cores as long as I was willing to set the test env back up. Management probably would have loved me using it for other stuff, because what they hear is "he's going to test that our Helm charts works from scratch, and on his own time".

One of the companies would actually hand retired hardware out to their infra folks if you asked (sans hard drives, those got shredded). They had a room on the top floor with literal stacks of old decommed hardware if you wanted an old Cisco switch or an old server. I remember them switching to blade servers and being really excited for them to retire some, until I realized one of those 8 or 12 U blocks of blades required some unholy amount of power and I was going to have to do weird electrical stuff to even get them running. I don't remember exactly, but I want to say they ran on 3 phase power or some other sort of industrial power type you aren't getting at home easily.


It's interesting (and probably correct) how much this focuses on the UI.

I also looked (/am looking) at Lisp and AI, but I went with Clojure and zero-ed in on the REPL driven development. The high level idea is that a session maps to a namespace in Clojure. When you create a new session, it makes a new namespace, injects tools that are bound to that session into it, and then swaps you into that namespace. So I can do something like:

    (new!)
    (prompt! "Write me a script that does ....")
The agent configuration, tools it has, etc, etc are all bound to the namespace so you can drop a tool or change the model just for the session.

The agent also has a tool (that I've tried to encourage it to use almost exclusively) to execute code in the session's namespace (via nREPL, so same JVM as yours is connected to), so you have full access to any variables it declares, functions it makes, etc.

The idea was to be able to work collaboratively with the agent. I can e.g. load API data into a variable, point the agent at the variable, and it does stuff. It's also capable of modifying its own code. I semi-routinely poke it by asking it to add features to the harness and then use them ("add support for subagents in this workspace, and then invoke a separate agent to handle each of these tasks"). I've also had it add support for a new inference provider, swap the session to that provider and then start doing some other task.

It's very neat, and it's wildly insecure. E.g. prompt injection could theoretically make the LLM change itself to hide messages from you, there's nothing to prevent that. I'm actually not sure how you'd even go about trying to secure that, which is why it's probably a terrible idea. Fun, though.


> The high level idea is that a session maps to a namespace in Clojure. When you create a new session, it makes a new namespace, injects tools that are bound to that session into it, and then swaps you into that namespace.

Oh, that's a fascinating idea. Well done.


Not really. Google IPOd at a market cap of ~$41B after adjusting for inflation.

In different terms, Google IPOd at a market cap ~ 10% smaller than Ford’s at the time.

Anthropic is at 50x Fords market cap. It’s over half of Googles market cap, and Google is a competitor in the same market with a dozen already successful lines of business.

They are incredibly highly valued in a way where I don’t even understand mechanically how they could grow like that without the entire financial system crumbling.

Google is up ~ 6,600% since IPO. Apply that to Anthropic and they’ll be worth something like $132T in 2048. As a point of reference, the Congressional Budget Office is predicting the US national debt to be around $102T in 2050 (paper was from 2020, might be outdated).

Anthropic, the singular company, will have to grow to be worth 130% of the entirety of the US’ debt. Napkin math says their revenue would probably have to exceed the US governments tax income. Like genuinely, Anthropic would have to become a world superpower all on its own.

They would be so big that they’re an existential threat to whatever country they call home. They would be such a large portion of the economy that central banks would lose any kind of control (presuming Anthropic doesn’t issue their own currency, they’d be a larger economy than most countries).

I can’t see how that could happen mechanically. The world would burn to the ground even trying to make it happen. If you thought Standard Oil was bad, this would be that but for every product and service in existence and all run by the same company.


Humanity will be extinct long before 2048.

I don’t believe there’s a central coordinator (it wouldn’t be distributed then).

I think you’re missing that rooms are attached to servers, and you can join rooms that aren’t on your server.

If I go join a room with 50k people on another server, those 50k people need to pull an online status from my server and my server needs to pull all of theirs.

Multiply that by all the rooms 50k people have joined and you get a _lot_ of messages bouncing around.

It’s sort of hard to optimize without either a central and implicitly trusted cache, or giving up on trust entirely. Central cache is sort of obvious. You could go peer to peer but then you have to deal with “what if somebody modified their server to issue forged updates”. You could maybe sign them but I’m not sure how anyone would validate that without getting a pubkey from your server and now we’re back to scaling problems and have a new “storing a million pubkeys” storage issue.


It’s wild because the ability to identify your citizens is one of the only core competencies that spans basically every form and manner of governance, from a huge country’s government to city council.

Like virtually every other function of government first requires establishing who someone is and whether they’re a citizen.

It’s shocking to give that up. If ID.me decides tomorrow they don’t actually like the US government (crazy, but crazy happens sometimes), think about how many US systems just stop working because they can’t tell if you are you or even a citizen.


It can, but the typical usage I’m used to is far less structured and need not involve the value having the same type at every point. Eg something like

|> docker.listContainers() filter(x => x.name == “something”) first getNetwork getIpAddress toString ping

(ignore that some of these should be chained and some should be arguments, I haven’t read the proposal fully)

They’re doubly nice in Clojure because of the lazy evaluation. You can map a pipeline over a list and it will evaluate one at a time rather than pre-evaluating and allocating memory for the whole thing.


I reckon we’ll see the opposite.

This is the first time “open source” has meant anything other than “probably free” to the average person.

I constantly hear people complain about UIs. You know who probably makes a great UI for non-technical retirees? A non-technical retiree. They’ll probably start from forking an OSS project, though.

I think the really clever folks will move up to building vim/emacs/Firefox esque apps that are heavily scriptable, and your weekend OSS projects will be done by non-technical folks who just want something really specific.


> I constantly hear people complain about UIs. You know who probably makes a great UI for non-technical retirees? A non-technical retiree. They’ll probably start from forking an OSS project, though.

You know what makes a great UI for non-technical people? Codex or Claude.

GUIs were a response to the limited resources available on old computers. And, as we're increasingly finding out, text is FINE. People like Teh Pretty(tm), but they'll take plain text if it solves their problem.

But, congratulations, you DID identify the primary bottleneck--customer support. And, no, I am NOT going to be unpaid customer support for non-technical people. Bleah! Get back to me when Claude/Codex don't suck for that.


Sensible people largely invest in index funds or retirement accounts, which this wouldn’t prevent.

Practically every single one of these proposals only restricts your ability to buy and trade a particular stock. You can still trade stocks, you can still have an account manager, you can still tell them you want more exposure to solar, you just can’t tell them you want to buy RandomSolarCo by 4pm Thursday.


Even this is too much discretion. Members of Congress should be limited to index funds and no individual stock ownership.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: