Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pm215
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
87 ms
·
931.
▲
by
pm215
13y ago
The project I work on (QEMU) uses -Werror in development but defaults it to off for releases. This means that warnings don't sneak into the codebase but end users don't have to deal with unnecessary build failures just because the
932.
▲
by
pm215
13y ago
The utility of "air quotes" for English-as-a-second-language people is a neat idea, actually. It's often hard to get sarcasm across in a language you're not totally fluent in because either you don't get the tone of
933.
▲
by
pm215
13y ago
The Environment Agency also puts their flood risk maps online: http://watermaps.environment-agency.gov.uk/wiyby/wiyby.aspx?... so you don't even need to spend the money on an OS map.
934.
▲
by
pm215
13y ago
Adding just the __packed__ attribute and not also an __aligned__ attribute is not necessarily a good idea -- if a struct is marked __packed__ gcc assumes it might be at any alignment, so on architectures which don't permit unaligned lo
935.
▲
by
pm215
13y ago
The article says "Unfortunately, KVM only works on Intel and AMD processors"; actually it works also on S390, Power and ARM, though different archs are at different places in the "initial prototype" to "production r
936.
▲
by
pm215
13y ago
No, they're really all registers; it's just some of them aren't usable with all instructions for some of the M profile cores. Specifically, ARMv6M cores (like the M0) only implement the Thumb1 instruction set (the 16 bit inst
937.
▲
by
pm215
13y ago
No, the firmware doesn't disable Hyp mode; it just starts the kernel in Secure-SVC, rather than in Hyp mode. It's pretty trivial to get from Secure-SVC to Hyp in the bootloader before starting the kernel -- there are u-boot patche
938.
▲
by
pm215
13y ago
You could compress it a bit, but the standard is to write the postcode and the country name on lines of their own, and usually the post town too (that's "Sutton Coldfield" here). So trying to compress down to five lines would require really
939.
▲
by
pm215
14y ago
I actually think that even as an interview question the real benefit is in using it as a lead-in to the "do you think this is a good idea?" area of questioning. The xor sequence itself is just another "have you seen this trivia question bef
940.
▲
by
pm215
14y ago
I tend more towards inner monologue, but it's not 'the voice of God', it's like I constantly talk to myself, only not out loud. On the other hand I can't visualise images internally at all. I think it's fascinating how we all have basically
941.
▲
by
pm215
14y ago
"That sounds like a flush to me. Modified data is written back (or flushed) to main memory." That's one possible meaning of "flush"; however it's common to use it to mean not just "push dirty stuff out" but also "all your data is stale so d
942.
▲
by
pm215
14y ago
The classic case where you need to do a cache flush is when you're a JIT writing out native code. Once you've written the instructions into memory you need to clean the data cache [ie ensure that your changes are made visible to anything 'b
943.
▲
by
pm215
14y ago
I had some success (five to ten years ago now) with having a Windows machine purely to run the dictation software, and using a remote access tool like x2x or synergy to pass the keystrokes through to a Linux box which ran my actual desktop.
944.
▲
by
pm215
14y ago
Actually (according to Ritchie's description of the history of C at http://cm.bell-labs.com/cm/cs/who/dmr/chist.html ) they never wrote a C compiler in asm. Instead it was a gradual process of evolution, so the first C compiler would have
945.
▲
by
pm215
14y ago
Also, I would prefer to employ a plumber who runs a nice clean length of piping in the loft and fastens it down properly, or who explains that they'd recommend an approach that's a bit more expensive because it's more long term reliable, an
946.
▲
by
pm215
14y ago
I agree, but that's because you're starting with an existing kernel you're trying to improve. If you were a startup-sized team with no kernel programming experience and you had to write an entire OS from scratch I think you'd be pretty like
947.
▲
by
pm215
14y ago
You need to include the numbers when you're talking about these parts :-) Arndale is Exynos5, which has a different CPU and peripheral set to Exynos4 (which is what this board uses).
948.
▲
by
pm215
14y ago
I think it's simply that most of these devboards are produced by the SoC manufacturers with the idea of popularising/making it easy to develop products for their SoC. So the peripherals you get are the ones the SoC has, and traditionally mo
949.
▲
by
pm215
14y ago
The commit message includes in its list of modules which are not converted: - iOS audio output and video display, because author refuses the license change - Mono, Headphone and Dolby, because author refuses the license change So there is s
950.
▲
by
pm215
14y ago
Multiple monitor support is one of the bits of MacOS that most annoys me. Some quick sample problems: * if you have a laptop connected to an external monitor, and you disconnect the monitor then all your windows migrate to the laptop displa
951.
▲
by
pm215
14y ago
ARMv5 dropped support for the 26-bit-addressing mode back-compatibility, so v5 and above definitely can't run ARM1/ARM2 binaries. (Even in v4 the back-compat support was optional.)
952.
▲
by
pm215
14y ago
I think that for people with an svn background there are three different issues that all hit at once: * distributed rather than centralised version control brings a new set of concepts to understand * git is flexible enough to support many
953.
▲
by
pm215
14y ago
I would be mildly shocked if it was, because (a) the relevant bits of QEMU are under GPL or LGPL, and it doesn't seem very likely that you could get $1.3m investment for a product you'd have to GPL, and (b) if you're interested purely in us
954.
▲
by
pm215
14y ago
I don't think decode is really the hard part; if you're JITting at all it's pretty easy. The difficulties arise where the semantics of the target and the host don't match up. For instance, emulating a strong-memory-model architecture like x
955.
▲
by
pm215
14y ago
It does, assuming your ARM host is at least ARMv6 or v7 (v5 doesn't deal with unaligned accesses and QEMU userspace mode doesn't do anything special with guest binary unaligned accesses, so they appear as host unaligned accesses). QEMU's i3
956.
▲
by
pm215
14y ago
EINTR is a flaw in Unix's syscall model: it forces on every single application the responsibility for dealing with something that should have been handled at a lower level. That's unrelated to C's error handling style; it would be just as u
957.
▲
by
pm215
14y ago
My ISP (Andrews&Arnold, UK) offer IPv6, so I have a /48 and (since I bought a new modem recently) all my machines are now natively IPv6 with no tunnelling involved. (A&A also support tunnelling if your modem/router is IPv4 only.)
958.
▲
by
pm215
14y ago
If your project insists on copyright assignment (as the FSF does) then there's a single copyright owner and the project can make any licensing change it likes. Otherwise (assuming you don't manage to get explicit agreement from all previous
959.
▲
by
pm215
14y ago
My rule of thumb is that you can't expect people reading the code to go diving into the revision control history. So if a reader of the code needs the information, it goes in a comment. Commit messages justify the change; comments justify t
960.
▲
by
pm215
14y ago
It looks like the sponsor can choose (via a 'no forking' option) whether they are happy with patches to fix the issue or if they require them to be committed upstream. It's an important distinction because there can be a lot of extra effort
More ›