Better HN
topnewbestaskshowjobs
Log inSign up

pdevr

1,080 karma · joined Apr 19, 2013 (13y ago) · 401 submissions

Submissions

comment 4y ago · link · parent

Yes, that is it essentially. You are looking at businesses which have cash flow and the other criteria mentioned above.

comment 4y ago · link · parent

This, pretty much. Whenever a new trend comes up, be it Bitcoin or index investing (both of which are poles apart in terms of risk), passionate people will defend them passionately. Good on you all. I posted it hoping to see HNers' original or novel thoughts about this (along with the expected defending of index investing).

comment 4y ago · link · parent

Index investing will work, if you live for a long time. The problems are, we do not live infinitely, and the average person does not have the stomach to see their investment going down for years, unless that investment is small enough to tolerate (in which case it is not enough to make a big difference, for most people).

What I think will work - not claiming that it will actually work - based on history:

Invest in companies that are generating a lot of cash and a lot of profits, have a moat/USP/technology advantage, and are at the forefront of where the world is headed in terms of trends, or at least are following a sustainable trend. Yes, you need to identify the company. Yes, you need to take decisions: INTC vs AMD (1980s), YHOO vs GOOGL (2000s). But it gives you a much better chance of seeing a profit in your lifetime than index investing. You can still index invest, but only an amount you can "set and forget". This gives you the best of both worlds.

Edit: (1) What I posted above is for long periods of no movement of stocks except downwards, as I believe we are going to see. (2) Index investing will work eventually and that is what I said above as well. The point is, the time period required for that. (3) I thought of posting this on my blog tomorrow, but it is past midnight here, and I wanted to see what HNers think. It is interesting to see the different opinions. Time may change some of your opinions (not about "index investing will not work" - that is not what I said above - but rather, about the protection offered by diversification, and what diversification actually means. Also, quoting this part again: "the average person does not have the stomach to see their investment going down for years, unless that investment is small enough to tolerate (in which case it is not enough to make a big difference, for most people)").

comment 4y ago · link · parent

Arguably the best web development curriculum for children that I have seen from any of the top technology companies. Congratulations.

One question: Did you consider splitting up these pictures into smaller pictures? As an example, look at this page[1]. The picture seems to have a lot of things in there. Did you consider using multiple smaller pictures?

[1] https://microsoft.github.io/Web-Dev-For-Beginners/#/2-js-bas...

comment 4y ago · link · parent

Piggybacking on this: Is there any book out there which covers C++ 20? Most of the reference books suggested on forums (SO, IRC/Discord channels) seem to cover C++ 17 or 14, or even worse, 11.

comment 4y ago · link · parent

Nice to see that again. I always used to show this to my colleagues as an example of the unconventional (and some clever marketing) converting adversities or deficiencies into strengths.

comment 4y ago · link · parent

Thanks. I am planning to use AntLR for the main parts and Flex/Bison on an as-needed basis.

98.

Ask HN: What is the latest mainstream parser?

2 points · by pdevr · 4y ago · 2 comments

comment 4y ago · link · parent

I have disciplined myself to do it only one way. That is enough, and keeps it simple for most purposes. Copy from the phones and other devices, paste to the main device. It being just one file makes it much easier to do so. It is backed up regularly using rsync, as part of my daily backup of everything.

The hardest part - for me, at least - was to let go of the myth of the need for multi-directional syncing.

comment 4y ago · link · parent

After using a lot of different tools, now I use a plain text file. It works for me. I move things down as I finish them. The top part always have my pending tasks in there. The file is more than ten years old now, and have been the best productivity tool for me that I started using the same approach at office as well.

I had some sticky notes at office, but now with the world having changed, I took a screenshot of all of them and manually transferred them to my text file as well. If I need to refer to a diagram or something, I just add a pointer (the path - local file system or URL) to that in my text file.

comment 4y ago · link · parent

Those are crimes, for sure! I was comparing the former (cheating) with the potential of the same person for committing worse crimes which impact more people more forcefully. Not absolving them of their crimes.

comment 4y ago · link · parent

This summarizes it well. Two more (in fact, the most frequent ones I saw) are:

(1) He moves a piece, accidentally another piece tumbles down on the board, he adjusts it, and meanwhile, one of the opponent's crucial pawns magically disappear.

(2) Same as above, with opponent's pawn (or his pawn) magically moving to a better location for him.

comment 4y ago · link · parent

I missed this part "Black to move. Black offered a draw" - thanks for pointing that out. In that case, it is a draw. Of course, unless black messes it up!

comment 4y ago · link · parent

>The black pawn is on the h-file and never goes to a3.

Meant h3, sorry, result of mental calculations.

I just checked on an analysis engine, and it confirms: every position is losing for black, as long as white does not mess it up, and has the first move.

You can try it out here: https://www.chess.com/analysis

Load FEN: 8/2K5/8/7p/P7/5k2/8/8 w - - 0 1

comment 4y ago · link · parent

The problem is, then white queen follows up with checks which eventually also attack the black pawn. Since the black pawn is at a3, there is no immediate threat of queening. If black moves the king away from the pawn, white grabs it. If black keeps the king near the pawn, white forces black king under the pawn, and then moves his king, and black is forced to give up the pawn.

Every continuation is losing for black.

comment 4y ago · link · parent

I agree with this, since I have seen this in action. They cheat a lot, and argue with you when they lose. However:

>But stealing, robbing, lying—if you eliminate that from your program, you’ll be 99% better as a person.

Biblical references apart, this is the key point. The choice they made is a much better choice for most of them, and for the society around them. Playing chess helps many of them to focus on something that is not destructive and enjoyable. It gives them constant excitement and fast-paced action without getting into trouble in other ways.

comment 4y ago · link · parent

Louis Pasteur is one of my most favorite scientists. That being said, he won't have been able to do it all on his own. Variolation was practised in Africa, India and China long back[1].

The record shows that [...] Edward Jenner heard a dairymaid say, “I shall never have smallpox for I have had cowpox.[...]” It fact, it was a common belief that dairymaids were in some way protected from smallpox[1].

That knowledge (regardless of the accuracy of the specific story of the dairymaid) helped Jenner to develop the smallpox vaccine, and that in turn helped Pasteur in coming up with his array of vaccines and other innovations.

So, I would argue that every person who contributes to research is making a dent in the universe. Your published paper may have been the impetus for someone else to make a "visible dent". Publishng papers of failures would have been ideal, but until that happens, every person who contributes to research is contributing to the progress of humanity in the long run.

[1] https://www.ncbi.nlm.nih.gov/pmc/articles/PMC1200696/

comment 4y ago · link · parent

Classy joke. Kudos to the team.

On a lighter note: what better day than today to be a day of jubilation for Scala fans? :)

comment 4y ago · link · parent

Those who visit the link expecting jokes: you can read them in the comments on this page. The BBC page linked to has only one full joke. The following one.

Two men had been ridiculing the king at a drunken feast – the king was furious and summoned the men. Clearly disaster was about to befall the men, but then one of them answered: 'We might have said those things, but that was nothing to what we were going to say if the wine hadn't run out!'

comment 4y ago · link · parent

There may be multiple reasons for this, some of which may be those you stated, but couldn't altruism be at least an important part of the reason they shared this?

comment 4y ago · link · parent

Looks good, from whatever I have seen and read. I am going to give this a try.

A question to those who have used Zotero: Can I opt to store everything on the local device and have zero data transferred to the server? Is there any kind of control over what is stored locally and what is sent to the servers?

comment 4y ago · link · parent

Informal usage, as others have pointed out.

Since it is informal, it can be read as "Hey I'm Chris Sev. Here's My [Collection/Set/List of] Courses", which is grammatically correct.

113.

Ask HN: Best Books about NLG (Natural Language Generation)?

1 points · by pdevr · 4y ago · discuss

comment 4y ago · link · parent

>>The user tests were conducted in a specially constructed room featuring a one-way mirror, so observers could watch the tests without being intrusive. The tests were conducted by a moderator who made sure the user felt comfortable and showed her the basics of using a mouse. Then, with no further instruction, users were asked to perform specific tasks, without help from the moderator, like editing some text and saving it. The moderator encouraged each user to mumble under her breath while doing the tasks, revealing her current thinking as much as possible. Each session was audio or videotaped for later analysis.

Amazing to see the importance they gave to UX/UI and the level of sophistication they had forty years back.

comment 4y ago · link · parent

>>the approach is to "wrap" CRISPR components in an envelope that is able to target specific cell-surface proteins for the cell type of interest.

Fascinating, thanks.

comment 4y ago · link · parent

A colleague recommended "Free Solo" to me a few years back. There was this part where the doctors claim (paraphrasing) his brain is unique in that he is much less afraid of danger than us.

The part towards the end, where he does the actual climb of El Capitan in Yosemite National Park, is also worth watching.

comment 4y ago · link · parent

I may be way out of my depth, but until we can edit all the cells of a living organism, isn't CRISPR limited to working with pre-embryos/embryos? If so, other than creating a potential super race, what is it of benefit to the living individuals with "imperfect" genes?

Just to clarify, that is a real question, not rhetoric.

comment 4y ago · link · parent

This and the intermezzOS project linked below are both good, thanks for sharing those links.

Is there any similar OS project (or even book!) that uses the latest operating system principles and non-hypothetical (i.e., unlike MIX or MINIX) languages?

comment 4y ago · link · parent

Most of the important points have already been posted, so let me give you a different piece of advice:

Be nice to people. Remember who is good to you.

12345
14