HNHacker News
TopNewBestAskShowJobs

joseraul

362 karma · joined August 1, 2014

submissionscomments
joseraul··on DuckDuckGo on CNBC: We’ve grown 600% since NSA surveillance news broke
Why does StackOverflow have 3 bangs (ov, sof, stackoverflow)?
joseraul··on LLVM OpenMP Support
I am not sure what you call "auto-vectorization".

The auto-vectorization that I know of is the ability of a compiler to batch several scalar operations of a sequential loop into one single vector operation (SSE). There is still only one processor/core at work, but it processes several items at once.

OpenMP is a standard to ease multithreading, to use several parallel threads (cores) without the trouble of creating threads by hand.

Edit: SIMD auto-vectorization directives are part of OpenMP 4, released 2 years ago.

https://software.intel.com/en-us/blogs/2012/11/05/openmp-40-...

joseraul··on Why functional programming matters (1990) [pdf]
I suspect that the average coder will find Python-style iterators much easier to read.

    def fibo():
        a, b = 1, 1
        while True:
            yield a
            a, b = b, a + b
joseraul··on Call me maybe: Elasticsearch 1.5.0
And all known defects are now documented. http://www.elastic.co/guide/en/elasticsearch/resiliency/curr...
joseraul··on Pony – High Performance Actor Programming
An unusual little feature is that assignment returns the old value of the target, e.g. a = b returns the old value of a, so that a = b = a just swaps the contents of a and b.
joseraul··on Go 1.5 concurrent garbage collector pacing
> it's practically impossible to implement an efficient compacting, on-the-fly GC

Go doesn't try (yet) to compact heap by moving objects there. They first need a solution not to break C code.

https://groups.google.com/forum/#!msg/golang-nuts/AFEf6VM-qr...

joseraul··on RethinkDB 1.16: cluster management API, realtime push
From the FAQ: "For multiple document transactions, RethinkDB favors data consistency over high write availability. While RethinkDB is always CID, it is not always A."

What is the relation between write availability and A(tomicity)?

joseraul··on The Earth is Round (p < 0.05) (1994)
Also http://xkcd.com/882/
joseraul··on Gallery of Processor Cache Effects
Most examples are classical cache effects, but the last one is such a puzzle.

  A++; C++; E++; G++; 	448 ms
  A++; C++; 	        518 ms
How can incrementing 2 variables be slower than incrementing 4 variables?
joseraul··on The empirical evidence that types affect productivity and correctness
We could try TypeScript vs JavaScript.

TypeScript type annotations are optional, and its semantics are by design exactly those of Javascript.

joseraul··on Beware the Siren Song of Comments
> Let’s say you want to resurrect this reslug_all_tag_pages method. Just use: $ git log -Sreslug_all_tag_pages

You "only" need to remember that the method is named reslug_all_tag_pages.

← PreviousPage 2 of 2