aftabh's comments

aftabh | 4 years ago | on: Snap shares soar 60% on first profitable quarter

Just check the SNAP stock value for the past 6 months[1] and you'll see that it had lost roughly 70% of its stock value.

With today's earning announcement, it has just recovered some of those lost market value. Still, with this positive news (i.e. about 60% increase in stock value, post earning announcement), they're around 50% down from its peak (which was just in the recent past, less than 6 months ago).

---

[1]- https://finance.yahoo.com/chart/SNAP

aftabh | 4 years ago | on: Retro nostalgia and why my new website looks like Window 9x (2019)

For some reason, I had to close the website quickly after browsing for a little while. For a moment it felt like I'm looking and going through someone personal desktop (which has been left unlocked) without their consent while at the same time I was really well-aware that it's just a personal website for public. Weird feeling :)

Edit: On second thought, it looks like it did one thing really well is refreshing my own personal memory of Windows 9x (personally, I've good memory of Windows 98, before I switched to Linux based desktop -- Ubuntu specifically).

aftabh | 5 years ago | on: The Art of Reading More Effectively and Efficiently

I highly recommend that you consult the original book (also referenced in TFA) as your primary source to find answer to your question.

> Let it be understood at once that we are wholly in favour of the proposition that most people ought to be able to read faster than they do. Too often, there are things we have to read that are not really worth spending a lot of time reading; if we cannot read them quickly, it will be a terrible waste of time. It is true enough that many people read some things too slowly, and that they ought to read them faster. But many people also read some things too fast, and they ought to read those things more slowly. A good speed reading course should therefore teach you to read at many different speeds, not just one speed that is faster than anything you can manage now. It should enable you to vary your rate of reading in accordance with the nature and complexity of the material.

> Excerpt From: Mortimer J. Adler. “How to Read a Book.”

aftabh | 7 years ago | on: Applied Category Theory

From the course description:

Category theory is a relatively new branch of mathematics that has transformed much of pure math research. The technical advance is that category theory provides a framework in which to organize formal systems and by which to translate between them, allowing one to transfer knowledge from one field to another. But this same organizational framework also has many compelling examples outside of pure math. In this course, we will give seven sketches on real-world applications of category theory.

aftabh | 9 years ago | on: How to move from Amazon RDS to a dedicated PostgreSQL server

> This is actually poor advice. The right way on Ubuntu is to use the packages provided by PostgreSQL Development Group (https://wiki.postgresql.org/wiki/Apt), and in that setup you use pg_createcluster instead of initdb.

initdb is part of standard PostgreSQL utilities/tools[1] for initializing your PostgreSQL server that's why I suggested using it. On the other hand, I don't see any reference to pg_createcluster command in the official PostgreSQL documentation. So I don't know why you think using a non-standard PostgreSQL tool (in place of a standard one i.e. initdb) is the right way of initializing a PostgreSQL database cluster.

[1] https://www.postgresql.org/docs/9.5/static/reference-server....

aftabh | 9 years ago | on: How to move from Amazon RDS to a dedicated PostgreSQL server

>To my surprise, PostgreSQL v9.5 on Ubuntu 14.04 does not default to unicode schema.

PostgreSQL does (if unicode character set was specified when PostgreSQL database cluster is initialized first time); it's Ubuntu OS which creates PostgreSQL database cluster with ASCII character set (encoding) after PostgreSQL's installation.

> Here is the snippet that I had to use: ...

Instead of resorting to those hacks, follow the PostgreSQL documentation[1] to do it the right way. The simplest way is to initialize your PostgreSQL database cluster as:

initdb --encoding=UTF8 --pgdata=<database-cluster-dir>

If you want to use an existing database cluster, PostgreSQL documentation shows how you can do it.

--

[1] - https://www.postgresql.org/docs/9.5/static/multibyte.html

aftabh | 10 years ago | on: The Content Marketing Handbook

Try something as follows:

First, don't worry too much if you think your attention and focus is not good or it's getting worse because this act of (constant) worrying itself keeps you in the very same (worry) loop you want to avoid/escape at the very first place. Just keep in mind, an average amount of lack of attention is common as it happens to most of us because of our aging, work, life style, and the environment (both real and digital). Try to avoid doing unnecessary tasks as much as you can and don't push yourselves too hard. Focus on the progress and not the results alone to improve your chances.

Second, exercise and meditate besides having good sleep and a balanced diet (this part is pretty common advice as most of us already know about it). In addition, I would suggest you also include some sports performance psychology books in your reading list as they often contain some really good applied research to improve the performance of professional sport-man. I think, in some way, a technical (or business) person is not very different from those sport-men when it comes to attention, focus and performing under pressures in work/business settings. The visible aspects of tasks and their execution (a sport-man and technical/business person perform) are different but the mental aspects of these tasks are very similar to those tasks one has to carry out in a technical/business context.

Last, you can consider counseling and more serious help, if above-mentioned self-help methods doesn't work in your case. Most of the time we don't need to think about this step if we keep working on the first two points regularly unless we've some strong evidence that we must consider this last step.

---

Note:

I'm not an expert in any mental health and performance related field (like psychology etc.). I'm just a normal technical person like most of other HN community member.

aftabh | 10 years ago | on: Why Go Is Not Good (2014)

I might have taken the content of this article more seriously if it had been titled something like "Why Go Is Not Good for Embedded System Programming" since the original author of the article seems to have more experience in embedded system's domain[1].

Also, the article say "Go is a regression from other modern programming languages" and I find it amusing that a significant numbers of people here taking the article and its claim seriously when it is coming from a student[1] who just finished his 'Computer Programming' university course in Fall 2014[1] (one of the reason, other reason is mentioned in the next paragraph). Don't get me wrong here: I'm not saying that you can't say anything significant when you're a student; what I mean here is that one needs to come up with more detailed explanations and with many more examples which are valid for a wide range of scenarios and use-cases when you make a general statement about a programming language which has been created by some of the highly-respected experts in the field of programming language. The list of problems mentioned in the article are important but they're not very critical for the kind of the system development that Go language has been designed/developed for[2].

Since Go language has been developed for system programming, the term 'system programming' is not restricted to embedded system only (as few people have already mentioned it in different threads here) which are mostly limited to one component (or small number of related components working together). With the advent of internet and IoT, we are forced to develop very large software systems (read, software systems as infrastructures) in order to make next generation of internet and IoT applications possible and usable (talking from business perspective). Development of these new large scale systems bring different kinds of theoretical and practical problems like complexity, concurrency and inefficiencies in system development process (for example; code compilation of large codebase and running regression test suits). And, Go has been specifically build for this new kind of large scale system softwares[2] (competing/working along with some other programming languages in this area).

Here, I would read the initial set of high-level problems which forced Rob Pike and his team to create a whole new language[2], instead of only considering issues/problems which one face while developing a single machine software/hardware program (as I've already said that they're important but they're also not everything). Once I know the strength and weakness of a programming language, I know when I should (or should not) use it, under what circumstances it's the right tool and what advantages/dis-advantages I've to trade off when I use it.

---

[1]- http://yager.io/resume.pdf

[2]- http://commandcenter.blogspot.de/2012/06/less-is-exponential...

aftabh | 10 years ago | on: Ask HN: Which open source projects have kind, supportive, talented teams?

+1 for Postgres. It's one of the most awesome OSS project: great development team, community, large codebase (which is well organized and very modular), has a very good code and end-user documentation, always working with a significant number of important computer science problems and concepts (ranging from easy to very complex ones).

[Disclosure: I'm not a Postgres contributor myself. In the past, I had been working on Postgres core and related projects at EnterpriseDB (a Postgres company) for 5+ years].

aftabh | 11 years ago | on: Rosetta Probe Discovers Organic Molecules on Comet

Interesting. I'm able to read the article with Google Chrome but not Firefox (which I used first) browser.

Edit: I opened the article in private mode in both Google Chrome and Firefox browsers so it cannot be related to browser's cache.

Tried other news articles from WSJ website, got the same result i.e. they worked with Google Chrome but not with Firefox browser.

page 1