76 karma · joined Dec 30, 2014 (11y ago) · 31 submissions
comment 10y ago · link · parent
Suppose I'm storing Tiles in a Level: the Level struct will contain a (private) RedBlackTree and I'll define GetTile(Pos) Tile and PutTile(Pos, Tile) on Level which do the casting to and from interface{}.
I still have type safety since I cannot put/get anything but Tiles in the RedBlackTree. But I didn't need generics.
comment 11y ago · link · parent
so what about CVS, svn, Mercurial and fossil? Git is hip right now, but including it in an initrd seems excessive. Furthermore git downloads the entire repo, all the history/commits, this isn't always what you want or can handle or want to pay for.
comment 11y ago · link · parent
> Subject to your compliance with these terms, you may use the Facebook Design Resources solely for creating mock-ups, including displaying such mock-ups in digital or print format. The Facebook Design Resources may not be embedded in any software programs or other products without express written permission. Facebook reserves all rights not expressly granted to you in this license agreement.
It doesn't look like this is allowed.
comment 11y ago · link · parent
What are some of the ways a beginner can get into Plan9? Can I use it as a Desktop Operating System on my old Thinkpad? What can I do with it? Does it run a modern browser? Could it run QEMU?
comment 11y ago · link · parent
comment 11y ago · link · parent
If the original author no longer has control over the process (either because he's been shut out, or because he's deceased), does it really matter what "the law" says?
http://en.wikipedia.org/wiki/Decentralized_Autonomous_Organi...
comment 11y ago · link · parent
Adderal, Ritalin or Captagon can be used to get you out of a bad situation. But you should be very careful not to use them for longer periods because you will regret it. Talk to your doctor and then go talk to your employer.
I know where I live at least you can take a permanent medical leave for burn-out, the first month of which is to be paid by your employer, so most corporations would rather find a solution.
comment 11y ago · link · parent
Yii is supposed to be nicer, I heard from colleagues, but I left PHP programming the moment I saw the opportunity so I can't vouch for that.
comment 11y ago · link · parent
I can understand that Facebook might be a good way to keep in touch with acquaintances, but if you use it to keep in touch with friends that's what they'll soon become: mere acquaintances. Exchanging a few typed words every now and than isn't enough.
Also: nice ad hominem on the "not very many", please try to keep it civil on hackernews.
comment 11y ago · link · parent
It is the opinion of many that cooperative multitasking is not the way to go if you want to solve problems which require massive concurrency.
PS: In Racket, you could defend against threads going into infinite loops with custodians.
http://docs.racket-lang.org/more/#%28part._.Terminating_.Con...