Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pm215
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
42 ms
·
481.
▲
by
pm215
5y ago
I'm not using it any more, but for a while I used stg publish as a way of working with a stack of patches but also providing other people with a "this branch doesn't rebase, you can pull it" interface. It was also nice w
482.
▲
by
pm215
5y ago
The impression I got from reading the v6 kernel code in the Lions book was that signal handling had been added in as a solution to a few specific problems (like "we're going to kill this process but maybe it should get a chance to
483.
▲
by
pm215
5y ago
So in your 'machine model is the physical machine' flavour, should "I cast an unaligned pointer to a byte array to int32_t and deref" on SPARC (a) do a bunch of byte-load-and-shift-and-OR or (b) emit a simple word load w
484.
▲
by
pm215
5y ago
If you're trying this, it's important to note that '-d in_asm' does not "trace with disassembly for each executed instruction" as the article suggests. It traces disassembly when the insns are translated (J
485.
▲
by
pm215
5y ago
Should work for TCG (emulation); not yet for HVF (virtualization).
486.
▲
by
pm215
6y ago
The method described in the post indicates that it's measuring the full consumption of the whole gameboy+cartridge. You can also tell this because there's an example of the "without cartridge" power consumption, and it&#
487.
▲
by
pm215
6y ago
It's still true for compilers -- for instance gcc 10 had a greater than 10% perf improvement for AArch64 targets compared to gcc 9 as a result of various optimisation work: https://community.arm.com/developer/tools
488.
▲
by
pm215
6y ago
I wish preview had the option to disable editing, I find its ability to make small changes a misfeature. I use it to read big spec documents, and it wants to change them all the time -- I think accidentally clicking on tables is the usual
489.
▲
by
pm215
6y ago
One specific postage option I noticed Japan Post had cancelled was the "surface air lift" which is a kind of middle-option between airmail (fast, expensive) and seamail (very slow, cheap). My assumption is that this was partly bec
490.
▲
by
pm215
6y ago
I use JOE in its "emacs-ish keybindings" mode (which you get if you run it as 'jmacs') for small "just run an editor in a terminal to edit this config file" jobs. I wanted an editor which was fast to start up,
491.
▲
by
pm215
6y ago
Yes, QEMU user-mode only emulates syscalls, so all the guest program's libraries are guest-architecture code, translated and run via the JIT.
492.
▲
by
pm215
6y ago
Commonness depends on your reading material, of course -- if you read Japanese novels set in the feudal era you'll trip over 藩 all the time :-)
493.
▲
by
pm215
6y ago
It depends entirely on whether there are still developers interested in maintaining support for those architectures. It seems pretty safe to assume that Torvalds isn't going to be in favour of "we drop anything without a rust back
494.
▲
by
pm215
6y ago
The big thing that companies won't get with the hybrid approach is the ability to reduce their office space expenses, though -- unless you go to significant amounts of hotdesking (which will be pretty unpopular I expect) then "all
495.
▲
by
pm215
6y ago
"unable to provide their own" seems to me like it's not universally true across the UK, at least -- CityFibre are digging up the roads just along from my house right now, installing new fibre all the way along the road, presu
496.
▲
by
pm215
6y ago
I think this is the ANSI draft Ritchie was commenting on: http://www.3kranger.com/LabNotes/ANSI-C-X3J1188-Draft.pdf -- section 3.35.3 talks about 'noalias'. It does not define 'noalias' in terms of
497.
▲
by
pm215
6y ago
Yeah, I do 2 from time to time, because I use emacs as my long-running editor but also jmacs as a quick-one-off emacs-keybindings terminal editor, and so I tend to autotype C-x C-s C-x C-c for save-and-exit. My fix was to add this to my .em
498.
▲
by
pm215
6y ago
I wonder if that's a difference in the level of support for risc-v in gdb vs lldb, or maybe that lldb has had less effort put into the "I'm a system debugger" use case, or just an interoperability thing where the QEMU gd
499.
▲
by
pm215
6y ago
Note also that the 'mul' instruction is described in the Arm docs the article links to as an "alias" of madd. That is, the CPU itself has no pure multiply-only insn at all, only a multiply-and-add. When you write 'm
500.
▲
by
pm215
6y ago
I think that's about what I paid for my analogue storage scope (it works by long-persistence phosphor on the tube, it's very neat though obviously not very practical these days; has a handful of valves in it as well as the CRT pro
501.
▲
by
pm215
6y ago
I feel like all these urban-Japan examples are more " only in the most densely populated places" rather than "even". If demand is high enough then you can absolutely support multiple competing routes: they all get enoug
502.
▲
by
pm215
6y ago
libvirt has put a lot of time into figuring out how to run QEMU in the most secure and performant way (specific low-privilege user, seccomp, all the right options for virtio, etc, etc). If you aren't using it then that's a lot of
503.
▲
by
pm215
6y ago
Mmm, our first computer was a TI99/4A, which my Dad picked up cheap when they were on sale as part of TI getting out of the home-computer business in the early 80s. Having very few commercial games for it was part of what nudged me int
504.
▲
by
pm215
6y ago
The command line argument that means 'run natively' is the "-accel hvf" one, which makes QEMU use the Hypervisor.framework macOS APIs. (This is why you have to use an out-of-tree patchset at the moment -- mainline QEMU o
505.
▲
by
pm215
6y ago
Not gonna happen, so it's a bit irrelevant. QEMU's architecture is fairly generic and it was never built for speed in the first place. Improving the speed of emulation is more about getting better than the current baseline of &quo
506.
▲
by
pm215
6y ago
As with Linux, a lot of the lines-of-code turns out to be device-related: for the kernel it's device drivers, and for QEMU it's models of devices. Also, just because we don't have a high level design document doesn't mea
507.
▲
by
pm215
6y ago
After a little googling, I think this might refer to Hulton colliery, where there was a bad underground explosion (ignition of coal dust and gas) in 1910, killing 344 people. This long account of the accident https://www.nmrs.org
508.
▲
by
pm215
6y ago
I listen to In Our Time as a podcast :-) It's actually better than the radio-broadcast version because it includes 10-15 minutes of extra time with the guests where they have a bit more discussion. (rss feed: https://podcas
509.
▲
by
pm215
6y ago
Note -- make sure you click on the links that look like section titles as you read through it -- these are actually links to the illustrations!
510.
▲
by
pm215
6y ago
Indeed. Notoriously, a SEGV in gcc during compilation used to usually mean "your hardware is flaky": https://tldp.org/FAQ/sig11/html/index.html
More ›