Better HN
topnewbestaskshowjobs
Log inSign up

chpatrick

2,703 karma · joined May 5, 2014 (12y ago) · 1,214 submissions

Submissions

comment 1y ago · link · parent

Sure, sufficiently advanced dominoes.

https://xkcd.com/505/

We're already at the point where LLMs can beat the Turing test. If we define thinking as something only humans can do, then we can't decide if anyone is thinking at all just by talking to them through text, because we can't tell if they're human any more.

comment 1y ago · link · parent

Do you understand human thinking well enough to determine what can think and what can't? We have next to no idea how an organic brain works.

comment 1y ago · link · parent

Everything happens in an opaque super-high-dimensional numerical space that was "organically grown" not engineered, so we don't really understand what's going on.

comment 1y ago · link · parent

Okay, what's the great compiled alternative then?

comment 1y ago · link · parent

I don't think writing your frontend in Rust instead of TypeScript or your computer vision pipeline in Java would be better at all. We rewrote our frontend in GHCJS (Haskell) at one point and it was a colossal waste of time.

comment 1y ago · link · parent

Happily using both in production here, guess I'm just hallucinating.

comment 1y ago · link · parent

What job are we talking about and why is TypeScript or typed Python actually bad at it?

comment 1y ago · link · parent

As far as I know Watson was actually smoke and mirrors, relying on a ton of human hand written rules and didn't do any reasoning at all. It was a giant program written in PROLOG, not machine learning.

comment 1y ago · link · parent

So you'll only be impressed if it's superintelligent and solves a problem no human has? That's a ridiculously high bar.

comment 1y ago · link · parent

For the kind of work I'm using Python for (computer vision, ML), not really. The ecosystem isn't there and even when it's possible it would be much less productive for very little gain. Typed Python actually works quite well in my experience. We do use C++ for some hand-written things that need to be fast or use libraries like CGAL, but it has a lot of disadvantages like the lack of a REPL, slow compile times and bad error messages.

comment 1y ago · link · parent

I disagree and I've been using Haskell professionally for ten years so I know what I'm talking about when it comes to types. Typed Python isn't perfect but it's totally workable with medium sized projects and gives you access to a great ecosystem.

comment 1y ago · link · parent

None of those things are to do with typing. Python is slow because it's interpreted, bad at parallelism because of the GIL (which is going away), and bad at deployment because of the messy ecosystem and build tools (although it's pretty good with Nix). Conversely other languages aren't good at those because of static typing.

It is a great choice though for many problems where performance isn't critical (or you can hand the hard work off to a non-Python library like Numpy or Torch). Typing just makes it even better.

comment 1y ago · link · parent

That was more because of Java than static typing.

comment 1y ago · link · parent

You generally don't write Python if you want it to be really fast anyway (non-Python parts like numpy notwithstanding).

comment 1y ago · link · parent

To be pedantic compiled languages only check types at compile time as well. If you have a C library that takes void* then it can easily go wrong at runtime.

comment 1y ago · link · parent

Would you? Why?

Python has a great experience for a bunch of tasks and with typing you get the developer experience and reliability as well.

comment 1y ago · link · parent

Because Python has a lot of things it's great at (numeric stuff, ML, computer vision, scripting), and with types you can actually rely on it to work. It's the best of both worlds.

comment 1y ago · link · parent

I went from mypy to pyright to basedpyright and just started checking out pyrefly (the OP), and it's very promising. It's written in Rust so it's very efficient.

comment 1y ago · link · parent

Is it? If you're the only user then you care about latency more than throughput.

comment 1y ago · link · parent

Poorly optimized apps need big batteries.

comment 1y ago · link · parent

Whatever you say.

comment 1y ago · link · parent

It's not new scientific ground but a machine beating a challenging computer science problem unassisted is a big deal. If they can do that then there are a lot of other challenging things they can do.

comment 1y ago · link · parent

It doesn't say anywhere that Gemini used any of those things at ICPC, or that it used more real-world time than the humans.

Also, who cares? It's a self contained non-human system that could solve an ICPC problem it hasn't seen before on its own, which hasn't been achieved before.

If there was a savant human contestant with photographic memory who could remember every previous ICPC problem verbatim and can think really fast you wouldn't say they're cheating, just that they're really smart. Same here.

If there was a man behind the curtain that was somehow making this not an AI achievement then you would have a point, but there isn't.

comment 1y ago · link · parent

Humans are allowed to look up and learn from as many previous problems as they want before the competition. The AI is also trained on many previous problems before the competition. What's the difference?

comment 1y ago · link · parent

I mean strong human contestants would also know a lot of similar problems, I'm not seeing how it's fundamentally different or not a meaningful achievement.

comment 1y ago · link · parent

Where is this magic ICPC competition answers database that they're using?

comment 1y ago · link · parent

Don't worry, they're just stochastic parrots copying answers from Stack Overflow. ;)

comment 1y ago · link · parent

To be fair Tesla was in a very primitive state when he took over.

comment 1y ago · link · parent

Why wouldn't they just take a carriage pulled by a horse?

comment 1y ago · link · parent

Hence "allegedly", but I think it's pretty telling that the people who work at Google and Meta are okay with this.
1
8910
41