Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pm215
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
71 ms
·
721.
▲
by
pm215
9y ago
You have your cause and effect backwards -- Arm cores had a huge percentage of the mobile market well before anybody produced a $50 devboard, and indeed the only reason you can get a $50 devboard is because there is enough volume selling So
722.
▲
by
pm215
9y ago
Yes. "We assume and rely on system call X being implemented" is another common case. In particular, glibc will check your kernel version and won't run if it is too old for what it was built against: https://sourcew
723.
▲
by
pm215
9y ago
I think the word 'uninformed' here is key -- after all, the entire concept of the font being discussed is an experiment (of the 'what would happen if we look in this gap in this classification system?' kind). But it'
724.
▲
by
pm215
9y ago
Yes, exactly. All of KVM, HAXM and the OSX Hypervisor.Framework are basically providing APIs to user applications that encapsulate the CPU's virtualization capability so that you can use it to implement VMs without needing kernel privi
725.
▲
by
pm215
9y ago
Note in particular the comment from the man-db maintainer: "Oops! It was never meant to affect non-error cases" -- and this upstream commit https://git.savannah.gnu.org/cgit/man-db.git/commit/?id=84b
726.
▲
by
pm215
9y ago
I'm in a middle ground -- I did have 'Classic Theme Restorer' installed, but I can live without it. But I have a few extensions which haven't updated yet (most notably 'rikaichan' which provides dictionary-look
727.
▲
by
pm215
9y ago
"mov x5, x0" is the right way to copy from x0 to x5, so if that doesn't work for you then perhaps something is odd with whatever assembler you're using. Note that under the hood "mov Xd, Xm" is a convenience al
728.
▲
by
pm215
9y ago
For upstream QEMU I think we're looking at patches that add Hypervisor.framework support for MacOS acceleration -- better to use the builtin support from the OS rather than a 3rd party kernel extension I think. The Android release note
729.
▲
by
pm215
9y ago
Python 2 came out in 2000 and goes EOL 2020 I think. Perl 5 was released in 1994 and has no planned EOL date, so it is currently winning by a fair margin.
730.
▲
by
pm215
9y ago
That first one reminded me of the gripe at the top of perl's Configure script https://perl5.git.perl.org/perl.git/blob/HEAD:/Configure#l36 -- "SCO csh still thinks true is false. Write to SCO today
731.
▲
by
pm215
9y ago
The approach here for 64-bit ARM on servers has been to say "it must run UEFI". Then the vendor-specifics get dealt with by UEFI and ACPI, and the kernel can simply assume those facilities exist (and the distro can install new ker
732.
▲
by
pm215
9y ago
Correct, currently usermode QEMU does not emulate the mmu, but just has a flat mapping of guestaddr = hostaddr + constant_base_addr. There has been some thought of adding mmu emulation to usermode, though, as the simple fixed mapping has pr
733.
▲
by
pm215
9y ago
Eh? Here's the TRM for the Cortex-A57, to pick the first arm core I thought of: https://developer.arm.com/docs/ddi0488/c/preface The architecture manuals are also downloadable.
734.
▲
by
pm215
9y ago
I think the most common unexpected caller for me these days is a delivery person asking me to take in a parcel for some neighbour who isn't in...
735.
▲
by
pm215
9y ago
Yes, Youtube is a bazaar. But why is _Youtube Kids_ a bazaar? Its whole appeal is that it is (at first impression) a place for curated content, such that it's kid-friendly. But it doesn't work (eg https://www.nytimes.co
736.
▲
by
pm215
9y ago
If you follow the link to the "analysis" document it summarizes their rationale. It looks to me that the summary is "in reality we're not going to be sueing anybody, and we think the chances of a contributor sueing us ar
737.
▲
by
pm215
9y ago
Looking closely, it doesn't actually seem to be monospaced. For instance in the last-but-two line the "t" in "we project" is pretty much midway between the two letters of "it" in the line below it. The tex
738.
▲
by
pm215
9y ago
I would say that if it has stop signs it's not a roundabout -- the concept requires that incoming traffic yields to traffic on the roundabout but need not stop.
739.
▲
by
pm215
9y ago
You need it if you want to modify the directory structure that find is traversing, so as to affect subsequent traversal, eg http://www.chiark.greenend.org.uk/~pmaydell/find/primes (cheatsheet here: http:/&#x
740.
▲
by
pm215
9y ago
There isn't really a single coherent "C/C++ ecosystem", but for your average "build with make" program there isn't really a 'production' vs 'development' build distinction that would be
741.
▲
by
pm215
9y ago
You can get lots of dev boards for existing SoCs. They have the problems of no PCIe, no SATA, etc that the n^parent was complaining about. If you want those features you first have to identify an SoC that has those; my claim is essentially
742.
▲
by
pm215
9y ago
It's a few hundred dollars if you have the market volume to sell it at that price. IBM have the volume (presumably mostly for servers) so they can do it. You can't spend the amount it costs to make a new SoC based only on the &q
743.
▲
by
pm215
9y ago
The underlying problem here is that the cost of making an SoC is enormous. So to make, say, an ARM desktop class machine you have only a few choices: 1) Make your own SoC designed for the purpose. You can tailor it to meet your requirements
744.
▲
by
pm215
9y ago
"And who'd have thought that some vendors aren't even interested in fixing "non-security" crashes" That doesn't surprise me too much -- it comes down to prioritization, and often the crashes a fuzzer fin
745.
▲
by
pm215
9y ago
That blog post is talking about the kernel's internal allocator, not the libc one.
746.
▲
by
pm215
9y ago
It's certainly not the style I would expect C to be written these days, but I don't think it's terrible code. It was, 40 years ago, genuine shipping real-world code. There's a related quote about this in the foreword tha
747.
▲
by
pm215
9y ago
Nobody should try to use 7th ed code in other projects, regardless of license. At this point in time it's of historical and educational interest only (it won't even compile with a modern C compiler...) As it happens I believe 7th
748.
▲
by
pm215
9y ago
If you have no threads at all, I would naively think it should be fairly simple to just stub out the locking and similar calls. Have you looked at dlmalloc, which lets you build with USE_LOCKS=0 to turn off the threadsafety?
749.
▲
by
pm215
9y ago
Coincidentally, the libc malloc/free implementation in 7th Edition Unix is also about 200 lines of C: http://www.tuhs.org/cgi-bin/utree.pl?file=V7/usr/src/libc/ge...
750.
▲
by
pm215
9y ago
My definition of "too large to review in one piece" is "more than 200-250 lines", so most non-trivial changes benefit in my view from being split into clean patchsets. It is extra effort that's purely to reduce the
More ›