Forgot your password?
typodupeerror
User Journal

Journal: And now for something completely different 3

Journal by Marxist Hacker 42

The Catholic Church considers the Copenhagen Interpretation of Quantum Mechanics to fit with our theology. But it also occurs to me that it fits with the problems I've run into converting analog to digital measurement. And THAT points to the theological idea that many people worship not the Creator of the Universe, but an image of God that is a model of the actual God.

User Journal

Journal: Fun with SQL Server 2012 11

Journal by Marxist Hacker 42

I have a Table Valued Function that returns a simple parameterized view. I want to turn that view into a string.

Can anybody tell me why the first query works and the second one doesn't?

DECLARE @JobID INT
DECLARE @strOut VARCHAR(MAX)

SET @JobID=2861

SELECT @strOut =Coalesce(@strOut +',','')+ ISNULL('[' +
MP.ModelPointName + '] int', 'ErrorInFactoryModel int')
FROM (SELECT TOP 800 ModelPointName, Sequence
      FROM dbo.GetReferencedModelPointsByJobID(@JobID)
      ORDER BY Sequence) MP
WHERE NOT (MP.ModelPointName LIKE '%Ship%'
        OR MP.ModelPointName LIKE '%Scrap%')

PRINT @strOut

SET @strOut=NULL

SELECT @strOut =Coalesce(@strOut +',','')+ ISNULL('[' +
MP.ModelPointName + '] int', 'ErrorInFactoryModel int')
FROM dbo.GetReferencedModelPointsByJobID(@JobID) MP
WHERE NOT (MP.ModelPointName LIKE '%Ship%'
        OR MP.ModelPointName LIKE '%Scrap%')
      ORDER BY Sequence

PRINT @strOut

The 2nd one returns a single field name, the first, returns all the field names.

User Journal

Journal: Trying to remember a conspiracy theory 7

Journal by Marxist Hacker 42

Back in the early 1990s, when CD Roms were first invented, on major use of them was for the conspiracy dial up bulletin board system. With a CD Rom online on your bulletin board, you could "host" a CD full of downloadable text files on everything from government cover-ups to UFOs.

I was into such things at the time, and read many of these files.

Fast forward to today- and Pope Francis gives us a conspiracy theory: that rich first world nations are promoting war in the third world as a prop to economics. All over the first world Catholic blogosphere, there is outrage- how dare the Pope tell us capitalism is supported by warfare?

Of course, Dwight Eisenhower, upon leaving the U.S. Presidency said the same thing,- warned us about the military industrial complex.

But I seem to remember a "secret" document passed around those old BBSs from the Vietnam Era that basically said the same thing, only actually recommending it as a policy. Does anybody else remember this document? Can you remember something I can google on? I'm coming up empty.

User Journal

Journal: These are the things in my head at night 7

Journal by Daniel Dvorkin

Then-PFC, now-SGT Bergdahl may in fact have deserted his post. There are certainly credible accusations to that effect, and if so, then he should be tried and convicted for the crime. But it's a whole lot easier to investigate those charges with him here, and we don't let the Taliban mete out justice for us.

The military idea of "taking care of your own" has a lot of different aspects. Holding the line and leaving no one behind are obvious; less obvious, perhaps, is that our people are ours. Loon or no, deserter or no, even traitor or no, whatever else Bowe Bergdahl may be he is someone who raised his right hand and took the oath, and that means that whatever reward or punishment he receives is ours and ours alone to give.

It astonishes me sometimes, having at this point been out of the service several more years than I was in it, how strong and pure those ideas still are in my head: how much "us" the profession of arms still is to me, and I suppose always will be. I'm a civilian and happy to be one now, but both the infantryman and the medic are still very close to the surface. The latter is concerned mainly with bringing back the wounded--and the former is ready, willing, and perhaps even eager to kill anyone who stands in the way of that mission.

Whatever else we did, whatever else we may do, we had to bring him home.

User Journal

Journal: 2+ port router+asterisk server? 14

Journal by drinkypoo

I need a new system on which to run asterisk, bonus points if I don't have to configure it from scratch. I'd like to spend less than $200 (ideally I'd pick up something used if necessary for $100) but I have storage devices available, whether CF, SD, USB, or what have you. It can have wireless, but it doesn't have to because I have a routerboard for that. I have found my pogoplugs to be unreliable at best.

User Journal

Journal: Which is more dangerous, theology or ideology? 15

Journal by Marxist Hacker 42

This article insists that for human beings, belief is not optional. There are two basic types of beliefs- religious theology and political ideology- but all human beings, even atheists, have some form of belief.
 
  A study of war would seem to indicate that the 20th century clearly showed that ideology is more dangerous than theology, but since fighting for religion has never really gone out of fashion, what do you think?

User Journal

Journal: A geeky theory 8

Journal by Marxist Hacker 42

The multiverse theory is as falsifiable as God himself. Therefore, I have a theory of sociology- that anybody believing in the multiverse has simply fallen for a new religion created by comic books and bad science fiction.

User Journal

Journal: Lies, damned lies, and ... oh no, you're going there. 1

Journal by Daniel Dvorkin

[cranky rant warning]

"Lies, damned lies, and statistics." It's coming up again with depressing frequency, being used as an argument instead of a snide observation.

Okay, here's the thing. Can you lie with statistics? Sure. Statistics is a branch of mathematics*, and math is a language; you can lie in that language as easily as in any other. Does this mean all statistics are lies? No more than all statements in any language are lies--and if you believe that, you've gone so far down the rabbit hole of anti-intellectual mysticism that you'll probably never find your way out.

Meanwhile, in the real world, and in the ever-expanding torrent of data we have about that world, statistics as a discipline is pretty much the only hope we have of understanding anything. The low-hanging fruit has been picked. The equations we learn in Physics 101 are as valid as they ever were, but they're not nearly enough. No matter how certain you think you are, no matter how many times you repeat your experiment and get the same result, if you don't do the statistical tests you don't actually know whatever it is you think you know. And if you do the tests--well, you may still be wrong, but you can at least quantify your uncertainty. And you have to do that, because you can always be wrong.

None of this is meant to defend the misuse of statistics, any more than as a writer I'd defend the misuse of natural language. People can and do wilfully misinterpret statistics, or cherry-pick them, or just outright make them up, and those are bad things. Guess what? They do that with every other kind of statement too. At least half of statisticians' job is fact-checking, and it's a charge we gladly accept.

So the next time you're tempted to say "lies, damned lies, and statistics," or "figures don't lie but liars figure," or "correlation does not imply causation" or any of its variants, or post the umpteen-thousandth link to "How To Lie With Statistics," and think you're being clever--please, just stop. Because one thing I am so sure of that I don't even need to put a p-value on it is that if you feel the need to resort to any of those lazy, thought-free responses, you don't know enough about the issue at hand to have an informed opinion, and the best thing you can possibly do for yourself and everyone else is to keep quiet.

*Opinions vary on this issue, but if statistics isn't exactly a branch of mathematics, we can at least say that math is the language in which it's written.

User Journal

Journal: UP FOR GRABS: SLASHCODE EXPLOITS

Journal by Khyber

Well, Soylent decided to rub me the wrong way.

Anyone want 26 vulnerabilites, POC, and sample code to what their site runs on, with full VM pre-loaded with POC and code snippets for testing?

User Journal

Journal: Flashlight Modification - From CFL to LED

Journal by Khyber

My old Coleman 5324 CFL lantern had the bulb die (ballast still good.)

However, I did not want to go back to the horribly inefficient CFL it used.

So I slammed in an MK-R LED with a heat sink.

https://www.youtube.com/watch?v=YeEWvM2WbL8

This weekend, I'll be making a test video from the top of the nearby mountain. I'm going to try to spotlight my camera at my apartment while atop that mountain, and compare it to other light sources, like the LED on the iPhone 4S.

"Your attitude determines your attitude." -- Zig Ziglar, self-improvement doofus

Working...