Off-topic Talk Where overpaid, underworked S2000 owners waste the worst part of their days before the drive home. This forum is for general chit chat and discussions not covered by the other off-topic forums.

Can all the computer programmers please read!!! I have a question for you.

Old Jan 31, 2002 | 11:35 AM
  #41  
moonpie's Avatar
Registered User
 
Joined: Oct 2001
Posts: 1,611
Likes: 0
From: Melbourne
Default

[QUOTE]Originally posted by josh3io
[B]or a shell script
Reply
Old Jan 31, 2002 | 11:38 AM
  #42  
josh3io's Avatar
Registered User
25 Year Member
 
Joined: Oct 2000
Posts: 2,584
Likes: 0
From: Mountain View
Default

Originally posted by moonpie


isn't expr lame in the fact that you can't go "a=`expr ($f - 32) * (5/9)` ?
quite lame
Reply
Old Jan 31, 2002 | 11:42 AM
  #43  
josh3io's Avatar
Registered User
25 Year Member
 
Joined: Oct 2000
Posts: 2,584
Likes: 0
From: Mountain View
Default

Originally posted by chroot
It seems we're one step away from making this the first annual OOULS2KIFCCC...

"The Obfuscated or Otherwise Useless Language S2000 International Fahrenheit-to-Celsius Converter Contest."

WHO WILL WIN??

- Warren
am I going to have to write a c++ program that calls perl calling a shell script, from a webpage in php with javascript?
Reply
Old Jan 31, 2002 | 11:49 AM
  #44  
integrate's Avatar
Registered User
 
Joined: Jun 2001
Posts: 8,079
Likes: 0
From: Irvine
Default

Originally posted by mntony
All you (other) geeks out there forgot that iostream.h is deprecated and you need to change all the uses of "cout" to "std::cout", or add the line using std::cout; Come on, it's 2002!
fine.
Reply
Old Jan 31, 2002 | 11:59 AM
  #45  
TimTheFoolMan's Avatar
 
Joined: Nov 2001
Posts: 432
Likes: 0
From: Louisville
Default

Originally posted by josh3io


am I going to have to write a c++ program that calls perl calling a shell script, from a webpage in php with javascript?
Only if you call a web service down into .NET, which will use some of the C# code, compiled into MSIL...

Hmm... there has to be a way to use JSP here too.

Tim
Reply
Old Jan 31, 2002 | 12:07 PM
  #46  
josh3io's Avatar
Registered User
25 Year Member
 
Joined: Oct 2000
Posts: 2,584
Likes: 0
From: Mountain View
Default

Originally posted by TimTheFoolMan
Only if you call a web service down into .NET, which will use some of the C# code, compiled into MSIL...

Hmm... there has to be a way to use JSP here too.

Tim
MS languages are for pussies, use *nix!!!
Reply
Old Jan 31, 2002 | 02:32 PM
  #47  
yamo's Avatar
Registered User
 
Joined: Jun 2001
Posts: 350
Likes: 0
From: Mountain View
Default

Oh boy, no hardware designers out there?!

ok, here's some verilog code which you can compile and implement into an ASIC.

function [31:0] f_to_c;
input [31:0] f;
begin
f_to_c = (5/9) * (f - 32);
end
endfunction

Problem is this only has resolution of a 32 bit positive integer.

Now don't make me break out code to make a numberpad decoder and 7-segment number encoder to display it on the screen

-Marc
Reply
Old Jan 31, 2002 | 02:37 PM
  #48  
krhorrocks's Avatar
Registered User
 
Joined: Feb 2001
Posts: 627
Likes: 0
From: Seattle, WA
Default

Originally posted by josh3io


MS languages are for pussies, use *nix!!!
We're not pussies, just lazy and like to get paid lots for doing little.
Reply
Old Jan 31, 2002 | 03:26 PM
  #49  
TimTheFoolMan's Avatar
 
Joined: Nov 2001
Posts: 432
Likes: 0
From: Louisville
Default

Originally posted by josh3io
MS languages are for pussies, use *nix!!!
Did I start the C# stuff? noooooooooooo

I was just gonna call it.

Except for our OS/2 apps, ours is a BC++ shop. After all, if you're going to write a Windows app, why not use an environment that supports some of the last five years' worth of language changes? <gd&r>

Tim

P.S. The only reason I'd look at C# is it's heritage. Anders Heijlsberg (pardon the certain misspelling) was the Turbo Pascal and Delphi guru at Borland, and has brought the same technology to a C-like language with C#. Gotta love that Anders...
Reply
Old Jan 31, 2002 | 03:30 PM
  #50  
josh3io's Avatar
Registered User
25 Year Member
 
Joined: Oct 2000
Posts: 2,584
Likes: 0
From: Mountain View
Default

Originally posted by krhorrocks


We're not pussies, just lazy and like to get paid lots for doing little.
i get paid to write some perl/php code and watch porn. how about you?
Reply


All times are GMT -8. The time now is 12:56 PM.