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!



Ask Slashdot: How Do You Deal With Programmers Who Have Not Stayed Current?

goofy183 Re:Can't write concurrent code? (509 comments)

Really? Honestly curious what language you're working in. I do a ton of concurrent dev in Java and it is quite easy to write unit tests for. I think almost all of my concurrent code also abstracts most of the problems into a nice class hierarchy that encapsulates most of the threading related code anyways.

I'm not saying there aren't pit-falls but with something like as a reference it is really not that hard to right solid, unit testable, modular, multi-threaded code in Java. Though it really does help that as of JDK5 there are a lot of really nice concurrent constructs just built into the core API.

about a year ago

Google 'Wasting' $16 Billion On Projects Headed Nowhere

goofy183 Re:What, Pray Tell (408 comments)

Uh, because they know that ads cannot be the income source forever? They need to find the next big thing and be there first or someone else will eventually beat them at their own game and then they'll go poof.

Yet another problem with being driven by quarterly profits instead of long term viability.

more than 2 years ago

Japan Creates Earthquake-Proof Levitating House System

goofy183 Re:Might be cheaper to just rebuild the house. (243 comments)

Most of the places I've been to in the US use wood frames for houses with maybe a few steel support beams for long open spans

more than 2 years ago

Oracle and the Java Ecosystem

goofy183 Re:Java: Was write once run everywhere ever the ca (157 comments)

All depends on what you're doing with it. I work on an enterprise level webapp written 100% in java and we have deployments on Windows, Linux, Solaris and OSX-Server using the EXACT same code base and this is an app with over 1000 classes and 250k+ lines of code.

more than 2 years ago

Oracle and the Java Ecosystem

goofy183 Re:Oracle matters less thank you'd think (157 comments)

Java has gotos:

for (int i = 0; i < MAX_I; i++) {
        for (int j = 0; j < MAX_J; j++) { // do stuff
                break loops;

more than 2 years ago

The New Transparency of War and Lethality of Hatred

goofy183 Re:Bogus premise (591 comments)

Your premise is equally as bogus. You're assuming that all our enemies could be made to fear us. If your living conditions suck enough it becomes hard to fear anything. What do you have to be afraid of? You likely have nothing of material value and little to no family to be held over you. Death / torture is the only thing they could be afraid of and so what? They are likely in a position where death is always a possibility anyways. How do you make someone with little or nothing to lose fear you?

more than 2 years ago

Ask Slashdot: Tech-Related Summer Camps For Teenagers?

goofy183 Re:My daughter did a great course last year.. (177 comments)

I was just going to point about Michigan Tech's Summar Youth Program:

It is a very well run educational summer camp at one of the better small engineering and sciences schools in the country. I did a summer of intro to CS classes while in high school and got a huge jump start for my college career. Also it is a lot of fun and a beautiful place to visit.

more than 2 years ago

Ask Slashdot: How To Securely Share Passwords?

goofy183 Re:Dont worry about it (402 comments)

I think the concern is about being forced to reveal what you've written down while still alive.

more than 2 years ago

Ask Slashdot: How To Securely Share Passwords?

goofy183 Write them down and lock them up (402 comments)

My wife and I both have written down our most commonly used passwords including our OSX Keychain passwords. These go into an envelope which has our signatures over the seal and then placed in a lockbox. If someone happened one either/both of us the details on these passwords are in our wills.

more than 2 years ago

Making a Learning Thermostat

goofy183 Re:Learned Stupidity (192 comments)

I have one of the higher end honeywell models (like $200 for the control panel + remote logic box) that has all sorts of fun options. Maximum adjustment increment, overall max/min settings, etc.

The biggest features I got it for are the external temp sensor which the thermostat uses to adjust the humidifier run time to avoid condensation in the winter and the smart recovery. The thermostat uses a combination of outside + inside temps and some recent historical data (how fast did the house cool down or heat up) to get to a specified temp at the specified time. So if I set it for 55 at night and want it to be 67 at 7am the thing just figures out what time it needs to kick on the heat in the morning so that at 7am the house is at 67. Wonderful feature if you live in the Midwest and you'd have to reprogram a simpler thermostat every month to get the same behavior.

more than 2 years ago

James Gosling Leaves Google

goofy183 Re:SkyNet (192 comments)

As the other reply alluded this isn't a JVM problem but a problem with poorly written libraries. If a library sticks something in a ThreadLocal, creates a Thread, registers a JDBC driver, or several other tasks using classes from the webapp class loader and then DOESN'T CLEAN THEM UP when the webapp context is destroyed you get a ClassLoader leak. Just like any other Java memory leak it stems from having classes in the loader still reachable from the GC root.

Tomcat has made some great changes to their webapp classloader to watch for this bad behavior and forcibly remove/cleanup these references when a webapp shuts down, solving this problem in many cases.

more than 2 years ago

James Gosling Leaves Google

goofy183 Re:SkyNet (192 comments)

Never frees ... unless you are using the CMS collector (any app that does that much class loading/creation/unloading is likely a great candidate for CMS) and you turn on CMSClassUnloadingEnabled in which case the JVM unloads Class objects which are NOT in use just fine.

more than 2 years ago

SignalGuru Helps Drivers Avoid Red Lights

goofy183 Re:You can do that right now (436 comments)

It isn't slowing down to much and stopping the engine (stalling)

Isao is right on, any modern car (not sure when it started) simply turns off the injectors if it is in gear and the car's momentum is making the engine turn. The alternator and all the accessories are still running fine since the engine is being turned by the wheels, no fuel is being provided to the engine.

Its really easy to tell when the ECU on my outback does this by listening and watching the MPG readout. When I start coasting down a hill while in gear and the clutch engaged you can hear the engine sound change as the fuel shuts off and the MPG readout goes to all 9s.

In short, don't coast in neutral, the ECU is smart enough to save you gas when you coast in gear.

more than 2 years ago

Can We Fix SSL Certification?

goofy183 Re:RFC 4398 (249 comments)

Man I wish I had mod points. +1

more than 2 years ago

Bill Clinton Says 'Paint Your Roofs White'

goofy183 Re:What about winter? (722 comments)

So you have no snow cover in the winter? Not being to flippant, just curious how big of a band of the US has cold enough weather to require heat but not enough snow to generally have your roof be white all winter anyways?

about 3 years ago


goofy183 hasn't submitted any stories.


goofy183 has no journal entries.

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