7,679 karma · joined Dec 26, 2019 (6y ago) · 3,589 submissions
comment 9h ago · link · parent
Right now, we look at the difference of 9 orders of magnitude in speed.
comment 21h ago · link · parent
A 2 Hz cloud compute that costs $3 per hour ($42,000 for 1 MFLOPs delivered in about 6 days) is suitable for literally nothing.
comment 1d ago · link · parent
If I have eight B200, not only can I run something much better than Llama 3.1 8B, I can also run it much faster without bothering with encryption at all. And if I don't have eight B200, but I am okay with Llama 3.1 8B at about 2 tokens/s, then I can just run it locally, maybe even just on CPU only? I've just tried it with 12 threads on Ryzen 9 7900X @ 4.7 GHz, for the Q6_K version, and it gave me the speed of slightly above 7 tokens/s, so... what was the point of using FHE, again?
I mean, I guess if the user wants to use this model from their smartphone, and they want iron-clad privacy, and they're willing to bear the very slow speeds, but they don't want to drain their battery, and they're willing to pay for it as if they were paying for a much better model at much better speeds... yeah, this trade-off makes sense in this use case. Is this a realistic use case?
comment 1d ago · link · parent
> Average Cycle Time: 655.711279ms
And what is r6i.metal, exactly?
R6i instances are powered by 3rd Generation Intel Xeon Scalable processors
(Ice Lake) with an all-core turbo frequency of 3.5 GHz and include support
for always-on memory encryption using Intel Total Memory Encryption (TME).
R6i instances also support new Intel Advanced Vector Extensions (AVX-512)
instructions for faster processing of cryptographic algorithms.
Instance Size vCPU Memory (GiB)
r6i.metal 128 1,024
Amazing. So we're at ≈1.53 Hz now, when executed on top of 32 vCPUs @ 3.5 GHz. And how much memory does it use?People complain about AI datacenters using a whole 8 oz cup of water to answer a single prompt (meanwhile, a single burger apparently takes ≈600 gallons of water to make) but this is an even bigger waste of compute.
comment 1d ago · link · parent
I've seen a paper [0] that ingeniously uses homomorphic encryption to implement arbitrary algorithmic
computations, totally secret, by encoding a (custom-crafted) CPU together with RAM and then running
"tick a clock" algorithm on them. And it works, so you can borrow some AWS huge instance and run you
super-important calculations there — at 1 Hz. I am not kidding, it's literally 1 virtual CPU
instruction per second. Well, if you are okay with such speed and costs, you either have very small
data — at which point just run your computation locally, or you're really, really rich — at which
point just buy your own goddamn hardware and, again, run it locally.
[0] https://arxiv.org/abs/2010.09410comment 1d ago · link · parent
> Weight loss leads to a decrease in inflammation. (not new) Weight and testosterone link. (not new) Weight loss and increased ovulation. (not new)
That's... pretty much what indirect causation is, isn't it? Event A causes event B, which then causes event C, so A is an indirect cause of C. The end effect is that the fertility rates are higher in the ozempic-takers.
I mean, that's also pretty much what "the urbanization and improved public education lead to declining fertility" means — those things don't literally make people sterile; the causation is indirect. So, in pretty much the same sense, ozempic boosts fertility.
comment 2d ago · link · parent
Well, not to be rude, but Python and Go exist, you know. But if you're picking Rust (or Zig) — you will have to think about lifetimes, ownership, and allocations, that's the language's raison d'être.
> with features to please everyone and a lack of simplicity.
Like async! Compared to that barrel of worms, the new allocators are a complete non-issue. A two-functions trait, that Vec's and Box's "new_in" method use under the hood, with straightforward semantics — that's as complicated as having xmalloc()/xfree() in your C project.
comment 2d ago · link · parent
auto v = std::vector::from_values("foo", "bar");
// v is std::vector<char*>
auto w = std::vector::from_iters("foobar", "foobar" + 3);
// w is std::vector<char>comment 2d ago · link · parent
comment 3d ago · link · parent
comment 4d ago · link · parent
In your opinion, perhaps. In my book, when presented with an option to get $780k in exchange of not exposing the unethical and borderline illegal behavior of the company, the ethical thing to do is to take the money and then expose the company's wrong-doings anyway.
Whether this whole ordeal is legal or not, and whether it should be or not, is a different question entirely.
comment 5d ago · link · parent
Huh. Sometimes I wish I had one (the soul, that is). Can I adopt a fursona if I only have a personality? Does it have to reflect only one aspect of it?
> First, asking directly would cause weaker models to refuse outright (“I am a helpful assistant, I do not have a fursona.”).
Oh. So the strength of the model is (in part) measured by how well they can reject their system prompt? Then give me weaker models, please.
comment 5d ago · link · parent
There is no much reason to have an agent that reads 0.2 email/s, one by one, is there? And if you still decide to have it for some reason, sure, we can serve it 1 lightweight request every 5 seconds, that's not a problem. The problem is that most agents don't have such use patterns, theirs are much more aggressive.
comment 6d ago · link · parent
double m[1024 * 1024] = ?;
Foo x = ?;
Second, there is a question of semantics. You only get to have 1 destructor, and it's called unconditionally — so we force the author of Foo (or of any class, really) to either 1) write the destructor that can properly destruct an unitialized object which is a bit tricky since reading any of the fields of such an object is UB; 2) shift the blame to the users: "don't do that with this class" — which completely negates your "decided at the call site (not in the class declaration)" point, because this decision is made in the class declaration, and can be made only there, not at the call site.So as usual with C++, we end up with a half-working system, with subtle footguns, pervading all of the program code, and impossible to ignore.
comment 1w ago · link · parent
But I assure you, even if Jensen Huang were not reinstated, the trickle of the NVIDIA chips into China would not cease unless NVIDIA completely stopped shipping to Singapore/Malaysia/etc. Which it wouldn't for obvious reasons.
comment 1w ago · link · parent
comment 1w ago · link · parent
The desire to compile C89 programs with e.g. a C26 compiler (that is, a compiler for a similar, but different language), and yet still get the program with exactly the same observable behaviour, always struck me as strange. If you want to keep using your old compiler, you can use it. If you want to port your program to a newer version — well, you'll have to port it. They way to actually make this porting easier would be to have required diagnostics in the compilers but that seems to be counter-cultural to the C community in large.
Of course, the proper way to ensure backward compatibility would be to have every translation unit start with something like "#pragma std(c99)" and then mandate that the semantics of the corresponding language standard shall apply during translation of this translation unit, and that the conforming implementation must support all the previous language standards (in conformant way)... but again, that'd never fly with the C community, neither with the implementers nor the programmers — instead we have a vague definition of what "C code" is (and what is its semantics), which is time-dependent, but efforts are made to ensure that things that used to be C code, and their semantics, still count as C code and their semantics don't noticeably change over time (well, maybe).
comment 1w ago · link · parent
It's a variation of the "apples to oranges" metaphor which is just as stupid. Like, those are both fruits, so they have very similar possible uses, you absolutely can compare them! It's comparing, I don't know, toasters and umbrellas — yeah, that'd be silly, but only because the result of the comparison would be instantaneously apparent. You want toasted bread? Use a toaster. Protection from rain? An umbrella is obviously superior. Painting a roof? Both are equally useless.
So, Rust vs. C++? You want language features, you want tooling, you want the library ecosystem, you want the resulting programs' performance. All of those are things that the languages can, and should, be meaningfully compared with each other on.
comment 1w ago · link · parent
I'm sorry, what? I rephrased my comment several times when writing it, to make it as non-standoffish and "not a statement of fact, merely my opinion as I understand things" as I could.
> This is factually wrong: if you look around, you can find an example where it works pretty well.
And also pretty poorly, e.g. the board of directors in many corporations.
> So you would say that a monarchy that competently manages the state in the interest of the people is... a democracy? And then you give me lessons about the legislature and the executive???
No, I would say that the goal of democracy is to competently manage the state in the interest of the people. That doesn't mean that some other system of government can't put the same goal before itself, although empirically, they tend to not do this, i.e. most of non-democracies tend to have goals other than managing the state in the interest of the people.
So. To go back to your "counter-example" of monarchy — monarchies don't, as a rule, manage the state in the interest of the people, they manage it in the interests of hereditary aristocracy. And when they do, it requires almost completely gutting the aristocracy, making the monarch into the ceremonial figure head, and opening a large-scale franchise/suffrage — effectively turning it into a democracy not unlike e.g. Sweden. But a full-blown autocratic monarchy, with the aristocracy holding most of the official positions? Those never care for the benefit of the people all that much.
> So you do realise it's about representing the people
Yes.
> but you somehow believe that "democracy" means that the people wants it to be done competently
Well, why would anyone want to be represented incompetently? I want my representatives to competently work towards the goals and the vision I and them both share.
> other systems... what... aim for morons?
No, the other systems just don't care about the representation and the interests of the people, so that's a non-issue to them. Again, the whole reason the representation is even important is that it's one of the very few, if not the only, ways to make the government to actually look out for the interests of the people as opposed to the interests of some very small but disproportionally powerful groups.
> So the way a democracy works is that the people elects their government, right? Whether they are represented or not has absolutely no influence: they vote based on what they feel. If the government systematically does stuff that they disagree with, then they don't feel represented.
That's... that's your understanding of democracy, right? Just so we're on the same page? This is not how I would phrase my understanding of it.
> The people all hate the government because they all feel like they are not represented, but somehow you can prove to them that they actually are represented but are just stupid and complaining for nothing, and all is well?
That's how the current systems in many countries work right now (again, cf. "Manufacturing Consent"), and there is nothing perfect about it, things shouldn't be this way; and they are this way, partially, because the people are not actually represented all that well. Lots of politicians never bother to deliver on their promises, or start toying their party's line after elections, or sometimes there is just no viable candidates that share the voter's view on some particular topic e.g. due to the two-party system (voting hardline hawks out, just to get somewhat milder hawks in, doesn't make anti-war, anti-foreign-inteventionist people represented).
So in "my perfect democracy" the people, first of all, would be represented, faithfully. Then there would be much less feelings of not being represented because people, generally, are not complete idiots, and the need for propaganda to "persuade" people that no, they actually want the things the government is doing, would be much smaller, hopefully. There of course would be "tough decisions", but that's why good public education and actually communicating with your voters (as opposed to sucking it up to the regional party bosses) is important.
P.S. Again, to reinstate my main point of disagreement with you: "What is the purpose of a democratic system? IMHO, the goal is for the people to feel represented" — no. That was the goal of the USSR's system of the Soviets — to make people feel represented without actually giving them the representation: you can vote for the members of the local soviets, and the Supreme Soviet all you like, it doesn't really matter since the real decisions are being made by the Party's committees anyway (also, good look getting on the ballot without the Party's approval in the first place). This is not democracy, and you shouldn't call it so.
comment 1w ago · link · parent
> What is the purpose of a democratic system?
Well, I'd personally go with "competently manage the state in the interest of the people, in general and in particular". Being governed by incompetent morons who, nonetheless, fully represent my views is a small consolation; although, of course, being governed by incompetent morons who don't even represent me is even worse.
> the goal is for the people to feel represented.
That's a very cynical take, if I'm reading you correctly, on the par with "Manufacturing Consent" — unless your point is that the people should be both represented and feel represented... but that's arguably a (rather major) implementation issue, not the whole purpose of the system, isn't it?
comment 1w ago · link · parent
comment 1w ago · link · parent