Viewing profile — 0x09
0x09
HN member- Joined
- Mon, Oct 17, 2011, 2:20 PM UTC
- HN karma
- 1,171
- Public activity
- 192 items
- HN profile
- View on Hacker News ↗
About 0x09
No profile information was provided.
Recent public activity
-
comment
Comment #38214186
It's partly an artifact of BCPL where the only type was one representing the machine word. So with a word-sized type you don't get portability in the range of values the type can r…
-
comment
Comment #36567623
>Can be macro'd at the function definition, but it's ugly. I wonder if typeof in c23 has changed this at all. Previously there was no sense in defining an anonymous struct as a fun…
-
comment
Comment #34978871
I'm the author of the extension that the vtab and define function in that module were adapted from. It allows you to create something like a parameterized view, but the way it work…
-
comment
Comment #32612104
Doxygen has the ability to generate these with its CALL_GRAPH/CALLER_GRAPH config, at least from each function individually. It can look quite funny when the depth isn't limited: h…
-
comment
Comment #26687574
Something of an informal reverse engineering of SimCity 3000 existed in sc3000.com's Knowledge Neighborhood. The original site is only partially available via the wayback machine n…
-
comment
Comment #24388011
This and Annex J.2 Undefined Behavior and Annex L.3 Analyzability Requirements both also specifically include: "The value of a pointer that refers to space deallocated by a call to…
-
comment
Comment #24387645
The article doesn't touch on this, but in C pointer types are also the only kind that can be invalidated without any apparent change to their value: void *x = malloc(...); free(x);…
-
comment
Comment #23110034
Though scan-build is usually the simpler option, clang itself does have an --analyze flag which writes analysis results in various formats, including the same html reports that sca…
-
comment
Comment #22865865
Not about the language exactly, so maybe not fair game, but: how did you all find yourselves joining ISO? And maybe more generally, what's the path for someone like a regular old s…
-
comment
Comment #20946277
Apple did submit a proposal based on the then-new blocks extension in 2010: http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1451.pdf There was an analysis of this and the C++11 la…
-
story
Ask HN: Resources for First Time Acquisitions
A friend has been tasked with orchestrating the merger between two similar (small, together bordering on mid-size) competitors. The actual terms of the deal have already been scope…
-
comment
Comment #18787404
I like using pointer-to-array types for this purpose as (like an array in struct) the array's length is encoded in the type, and thus likewise allows the compiler to warn if an inc…
-
comment
Comment #18432729
The linked discussion on the memory model is particularly interesting to me as it covers a number of issues and ambiguities with the current specification for strict aliasing and w…
-
comment
Comment #17307695
This is known as scalable coding and has been included as an extension or profile in at least every ISO and ITU standard since MPEG-2, see for example https://en.wikipedia.org/wiki…
-
comment
Comment #15060443
Putting the logic into a more flexible configure script that generates definitions for your Makefile and imitates the autotools build process without actually using autotools is a …
-
comment
Comment #15060240
The problem comes in as soon as you need conditionals, which is likely when attempting to build something portably. There may be some gymnastics that can be done to write around th…
- comment
-
comment
Comment #14372512
Apparently unrelated to Flang the 2013 LLVM GSOC project to implement a Fortran frontend. https://github.com/hyp/flang The name re-use was a bit confusing.
-
comment
Comment #14228099
The code copies the origin string up to and including the null terminator, which must exist as strlen was used to obtain the size.
-
comment
Comment #14181221
> You can't just have an mp4 (well, x264) file because that's patent-troubled. This was true of gif until the mid 2000s, well after it became popular.
-
comment
Comment #14104119
Looking at the script, it doesn't write any history itself, it just loads whatever is in the existing .bash_history into its db when `hist import` is invoked (when a new shell is s…
-
comment
Comment #13845627
The BSDs, Windows, OS X, and Mac OS classic and their corresponding filesystems all supported this for decades. Linux is the only major holdout, because according to Linus, "it's a…
-
comment
Comment #13678542
I've done a similar thing with https://github.com/0x09/watch It's extremely simple but it allows me to do things like plot a color coded calendar of app usage, which can provide ve…
-
comment
Comment #13245611
I've gotten myself into a stupid situation where I have purchased something like 4 adapters that don't accomplish what I thought they would when I bought them. USB-C to DisplayPort…
-
comment
Comment #12872815
I published a set of utilities that I developed for playing and to help myself learn about frequency analysis here, you might find them interesting: https://github.com/0x09/dspfun