Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
yaantc
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
31.
▲
by
yaantc
3y ago
There's a misunderstanding here: I'm not saying "don't complain". Complaining in itself is fine, and others are complaining on this topic in a way that looks OK to me (and will probably be more efficient too). It&#x
32.
▲
by
yaantc
3y ago
The article is just his author view. Please read the emacs mailing list threads to get the full picture. GP is correct, and this is quite normal: some people using Emacs master will not follow all the mailing list discussions and commits. S
33.
▲
by
yaantc
3y ago
Thank you @tarsius! Couldn't have said it better. To add, I have issues with the attitude shown by the blog author. If you use the development branch, you can't raise hell when there's a breaking change: it's to be expec
34.
▲
by
yaantc
3y ago
Read the mailing list thread: the patch did much more than making the change optional, it did revert other related changes. That's why it was rejected. Other discussed changes were taken in, and it's not settled yet it seems: the
35.
▲
by
yaantc
3y ago
Oh I'm well aware the author didn't invent any of this: I'm currently working on a "VPP lite" [1] implementation for an embedded packet processing application and as part of my "SoTA" review learned about
36.
▲
by
yaantc
3y ago
Because the article is on developing a "shared nothing" system where sharing is replaced by communications. Actor systems are also about shared nothing and using messages based communications, and they came first historically. Now
37.
▲
by
yaantc
3y ago
Not really, GP was talking specifically (and exclusively) about the ease of decoding the native ISA. Yes, modern x86 are wide from the uop cache, but this cache is made of simple, easy to process uop and not native instructions. The nativ
38.
▲
by
yaantc
3y ago
Maybe it's more than you want, but "Computer Architecture - A Quantitative Approach" from Hennessy and Patterson is a very good reference. If your main interest is CPU cores even a relatively old version will be enough. From
39.
▲
by
yaantc
3y ago
Clang static analyzer and tidy through CodeChecker [1]. Plus the compiler warnings of course. This to complement unit and integration tests in simulation, with all sanitizers (UBSAN, ASAN, MSAN, TSAN). Both are useful. In practice, the runt
40.
▲
by
yaantc
3y ago
> It's not that Clang is bad, but it has inherent limitations because it only analyzes a single source file and stops analysis when you call a function from another module. Nowadays that's only the default. But you can enable &
41.
▲
by
yaantc
3y ago
> clangd is better but can still get things wrong if your build process is complicated your compile_commands.json doesn't perfectly reflect it. Yes, clangd is accurate but when you have different build variants only one is reflected
42.
▲
by
yaantc
3y ago
Same here ;) But now there's "8 GB and constantly swapping": Eclipse! I logged once on a dev server to test something, it was slow and I checked what was going on. On this 64 GB machine, 8 Eclipse users, each Eclipse usin
43.
▲
by
yaantc
3y ago
Ok, I should have said relatively, or even better "subjectively", small C source base. The C base supports many platforms and variants, so only a part of it is used in a running Emacs instance. And to the 1+M lines of elisp one ty
44.
▲
by
yaantc
3y ago
This thread is on the "Mastering Emacs" book and from its author, on the topic of mastering Emacs window managements you can read this: https://www.masteringemacs.org/article/demystifying-emacs-wi... To be ho
45.
▲
by
yaantc
3y ago
Literally changing the editor code, to do whatever you want. Emacs is a lisp (elisp) environment mostly with a small C based core for performance sensitive primitives. But the user code is at the same "level" as the Emacs core cod
46.
▲
by
yaantc
3y ago
For static analysis I use CodeChecker, it's a wrapper on top of the Clang static analyzer and Clang tidy (linter). Now also supports cppcheck, but I disabled it (too many false alarms). It's free and open source, and I find it use
47.
▲
by
yaantc
3y ago
If you're comfortable with Linux definitely, I'm using Debian stable both at work (Latitude) and home (Thinkpad) for several years now. One issue with Debian was the lack of support for proprietary firmware in the stock installer
48.
▲
by
yaantc
3y ago
Often much less in practice: 2G transmission was up to 2W, but 2G has been phased out in many countries. 3G I'm not very knowledgeable but IIRC was up to 800 mW (common case). LTE/4G is 200 mW maximum for sure. 5G is the same exce
49.
▲
by
yaantc
3y ago
You may consider the electronic design automation (EDA) industry. Basically, the tools used to design the ASIC we love. The industry anticipates a job crisis, with elder people retiring, a shortage a new entrants (not see as sexy) and still
50.
▲
by
yaantc
3y ago
You can find some guides on the topic, for example: https://www.letudiant.fr/etudes/classes-prepa.html . Very often, when a kid is good enough its school main teacher will mention the possibility of going to a prépa: it
51.
▲
by
yaantc
3y ago
Calling again and continuing are not the same thing. Sure, with the above trivial example it is. But if the parent function has non idempotent code before calling the missing function (like doing some global change / side effects), the
52.
▲
by
yaantc
3y ago
This is what Org mode does. It's still very tied to Emacs, but there's an effort to standardize the Org format. Hopefully this will help its adoption outside of Emacs, it's a nice markup (and a lot more).
53.
▲
by
yaantc
3y ago
Info on LTS support (5 years): https://wiki.debian.org/LTS Then there is the extended LTS, ELTS (10 years): https://wiki.debian.org/LTS/Extended Not all the Debian packages are covered by this security
54.
▲
by
yaantc
3y ago
By using several small chips instead of a big monolithic one, it's possible to reduce costs in 2 ways: 1) the yield is better for a small die. For a given density of defect, a big chip will have a higher probability to have a defect th
55.
▲
by
yaantc
3y ago
As I understand it the Clang static analyzer is not intended to be used directly. It's best to use it through CodeChecker, which provide high level commands and do the low level calls to the Clang SA (and also Clang tidy). In particula
56.
▲
by
yaantc
3y ago
Do you believe the possible threat of nuclear waste to future generations, considering our current waste management technologies, to be higher than the impact due to more CO2 generation by running electrical coal plants instead of nuclear o
57.
▲
by
yaantc
4y ago
I'm not talking about chip makers, but about CPU IP providers. Like ARM. If you say there are not many publicly available products including publicly accessible RISC V cores from those companies I listed compared to ARM, yes this is tr
58.
▲
by
yaantc
4y ago
In the low and mid end there's plenty of competition. Andes, SiFive, Cortus, BA Semi and probably more. Many of them used to offer their own proprietary ISA and have moved to RISC V to leverage the ecosystem (software and tools). Inste
59.
▲
by
yaantc
4y ago
Am I missing something? From what I understood from Wolfram description of GPT and GPT in 60 lines of Python, a GPT model's only memory is the input buffer. So 4k token for GPT3, some more but still limited for GPT4. To summarize the G
60.
▲
by
yaantc
4y ago
M-x untabify ? ;)
More ›