HNHacker News
TopNewBestAskShowJobs

malbs

955 karma · joined March 12, 2010

derp
submissionscomments
malbs··on MongoDB 2.0 Released
I missed the point you're trying to make.
malbs··on MongoDB 2.0 Released
We are currently building some core infrastructure with MongoDB. I looked at Riak, but it was capped collections and ad-hoc querying that really nailed it for us. Riak is a great product, I loved it's replication mechanism where any node was writable, but we didn't require that, so we went with mongo.

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!

malbs··on LucasFilm Tells Darth Vader that Return of the Jedi Hasn’t Made a Profit
Wouldn't it be nice if Lodsys got out of the patent troll game, and into using it's lawyers to fight for net-profit-residuals for people who worked on films that earned huge profits over time?

Wouldn't it be nice.

malbs··on Thorium Reactors
"And all that isn't even accounting of the arcane crystals!"

well played, sir!

malbs··on More information on Google's new web language, Dash
So is it Dash or Dart? It was referred to as Dart earlier in the week when someon linked the conf that Lars Bak / Gilad Bracha (spelling) would be revealing all at. I'm confused now.
malbs··on Show HN: Insync - use GDocs like Dropbox
Just talk me through why you need access to my contacts (I know there is probably an obvious reason I'm glazing over)
malbs··on $200,000 from Kickstarter = 1 year of runway for Diaspora
Just goes to show how much pushing a real idea out the door can actually cost - there are plenty of people out there burning this kind of cash and going broke, and never even getting the sort of media coverage these guys got.

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.

malbs··on Google Buys Motorola For $12.5 Billion
Ahh you're right, classic me, I just parsed the headline and assumed it was the whole company, not just the mobile division.
malbs··on Google Buys Motorola For $12.5 Billion
Unless of course the first thing GOOG does is wipe out all the IP and Patents owned by Motorola that have anything to do with... you know, killing people.
malbs··on Google Buys Motorola For $12.5 Billion
In regards to point e) I'm not sure how "Don't be Evil" applies to a company that makes bomb components and missile guidance systems.
malbs··on How to write a "GPUs are Awesome" paper
Anyone who is doing serious work with GPUs already knows the performance hit you cop when shuffling data to and from the card.

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.

malbs··on How to write a "GPUs are Awesome" paper
A consumer level GTX 590 is almost twice as powerful as a Tesla card (It's 2x gtx 580s in on-card sli), and the retail price? For a 590 you're looking at about $800 aud, a tesla is upwards of $4000.
malbs··on US debt visualized
"An annual income that typically grows 2.5%"

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.

malbs··on Wi-Fi–Hacking Neighbor From Hell Sentenced to 18 Years
So you'd be fine with a complete stranger kissing your child on the lips?
malbs··on Anyone working at Facebook: what happening at Facebook on Google+?
Like others, I question whether this guy actually works for Facebook, but the "all your profile are belong to us." has done it's damage, because while perhaps you don't work there, it's highlighting a culture I know to be there.

You're more likely to be a google+ team member, simply genius!

malbs··on What to Do If You Receive a Lodsys Letter
The only real advice he can give is "talk to a lawyer", just the same as advice you'd give to someone complaining of health issues with "talk to a doctor", whether you're a doctor or not doesn't matter. It has nothing to do with him looking after his own.

Your advice is to simply pay the license fees?

malbs··on 5,000 megapixel photo of night sky stitched together from 37,440 exposures
yeah, Andromeda, Orion Nebula, SMC, LMC, all stand out so clearly

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!

malbs··on Ask HN: How to stave off decline of HN?
The timing of this post is amazing.

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.

malbs··on Man upgrades Windows 1.0 to Windows 7 (video)
Well there was a fantastic feature of trumpet that windows lacked: If you had to reboot your computer (lol windows), the modem would remain connected, and trumpet could be re-enabled when the computer launched, you would be back up and running with internet, having not had to re-dial. Windows never did that, if you rebooted it was another phone call.

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.

malbs··on This is what it's like for an innocent man to spend thirty years in jail
What I'd like to know is, did they ever find/catch the actual perp?
malbs··on Spray-on liquid glass is about to revolutionize almost everything
I guess you'd be happy to break up asbestos sheeting with no breathing apparatus then? Or participate in loose-fibre insulation removal, again with no protection? We'll check in with you in 20 years and see how you're going.
malbs··on How to lose weight: What worked for me, with graphs
My biggest concern with this guys method is he simply glosses over exercise.

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.

malbs··on Ask HN: where do you get your SSL certificates?
startssl.com is who I use. I haven't had any issues, then again I'm not particularly worried about exotic platforms, or IE6 support.
malbs··on Ask HN: Has your startup affects your relationship with your wife or girlfriend?
This is actually the exact issue that I struggle with to really be able to invest the time into the product I'm working on. The spare time I have available to me, is actually better spent with my children.

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.

malbs··on Ballmer to announce VS 2010 will compile native Mac/iPhone apps at WWDC
I have to use both Eclipse and VS2k3/VS2k8/VS2k10 on a daily basis. Sure, eclipse has better refactorings. I would also argue that it's References/Declarations search features are better than the VS equivelents.

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.

malbs··on Ask HN: What's your morning routine?
Average day:-

- 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.

malbs··on Ask HN: What's your morning routine?
Well I think Patrick Bateman wanted to be in good physical condition because of his hobbies..
malbs··on Games Criminals Play – How You Can Profit By Knowing Them
The article was interesting to me because I have a friend who is a Prison Guard. He regularly tells stories about working in the system, about the prisoners, and about his work mates.

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!

malbs··on Apollo 11 Launch at 500 Frames per Second
Thanks for the tip off, I'll definitely check his work out.
malbs··on Iterators: Signs of Weakness in Object-Oriented Languages
Conveniently ignored Smalltalk, which at the time, would have been seeing a lot more use than it does now.

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.

← PreviousPage 10 of 11Next →