Better HN
topnewbestaskshowjobs
Log inSign up

inlineint

360 karma · joined Nov 25, 2015 (11y ago) · 213 submissions

Submissions

comment 9y ago · link · parent

In some sense, the current trend of chasing quick predictions at cost of giving up on understanding of the inner working of things resembles the described in the article approach that was taken by Babylonians.

A lot of resources is being put into machine learning, as it provides relatively quick solutions that delivers results that are superior in comparison to other approaches for many of problems. And I find it to be fascinating. However, I'm concerned a little about a possible paradigm shift that can happen if we continue to grow this "prediction-first" attitude and let it become a part of our scientific philosophy.

Such a shift might make people who actually try to figure out the underlying mechanics of the problems they work on to be perceived as "inefficient", as they are going to be (and often already are) inherently less competitive to machine learning algorithms in terms of ability to quickly provide predictions that are good enough to be practically used. If it happen, it probably would make the areas of science that involve building and invalidation of theories less attractive to youth in comparison to those that are centered around building better predictive models and application of them to complex phenomena with a focus on making practically useful predictions.

I see the culture in this type of future as something similar to Babylonian culture as it was presented in the article and compared to the Ancient Greek culture. No to say that this future looks completely bad, but I think it is not as exciting as the one where true understanding of the things is valued first if not the most.

32.

Stop Calling the Babylonians Scientists (2016)(theatlantic.com ↗)

2 points · by inlineint · 9y ago · 1 comment

comment 9y ago · link · parent

A relevant book is Think Bayes [1] by Allen B. Downey. It also uses only pure Python to solve simple problems of Bayesian inference. I like the simplicity of the way it communicates the ideas of Bayesian approach.

But the subject is not a duplicate of that one, as it seems to put more focus on sampling.

[1] http://greenteapress.com/wp/think-bayes/

comment 9y ago · link · parent

Look at this part of the video from https://zeppelin.apache.org: https://www.youtube.com/watch?v=_PQbVH_aO5E&t=3m21s. It shows plotting directly from SQL.

comment 9y ago · link · parent

A nice analysis, and it shows how SQL makes it easy to quickly explore data.

However, it seems like the plots of the results of the queries were done manually by writing some code to make each plot.

I can't stop but mention that using Apache Zeppelin Notebook [1] with Postgres interpreter for Zeppelin [2] (Spark SQL should provide comparable analytical capabilities as well, but this comment is not about it) it is possible to show graphical representation of query results without writing a single line of code.

[1] https://zeppelin.apache.org/

[2] https://zeppelin.apache.org/docs/latest/interpreter/postgres...

36.

Show HN: Recurrent Highway Network Using PyTorch (Jupyter Notebook)(gist.github.com ↗)

1 points · by inlineint · 9y ago · discuss

comment 9y ago · link · parent

I doubt that the subjective experience of the world is as immaterial as some want to believe.

Our subjective experience of the outside world can be quantified in terms of our ability to make predictions about the world and use them. All of us make and use predictions about the perceived reality as part of our conscious experience. However, if you have accurate enough representation of the outside world in your mind, it puts physical limits on the minimum amount of entropy your brain can have. And entropy is a completely physical quantity.

There is an article [1] I found to be interesting that explains why entropy, as defined in Physics, of the same physical system can be different in eyes of different observers with different prior knowledge/reasoning abilities/etc. In a nutshell, it makes perfect physical sense because if one would take into account that all these observers can't exist without physical medium and that their mediums should also be considered to be parts of the physical system of interest.

But then it becomes clear that accuracy of the subjective representation or experiences of the outside world has a direct effect on the entropy of the underlying physical medium because this is what the second law of thermodynamics, applied to the whole system of an observer and the system it interacts with, says.

[1] http://lesswrong.com/lw/o5/the_second_law_of_thermodynamics_...

38.

Ask HN: Ability to commit to open source projects I use at work at work

1 points · by inlineint · 9y ago · 2 comments

comment 9y ago · link · parent

I personally find recurrent highway networks (RHNs) as described in [1] to be easier to understand and remember the formulas for than the original LSTM. Because as they are generalizations of LSTM, if one understands RHNs, one can understand LSTMs as just a particular case of RHN.

Instead of handwaving about "forgetting", it is IMO better to understand the problem of vanishing gradients and how can forget gates actually help with them.

And Jürgen Schmidhuber, the inventor of LSTM, is a co-author of the RHN paper.

[1] https://arxiv.org/abs/1607.03474

comment 9y ago · link · parent

I (actually not only me but also a few other guys) wrote an open source GUI dictionary for Linux [1] (it uses Qt selection features that don't work the same way on other platforms, so although it compiles on, say, Mac, it doesn't fully work). It was started with Qt4 10 years ago, then it was ported to Qt5. So I think I can share my perception of Qt.

The framework is very solid, the components are easy to combine and in general, once you get used to it, it becomes quite easy to work with them. The resulting app is very performant and has low memory consumption in comparison to JS-based apps. Also, adding asynchronicity is actually not hard, at least for things like HTTP requests, as you can use Qt signal/slot system to receive events asynchronously so that in simple cases it is not necessary to mess up with threads.

However, the developer productivity is, in my perception, is a somewhat less than with modern JS frameworks. Not 10x less, but a bit less. I think one of the issues is C++ itself: after changes in the code, it is necessary to not only rebuild but rerun the app, and in general writing C++ code is something that requires some attention as otherwise, it is possible to have SEGFAULT somewhere in your app and then spend time looking for the place in your new code that causes this SEGFAULT.

Note that I'm talking here only about classical QtWidget/C++ apps, not QtQuick ones. I think productivity with the second ones should be better. However, one might argue that if you started to write your code in Javascript, it's better to do it in a way that allows you to have the same code running natively in browser (QtQuick experimentally runs in it, but it is experimental and not mainstream), so that you can share components and code for example between your site and your desktop app.

[1] http://qstardict.ylsoftware.com

comment 9y ago · link · parent

I wonder would it be possible to use it somehow with Linux (in kernel space, not with fuse, because fuse has work slower because of necessary context switches from kernel to user space). I mean it is interesting can a wrapper kernel module be written for interfacing with Rust code, or there are some obstacles that would prevent from doing it efficiently.

42.

The power of deeper networks for expressing natural functions(arxiv.org ↗)

1 points · by inlineint · 9y ago · discuss

comment 9y ago · link · parent

Also there are differences in further employment perspectives.

I mean if you have a problem to solve and you have a choice to use some old tech that you already know, but it is going out fashion, and some new one, then the choice of the newer one improves your employability in the future. For example, I guess in 2000 there was not that much people with 5 years of experience of using Java in production, but those who had it, had to have pretty good chances to easily find decent job.

Of course there is a risk to bet on wrong technology, but at least you keep learning instead of just using ageing tools and becoming more and more disconnected from the current state of the art. It can be as scary as this https://news.ycombinator.com/item?id=11886753, a story of a guy who successfully solved business problems and delivered products with jQuery for a long time and then eventually found that he was out of demand because businesses started looking for people with experience of using React and he didn't have it.

comment 9y ago · link · parent

But what about Tesla? It managed somehow to compete with Toyota, Honda, etc, although it had to create a new market (market of electric cars) to do it.

comment 9y ago · link · parent

And also there is a more introductory book by YA. B. Zeldovich and I. M. Yaglom "Higher Mathematics for Beginners" [1] that is a fun to read book about calculus.

[1] https://archive.org/details/ZeldovichYaglomHigherMathematics - for some reason the book at archive.org has extension .pdf , but in fact it is a djvu document, so it has to be opened with DjView instead of a PDF viewer.

46.

Show HN: tmux-session-spectrum – different colors for different sessions in tmux(github.com ↗)

3 points · by inlineint · 9y ago · discuss

comment 9y ago · link · parent

Thank you. So basically the parent comment was talking about experiments for validating quantum non-locality at galactic scales.

And the experiment mentioned in your link confirms this non-locality up to the distances of 600 light years, but we want to confirm it for even larger distances and times, that's why there is a need for techniques like the subject of this discussion.

comment 9y ago · link · parent

Could you please provide an example of such experiment involving quantum phenomena?

Also doesn't the proposition that the act of designing/conducting some experiment and the noise generated by some events that took place in past (but can't be classically observed at the moment of conducting the experiment because the light generated by those events didn't reach the location of the experiment before the moment of finishing the experiment) cannot be correlated contradicts the non-locality of quantum mechanics?

comment 9y ago · link · parent

There is also a nice small book by Paul Dirac https://books.google.ru/books?id=Jtu-n8AzJhMC

Unlike other texts, it derives everything through embedding of the space-time manifold to a high-dimensional Euclidian space. It means that although it lacks some generality, the curvature and covariant differentiation become somewhat more intuitive and the calculations might feel easier to follow for those who are studying the subject for the first time and are not familiar with differential geometry.

comment 9y ago · link · parent

The article doesn't mention type annotations described in PEP484 and added to CPython since Python 3.5.

It is possible to add annotations to your code like

    class Foo:
        x: int
        # ...
and then run type checks using `mypy`, so that for the annotated code probability of the "passes the checks => won't crash the runtime" case is much larger.

comment 9y ago · link · parent

Under the hood this `push!` function have to do memory reallocation and copying the entire array when the array grows to be larger than some internal buffer, which happens each time the array becomes larger than a^n, where a is usually, but not necessary, selected to be equal to 2.

The amortized complexity is θ(1), but individual insertions might take O(n) time.

It means that it is not hard to have the same in numpy, with the same performance, the only difference is that the growing have to be done manually and that the push_back function has to be called as something like

    x, x_len = push_back(x, x_len, 10)
with push_back being defined like

    def push_back(x, x_len, value):
        if len(x) == x_len:
            x = np.concatenate((x, np.empty(max(len(x), 1)))
        x[x_len] = value
        return x, x_len + 1
            
so that the x variable is supposed to be updated after each insertion.

comment 9y ago · link · parent

But AFAIK LED brightness is usually controlled by pulse-width modulation, which is essentially adding flicker.

There are people with flicker sensitivity that have headaches when exposed to flickering light. A link to a HN discussion that touched the problem of PWM and flicker in the comments: https://news.ycombinator.com/item?id=13330611

12345
8