Better HN
topnewbestaskshowjobs
Log inSign up

quietbritishjim

8,227 karma · joined Oct 22, 2017 (9y ago) · 2,475 submissions

Submissions

comment 2d ago · link · parent

For small companies, pricing is similar to pricing for consumers, so for 20 regular seats it's about $5000/year and for all Pro seats it's about $25,000.

Obviously it's possible to spend more than this but the fact remains that would be quite heavy usage.

Disclaimer: I've looked into this but haven't even part of a team that's billed like this (and I'm in the UK where prizes are slightly different anyway).

Anyway, $500k ought to get you human support even if that were a relatively small amount for the supplier.

comment 2d ago · link · parent

You're missing the point that what you're considering to be inefficiency, the heat dumped into their home, is required anyway e.g. with a space heater instead. So, for them, the margin ecological cost is literally zero. No level of efficiency at a data centre could beat that.

(But a heat pump at their home, which has >100% effective efficiency at heating their home, would beat their setup.)

comment 2d ago · link · parent

Then why did you even bring it up when the link in the comment you replied to was indeed just about remastering, not censorship?

comment 2d ago · link · parent

It's not clear to me if you think that article specifically made up this word, or you just mean you're not happy with whoever made it up. But, just to be clear: "clanker" is a very widespread term for AI agents.

comment 2d ago · link · parent

> Microsoft Visual C++ package manager

vcpkg is certainly created and maintained by Microsoft.

But it is not for Visual C++. Visual Studio build tools is supported, and it's the default (but not only option) on Windows. But it supports other platforms and build tools too.

comment 3d ago · link · parent

According to other comments (and Google's own encouragement it seems), multiple accounts are supposed to be fine. It's just that if one is closed then typically they all are (or, put another way, multiple accounts for the express purpose of working around an existing ban are not fine).

comment 3d ago · link · parent

Both are relying on the same underlying rule though. If (in theory) a particular Sudoku had multiple solutions, then assuming the uniqueness rule and guess and check would both prevent you from finding all solutions.

comment 3d ago · link · parent

I've seen a non-unique Sudoku in the wild. It was a free London paper, probably the Metro, about 10 - 20 years ago. It had three valid solutions - two were very similar (just differed by the "deadly rectangle" in the article's terms) and the other had a few more varied cells.

It was also a prize puzzle (i.e. send in the two shaded digits and be entered into a prize draw) and one of the shaded cells differed between solutions!

If you had used the uniqueness condition from the article, you might have found one of the solutions and incorrectly thought you'd found "the" solution.

comment 1w ago · link · parent

That is interesting, thanks!

It's funny, that paper starts with images of the letter "S" that, although not perfect, look acceptable to my untrained eye. By the end of the paper, the later iterations of "S" look, to me, horrific.

Edit, now that I've read it: that's because the early S is from a totally different font. I was tricked because some early figures render the 16th century S in METAFONT with a couple of variations.

comment 1w ago · link · parent

That's misrepresenting what I said. In fact, I think you're agreeing with me with a tone of disagreement.

I said that I accept defaults today, so that's definitely not what I was considering extreme. I think we both agree that font experiences do noticeably improve over time, but suffices to keep to the defaults.

As I read it (but looking back now I'm not so sure), OP seemed to be implying that they don't even see a difference between today's fonts and displays from 40 years ago.

comment 1w ago · link · parent

To be honest this is just as extreme of a view as those that fuss over every tiny detail of their fonts.

I find most recent (last decade or two) fonts pretty similar. I can't really tell the difference between Windows default sans serif (Calibri) and Android's (Roboto) for example. Similarly for most serif and fixed width fonts you're likely to encounter today. But the change from the old Windows fonts (Arial, Times, Courier) is a lot more dramatic, I wouldn't want to go back to those.

The default LaTeX font, ironically named "Modern", is particularly painful. (I understand it's far too light because it was optimised for being printed with old printers that bled ink to surrounding pixels so implicitly bolded text a little.)

comment 1w ago · link · parent

It's only rare because it's relatively recent. I expect it to become more widely used because it can be used for simulating named parameters:

   struct Params { int p1 = 1, p2 = 2, p3 = 3, p4 = 4, p5 = 5; };
   void foo(Params p) {}
   int main() {
     foo({.p2 = 12, .p4 = 14});
   }
They have to be in the correct order though:

   // Not allowed
   foo({.p4 = 14, .p2 = 12});

comment 1w ago · link · parent

That makes sense, thanks!

comment 1w ago · link · parent

Hmm interesting. Is there a way to "value initialise" (in C++ speak) an int in Rust to set it to zero? Like `let x: i32 = {};` (without explicitly writing `=0`)? How about a way to do that for a sort of plain struct where there are multiple members you just want to set to their default values?

comment 1w ago · link · parent

But C++ has the return value optimisation (even the named return value optimisation), where you construct an object in a function and then "return" it, but it's actually constructed in place at the call site (not guaranteed but allowed by the language and widely implemented):

   Foo make_foo() {
      Foo result;
      result.blah = 7;
      return result;
   } 
   Foo f = make_foo();
   
   // Equivalent to:
   Foo f;
   f.blah = 7;
I don't know enough about Rust to know whether it has the same thing, but surely it could? If anything, it feels like it ought to be easier (for the compiler) because Rust moves rather than copies by default, and moves are destructive and bytewise.

Given that, it seems like a language could be designed so that a static method that returns an object could be allowed to construct an object in place. Again, I don't know enough about Rust or Zig to know if that's true of them.

comment 1w ago · link · parent

In C++ you can write "int x;" and get an object of type int.

If the only way to initialise a class-type object was to call some custom static method on it then you'd have to write "Foo x = Foo::create();". Suddenly it looks more special than a built-in type.

comment 1w ago · link · parent

There's really two things in play here.

One is that C++ has constructors, with lots of rules about which one is called when.

But the other is that primitive objects can sometimes be uninitialised, and sometimes that's what you want for performance (if you're about to overwrite them anyway). C++ classes are meant to be able to do anything a primitive type can (as a sibling comment says) so you sometimes want a class that you can either leave uninitialised or value initialise (essentially, set everything to zero) decided at the call site (not in the class declaration).

If C++ guaranteed that all members always had to be initialised, then all the default-like constructors (Foo x; Foo x = {}; Foo x = Foo(); etc) would resolve to the same thing (a call to the constructor you explicitly wrote if you did; otherwise all members default constructed, resolved as zero-initialisation if that's equivalent).

comment 1w ago · link · parent

> The paper gives the exact exponent 9/4 over every field, refuting the conjecture.

Until your comment I had missed that the title used Θ(n^2.25), not just O(n^2.25). I thought it was a slightly improved algorithm (those trickle out from time to time) but it's actually a proof of optimality!

comment 1w ago · link · parent

I preferred your comment to mine!

comment 1w ago · link · parent

Most packages in vcpkg use cmake. If library maintainer doesn't do anything too unusual in the CMake config then vcpkg can request ninja builds without any explicit support from the library.

comment 1w ago · link · parent

Fair enough. In retrospect I was being a bit dense. But I really did misunderstand it initially.

comment 1w ago · link · parent

Ok, so you could argue that the original comment accidentally proves the point that DST debates are pointless.

But they weren't actually making that point themselves, which what "I agree, [DST debates are pointless]" would suggest.

Maybe that second comment was just using that as a sarcastic / passive aggressive rhetorical device to make their point.

In which case, the only point I think they made is: making such confusing and disrespectful comments are the real waste of time.

comment 1w ago · link · parent

I'm happy to go ahead:

That type of behaviour is bullshit.

comment 1w ago · link · parent

> Yup, exactly.

Your comment doesn't seem to agree with the parent at all, never mind exactly.

comment 1w ago · link · parent

Lean has a bunch of rules about what a proof can deduce from earlier statements.

For example if you have already managed to prove the statement P → Q ("P implies Q" i.e. whenever P is true we then also know that Q is true), and then you manage to prove the statement P, then you can use those two statements to prove Q. Lean knows that P → Q plus P proves Q ("modus ponens").

As another example, if you have P or Q, and you prove P is false, then Q follows. (e.g. x is odd or even, then you prove it's not odd, therefore it's even.)

To accept the proof you don't need to look at all the millions of lines of proof, because Lean checks that they all follow correctly from earlier statements. You just need to accept three things:

* Lean's inference rules (like the one above)

* Axioms (e.g. definitions of numbers)

* The statement of the theorem in Lean symbols

These are all hugely shorter than the theorem's proof.

comment 1w ago · link · parent

I have seen at least one that has separate hoppers for regular and decaf with a little lever to switch between. I assume it's not uncommon.

comment 1w ago · link · parent

It is not helpful to start your comment with a condescending accusation of misunderstanding.

You are talking as if the parent comment was suggesting they could have offered more shares (at the same price). But they explicitly said they were talking about a higher price (for the same number of shares).

It's demand curve reasoning: If there were more people willing to buy shares than there were shares available (by a large margin), then they could have charged a higher price and presumably still had enough people (by a smaller margin) to buy the same number of shares. That means the offer price was undervalued.

comment 2w ago · link · parent

That would solve one problem, and create another one: fields get initialised in a different order depending on the caller. You have a valid point but don't pretend that there's no trade off at all.

comment 2w ago · link · parent

> The cancer drug needs two million. Anthropic gets 2 trillion.

There is rightfully a lot of skepticism about whether Anthropic can maintain their business in the face of competition, especially from open weights models. But it's undeniable that they do have a product that works at doing useful things, right now.

Presumably that cancer drug, important as it would be if it succeeds, is not currently guaranteed to produce any useful result at all (even with enough funding).

12345
83