955 karma · joined March 12, 2010
We had a 3 node system across a wan, where local clients would read from a local node, and if they needed to write, would write to the master across the wan. The issue we had was there was a significant amount of data being written to the master that one or two of the nodes weren't interested in 100% of the time, but it was still being replicated across the wan (and at cost)
so I investigated how the replication mechanism worked - to see if I could gain greater control over what data was replicated. As it turns out, there isn't, but you can emulate the replication yourself if you're interested. Well this is how we did it:
- master node has a capped collection (we call db.messages) - slave nodes have a bit of mongo console javascript that execute tailed cursor querying for messages being inserted - when a message that matches the query inputs is inserted into the messages collection, it gets inserted into a local db.files collection, which clients then read from
The added bonus is that occasionally we do need to replication additional data to particular nodes, so we just craft up a tailed cursor query that finds any messages we can, and pulls them across the wire
we make a fair bit of use of the adhoc querying in mongodb, so that was a massive selling point for us
speed was also a major issue - we have a average write/very high read requirement, and it's really really fast.
finally the platform was a consideration. We're mostly a windows shop, but we'll use linux where needed, and we were prepared to have riak running on linux if thats what we thought was bets, but it just didn't really fit for us.
the only downside was we use Delphi, and the existing Delphi drivers were.. not good, so we wrote our own, which I'm trying to negotiate with my boss so we can push onto github.
good luck!
Wouldn't it be nice.
well played, sir!
edit: and I'm not saying they should have/could have done any better with the money they received. I donated to their kickstarter, and I don't feel like it was wasted.
If your solution relies on moving data back and forth from host memory to device memory, you probably won't get the speed boosts you were hoping for.
I can create a solution where the CPU beats the pants off the GPU, and conversely the GPU absolutely smashes the CPU, but for my actual real problems (Data copied to the card once, many iterations, multiple calculations per iteration, results copied back to host), the GPU gives one hell of a boost.
If you're lucky enough to work at a company that does actually have a policy of CPI pay increases every year.
Of all the companies I've worked for (7), only 1 did.
You're more likely to be a google+ team member, simply genius!
Your advice is to simply pay the license fees?
I'm really tempted to buy the 120"x30" print, I feel like the guy should be compensated for this epic task. Problem is I'd then need to find a 3 meter wall to mount the picture on!
I'm by no means a prolific commenter on HN. If I have something of value to add I'll try to ask; otherwise I usually abstain (but I'm only human, made a few dumb comments)
I just saw another article, http://news.ycombinator.com/item?id=2404157
and the two comments on it were either bashing IQ, or talking about penis size.
I feel like maybe the reddit/4chan community has started reading HN?
I felt like posting a comment on that thread asking, nay begging, for someone to post something interesting as a followup to the kids question in the video, instead we have.. I just don't know.
And after saying that, I have no useful suggestion. Any feedback system that is implemented can still/will be gamed.
As far as Peter and Trumpet Software, they were based out of Hobart - After Windows implemented a default TCP/IP stack, much of his core business disappeared, they mucked around with building their own operating system for a while, turned Trumpet into an ISP, and in the end, his wife took him for most of what he had. Messy divorce/bankruptcy. Poor guy, he created a piece of software that I used for many years. For a long time, the trumpet implementation was better than the MS implementation, I still used it even when windows had built in PPP facilities.
I agree with him that exercising for weight loss is a _lot_ harder than simply not eating shit/unhealthy food (or excess amounts of healthy food)
However going into caloric deficit without a solid resistance training plan is a sure way to shed more muscle than you likely want.
You shouldn't think in terms of weight loss, you should think in terms of fat loss. You don't want to be shedding muscle. A simple resistance/calisthenic training program such as body weight exercises like pushups/planks/squats/burpees/pullups(if you can) will ensure that you have a better chance at retaining muscle, while shedding fat.
Also, using scales is simply not an accurate way to measure fat loss. The simplest way to measure your fat-loss progress at home is the good old tape measure.
Good luck.
I know some people may view that as a cop-out, that I am not really committing to my project, but I grew up with an absent father, and it's actually really important to me that while my kids are young, and looking to me and my wife for really key influence, I want to be there.
I figure that once they're young adults and want to go out drinking/partying, I'll have plenty of spare time, and I'll have wisely invested important time with my kids during that first ~15 years or so.
So right now, my project plods along - maybe 2 hours per week. I'd love to sink 20 hours a week into them. I tried working late nights, but you end up writing code that needs to be re-written, or coming up with marketing strategies/research that seems like you were smoking illicit substances at the time.
So in answer to the original question - a startup most definitely affects your relationship with your wife/girlfriend/family. Some of the structures other HN'ers have put in place sound like a good start.
But that is the only two features where VS gets eclipsed. VS is an all-round better tool than Eclipse for everything else I need to do. Sure perhaps I can make Eclipse better by searching out some plugin written by some 3rd party, because the 3rd party support/community is better for Eclipse than VS. But from a daily use POV, atleast IMO, VS is simply leaps and bounds beyond Eclipse. VS also cost me $1000, Eclipse didn't cost me anything. So perhaps my view is skewed simply because I'm deluding myself because of my financial outlay, but I'd like to think not.
- 6:30 am get up and go for 20 minute a run - Make myself some breakfast - Wake up my wife/3 daughters, and get them all breakfast - Make school lunches x 3 - Ride to work - Check HN / Email + Work ;)
I love weekends where I don't have to make school lunches.
With the prison system here in Australia, he says there is a genuine drive to get rid of hard-ass prison officers, and replace them with what he calls "yes men", who will back down from any potential engagement with prisoners, because it is essentially bad publicity for the prison system, and the media loves to jump on prison violence (especially caused by the guards). In this the guards are already coming from a weak position because the inmates can actually use the media attention to their advantage
Anyways I'm getting off track, but my mate refers to himself as part of the old school system, where if you care to break the rules at all, it will be met with swift and violent retribution at the guards hands in the form of some sort of midnight visit. This is all being phased out though, as I already mentioned in the previous paragraph.
Also, the inmates definitely know the system, and know how to get around the justice system - There was a recent riot in the local prison here, where the prisoners attacked two of the guards, but even though the prisoners knew there was CC TV on them, they simply covered their faces with towels as to avoid identification. Now the guards could identify them based on mannerisms on camera (the way they walked/moved, used weapons), however it didn't go to trial because the the video was the only evidence, and a prosecution would never get a jury to convict because mannerisms would never be enough to identify the perpetrators. Kind of a long winded way of saying the prisoners know what they can get away with, very well. I asked him what would have happened if the prisoners had actually killed one of the guards, and he said well they would have got away with murder.
Scary place, he certainly earns his 90k per year. Sorry for the long winded response!
I missed the date of the article at first, it wasn't until I looked at the C code and had to double take it, because it wasn't ANSI C, and my initial reaction was "hang on wait a minute" then checked the date on the article.... yeah.