Beta

Slashdot: News for Nerds

×

Welcome to the Slashdot Beta site -- learn more here. Use the link in the footer or click here to return to the Classic version of Slashdot.

Thank you!

Before you choose to head back to the Classic look of the site, we'd appreciate it if you share your thoughts on the Beta; your feedback is what drives our ongoing development.

Beta is different and we value you taking the time to try it out. Please take a look at the changes we've made in Beta and  learn more about it. Thanks for reading, and for making the site better!

Comments

top

Why Is Microsoft Setting More Money On Fire With Surface 2?

j-pimp Re:You see this in small businesses (616 comments)

Binary objects are obviously far more opaque than plain text when it comes to piping data between tools, and that is a negative thing for the reasons he just gave.

When your shell can decode these binary objects natively, they are not any more opaque than text encoded as a stream of ASCII or UTF-(8|16|32) bytes. PowerShell pipes btw work seamlessly with native executables and turn these objects into text so you can put a grep at the end of your chain of PowerShell (assuming you have gnu grep installed) to perform filtering the unix way. Powershell will turn text into an object (of type string), and the console spits out text in the end. You can redirect this text to a file.

In addition to all that, you have the ability to operate on .NET objects. You can compile C# and VB.NET classes on the fly. C# and VB.NET will let you call an unmanaged dll function (e.g. the equivilant of linking to a .so and making an API call). So I could write a script that call call any .NET DLL easily, and with a few lines of C#, call any unmanaged API call. That's really useful. Whatever isn't exposed to me as a PowerShell cmdlet, I can access with not a lot of code.

about 10 months ago
top

Polymer Patches May Enable Effective DNA Vaccines

j-pimp Re:How quaint! (83 comments)

Because jet injectors (which actually predate TOS) aren't nearly as neat as Star Trek portrays. Blowback and cross-contamination is a major concern. You basically need a new tip for each injection, rather than just a single one to use forever.

I thought that except for diabetics self administering needles, most of the time needles were used once.

about a year and a half ago
top

Polymer Patches May Enable Effective DNA Vaccines

j-pimp How quaint! (83 comments)

Why not transparent aluminum hypo-sprays?

about a year and a half ago
top

Want a Job At Google? Better Know Microsoft Office!

j-pimp Re:can we mod summary as (243 comments)

Troll summaries are the norm here. slashdot is the fox news of tech journalism. There should be an article moderation flag for "not a troll".

about a year and a half ago
top

Confidential Police Documents Found In Confetti At Macy's Parade

j-pimp Re:How to shred (180 comments)

(Besides, you know, not everyone lives in a jungle.)

I used to work for an ISP in New York. The ACs always ran. Although maybe outside air exchange could have prevented that a few days a year,

about a year and a half ago
top

CIA: Flying Skyhook Wasn't Just For James Bond, It Actually Rescued Agents

j-pimp Re:The Unit... (123 comments)

They showed this extraction method on The Unit. Season 2, episode 1 "Change of Station".

Also, Morgan Freeman used it to get Batman out of China without taking the bat boots off for the TSA.

about 2 years ago
top

Ask Slashdot: What To Do With Found Calculators?

j-pimp Re:Give them away (302 comments)

It's interesting and disconcerting people can't figure anything out on their own and feel the need to ask for help online or Google answers. If the OP doesn't know what to do with found calculators yet the OP works in a school where students would benefit from these calculators, I think we're in trouble. Next time I'm sleepy or hungry and don't know what to do about it I'm going to post a /. article and ask everyone.

Perhaps its a matter of "whats the best course of action." He knows how to sell them. He knows how to give them away. He knows how to throw them out. He is looking for an out of the box solution, or third party moral justification for any of these actions.

about 2 years ago
top

Bill Gates To Develop a Revolutionary Nuclear Reactor With Korea

j-pimp Re:I think I was happier when (413 comments)

The only billionaire evil scientists existed in the works of Stan Lee

So Lex Luthor ruined you on the idea?

about 2 years ago
top

Bill Gates To Develop a Revolutionary Nuclear Reactor With Korea

j-pimp Re:Bill Gates is a Rock Star. (413 comments)

A lot of people would just sit on their fortunes (Warren Buffet) or piss it away on political bullshit (Koch brothers). I know a lot of the crowd here is anti-Microsoft, but it's nice to see Bill Gates doing something with his hoard and something halfway-geeky to boot!

Yeah The Oracle from Omaha should give away large chunks of his wealth to philanthropic causes. Oh wait . . .

about 2 years ago
top

Ask Slashdot: What's the Best Place To Relocate?

j-pimp Re:US (999 comments)

Well, not quite true. If the currency fails, a strong man could TAKE POWER.

See Weimar Germany.

I can't see a Hitler taking over the entire US by persuasion. The union would split up first, and a large chunk of the contiguous 48 states might be lead by a dictator. Said dictator might reunite the country via military conquest though.

about 2 years ago
top

Ask Slashdot: What's the Best Place To Relocate?

j-pimp Re:US (999 comments)

The northeast also has cheap internet. I pay $15 a month for DSL, or have the option to pay $50 a month for highspeed FiOS or cable.

I live in Jersey city (literally right across the river from manhattan). After taxes I pay just under $100 for the FIOS double play (phone and internet). It might get cheaper if I drop the land line, but I don't think I can do fios or cable for under $50.

about 2 years ago
top

Ask Slashdot: What's the Best Place To Relocate?

j-pimp Re:US (999 comments)

I'm fine with getting rid of Social Security, just don't make me pay the 6% of my income then. (Even if you "force" me to open a 401(k) instead, which I obviously already have, because anybody that's not a moron won't give up free employer match.)

I've worked at places without matches. Its not a guarantee. That being said, its worth the tax savings.

about 2 years ago
top

Huge Pumice Rock 'Island' Seen Floating In South Pacific

j-pimp Re:Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fht (104 comments)

An island rising in the south Pacific can mean only one thing!

Lex Luthor finally gotten rid of that pesky illegal immigrant and can continue his real estate development!

about 2 years ago
top

Are Indian High Schoolers Manning Your IBM Help Desk?

j-pimp Re:No shit sherlock (237 comments)

Where are these cheap Americans that will work for $1.75/hour?

No where, and that's why we should hang those motherfuckers that sold us out to the Indians in a public place and leave them rotting as a warning to future motherfuckers that would do the same.

Who's with me?

Or wait for Indian cost of living and salaries to rise, while mean while manufacturing moves to third world states like Alabama.Be patient, everything is cyclical.

about 2 years ago
top

Economists: US Poverty On Track To Hit Highest Level Since 1960s

j-pimp Re:Poverty isn't what it used to be (696 comments)

I actually agree with you that no government social safety net is the best. Your analogy is a little oversimplified, but your preaching to the choir. The one time I was laid off and out of work for two weeks I took neither state unemployment or my companies severance package. If I was out of work for an extended period I'd take the private charity of the severance package before I took unemployment. However, accepting the current system as it is, or privatizing unemployment insurance, I do think that a system based on income makes the most sense. I also think that yes if I was a charity that offered some sort of handouts besides basic food or shelter, I might consider allowing a millionaire whose donated to my cause to "make a withdrawal" under certain conditions.

about 2 years ago
top

Economists: US Poverty On Track To Hit Highest Level Since 1960s

j-pimp Re:Poverty isn't what it used to be (696 comments)

But in 2010, I had several employees in R&D mode, my net income was nearly zero, I fell below the poverty line. I actually qualified for some government handouts. That is seems absurd to me.

First of all, you were a rare edge case, so I don't think its "ridiculous" that you qualified for handouts. Your a really strange edge case if you're floating R&D people and your accountant told you not to pay yourself a salary at all for 2010. I think that if every person in America that was in your boat took advantage of the hand outs, its effect would be negligible. Secondly, lets say you continued to operate this way until you lost the house and car, wouldn't it be nice to know that you could just walk down to the benefits office and file for benefits.

about 2 years ago
top

An Olympic Games For Enhanced Athletes?

j-pimp Re:Health issue (245 comments)

An adventurer taking a one-way trip to Mars could be making a contribution to advance society. When an athlete pushes his body to the breaking point and takes possibly dangerous performance enhancing drugs, just to attempt to break a record for a rule-based sport by a fraction of a percent, how does that advance our society?

Playing devils advocate, assume some portion of these athletes manage to keep enough of their fortune at age 35 so that when they have all sorts of weird medical issues then can travel to Sweden for all sorts of weird expensive treatment. Lets go on to assume that some of this treatment works, and has application in the sorts of diseases that sometimes normal people get.

I'm not saying I'm necessarily for this, I'm just saying there could be positive unintended consequences.

about 2 years ago
top

Ask Slashdot: How Do I Stay Employable?

j-pimp Re:Question: (708 comments)

(You mean letting the dumb RAISE CHILDREN. Idiocracy was not based on fact. Eugenics is a horrible thing. Nature vs. Nurture, bitch)

So you are suggesting:

  • There is zero genetic component to intelligence. Nurture has a lot to do with it, but I find it hard to believe there is no genetic component. I've seen a lot of variation between siblings, but if we consistently remove the above average IQs from the gene pool, that can't be good long term.
  • That we force these dumb people to give up their kids to be raised by smarter people. While we are at it we somehow convince smarter people to adopt. Even if you started mandatory education at age 3 and kept the kids all year for 10 hours a day, parents are still a big influence. I don't know how you'd do that.

about 2 years ago
top

Ask Slashdot: What To Do Before College?

j-pimp Re:If Poor Acquire Capital, If Not ... (335 comments)

2. Contribute to open source. I'd shy away from starting your own open source project. That is actually difficult to do unless you know someone demanding it and then you're kind of being held to get it done.

Well it depends on what your intention is. As the author of an open source project I got little feedback on, I'm still glad I wrote the project because I needed it for my own purposes, and I was still able to treat it like a "real project." I wrote an installer for it. I had version numbers. I shipped it out on laptops I setup for my employer, because I might need to use it to diagnose problems. If the author has a real problem to solve for themselves, even if its for their weekly D&D game or for a fantasy sports league, they can still teach themselves about version control, installer software, unit testing, or other things.

I learned about version control when I was writing VB6 programs as a clerk in a security guard company. No one told me to. I decided on my own. Later when I was a programmer there I taught myself to make an MSI installer and how to use NUint. No market pressures from my boss or a client made me do this. Just a desire to be more professional and disciplined.

more than 2 years ago
top

Why Bad Jobs (or No Jobs) Happen To Good Workers

j-pimp Re:O RLY? (1201 comments)

If you'd lose a wife because you couldn't get a new job quickly enough, then it was a gold-digger that wasn't worth keeping.

Depends. What if not quickly enough is 6 months? 2 years? What if part of the problem is your lack of employment makes you depressed and distant? What if you two recently closed on a bigger house before an unexpected layoff, and you were the one that pressured her into agreeing to it?

We like to consider ourselves "evolved beings" but the facade of civilization fades away after a few missed meals.

more than 2 years ago

Submissions

top

Microsoft think Zend builds PHP wrong

j-pimp j-pimp writes  |  more than 4 years ago

j-pimp writes "It all started with a simple bug encountered while trying to get PHP and WCF to play nice. Before you know it I was attempting to compile PHP on windows myself. I found out the directions for building PHP on windows that come with the source code are out of date. I filed a bug report and was told: You have to ask the Microsoft guys to update that file. [php wiki article] was one of our best Windows know-how (not-microsoft-employee) guy shot at documenting the process, but the feedback he got from Microsoft employees was this is crap. its all wrong."
Link to Original Source

Journals

top

Perl code I need debugged

j-pimp j-pimp writes  |  more than 12 years ago code:
sub genInvNum {
    my $i = 0;
    my @currInvNum;
    my $currInvNum;
    for ($i=0; $i<3; $i++) {
    #    $currInvNum[$i] = int ((rand 25) + 97);    #97 == a
        printf "%c", $currInvNum[$i];
    }
    for ($i=3; $i<9; $i++)
    {
        $currInvNum[$i] = int ((rand 9) + 1);
        print $currInvNum[$i];
    }
    $currInvNum = join ("", @currInvNum);
    print $currInvNum;
    print "\n";
}
Warnings generated:
C:\Documents and Settings\zippy\Desktop\VB>dlltest.pl
Name "main::currPrice" used only once: possible typo at C:\Documents and Setting
s\zippy\Desktop\VB\dlltest.pl line 12.
Name "main::currQuanity" used only once: possible typo at C:\Documents and Setti
ngs\zippy\Desktop\VB\dlltest.pl line 11.
Name "main::currInvNum" used only once: possible typo at C:\Documents and Settin
gs\zippy\Desktop\VB\dlltest.pl line 10.
Use of uninitialized value in printf at C:\Documents and Settings\zippy\Desktop\
VB\dlltest.pl line 30.
Use of uninitialized value in printf at C:\Documents and Settings\zippy\Desktop
\VB\dlltest.pl line 30.
Use of uninitialized value in printf at C:\Documents and Settings\zippy\Desktop
\VB\dlltest.pl line 30.
264472Use of uninitialized value in join or string at C:\Documents and Settings
\zippy\Desktop\VB\dlltest.pl line 39.
Use of uninitialized value in join or string at C:\Documents and Settings\zippy\
Desktop\VB\dlltest.pl line 39.
Use of uninitialized value in join or string at C:\Documents and Settings\zippy\
Desktop\VB\dlltest.pl line 39.
264472
Use of uninitialized value in printf at C:\Documents and Settings\zippy\Desktop\
VB\dlltest.pl line 30.
Use of uninitialized value in printf at C:\Documents and Settings\zippy\Desktop
\VB\dlltest.pl line 30.
Use of uninitialized value in printf at C:\Documents and Settings\zippy\Desktop
\VB\dlltest.pl line 30.
474368Use of uninitialized value in join or string at C:\Documents and Settings
\zippy\Desktop\VB\dlltest.pl line 39.
Use of uninitialized value in join or string at C:\Documents and Settings\zippy\
Desktop\VB\dlltest.pl line 39.
Use of uninitialized value in join or string at C:\Documents and Settings\zippy\
Desktop\VB\dlltest.pl line 39.
474368
Use of uninitialized value in printf at C:\Documents and Settings\zippy\Desktop\
VB\dlltest.pl line 30.
Use of uninitialized value in printf at C:\Documents and Settings\zippy\Desktop
\VB\dlltest.pl line 30.
Use of uninitialized value in printf at C:\Documents and Settings\zippy\Desktop
\VB\dlltest.pl line 30.
314528Use of uninitialized value in join or string at C:\Documents and Settings
\zippy\Desktop\VB\dlltest.pl line 39.
Use of uninitialized value in join or string at C:\Documents and Settings\zippy\
Desktop\VB\dlltest.pl line 39.
Use of uninitialized value in join or string at C:\Documents and Settings\zippy\
Desktop\VB\dlltest.pl line 39.
314528
Use of uninitialized value in printf at C:\Documents and Settings\zippy\Desktop\
VB\dlltest.pl line 30.
Use of uninitialized value in printf at C:\Documents and Settings\zippy\Desktop
\VB\dlltest.pl line 30.
Use of uninitialized value in printf at C:\Documents and Settings\zippy\Desktop
\VB\dlltest.pl line 30.
872981Use of uninitialized value in join or string at C:\Documents and Settings
\zippy\Desktop\VB\dlltest.pl line 39.
Use of uninitialized value in join or string at C:\Documents and Settings\zippy\
Desktop\VB\dlltest.pl line 39.
Use of uninitialized value in join or string at C:\Documents and Settings\zippy\
Desktop\VB\dlltest.pl line 39.
872981
Use of uninitialized value in printf at C:\Documents and Settings\zippy\Desktop\
VB\dlltest.pl line 30.
Use of uninitialized value in printf at C:\Documents and Settings\zippy\Desktop
\VB\dlltest.pl line 30.
Use of uninitialized value in printf at C:\Documents and Settings\zippy\Desktop
\VB\dlltest.pl line 30.
327151Use of uninitialized value in join or string at C:\Documents and Settings
\zippy\Desktop\VB\dlltest.pl line 39.
Use of uninitialized value in join or string at C:\Documents and Settings\zippy\
Desktop\VB\dlltest.pl line 39.
Use of uninitialized value in join or string at C:\Documents and Settings\zippy\
Desktop\VB\dlltest.pl line 39.
327151
Use of uninitialized value in printf at C:\Documents and Settings\zippy\Desktop\
VB\dlltest.pl line 30.
Use of uninitialized value in printf at C:\Documents and Settings\zippy\Desktop
\VB\dlltest.pl line 30.
Use of uninitialized value in printf at C:\Documents and Settings\zippy\Desktop
\VB\dlltest.pl line 30.
596394Use of uninitialized value in join or string at C:\Documents and Settings
\zippy\Desktop\VB\dlltest.pl line 39.
Use of uninitialized value in join or string at C:\Documents and Settings\zippy\
Desktop\VB\dlltest.pl line 39.
Use of uninitialized value in join or string at C:\Documents and Settings\zippy\
Desktop\VB\dlltest.pl line 39.
596394
Use of uninitialized value in printf at C:\Documents and Settings\zippy\Desktop\
VB\dlltest.pl line 30.
Use of uninitialized value in printf at C:\Documents and Settings\zippy\Desktop
\VB\dlltest.pl line 30.
Use of uninitialized value in printf at C:\Documents and Settings\zippy\Desktop
\VB\dlltest.pl line 30.
467551Use of uninitialized value in join or string at C:\Documents and Settings
\zippy\Desktop\VB\dlltest.pl line 39.
Use of uninitialized value in join or string at C:\Documents and Settings\zippy\
Desktop\VB\dlltest.pl line 39.
Use of uninitialized value in join or string at C:\Documents and Settings\zippy\
Desktop\VB\dlltest.pl line 39.
467551
Use of uninitialized value in printf at C:\Documents and Settings\zippy\Desktop\
VB\dlltest.pl line 30.
Use of uninitialized value in printf at C:\Documents and Settings\zippy\Desktop
\VB\dlltest.pl line 30.
Use of uninitialized value in printf at C:\Documents and Settings\zippy\Desktop
\VB\dlltest.pl line 30.
579217Use of uninitialized value in join or string at C:\Documents and Settings
\zippy\Desktop\VB\dlltest.pl line 39.
Use of uninitialized value in join or string at C:\Documents and Settings\zippy\
Desktop\VB\dlltest.pl line 39.
Use of uninitialized value in join or string at C:\Documents and Settings\zippy\
Desktop\VB\dlltest.pl line 39.
579217
Use of uninitialized value in printf at C:\Documents and Settings\zippy\Desktop\
VB\dlltest.pl line 30.
Use of uninitialized value in printf at C:\Documents and Settings\zippy\Desktop
\VB\dlltest.pl line 30.
Use of uninitialized value in printf at C:\Documents and Settings\zippy\Desktop
\VB\dlltest.pl line 30.
783399Use of uninitialized value in join or string at C:\Documents and Settings
\zippy\Desktop\VB\dlltest.pl line 39.
Use of uninitialized value in join or string at C:\Documents and Settings\zippy\
Desktop\VB\dlltest.pl line 39.
Use of uninitialized value in join or string at C:\Documents and Settings\zippy\
Desktop\VB\dlltest.pl line 39.
783399
Use of uninitialized value in printf at C:\Documents and Settings\zippy\Desktop\
VB\dlltest.pl line 30.
Use of uninitialized value in printf at C:\Documents and Settings\zippy\Desktop
\VB\dlltest.pl line 30.
Use of uninitialized value in printf at C:\Documents and Settings\zippy\Desktop
\VB\dlltest.pl line 30.
678796Use of uninitialized value in join or string at C:\Documents and Settings
\zippy\Desktop\VB\dlltest.pl line 39.
Use of uninitialized value in join or string at C:\Documents and Settings\zippy\
Desktop\VB\dlltest.pl line 39.
Use of uninitialized value in join or string at C:\Documents and Settings\zippy\
Desktop\VB\dlltest.pl line 39.
678796

top

I like this journal thing

j-pimp j-pimp writes  |  more than 12 years ago Just trying out this journal thing.
I really like it.

Slashdot Account

Need an Account?

Forgot your password?

Don't worry, we never post anything without your permission.

Submission Text Formatting Tips

We support a small subset of HTML, namely these tags:

  • b
  • i
  • p
  • br
  • a
  • ol
  • ul
  • li
  • dl
  • dt
  • dd
  • em
  • strong
  • tt
  • blockquote
  • div
  • quote
  • ecode

"ecode" can be used for code snippets, for example:

<ecode>    while(1) { do_something(); } </ecode>
Create a Slashdot Account

Loading...