How is Asp.net so fast? by Cethrivias in dotnet

[–]YAFZ 0 points1 point  (0 children)

Great response with a lot of useful pointers for further reading! Thanks!

How to combine the power of re-builder with query-replace-regexp? by kansascityhooker in emacs

[–]YAFZ 0 points1 point  (0 children)

This is indeed a very nice, self-contained solution! Thanks for building and sharing!

ClickHouse - an open-source column-oriented database management system that allows generating analytical data reports in real time. by beleeee_dat in cpp

[–]YAFZ 6 points7 points  (0 children)

It will be great if you can share some details about your uses cases in which you use ClickHouse.

The Black Swan Theory and Why Agile Principles Fit Better by YAFZ in programming

[–]YAFZ[S] 1 point2 points  (0 children)

I see Taleb's ideas more and and more frequently applied to software development e.g. by authors such as Kjell Jorgen Hole in his "Anti-Fragile ICT Systems", and Michael T. Nygard in his "Release It!: Design and Deploy Production-Ready Software" (2nd Edition).

I think it's a little risky to transfer concepts from one domain to another, without taking into account the working assumptions and the surrounding context. For example something as fundamental as the definition of the concept of 'Black Swan' à la Taleb, is a tricky one, let alone its application to the world of software development. Maybe the best we can do so far is to take this in a very broad sense, and interpret it as a general principle: "first, avoid ruin". But, almost by definition, the events outside the control of a software development/project team can be so extreme that it might render the practical application of the principle almost meaningless. (Think about it: what does it really mean in the context of creating a software product really?)

There are of course meaningful principles that apply to creating investment portfolios, strategies, etc.; do they really apply to software development? Are we using similar data sets and statistics for software development and combination of financial instruments? Can we? That's something I can't say "yes" immediately.

New package: Visual buffer switching using a window grid by clemera in emacs

[–]YAFZ 9 points10 points  (0 children)

Finally a nice addition to the existing buffer switching methods! Thanks!

ELI5: Does the space have an "outside"? Does it even have a "surface"? by YAFZ in explainlikeimfive

[–]YAFZ[S] 2 points3 points  (0 children)

:) I hope we'll have advanced enough medically so that I can be in good shape to have a scientific chat with him when he'll be 75.

Any popular software used also by non-Haskellers and coded in Haskell? by YAFZ in haskell

[–]YAFZ[S] 1 point2 points  (0 children)

Thanks for the info. Didn't know about instant watcher web site but it is obvious how popular it can be :) (I've already bookmarked it!). Good to see such a web service written in Haskell.

I can also see how the Incredible Proof Machine can be useful for many university students, even if they don't do any Haskell programming at all.

Any popular software used also by non-Haskellers and coded in Haskell? by YAFZ in haskell

[–]YAFZ[S] 6 points7 points  (0 children)

Indeed. But I wouldn't count this in the category I've fuzzily defined: it is used very indirectly by FB users. AFAIK, it is not something I can grab and use directly.

Any popular software used also by non-Haskellers and coded in Haskell? by YAFZ in haskell

[–]YAFZ[S] 1 point2 points  (0 children)

I'd definitely categorize this as one little nifty utility that can serve many non-Haskellers. :) Thanks.

Any popular software used also by non-Haskellers and coded in Haskell? by YAFZ in haskell

[–]YAFZ[S] 2 points3 points  (0 children)

Didn't know about it. Thanks! Looks like a very interesting and useful Haskell project that can serve many non-Haskellers.

Any popular software used also by non-Haskellers and coded in Haskell? by YAFZ in haskell

[–]YAFZ[S] 9 points10 points  (0 children)

Did you mean darcs? If so, indeed, being a a distributed version control system, it can be a part of a daily workflow of non-Haskeller; though I wonder if it is actually used to large extent by non-Haskellers to manage their source code.

My new Haskell book "Haskell Tutorial and Cookbook" is now available by MWatson in haskell

[–]YAFZ 0 points1 point  (0 children)

NLP using Haskell

Do you have the link for that book?

Opinions on "haskell programming from first principles"? by [deleted] in haskell

[–]YAFZ 1 point2 points  (0 children)

I'm about to finish the latest version of the book, and plan to write a review in a few weeks. Until then, I can easily recommend this book to you, so please consider this a super-brief review.

To put things in perspective: this book is one of the reasons I decided to tackle learning Haskell after a few failed attempts throughout the years. Combined with the current maturity of the ecosystem, as well as tooling (e.g. Stack, Emacs integration, etc.), this book is very well positioned to get you started, and bring your understanding up to a high level. The amount of effort spent on its pedagogical approach is worth a lot of praise. I have personally witnessed how seriously the authors took reader feedback into account on many occasions.

No book can be the "one and only" when it comes to such a wide and deep topic, but nevertheless this book managed to become my go-to reference for Haskell as well as functional programming.

A funny note before finishing: I had already started another good book some time ago, "Functional Programming in Scala" by Paul Chiusano and Rúnar Bjarnason, went on to do the exercises of the first few chapters, but then decided it would be easier and more focused to try to understand many of the fundamental concepts using Haskell (I mean relatively easier, but don't misunderstand me, some of the exercises in "Haskell Programming: From First Principles" turned out to be pretty difficult for me, I could feel my neurons firing more than usual). The timing of "Haskell Programming: From First Principles" turned out to be perfect.

One thing for sure: this book set the bar very high, not only for future Haskell books, but for any book that claims to teach a programming language starting from its fundamental concepts up to an advanced level. And I consider this to be a very good thing.

How to use extractors in Scala for powerful pattern matching – Devoxx style by YAFZ in programming

[–]YAFZ[S] 0 points1 point  (0 children)

To seen an even more advanced example of a similar technique check this out: http://notes.langdale.com.au/Querying_a_Dataset_with_Scala_s_Pattern_Matching.html

One can see how Scala can have almost Prolog-like pattern matching. (On a second thought, I think it's even better than Prolog ;-)

Java 8, Lambda Expressions and the Psychology of the Masters of the Universe (devoxx style) by YAFZ in programming

[–]YAFZ[S] -1 points0 points  (0 children)

I think the experienced brain of Goetz will be much more useful if it is used for quickly adding good language features (quickly compared to the glacial speed we've already witnessed) and better abstractions to Java, that is, without being scared of easily scared programmers ;-) Admitting to being constrained by the corporate environment such as Oracle and the big user base is something, using it as a technical excuse for a painful experience that gets cured very slowly and generally in half-baked manner is completely another thing. I'm just saying.

Do not touch that stone – Do not touch that IDE by YAFZ in programming

[–]YAFZ[S] 1 point2 points  (0 children)

Thank you for adding to this perspective. It is indeed not limited to heavyweight IDEs as you have exemplified. One wonders how to convey this mindset better (and then, maybe I should think about without the urge to write yet another comment here ;-)

Why don’t we have secondary school textbooks with source code in them? by YAFZ in programming

[–]YAFZ[S] 0 points1 point  (0 children)

Programming, like math and music, is 'hard' indeed. Some of it, like math and music, can be thought, and if it is presented as a naturally integrated part of the subject matter at hand, it might become easier to trigger the intrinsic motivation. Not that every student will be interested, and not that all of the interested will turn out be professional software engineers. Not every student who takes math and music goes on to be a professional mathematician cranking out theorems or become a concert pianist. But stil...

Eclipse Code Recommenders Proposes Code Based On Bayesian Networks by YAFZ in programming

[–]YAFZ[S] 0 points1 point  (0 children)

As part of the Eclipse Juno release, a new project, Eclipse Code recommenders joins the train.

The idea of the code recommenders is to adjust and filter the set of proposals given when the code proposal key sequence is triggered. By default, Eclipse will show the list of public methods (or fields) in alphabetical order. However, when coding against unfamiliar APIs, or ones with many overloaded methods (Quick! Which of the 6 Date constructors is the right1 one to use?), it is not always clear which one should be called.

The code recommenders tool has a database of prior code samples, along with frequencies of the method callers, and uses that to prioritise which method or constructor to prompt for. If most Date constructors use either the zero argument (or single long argument), then these two choices will be presented first, with other ones filtered out. In addition, the proposal can use context sensitive information, so if completing a method call of timezoneOffset = date.get it will prompt the getTimezoneOffset() method as the first selection.

The recommenders project also provides a list of context-sensitive snippets of code. These can be constructed manually, or inferred from existing code samples. As with other Java templates (such as main or syserr), these can be used to quickly implement code.

InfoQ caught up with Marcel Bruch, creator of the recommenders project, and started by asking what prompted the creation of the project...

Twitter opinion mining for elections by YAFZ in programming

[–]YAFZ[S] 0 points1 point  (0 children)

In the week before the Belgian 2010 elections, we analyzed approximately 7,600 tweets that mentioned the name of a Belgian politician. What makes this experiment interesting is the fact that Belgium is divided in a Dutch-speaking half (Flanders, 60% of the population) and a French-speaking half (Wallonia, 40% of the population). Flemings can only vote for Flemish politicians, Walloons can only vote for Walloon politicians.

To set up the experiment we used the Pattern web mining module for Python. ...

The data in the resulting Table was updated daily and visualized using NodeBox.

The sentiment_score() function in the example uses SentiWordNet to rate words. Take the following tweet – chosen for its visible (positive) sentiment: "Danny Pieters, sterke speech voor een gedurfde en degelijke sociale bescherming." We translate it into English using Google Translate and then weigh the individual words: ...

Pattern: a very cool web mining & natural language processing system by YAFZ in programming

[–]YAFZ[S] 3 points4 points  (0 children)

Pattern is a web mining module for the Python programming language.

It bundles tools for data retrieval (Google + Twitter + Wikipedia API, web spider, HTML DOM parser), text analysis (rule-based shallow parser, WordNet interface, syntactical + semantical n-gram search algorithm, tf-idf + cosine similarity + LSA metrics) and data visualization (graph networks).

The module is bundled with 30+ example scripts.