Recent submissions

Comment · 9 years ago
> Also I'd argue that London hasn't fixed crime

Or pollution. The city is a cesspit. I can't wait to get out.

Comment · 9 years ago
I dropped backblaze when I read that you have to reattach external disks every 30 days or so or they'd just wipe the whole backup of that disk.
Comment · 9 years ago
I doubt the top 1% got rich by insider trading.
Comment · 9 years ago
> He prefers to invest when it is actually possible to possess information or insights that have not been widely distributed to other potential buyers via public disclosure.

This is exactly the opposite of what he claims in his essays. One quote:

> The other way we differ from some arbitrage operations is that we participate only in transactions that have been publicly announced. We do not trade on rumors or try to guess takeover candidates. We just read the newspapers, think about a few of the big propositions, and go by our own sense of probabilities.

There are several others in "The Essays of Warren Buffett" where he also describes how he just uses public information.

Comment · 9 years ago
Don't quit. Validate your idea first, then implement it.

Read "Nail It Then Scale It" and "The E-Myth Revisited". You'll save time and money. You might also study business strategy (free courses on Coursera) so you can evaluate your idea from business fundamentals first. The more you can invalidate it (no market, massive incumbents, no demand, too costly, etc.), the less time and money you'll waste building something nobody wants, and the better placed you'll be to spot a truly great opportunity.

As a developer it's natural to focus on your strengths. You need to validate ideas before doing that.

Comment · 9 years ago
> Isn't this exactly the point of using a naked `self` instead of the reference `&self`?

Yes it is, but you only see it's a naked self if you look into the method. From the outside there's nothing in the name to indicate that it doesn't take a reference. So potentially it means that for every method call you need to check that it takes a reference to `self` instead of ownership. This would be especially annoying with third-party libraries.

Comment · 9 years ago
Nice example. I was learning Rust over Christmas so I see how it works. But one issue I have is that from the outside it's not obvious that your `close()` method will take ownership of `self`. I'd probably prefer it if there was some (compiler-enforced) convention that made it obvious to clients that `close()` would consume `self`.

As it stands, Rust code can break the principle of least surprise, since what happens in a method can affect the associated instance variable (in this case `open_socket`). A user could easily write several lines of code and only discover that `open_socket` has been moved into a method at compile-time.

I found myself having very small coding-compile iterations when writing in Rust to catch issues like this (but that was also undoubtedly due to the fact I was learning).

Is there a pro tip to avoid this issue?

Comment · 9 years ago
Comment · 9 years ago
The article is wrong. Pypi only shows 2.2.0 released in November. That's my point.
Comment · 9 years ago
Am I the only one who finds it pretty unprofessional to release the exploits when the fixed version hasn't been released yet (and anyway was only scheduled to have been released 48 hours beforehand)?

I'm all for disclosure, but seriously - if RH want Ansible to be used in enterprise they can't expect patches at this rate. The researchers releasing the exact exploits so quickly is just irresponsible IMO.

Comment · 9 years ago
You might find "Singing and the Actor" useful. IIRC it covers anatomy and is more than just about singing.
Comment · 9 years ago
I think there's a reason lots of famous billionaires keep working. I've been hearing from my parents how boring retirement is, and from my own experiences of extended vacations I've come to the conclusion we evolved to work.

"Man's Search for Meaning" by Frankl graphically illustrates the importance of having a sense of purpose, which I think a lot of people lack when they retire to live the dream of doing nothing.

I think the key is to be able to choose not to have to work for some asshole boss, or do work you don't generally enjoy.

I've become very disillusioned by the dream of insane wealth and the ability to retire early. Instead, I want to work on something I feel will make a difference and that interests me for the foreseeable future.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton