645 karma · joined Oct 28, 2016 (10y ago) · 374 submissions
comment 2y ago · link · parent
Those prices in the French store look absolutely wild to me. In the Dutch store, the base model T14 Gen 4 AMD starts at 999, without any discounts visible!
comment 2y ago · link · parent
As such, you're better off getting e.g. a 5700X or even some X3D chip, which are much faster. The 5000G processors are slower than their 5000X or 5000 counterparts, since they have less cache.
comment 2y ago · link · parent
In fact, pretty much all of the performance gain going from a 5700 XT to a 6700 XT is based on the latter's higher clock speed, as their specs are very similar otherwise (although a 6700 XT has 12 GB 192bit memory and a heap of cache, whereas the 5700 XT has 8GB 256bit memory that runs a small bit slower, and crucially, way less cache).
comment 2y ago · link · parent
If that's too expensive, an E14 Gen 5 has a previous-generation processor but can be had in a reasonable configuration (Ryzen 5, 16GB RAM, 512GB SSD) for around €700.
You can knock a fair chunk (€60) off of the price by getting them without Windows as well, which is a nice option when you're gonna install Linux anyway. But the prices I mentioned is before you even do that!
comment 2y ago · link · parent
It says that it fits on a CD, but how about the other requirements? e.g. how much RAM is needed, and what kind of instruction set does the CPU need to support? is a 386 enough or do you need 486/586/686 level instructions?
comment 2y ago · link · parent
But yes, I can definitely imagine cases where trying to apply this method leads to a chicken-and-egg problem.
comment 2y ago · link · parent
I also consider mutation testing to be in a different domain from property based testing, as mutation testing is some kind of metatesting instead. PBT is a 'regular' testing technique. This means that they are in fact complimentary, for example by using PBT to check mutants. (Although mutation testing does seem to assume a sort-of 'fixed' test set, but you can also fix a test set with PBT by e.g. explicitly setting a seed and test count.)
comment 2y ago · link · parent
I can imagine it not working well in some cases, for example when a failure can only be resolved by some new thing (e.g. when a function was replaced by some other function).
There also seems to be an implicit assumption that the tests are 'sufficient', whereas I'd wager that the whole reason a revert is needed is the fact they are, in fact, insufficient. The article even says so:
> Obviously, the Mikado Method cannot work if you don’t have a good and highly reliable automated test suite.
But if you have a good test suite, then there should be no problem shipping the big change in one go!
I imagine the mikado method can still work though, because when shit does hit the fan, you can just downgrade to the previous version while keeping most of the preliminary changes? And that should then reduce the cost of the revert.
comment 2y ago · link · parent
I think Netburst mostly came from a misguided place where Intel thought that clock frequency was in fact the holy grail (and would scale far beyond what actually ended up happening), and that all the IPC issues such as costly mispredicts could be solved by e.g. improving branch prediction.
comment 2y ago · link · parent
You can also see the lasting popularity of 7nm-class nodes in consumer products. For example, RDNA3 uses 5nm for the core parts (GCD), but the peripheral parts (the memory chiplets/MCDs) are built on 6nm, and the monolithic low-end parts (RX 7600) are even fully built on 6nm.
comment 2y ago · link · parent
comment 2y ago · link · parent
The point is that "others" learning from things is fine. The problem starts when it's a machine acting on behalf of a faceless mega-corporation. It's like the tragedy of the commons, except instead of originating from an invisible mass of takers, it mostly comes from a small amount of known actors like Microsoft and Google. No shit that people will rally against those.
> First time I've heard this one. Who doesn't want the tools to improve?
The reasoning is also given: improving machine learning has an environmental cost. It's also used to deskill jobs (which I don't think is a great argument, although it's not implausible for inequality to massively increase due to deployment of ML). The author also says AI is used to muddy public discourse, which is an understandable fear given that text generation can be used to fake e.g. some grassroots movement.
comment 2y ago · link · parent
comment 2y ago · link · parent
On the tin the claims are both true: LLMs do not replace search (it does not link me to any resources), at best it augments it (with services like Phind or Bing combining the two).
Also, search is made worse by SEO spam, which can be churned out more easily with AI, leading to crap like the following: https://web.archive.org/web/20230103091313/https://www.slowi... (which has been edited to be less nonsensical, but remains hilariously out of place). That's not to say that SEO spam wouldn't exist without AI, but this level of carelessness ("a 32 bit wine bottle is a bottle of wine that has been created with 32 bits of data") seems to be new.
comment 2y ago · link · parent
I'm also confused about the "local variables are harmful" mentality. Why? They may not suit concatenative languages, but I find naming things serves as effective 'documentation'. Or is the point that these should be put in separate functions? But that also sounds wrong, because then you greatly complicate the control flow and spread everything to many places. Furthermore, isn't something like that A register 'just' a local variable (or worse: a mutable global variable)?
I find the dismissal of things like files and encryption disturbing. Many programs need some form of persistence. How is that useless? Why does 'needed data' not need to be encrypted?!?
comment 2y ago · link · parent
Well, technically, no, you can just use Arc and leak memory all over the place :^) but that's not very useful either. Most self-referential structures need some kind of "owning" thing too though. For example, a graph could use Weak for the edges, but in order to keep vertices alive you need e.g. a Vec<Arc<Node>>. Then, if upgrading fails, you know that your edge leads to a deleted vertex (and as such should be considered nothing, hence Option).
> Sure, Rust will give him far fewer ways to screw up. But if he can't be asked to at least not use malloc/free in C++, he probably won't be too careful about unwrap() either?
There's one big advantage of messing up with unwrap vs malloc/free: unwrap 'only' crashes your program (and can even be caught in some scenarios), whereas use-after-free can do literally anything. Unwrap is also much easier to debug because you usually get a clear stack-trace, and the program semantics have been well-defined at all points.
> My point here is mainly that a good programming language won't make good programmers out of bad ones.
Very true! But I think the point of Rust advocates tends to be more along the lines of "a bad programming language makes a bad programmer out of a decent one". It is very easy to misuse C++, so mistakes are made with it way more often. 'Dangerous' constructs do exist in Rust, but are generally far less pervasive, making it easier for the programmer to understand what they are doing.
Saying Rust has no benefits over C++ because you can mess up in both is like saying that anti-lock brakes are useless because you can still understeer by pressing the accelerator too hard (sorry for the car analogy, I had to). Preventing entire classes of mistakes is valuable, even if other classes are still possible. (If it's worth the cost is of course another question. My personal opinion is yes, although that's especially for memory safety and a bit less for race safety.)
comment 2y ago · link · parent
The fix is trivial: just use an Arc instead of a Weak. In addition, `upgrade().unwrap()` should be a sizable red flag (like any unwrap, really) since fallibility is kind of the entire thing of Weak.
comment 2y ago · link · parent
The example also seems a little bit high on 'magic'. Chapel is told to execute on GPU, yet it somehow decides "this loop is order-dependent so it should run on the CPU anyway"? It's not a bad approach necessarily, but I don't think you can get any such implicit serialization when directly programming CUDA C++ or similar. (I think Futhark, another language for high-level parallel computing, also doesn't suffer from this kind of thing, thanks to being purely functional.)
comment 2y ago · link · parent
It compiles CUDA/HIP C++ to SPIR-V that can run on top of OpenCL or Level Zero. (It does require OpenCL's compute flavored SPIR-V, instead of graphics flavored SPIR-V as seen in OpenGL or Vulkan. I also think it requires some OpenCL extensions that are currently exclusive to Intel NEO, but should on paper be coming to Mesa's rusticl implementation too.
comment 2y ago · link · parent
The statefulness of an index, however, is merely an implementation detail. A database without indices would be in the same state, and behave the same (except much slower). This means that the state is not important for the semantics of the datastore, unlike with a regular database.
comment 2y ago · link · parent
I know that llama.cpp has custom kernels for quantized matrices, which are fast because using cublas would require an extra memory roundtrip (read -> dequantize -> write; read -> gemm -> write, vs. read -> dequant -> gemm -> write). But if you're using FP16 the dequantization step shouldn't be necessary. So how is it faster?
comment 2y ago · link · parent
AMD's dropping of Polaris and Vega also applies to Linux, where the AMDVLK first-party driver stopped supporting them. ROCm also does not work anymore.
Of course, nobody uses AMDVLK so it's not a huge loss (RADV is generally a lot better), but the loss of ROCm does suck.
comment 2y ago · link · parent
Well, technically ROCm is open source (although it comes across more as a "dump source code releases every now and then" to me.)
Also, the link is from the Mesa project, which is working on an OpenCL frontend to the driver called rusticl. It's not yet stable or enabled by default, but if you get a build of it, you can try setting the environment variable `RUSTICL_ENABLE=radeonsi` and it should sort-of work (on any Radeon HD 7000 or Radeon R7/R9/RX GPU!)
iirc the rusticl developers are even hoping/planning to get HIP (via chipStar) and SYCL (via Intel's compiler) working on top of rusticl.