Hacker News new | past | comments | ask | show | jobs | submit | Cut_N_Paste's comments login

For long-term growth investments, I buy stock in companies that make products that I use and love. i.e. Coca-cola, General Motors, Apple, etc...

For income, I put a portion into high-dividend stocks, and either draw the dividend or trade them away pre-dividend for more than the dividend would have paid... re-buying later after the price drops post-dividend.

For short-term money trades, I look for depressed stocks with what I call rebound-potential... e.g. something like bad news or earnings miss can depress a stock 5-20% depending on the day/mood of the market, I buy and hold some of these I think have a potential rebound in a moderately short-term ( say a week or 2 ), for a modest profit.

The main thing is to stay diversified, and always keep some cash available to buy a potential dip, you cannot have all of your money in 2 or 3 stocks and expect to do well unless you're extremely lucky, and just like in Las Vegas, luck doesn't always go your way. The more and different stocks that you hold, the easier it is to sell a winner, and re-invest that profit in the next.

Also, you need to be able to hold through the short-term market flux, and not sell out of fear... i.e. kim jong shooting fireworks over Japan can shake the market temporarily, you need to be able to hold steady until the market recovers, and even better, buy the dip.


lol... thank you for that :)

BTW Apple, your latest iphone update has completely trashed your stock widget's display... please revert it back the way it was, thanks - a user.


I'm not sure why you're being down-voted, you speak the truth. I myself didn't participate beyond a cursory download and trial years ago, because I perceived it too risky and fad-like for my time... boy was I wrong :/


low contrast is hard for me to read


Check #3 & #4 on his submissions.

Btw, hackers accessing this info could possibly explain something I tweeted to them about 10 days ago:

https://twitter.com/jeffallen6767/status/907171360769662976


Good catch. Spikes in option activity before the release of non-public information is the clearest indicator of insider trading. If it helps, its also trivially easy for the SEC to identify the traders involved so at the very least they are already looking for these guys to trace where they got the information.


Was the SEC notified about the Equifax hack before the public? With enough time for someone to trade on that information?


Yes. Regulation FD says you have to tell everyone material information at the same time.


Right so hacking Edgar wouldn't be a great source of non public information then no?


It would be because it is where the information goes before it goes public. Sane with a printshop.


As an aside, I coded a Keccak implementation in JavaScript if anyone is interested.

It was a great learning experience, and I've tried to comment the code thoroughly.

https://github.com/jeffallen6767/keccak-p-js/blob/master/src...

Previous to this I did sha256, and I have to say that the Keccak algorithm was a bit easier to reason about ( as to what it was doing at the bit level, and why )...at least it was for me.

https://github.com/jeffallen6767/sha-256-js/blob/master/src/...


I'm not waiting more than 5 seconds for something to load sorry...


I've been learning as much as I can about blockchain, crypto, etc... I've recently written sha256 and keccak in Javascript ( so as to learn how they work at a detailed level ). https://github.com/jeffallen6767/sha-256-js and https://github.com/jeffallen6767/keccak-p-js



I just don't understand all the JavaScript hate. I've used languages like java and python, basic and pascal, c, c++, assembly, and for the past 15 years JavaScript... I can say without hesitation, that it is my favorite language... I have a hard time explaining exactly why that is... sort of like trying to explain why chocolate is my favorite desert, I mean I like all kinds of ice cream, but chocolate is my favorite.


Java, Basic, Pascal, C++ -- you're not exactly listing very good platforms in the first place. Python's a bit better but still seems antiquated, like Go.

Try Haskell or an ML. Heck, even C# isn't that bad these days.

JavaScript's just a minefield of pitfalls. To be fair, it was designed in 10 days, and progress on it has been slow to say the least. (Hence the silly crap like having a "left-pad" thing as a 3rd party "module" instead of part of a proper stdlib.)

Other stuff like using "function" as the lambda identifier just make me shake my head. Or not having integers. Just poor decisions all around.


Same here. I've been a professional developer for 20 years. I love JavaScript. To me, programming is mostly just about functions and simple data structures. The hard part isn't getting the machine to work, or having easy access to powerful programming constructs. The hard part is finding the simplest model that will get the data where it needs to go, and that requires not programming language features but good design practices.

Generally, unless you're doing systems or realtime programming, or you are writing a serious fast path for a lot of data, the only reason you'd need more than the very basic features present in every programming language is that you're trying to do something more complicated than you should be.

Many programmers seem willing to take on almost any amount of complexity in their toolchain if it will allow them to express an idea in a slightly more concise way. I would prefer to stay much closer to the basics and just take the time to make really beautiful and powerful functions, rather than rely on a rickety stack of concepts that, if not confusing to me, will be confusing to many of the people who end up interacting with my code.


Consider applying for YC's Summer 2025 batch! Applications are open till May 13

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: