Hacker Newsnew | past | comments | ask | show | jobs | submit | patcoll's commentslogin

I can’t help but think about ActivityPub and how it could be used to implement something like this


CEO


I might add the caveat from the title to this HN submission: “(for high-concurrency servers)”

And mention 2003 :)


Added. Thanks!


Probably because it is PHP.



PHP promises? I can't quite put my finger on it, but this makes me feel very strange. As if they're not supposed to exist or something. I hope someone can articulate the reason (if there is one) better than me...


That is just weird. I had to check if it was April 1.


It's a bit old, but this gives some nice context and allows you to follow along with your own D compiler:

http://www.informit.com/articles/article.aspx?p=1381876



I've been using this library which helps with composing channels, and also has some nice implementations of useful patterns:

https://github.com/eapache/channels

Unfortunately Go's lack of generics hurts in letting me use these helpers in a way that guarantees the data types going in/out of the generic channels.


Right. Everything gets converted to Go's "any" type, "Interface{}". At the output end you have to use a type assertion to get it back into the actual type. Note that an "Interface{}" is a pointer; you're not queuing the data, you're queuing a pointer to the data. So you're sharing data between goroutines. The sender must allocate a new variable for each send.

(This is my biggest complaint about Go. It's too easy to accidentally share data between goroutines, because so many things are implicitly references to mutable objects. Slices, for example, are references. Erlang and Rust, which also use queues heavily, avoid doing this.)


Promote the hell out of it on Twitter, Reddit, Hacker News (done). Apply to speak at conferences and go speak about it. There are plenty of PHP conferences to choose from. Get your employer to pay for the trips.

Other ideas for passive income:

http://needwant.com/p/buying-apartment-airbnb/


Thanks for the tips, the conferences idea sounds interesting (though my employer has no budget to fund conferences related to my work let alone anything else, so I'd have to cover the costs myself).

Not sure about the real-estate idea, I guaranteed my wife that any money-making schemes would be strictly low-risk!


Not only is buying an apartment to rent out short term on a full time basis high risk, its probably illegal. This specific post was on HN and we found he was violating his homeowners agreement as well.

It's also a bad idea insurance wise, what if something happens (fire, flood, robbery) and your homeowner's insurance says "we are covering a home, not a friggin unregulated hotel"


Crashes mobile Safari on iPhone 4.


Definitely expected to get rick-rolled on this one.


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

Search: