Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mansr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
61.
▲
by
mansr
13y ago
A common scenario is filling a data buffer in normal memory (cached or non-cached doesn't matter on ARM) before initiating a DMA operation by writing to a device register. In this situation, a barrier is required to prevent any of the
62.
▲
by
mansr
13y ago
Modern high-performance ARM cores such as the Cortex-A15 do plenty of reordering. Even when using strongly ordered memory mappings, you still need barriers to prevent reordering between normal and strongly ordered accesses. No amount of v
63.
▲
by
mansr
13y ago
That's when you start finding bugs in the disassembler.
64.
▲
by
mansr
13y ago
1. Are you seriously complaining over make itself not creating the zip file, duplicating the functionality of the 'zip' tool? 2-3. This command does what you want: zip -R -FS foo.zip '*.c' 4. In practice timestamps work
65.
▲
by
mansr
13y ago
Actually creating the archive is not make's job, which is what bjourne seems to be complaining about. Collecting a list of files and passing to a command is what make does. It doesn't care if that command is a compiler or an arc
66.
▲
by
mansr
13y ago
Let's assume for sake of argument that you are right (although as ori_b shows, you are not). Why do you expect this functionality from _make_ specifically? Nobody ever claimed it can do everything. In fact, it's a good thing it
67.
▲
by
mansr
13y ago
You're right, I have no experience with waf, and I'm not dismissing it. I'm saying much, if not most, criticism of make is unfounded and misplaced. Want a zip file? Use a command like "git archive -o foo.zip HEAD".
68.
▲
by
mansr
13y ago
It wouldn't take much at all to have the AC_ERROR macro append the message to a global variable, set a global error flag, and continue. At the end of the script, if the error flag is set, the aggregated error messages would be printed
69.
▲
by
mansr
13y ago
The official manual is mostly easy to understand. There are various 3rd-party books available, but I haven't read any of them.
70.
▲
by
mansr
13y ago
Your comment betrays your ignorance. Firstly, you call it "make script," suggesting that you view makefiles as a typical (procedural) script that is executed from top to bottom. I base this on my experiences working closely with
71.
▲
by
mansr
13y ago
The power of Emacs is that the configuration file is more than just that. It is code that becomes part of the editor and can replace pretty much any part thereof if the user so desires.
72.
▲
by
mansr
13y ago
Replacing make with python is a huge step back. The makefile language is simple yet extremely powerful for describing a dependency tree such as that for building an executable from sources. Its perhaps strongest point is that it completely
73.
▲
by
mansr
13y ago
I find neither sh nor make particularly painful. Python, however, I cannot stand the sight of.
74.
▲
by
mansr
13y ago
Text editors are a solved problem since Emacs was written.
75.
▲
by
mansr
13y ago
Most of the so-called modern build tools avoid make entirely, so its syntax cannot be to blame for their miserable quality.
76.
▲
by
mansr
13y ago
When the Samsung ARM Chromebook came out, people quickly found that careless tinkering with alsamixer caused the speakers to overheat and melt the case as a result of being driven with a high DC current. A driver update blocked the control
77.
▲
by
mansr
13y ago
OpenRC is exactly that.
78.
▲
by
mansr
13y ago
Setting user agent to Google bot lets you through.
79.
▲
by
mansr
13y ago
Public perception is influenced by the first reviews published on a new product. If you give a few known friendly writers early access, there will be a few days of nothing but positive reporting. Mainstream media will then pick this up as &
80.
▲
by
mansr
13y ago
Static initialisers are a horrible example of "deep" knowledge. Not knowing how they work reveals not only ignorance of syntax but a fundamental lack of understanding of the entire programming and execution environment. Failure
81.
▲
by
mansr
13y ago
The C99 standard explicitly says type punning through a union is allowed. This is clarified in TC3 (2007) by the addition of this note in section 6.5.2.3: If the member used to access the contents of a union object is not the same as
82.
▲
by
mansr
13y ago
What the language standard does not specify (and is very explicit about not doing) is padding between struct members, if any. However, the ABI spec for the compilation target details exactly how a struct must be laid out. If this were not
83.
▲
by
mansr
13y ago
About 6 months ago, I had the explosives detector at SFO flag me as suspect after a random pat-down. What followed was a second, slightly more thorough, pat-down and a very thorough search of my carry-on. It all took about 15 minutes, and
84.
▲
by
mansr
13y ago
JPEG will not do that, but MPEG at high compression levels might.
85.
▲
by
mansr
13y ago
This encoding would have to be maintained by every router until it reaches an intercept point.
86.
▲
by
mansr
13y ago
Supposing there is some kind of "backdoor" in my CPU, how do they access it? Is there hidden code in my router hardware too allowing packets to/from the NSA through while hiding from any monitoring?
87.
▲
by
mansr
13y ago
There are two fundamental problems with CompCert: 1) there is no formal, machine-readable specification of the C language, and 2) there is no formal, machine-readable specification of the target architectures. CompCert may be formally veri
88.
▲
by
mansr
13y ago
In my experience gcc has fewer bugs than icc or xlc.
89.
▲
by
mansr
13y ago
> LLVM [...] don't give a shit about getting llvm/clang to build linux.git. The LLVMLinux project is making good progress towards this goal. http://llvm.linuxfoundation.org/
90.
▲
by
mansr
13y ago
Motion estimation/prediction is used video coding because it minimises the compressed size. However, it is incredibly expensive to perform the motion search. A typical video encoder spends well over half its CPU time in this stage.
More ›