Follow Slashdot blog updates by subscribing to our blog RSS feed


Forgot your password?
DEAL: For $25 - Add A Second Phone Number To Your Smartphone for life! Use promo code SLASHDOT25. Also, Slashdot's Facebook page has a chat bot now. Message it for stories and more. Check out the new SourceForge HTML5 internet speed test! ×

Comment Slow News Day? (Score 2) 71

So what?

The crackhead that burgled one of my tenants did it with a vice grips after leaving their window open an a Macbook visible from the window. The bars weren't attached with security bolts (one way) but rather regular bolts (two ways.) That burglar didn't even bother bring a ratchet to make removing the bolts happen quicker. Do you think he's going to be able to make security cameras stop responding with his in-depth knowledge of the BlueTooth protocol and years of experience working cyber security at a National Laboratory? I don't. The other time my tenant was burgled they left a bicycle locked to a wooden structure, which was ripped apart with a chain tied to a truck. The other other time a different (not the same) tenant was burgled they left a GPS, binoculars, and some other valuable thing visible in their car. That burglar used a cinder block.

Don't leave your valuables visible when you're not around to back them up with your 2nd amendment rights.

Seriously, this entire posting is retarded. Try and keep a shotgun handy (no aiming!) a big dog, and friends/tenants/roommates around to keep the diversity of the city outside your domicile. Nest security cameras aren't going to do anything against the nondescript minority/white guy in a hoodie that's ready to throw the dice and jack your shit with a brick.

This is why Albuquerque can't have nice things, and Breaking Bad was filmed here.

Comment MySQL Requires Eval (Score 1) 600

MySQL will not allow table names to be passed in as parameters to a stored procedure [1] [2] [3]. Without eval, there is no way to dynamically use a stored procedure to operate over multiple, different, tables without enumerating all the tables. The code needed for the "safe" approach is massively bigger, n * m, where m is the body of your stored procedure and n is the set of tables you want to operate over. It also requires such a massive degree of code duplication to make it significantly less safe.

We have a reporting system called MyDBR that requires everything to be done in MySQL or JavaScript. Likely, a stored procedure isn't the best answer for my problems, but it's better than JavaScript. Probably the "safest" answer is to throw away MyDBR and use an actual programming environment to accomplish what I'd like (sane reporting.)

The entire premise of this article seems odd to me. Who would forget these techniques, unless they never really learned them in the first place? And why would the author want to revisit them? I think because it was a slow news day.

Comment Re: "Missed a lot of e-mails" (Score 1) 66

This is the problem with other people's money (OPM.) I don't think it much matters if the money comes from crowd funding, tax payers, or more traditional investment, when money comes from someone other than a paying customer (that values your goods or services, now, more than their money, now) there is often times a disconnect.

Comment Re:Hard to put a finger on it... (Score 2) 587

Do you have equity? If not, then what incentive do you have for caring about the success of the venture you're involved with?

I own my own company now. Before I owned my own company, I realized that my success, and the success of the organization I worked for, were tied together. If I succeeded, and the company did not, that would be very short term for one of us. The same if the company succeed, and I did not. This is how Americans, with any understanding of economics, sense of connectedness, and general work ethic, view things. These understandings, like the one I outlined to you, and a myriad of other (relatively implicit) understandings, are why I choose to hire American workers at 3-5x what their outsourced counterparts would make. - [and I speak Russian.]

I want to succeed, and see everyone around me succeed, through our hard work and diligence. This is typically a value that Americans hold. This is not a value shared by other cultures, and other societies. Studying Russia, and Russian, has helped me analyze their culture, as well as question a number of the assumptions most people hold about ours.

Comment Re:Learn How to Sell (Score 1) 435

As soon as I heard the intro song, I knew things were not going to end well...

Before the video:
        "Brian, want to come to our startup pitch event?"
        "Will each team have an intro song, and it will be crazy high energy for no reason?"
        "No, that's dumb. We're not going to do that."
        "OK cool, I'll come and drink some free beer. Thanks."

After the video:
        "Brian, want to come to our startup pitch event?"
        "Will each team have an intro song, and it will be crazy high energy for no reason, LIKE THIS?"

Thanks for sharing that with me. I am seriously going to use that video when people invite me to startup events.

Comment Learn How to Sell (Score 1) 435

I believe it doesn't matter how awesome you are at the latest and greatest programming language, or how skillfully you can apply a binary search to an interview problem, if you cannot understand why you are applying technology to help someone. If you can understand the need for software, then all of those other points are much easier to improve on, and apply.

For me, what made me a better programmer (past the bachelors, masters, in computer science, and six years of hardcore, full time, programming) was selling. Not taking management classes, and learning about selling but actually selling software. To sell, you have to understand someone else's need. You have to understand it well enough to sell yourself that you can help them, and then sell them on your belief. This is the good kind of sales. Everyone has seen amazing software products that were shelved, because they didn't meet the need of someone evaluating them. If you can understand how to help someone, with technology, and convince them you'll remove their pain, you'll be able to write your own ticket.

Hustle on the terrible online job boards. Compete with the low cost 3rd world at a fraction of what you're currently making. Then, once you can pitch without sounding completely retarded, try it in person. And you'll fail. Again and again. That's the cost of tuition. Eventually, you won't fail at selling. Talk with people that know how to evaluate an offer, and a technical solution. The problems you'll see, once you really understand your customers, are very rarely that complicated, novel, and difficult, and (for my company that is general development without much of a specialization past very general open source) don't usually require much beyond best practices and a very rudimentary knowledge of efficiency. This is because most of the people that can sell are absolutely terrible at coding, and the people that can code are absolutely terrible at selling.

“Would you tell me, please, which way I ought to go from here?'
'That depends a good deal on where you want to get to,' said the Cat.
'I don't much care where -' said Alice.
'Then it doesn't matter which way you go,' said the Cat.
'- so long as I get SOMEWHERE,' Alice added as an explanation.
'Oh, you're sure to do that,' said the Cat, 'if you only walk long enough.”

I vote you learn how to sell. You'll be able to sell yourself to an employee much easier, if that is your eventual goal.

Comment Re:That's Heavy (Score 1) 202

I was at the Lunar Lander challenge, for the X-Prize a few years ago.

The problem with being at a "safe distance" is that it is so far away that you can barely see anything, except when the rocket is REALLY high up. We watched the entire thing on gigantic TV monitors, despite being "there." It's still a cool experience - sort of like a music concert, except for science, but don't think being there will give you a good view (at least not if you're a safe distance away!)

Comment Re:nice video, but the launch seems backwards (Score 1) 202

That depends entirely on the level of disciple present in the colony.

Countrymen, the long experience of our late miseries I hope is sufficient to persuade everyone to a present correction of himself, And think not that either my pains nor the adventurers' purses will ever maintain you in idleness and sloth... ...the greater part must be more industrious, or starve...

You must obey this now for a law, that he that will not work shall not eat (except by sickness he be disabled). For the labors of thirty or forty honest and industrious men shall not be consumed to maintain a hundred and fifty idle loiterers.

John Smith, Jamestown

Comment I Don't. (Score 5, Insightful) 159

You are talking about somewhere between $50-$100, right? You walk away from it, and realize that your time could (HOPEFULLY?) be better spent on more productive things.

When a small store gave me incorrect change, and was unpleasant about the correction of that error, I walked away and never came back. Anything else would have not been worth my time. Unless you want to turn this into a hobby, I suggest you take a similar approach. Whenever anyone asks me about that store, I tell them a similar story, and advise them to go to a different store. That alone cost the store far more than when they jacked from me on my change. It was the store owner that robbed me.

Comment Never - But Because Your Definition of Unnecessa.. (Score 3, Interesting) 239

If you believe that code will help someone with understanding (yourself included) then it is necessary. It is needed to help with clarity. It may not be strictly required for the correctness of your program, but your goal should not be to express the correct solution as succinctly as possible. That approach leads to many other problems.

Occasionally I include solutions for problems which have not yet been uncovered. Those methods may not be called (dead code) and any kind of static analysis would report them as "unnecessary." If I make the decision that such code will help me, or help someone else, later then I believe it is totally necessary, and good to include. Worse-case is that it will be a good starting point for someone later, and they will throw it away and replace it with something better.

Never include unnecessary code. If there are incorrect implementations that you are replacing, remove the incorrect ones! Don't leave traps lying around for people to get caught in. Unexecuted code, or not succinct code, is not unnecessary. I constantly include semicolons, and brackets around one-line conditionals - those are defensive practices which are designed to prevent future problems, and aid in clarity.

This is why people are hiring you - to apply human intelligence and judgement to a problem. There are situations where doing not strictly necessary things is appropriate, and situations when doing not strictly necessary things is a waste of time. It's up to you to decide. Different actions are necessary for different metrics. One thing may be necessary for a correct solution, and another thing may be necessary to help someone else understand your correct solution. Everything should be useful (necessary?) under some kind of metric.

Slashdot Top Deals

Money is better than poverty, if only for financial reasons.