32,383 karma · joined Jan 3, 2008 (18y ago) · 8,295 submissions
comment 3y ago · link · parent
I figured the result was dictated by the specific dimensions and display density of hardware that matched the brightness/environment/size/etc requirements they set forth.
I know the care that goes into finding fonts for standardized government use (road signs, national parks, etc) but imagined this particular set of circumstances was confined to the displays commissioned in that particular round of updates and decided by the contractor and the liaison officials.
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
The corollary to this is that using them doesn't buy you any performance (under x86).
(Also it makes it difficult to test that your code itself synchronizes correctly if you're developing on x86, since bugs may only show up under ARM or RISC or whatever, and even there, only some of the time... and that's why project loom, tsan, and miri exist.)
comment 3y ago · link · parent
[0]: https://www.cs.rice.edu/~johnmc/comp522/lecture-notes/COMP52...
comment 3y ago · link · parent
[cpu] -- [cache] -- ram
to [ cpu ]
| |
[cache] [ram]
Here's TI's documentation on doing just that CC13x2/CC26x2 family of MCUs: [0]. In this case, it's a seemingly paltry 8K of "RAM" but that's a lot for microcontroller developers! In this configuration and for this particular MCU, the CPU will actually run at a reduced speed (60% of its norm), probably because it needs to synchronize directly against the RAM. If you were to use it in CaR-only mode (which I don't think TI exposes), i.e. with the cache being used instead of rather than in addition to any RAM, you probably wouldn't need to run at those reduced speeds (and might even be able to run at higher clock speeds!).[0]: https://software-dl.ti.com/simplelink/esd/simplelink_cc13x2_...
comment 3y ago · link · parent
comment 3y ago · link · parent
I logged into a firewalled Windows VM on EC2 that’s been running an internal micro service that was acting up and it caught my eye that task manager showed an uptime of 6 days making my mind immediately think it might be a bug caused by the recent reboot or perhaps the update that triggered it.
It turns out no reboot had taken place and in fact, the uptime counter had merely rolled over - and not for the first time! Bug was unrelated to the machine and it’s still (afaik) ticking merrily away.
(Our `uptime` tool for Windows [0] reported the actual time the machine was up correctly.)
comment 3y ago · link · parent
(Yes, I understand that if you're basing a business off it then it matters legally differently than if you're just hacking away on a hobby project, but the law covers all things and ethics is not confined to hobbies.)
comment 3y ago · link · parent
It's ostensibly driven by the `compile_commands.json` produced by the compiler during a run (mapping each source file to the output .o and the command (w/ all options) that was used to generate it) but in reality that's just because C++ doesn't have its own build system so the tooling has no other way of knowing how a project is wired up. But aside from that, it's extremely fast and has fairly low latency for a language that's got a lot of the same warts that rust has (generics, monomorphization, macros, strong types, (limited) type inference, etc) especially when compared to all the other LSP offerings (although I think C++ compilation units are smaller than rust's, which has to help).