Slashdot is powered by your submissions, so send in your scoop


Forgot your password?

Comment: Re:Do It, it worked in AZ (Score 2) 886

by Durrik (#49339887) Attached to: Gen Con Threatens To Leave Indianapolis Over Religious Freedom Bill
It really depends on who you ask. When I sent out a novel of editing, it used the rules you stated, but the editor came back and said its no longer proper English, and that I should change all of those pronouns where the gender was not specified to they, them, and their.

The one the editor complained the most about was that the crew on the space ship I was writing for referred to the ship as 'she' and 'her'. I personally thought the object was stupid and rejected that change. Especially since there are reasons for calling a ship by the female pronouns. Historical reasons may be nullified by political correctness, but spiritual reasons not so much. Especially since the female pronouns refer to the soul of a ship as any sailor will tell you, and if you treat 'her' right 'she'll' see you home safe.

I sometimes feel like a stick in the mud and I realize that language evolves all the time. To me it will always he, him or his unless you know its female. They, them and their is plural.

Comment: Re:Why not have devices get their time from GPS? (Score 2) 166

by Durrik (#49303479) Attached to: Internet of Things Endangered By Inaccurate Network Time, Says NIST
This works nicely for self driving cars which need GPS anyway. I have no idea why self driving cars were listed. And for the times that it can't get a GPS signal the internal clock shouldn't drift that much. Unless the self driving car is 100% underground it should be able to find a GPS signal to time sync to often enough.

Things inside a building might be harder. But there are things that take a GPS signal and put a NTP server on the network. All you need is on of these and you're fine for the local network. I used these 10 years ago when working on base stations, and they provided a very stable 10 MHz reference clock too. And they're not that expensive, I was looking for one for home because I'm a little anal about time some days.

Comment: May not have to worry about taxes (Score 4, Interesting) 734

by Durrik (#49192359) Attached to: Ask Slashdot: Should I Let My Kids Become American Citizens?
While working in Canada I had a boss who was a US citizen, but he had been born in Canada to US married parents. He had the tax id for his parents to claim him as a dependent till 18. But he did not have a SSN number. He refused to work in the states because he didn't want to get a SSN number and thus have to pay taxes for the rest of his life, but he was still a US citizen.

I have no clue if that was legal or not. And I have no idea if this matches your circumstances, but it may be something you want to look into. See if they will be forced to pay taxes even if they don't have an SSN number just the tax id (which is different for children, or so I've been told).

Comment: Re:Jerri (Score 1) 533

I was talking to my wife about this a while ago. The problem is that the western countries won't commit to the timeline. It will take at least 3-4 generations of occupation for it to come to fruition. You need Great-Grandpa who was the die hard extremist to be dead not to influence the kids. You might even need Grandpa to be gone too.

Once there are jobs, once there is education, once there are 'good times' then you need to hold it long enough for the people doing the preaching about the 'evils of the west' to no-longer be relevant and no-one to have direct remembrance of them. Each succeeding generation will come to realize that they have more to live for then their virgins in heaven.

The US had to deal with the same problem with Japan after WWII. Before and during WWII Japan was very megalomaniac and that had to change. How long did it take for them to come back into the world community as a productive partner? It was at least the seventies, and in my mind it was the eighties when they really came back as a full economic partner. And they had a big advantage, they had a cultural leader (the Emperor) who wanted to push Japan in that direction, and it still took 30-40 years to do it.

I don't know of a cultural leader that is in the Middle-East who wants to push them into a productive member of the world. Instead they have people at the top who like being at the top and screw the people who aren't. There is a huge gap between rich and poor, leaving the poor without much hope, and nothing left to live for which is why they're willing to become suicide bombers.

It'll take 60-100 years of near lock down there, and building up the education and economy to fix it. We don't have the political leaders in the west who would be willing to make such a time consuming and costly commitment that in the long run will build an economic competitor.

Instead they want peace in the middle east, but no economic competitor. They can't have both for long before we start the cycle again.

Comment: Re:GOTO is a crutch for bad programmers (Score 1) 677

by Durrik (#49042353) Attached to: Empirical Study On How C Devs Use Goto In Practice Says "Not Harmful"
if you're doing an init function you should match it with a deinit function.


int initFunc() {
if (!AquireResource1()) return deinitFunc(TERM_1);
if (!AquireResource2()) return deinitFunc(TERM_2);
if (!AquireResource3()) return deinitFunc(TERM_3);
return 0;

int deinitFunc(state = TERM_ALL) // Cheating with C++
        switch (state)
                case TERM_ALL:
                case TERM_3:
                        Cleanup3(); // lint intentional pass-through
                case TERM_2:
                        Cleanup2(); // lint intentional pass-through
                case TERM_1:
                        Cleanup1(); // lint intentional pass-through
        return -1;

I personally prefer the gotos but some people don't. I had to do the above pattern for something with a 24 step initialization process. Not all steps allocated resources of course but all of them could fail. The lead programmer hated gotos, so I had to do it that way. Which was also beneficial because I no longer needed to create a separate deinit function. To me it looks the same as gotos, *shrug* but to each their own.

I have used gotos in other cases. Mainly in driver development. I had something like 10 us between transmissions on a SPI bus and was trying to shrink that down. I replaced a continue with a goto and it saved me 90 ns. Made the code look horrible and ripped the goto out again to look for other ways to solve the problems. But sometimes when your optimizing and fighting for ns gotos are what's needed.

Comment: Re:Fine, if (Score 1) 286

by Durrik (#48249747) Attached to: The Airplane of the Future May Not Have Windows
United is actually taking the monitors out, in favor of an app you have to download onto your tablet and wifi for their entertainment systems (if you had a PC then you could just hook right up to wifi and use the entertainment system). I think it was United but the disasters of Chicago and weather had me switching from American to United to US Airways during that trip. They were giving a trial run on the flight I was on, but I bet they'll go for out on it because it means they don't have to pay for the screens and don't have to worry about the bulky screens getting in the way of packing more cattle....passengers in the plane.

Comment: Re:Boys are naturally curious... (Score 4, Interesting) 608

by Durrik (#48238045) Attached to: Solving the Mystery of Declining Female CS Enrollment
Very interesting, thanks for sharing. There were a few problems I had with the video.

It did make the guys who professed that biology had nothing to do with it look a bit like closed minded idiots, but that was mostly their own fault. With the two that were shown the studies contrasting their views starting to call the studies weak, and almost name calling.

The video alluded to many studies that proved that biology had something to do with it, but only really went into details with two of them, and those looked to be one off studies. If they had been repeated by other scientists then I would give them more weight.

The video was a bit bias in its selection on who to present. The 'biology has nothing to do with it' looked to be young and barely out of post grad and wanting to make a name for themselves. They also seemed defensive and emotionally invested in their views. The ones on the other side of the debate were older, and looking to be more established. This gave the 'there's a biological link' a more credible appearance.

Personally I'm with the guy who said that you can't ignore biology and you can't ignore culture. That's also known as the grey fallacy, but when you're trying to find the root cause of something like this you can't cut out one side of the argument, even if its bee proven wrong. You have to continue to prove it wrong with hard facts and understanding, and each time you do you promote more understanding of what the issue is.

The video was also nice in that it pointed out, it was only the scientists form the culture is everything camp that discounted the biological portion of it. The scientists from the biology is important camp didn't say that culture wasn't important.

Comment: Re:I want slower for cheaper (Score 2) 88

by Durrik (#48166239) Attached to: Google Fiber To Launch In Austin, Texas In December
oh I'd love 10 mbs. I'm stuck with only one provider where I live. No cable, just CenturyLink DSL. I have the fastest service they offer in this area, a whole 7 mbs. And I get to pay $70 a month for it too. When I called up customer service about it, they seemed shocked that we only got 7 mbs for that amount, and then he looked at what was offered in the area, and apologized because that's all they have. I have a 70 ms ping to the speed test servers. Shows you how bad it is when they don't even care about faking speed test because there's no competition in this area.

What's frustrating is that a half mile west there's Cox. A half mile north there's cox. A have mile south there's cox, and a half mile east cox has partial coverage to northern half of the area. Just this one little area of new construction doesn't have Cox, and when I asked them when they'd get to it, they didn't know. I know cable sucks, and is a shared service, but its better than my 7-70-70 service (mbs, ping, price).

It takes about 30 seconds for my wife to load her facebook page, and her other pages. I don't really know why it could be so shitty. We have to unplug the modem at least once a week because it seems to die on us, and we seem to change IP addresses every 2-3 days. When both of our computers started downloading the latest round of windows patches it literally killed my wife's google talk page.

Day One With the Brand New Oculus Rift DK2: the Good, the Ugly and the Games 48

Posted by timothy
from the he-was-there dept.
muterobert (2927951) writes Paul James goes hands on with one of the first next-gen Oculus Rifts in the wild: "After much hacking (and some kind developer linkage) I stepped into a DK2 enabled version of Technolust and lost myself utterly! The stunning attention to detail, neon on black really lets the OLED panel shine here. In fact, this experience was the closest I think I've ever some to presence in virtual reality thus far. Leaning in to check the myriad retro objects, gawking at the lighting and just generally being blown away by the experience. This game was fabulous on the DK1, it's utterly compelling now."

Comment: Re:A virtuous Perl programmer (Score 2) 192

by Durrik (#47334273) Attached to: An Army Medal For Coding In Perl
</p><p>I'm always amazed at what non-programmers are impressed by. Code up some major application, and... Why doesn't it have this feature? Why does it have that workflow? What kind of colorblind dyslexic idiot designed this UI? But whip up a simple script to automate some repetitive, routine task and you're a genius!</p></quote>

I'm always surprised at this as well. I had two things I was known for at my previous company. One that I was proud of, a software library that was used across the entire company, across multiple teams (20 project teams), built up a community around, supported and upgraded for 6 years. This was mainly on my own time, but I kept getting requests from other teams to help with integration (which I needed my time authorized for). I kept getting complaints about the library, people wanting to change the flows, wanting to add features in, wanting it to be more light weight, wanting it to be more heavy weight and do more, etc. The library was actually designed with maintenance and long term support in mind.

The other project, was something that automated a process I thought was stupid. Basically something that took multiple true type fonts, merged them together, and then based on all the localization strings it stripped out all the unused fonts to save on RAM. I threw that together when I was home sick from work with a 103 degree fever during flu season. It was only suppose to live till the end of the current project I was on (2 months). You can imagine how crappy the code was, it barely worked, it barely did what it had to do.

Guess which one I got more praise and recognition for? Not the properly designed project that affected our customers and revenue flow, but the code vomit (almost literally) project that made people's life in the company easier. Because of the second project I became known as one of the company's expert on true type fonts, and even had the company lawyers call me to talk about licensing of the fonts we used (as if I knew that). And I still had to support that tool 5 years after I wrote it, because it somehow leaked out of the original project which had been shipped and closed down. Just for the record I consider my knowledge on fonts to be slightly above average, but when you consider the average is 'a font is what you select in Word' its not much, no way is that considered an expert in any other area.

Comment: Re:This (Score 1) 138

by Durrik (#46963137) Attached to: A 32-bit Development System For $2
There is a PIC32 I/O expansion board (DM320002) that you can hook the PIC32MX starter kit to that will bring out the JTAG port to a standard header. Unfortunately that's a pricy board too that might be a bit too expensive for some people.

But it does bring out all the pins you'd want. SPI, UART, I2C, Digital I/O etc. And if you're going to be doing some pretty intensive stuff beyond what the starter kit gives you (3 buttons, and 3 LEDs) you'd probably want to pick one of those up as well. What I like about it is it has a 9 volt input jack so I don't have to power the starter kit off my PC.

The JTAG is left off the starter kit, since it is a starter kit, and they don't want to make it expensive. There isn't really any space on the board to put a JTAG port without expanding the area, and if you want one thing, others will want others, and yet others, and then its no longer a starter kit, but a full development kit. Which is why there's that I/O expansion board to handle the 132 pin connector that's on the bottom of the starter kit.

Comment: Re:This (Score 2) 138

by Durrik (#46962557) Attached to: A 32-bit Development System For $2
The PIC32 MCUs are a bit more expensive. Around $4.20 for single orders. But they're also clocked higher. The PIC32MX is an 80Mhz part. The one in the ARM in the article is 48 Mhz. There is also a big difference in RAM and FLASH. The arm has 4k and 32k. The PIC32MX has 64k and 512k.

Of course if you're really wanting to play with the MCHP parts its best to go with the starter kits, which makes them much more expensive than the $3 in the article. But then you get a USB debug port, a USB port to play with, and on some of the kits you get Ethernet as well. Which is much more than what the breadboard in the article is talking about, and you don't need a flash programmer. If you're really serious to get into embedded controllers this is probably the way to go, since you save the price of your flash programmer/debugger.

You could always wait for the PIC32MZ as well, which is a 200 Mhz part, more RAM and more FLASH.

Comment: Re:Ethics are for folks with consciences, (Score 1) 311

by Durrik (#46912697) Attached to: Steve Jobs Defied Convention, and Perhaps the Law
It's possible.

The CEO of Microchip Technologies (Steve Sanghi) has ethics, I don't know the majority of his ethical make up, but one of the big things is integrity. If you look at his and MCHP's history

- he's been CEO of MCHP for 23 years, which I never heard of in the high tech industry. In fact a good portion of the higher level executives have been around for a long time, some of them from the early 90s. This shows that he's willing to make a commitment and stick too it, and surrounds himself with people who do the same thing.
- MCHP has never had to restate financial results because of shady accounting practices.
- Have told their sales force that the values of doing business are the values of the head office (in the US), so no bribes to get business in 3rd world countries, etc. This has cost them business in the past but they don't seem to mind.
- Made it a corporate culture thing never to have more than 3% of the profits of the company reliant on one customer, which allows them to walk away from shady deals.

Of course this means that MCHP doesn't have a huge market cap, and may be overly conservative when it comes to new technologies, but you can't really argue with 94 quarters of profit that haven't needed to be restated.

Steve might not have a butt load of money, but probably more money than most of us will see in our life times. According to Reuters he makes 4.5 million a year and has 50 million in unexercised options.

The only thing I'm not sure of is where the company is registered, I'm pretty sure its in the US. But it may be outside since it is an international company and most companies are registered outside the US to reduce taxes. I'm not sure if Microchip does.

Comment: Re:Shorewall (Score 4, Insightful) 187

by Durrik (#46671137) Attached to: Ask Slashdot: User-Friendly Firewall For a Brand-New Linux User?
Shorewall is very nice. For the user I would suggest using it and installing webmin to configure it. Webmin does an OK job configuring shorewall which is already pretty easy to set up, just it can be fairly confusing for the first timer with all the config files. After the first few times with webmin you learn how to do it with the command line and vim.

Bastille-linux is also something that was fairly easy to use in the past. I used that before shorewall, but I haven't used bastille for years, must be a least a decade so I don't know what the current state of it is.

Comment: Re:Phoenix AZ Google Fiber (Score 3, Informative) 172

by Durrik (#46289967) Attached to: Google Fiber Pondering 9 New Metro Areas
I was thinking the same thing. Why not Chandler (SE side), where Intel has two fabs, Freescale has an office, Microchip is located and a bunch of other big high tech companies? You're going to have a hell of a lot of high tech workers just begging for gigabit Internet. But that may be the reason, they may not want tech savvy people at it, because then they'll have a heavy stress test.

fortune: cannot execute. Out of cookies.