Better HN
topnewbestaskshowjobs
Log inSign up

gituliar

67 karma · joined Jan 25, 2011 (15y ago) · 46 submissions

Iblog about programming and quantitative finance at https://tastycode.dev
Submissions

comment 4y ago · link · parent

The story is managable as long as we use local operations, like read/write a value. Once we need iterators (read "aggregate operations") life becomes tough. In this case only copy-on-write strategy seem to work, doesn't it ?

comment 4y ago · link · parent

Given that we have a limited number of productive hours per day, say 3-4, the overall performance is better with 5-day workweek. Add 2-3 hours of tuning your mind, meetings, emails, etc. Which gives 5-7 hours. In line with what you said.

So, next time you negotiate a raise with you manager, ask for less hours instead of more $$$.

comment 4y ago · link · parent

My ThinkPad P14s Gen1 has 10th Gen i7 with Intel UHD GPU, which is 2x slower than Iris Xe.

I do not play either. Most noticeable lags I have are 4K youtube videos. Is it OK for you ?

34.

Ask HN: Lenovo laptop with decent 4K support

2 points · by gituliar · 4y ago · 5 comments

comment 4y ago · link · parent

Avoiding smart pointers for those reasons is a bad idea.

Smart pointers are unified since C++11 standard with support in all modern compilers for various platform. Invest some time to get familiar with them and you will not regret.

36.

Narrative Programming(gituliar.net ↗)

2 points · by gituliar · 4y ago · discuss

37.

My C++ Toolset(gituliar.net ↗)

4 points · by gituliar · 4y ago · 1 comment

comment 9y ago · link · parent

That is right, researchers are paid by the universities. BUT, to be hired researchers need a strong list of publications in peer-reviewed journals. This is usually the most influential factor for ranking. For this reasons some journals charge fees for publishing your paper, not saying about being paid.

comment 11y ago · link · parent

What 5:2 stands for: 2 days of fasting per week? If so, what days do you fast at?

comment 11y ago · link · parent

One year is a quite long period; do you see some noticable changes since you started to fast: wieght loss, more/less active, etc?

41.

7 Reasons Why You Will Never Do Anything Amazing With Your Life(medium.com ↗)

8 points · by gituliar · 12y ago · 1 comment

comment 12y ago · link · parent

How I love irony...

comment 13y ago · link · parent

I think that no. GPL permits to keep one's changes private and doesn't force to make them public, that is bad in the case of scientific software. However, it forbids to distribute changes under the terms of other licenses, i.e. non-free, that is good.

I believe that an enforcement to share source code should be imposed on provate modifications of open-source scientific software.

comment 13y ago · link · parent

I'm a particle physics theorist. In our field there are a lot of open-source (see http://www.hepforge.org/projects), as well as some private projects. I believe that source code should be published/shared in tandem with results it produces. Otherwise, those results have no scientific value and I personaly tend not to trust them, even though they are in agreement with well-known predictions. What matters is an algorithm results are obtained with, not results themselves. In other words, scientists should form a hacker-like community and don't get into the trap of a developer-user relationships where some develop while others use software.

I actually wanted to know your opinion concerning the migration of open-source to private software. The most common open-source and free software licenses, like MIT or GNU, allow this kind of migration. That is Bob could modify Alice's public project, produce results, and publish them without sharing sources with anybody. That looks unfair, since Alice did a great job and most likely would like to see the changes. How to protect Alice from such situations? Are there any kind of license which forces to share modified software when some results it produces are published or available to the general public?

comment 13y ago · link · parent

What about WingIDE? Does it make sense to switch to PyCharm?

comment 14y ago · link · parent

A key concepts beyond Mathematica are pattern matching and rule-based programming, but not a functional programming.

Yes, it has lambdas and first-class functions, but that's it. What about closures, for example? Therefore one would better not call Mathematica "a real functional programming language".

BTW, rule-based paradigm and pattern matching is a standard feature of languages from Lisp family, e.g. Scheme. From that point of view Mathematica is not something unique.

12