Below you will find pages that utilize the taxonomy term “Dev”
Why Intel and AMD do not make chips like the M2
Here is a comparison of the Apple M2, AMD Ryzen 9 5950X, and AMD Ryzen 7950X:
CPU | Cores | Threads | Base clock | Boost clock | L3 cache | Manufacturing process |
---|---|---|---|---|---|---|
Apple M2 | 8 | 8 | 3.2 GHz | 3.7 GHz | 16 MB | 5nm |
AMD Ryzen 9 5950X | 16 | 32 | 3.4 GHz | 4.9 GHz | 64 MB | 7nm |
AMD Ryzen 7950X | 16 | 32 | 4.5 GHz | 5.7 GHz | 96 MB | 5nm |
As you can see, the Ryzen 9 7950X has the most cores, threads, and cache of the three CPUs. It also has the highest base and boost clocks. The Ryzen 9 5950X is similar to the Ryzen 7950X, but it has a slightly lower base clock and boost clock. The Apple M2 has the fewest cores, threads, and cache of the three CPUs. It also has the lowest base clock and boost clock.
Scaling rust builds with Bazel
Rust is a popular programming language due to its speed, safety, and memory efficiency. However, it can be challenging to scale Rust builds, especially for large projects with many dependencies.
Bazel is a build system that can help you scale your Rust builds. It is a powerful tool with many features, including:
Parallelism: Bazel can build your code in parallel, which can significantly speed up your builds. Caching: Bazel caches the results of previous builds, so it only needs to rebuild the parts of your code that have changed. Remote execution: Bazel can execute your builds on remote machines, which can free up your local machine for other tasks. Reproducibility: Bazel builds are reproducible, which means that you can be confident that your builds will produce the same results every time.
Python is getting ready to lose its GIL
Python is getting ready to lose its GIL
The Python Global Interpreter Lock (GIL) is a mechanism that prevents multiple threads from executing Python code at the same time. This has been a source of frustration for some Python users, as it can limit the performance of applications that need to use multiple cores.
PEP 703 proposes a solution to this problem by making the Python interpreter thread-safe and removing the GIL. This would allow multiple threads to execute Python code at the same time, which would improve performance for some applications.
Raspberry Pi/Raspbian - chromium/chromedriver crash after upgrade to 99.0.4844.51
Upgraded to chromedriver 99.0.4844.51 on Raspbian(bullseye) and seeing this in your chromedriver.log?
[0312/111354.689372:ERROR:egl_util.cc(74)] Failed to load GLES library: /usr/lib/chromium-browser/libGLESv2.so: /usr/lib/chromium-browser/libGLESv2.so: cannot open shared object file: No such file or directory [0312/111354.709636:ERROR:viz_main_impl.cc(188)] Exiting GPU process due to errors during initialization [0312/111354.735541:ERROR:gpu_init.cc(454)] Passthrough is not supported, GL is disabled, ANGLE is
Add “–disable-gpu” as an option when setting up the browser. e.g. for selenium/java:
ChromeOptions options = new ChromeOptions() options.addArguments("–disable-gpu")
It looks like the behaviour has changed as this “shouldn’t” be required. More about flags here
DevSecOps vs SRE
DevSecOps and SRE are two complementary approaches to ensuring the reliability and security of software systems.
DevSecOps is a practice that integrates security into the entire software development lifecycle (SDLC). This means that security is considered from the very beginning of the development process, and it is not an afterthought. DevSecOps teams work closely with development, operations, and security teams to ensure that security is built into the code from the start.
How to get GXT explorer running in Eclipse
- Download the latest jars from http://www.sencha.com/products/extgwt/download/
- Follow the “setup.txt” create a eclipse project.
- Add all the folders in samples/**/src as source folder
- Expand the samples/examples.war into the “war” folder in your eclipse dir
- Delete the old “gxt.jar” from the WEB-INF/lib and replace with the gxt-2.2.3-gwt22.jar (seems like an old version is bundled with the samples.war)
- Run As, Web app, explorer.html, cross fingers…