Notices
"The 33"-Road Bike Racing We set this forum up for our members to discuss their experiences in either pro or amateur racing, whether they are the big races, or even the small backyard races. Don't forget to update all the members with your own race results.

My geek thread

Old 11-16-10, 06:12 PM
  #226  
umd
Banned
 
umd's Avatar
 
Join Date: Sep 2005
Location: Santa Barbara, CA
Posts: 28,387

Bikes: Specialized Tarmac SL2, Specialized Tarmac SL, Giant TCR Composite, Specialized StumpJumper Expert HT

Likes: 0
Liked 3 Times in 3 Posts
Originally Posted by mattm
A great point - I have the old 1st edition at home, but I should just go ahead and buy the latest & greatest version.
I don't remember there being a huge amount of difference between the editions.
umd is offline  
Old 11-16-10, 06:28 PM
  #227  
slow up hills
 
kudude's Avatar
 
Join Date: Mar 2006
Location: Seattle, WA
Posts: 4,931

Bikes: Giant TCR, Redline CX, Ritchey Breakaway, Spec S-works epic

Likes: 0
Liked 0 Times in 0 Posts
fortran anyone?
kudude is offline  
Old 11-16-10, 06:46 PM
  #228  
Senior Member
 
tallmantim's Avatar
 
Join Date: Oct 2009
Location: Melbourne, Australia
Posts: 910
Likes: 0
Liked 0 Times in 0 Posts
Originally Posted by tallmantim
And if you put a really big page number at the end it will just take you straight to the last page:

https://www.bikeforums.net/showthread...24026/page9999
tallmantim is offline  
Old 11-16-10, 08:01 PM
  #229  
Has coddling tendencies.
 
KiddSisko's Avatar
 
Join Date: Jul 2005
Location: Topanga Canyon
Posts: 8,360

Bikes: 2008 Blue RC8 w/ '09 Rival

Liked 59 Times in 8 Posts
Sub wrote elsewhere:
Originally Posted by substructure
It was way worse than I thought. 3rd generation Tdss Rootkit.

It keeps coming back no matter what I do.

Format is my only option. But it's going to be a nightmare. I have deadlines, a vacation day coming up, and now this.
You linked to a blog post written in '09. There hasn't been progress in dealing with it since then? And by dealing I mean a simple and effective way of removing it from a system.
KiddSisko is offline  
Old 11-16-10, 09:02 PM
  #230  
Elite Fred
Thread Starter
 
mollusk's Avatar
 
Join Date: Aug 2005
Location: Edge City
Posts: 10,945

Bikes: 2009 Spooky (cracked frame), 2006 Curtlo, 2002 Lemond (current race bike) Zurich, 1987 Serotta Colorado, 1986 Cannondale for commuting, a 1984 Cannondale on loan to my son

Liked 43 Times in 19 Posts
Originally Posted by kudude
fortran anyone?
If you are really old it is FORTRAN.

I used to program Fortran IV a lot. On cards. And I had my own "drum" for the keypunch machine. I wonder where it is now.

The CFD guys still like the modern versions.
mollusk is offline  
Old 11-16-10, 09:12 PM
  #231  
slow up hills
 
kudude's Avatar
 
Join Date: Mar 2006
Location: Seattle, WA
Posts: 4,931

Bikes: Giant TCR, Redline CX, Ritchey Breakaway, Spec S-works epic

Likes: 0
Liked 0 Times in 0 Posts
Originally Posted by mollusk
If you are really old it is FORTRAN.

I used to program Fortran IV a lot. On cards. And I had my own "drum" for the keypunch machine. I wonder where it is now.

The CFD guys still like the modern versions.
fortran95 is fortran. FORTRAN77 is FORTRAN. Thank god I don't have to deal with all the asinine rules regarding whitespace. Don't know what CFD is, but when it comes to matrix multiplication and large parallel jobs, fortran makes me
kudude is offline  
Old 11-16-10, 09:14 PM
  #232  
umd
Banned
 
umd's Avatar
 
Join Date: Sep 2005
Location: Santa Barbara, CA
Posts: 28,387

Bikes: Specialized Tarmac SL2, Specialized Tarmac SL, Giant TCR Composite, Specialized StumpJumper Expert HT

Likes: 0
Liked 3 Times in 3 Posts
Assume it's Computational Fluid Dynamics.

The core of our software was all written in fortran and converted to C eons ago.
umd is offline  
Old 11-16-10, 09:45 PM
  #233  
Senior Member
 
agoodale's Avatar
 
Join Date: Sep 2008
Location: Murrieta, CA
Posts: 1,035
Likes: 0
Liked 0 Times in 0 Posts
Originally Posted by mollusk
If you are really old it is FORTRAN.

I used to program Fortran IV a lot. On cards. And I had my own "drum" for the keypunch machine. I wonder where it is now.

The CFD guys still like the modern versions.
In my first Jr. high programming class we had to bubble cards in FORTRAN. We had a whole lab of new Apple IIs. Our teacher didn't have any curriculum for them so we used them for fantasy baseball instead.
agoodale is offline  
Old 11-16-10, 09:56 PM
  #234  
Senior Member
 
wens's Avatar
 
Join Date: Mar 2010
Location: Northeast Ohio
Posts: 3,215
Likes: 0
Liked 0 Times in 0 Posts
Originally Posted by umd
Assume it's Computational Fluid Dynamics.

The core of our software was all written in fortran and converted to C eons ago.
Fun stuff. I had a professor who wrote a program in CFD to model missiles for star wars. We convinced him to tell us a little about it while we were driving to Wright-Pat, it was really interesting.
wens is offline  
Old 11-17-10, 04:56 AM
  #235  
Senior Member
 
Join Date: Aug 2009
Location: Seattle
Posts: 970

Bikes: Giant Defy 2

Likes: 0
Liked 0 Times in 0 Posts
Originally Posted by wens
Fun stuff. I had a professor who wrote a program in CFD to model missiles for star wars. We convinced him to tell us a little about it while we were driving to Wright-Pat, it was really interesting.
and my latest project was only figuring out how to optimize caching infrastructure. I need to grab a book on R or F# and start working on something more interesting than Web App #1238021.
Urthwhyte is offline  
Old 11-17-10, 07:00 AM
  #236  
My idea of fun
 
kensuf's Avatar
 
Join Date: Jun 2006
Location: Gainesville, FL
Posts: 9,920

Bikes: '06 Litespeed Tuscany, '02 Kona Lavadome, '07 Giant TCR Advanced, '07 Karate Monkey

Liked 59 Times in 36 Posts
you know guys, there's a twitter feed to post the talk about compilers and K&R etc..
kensuf is offline  
Old 11-17-10, 07:34 AM
  #237  
Senior Member
 
Join Date: Aug 2009
Location: Seattle
Posts: 970

Bikes: Giant Defy 2

Likes: 0
Liked 0 Times in 0 Posts
Originally Posted by kensuf
you know guys, there's a twitter feed to post the talk about compilers and K&R etc..
Are you kidding me? Discussing K&R takes far more than 140 characters. Discussing pointers alone takes at least .8cdr
Urthwhyte is offline  
Old 11-17-10, 08:04 AM
  #238  
My idea of fun
 
kensuf's Avatar
 
Join Date: Jun 2006
Location: Gainesville, FL
Posts: 9,920

Bikes: '06 Litespeed Tuscany, '02 Kona Lavadome, '07 Giant TCR Advanced, '07 Karate Monkey

Liked 59 Times in 36 Posts
pointers are the reason I quit programming c and never turned in my final project for cis 2321.
kensuf is offline  
Old 11-17-10, 08:17 AM
  #239  
Making a kilometer blurry
 
waterrockets's Avatar
 
Join Date: May 2006
Location: Austin (near TX)
Posts: 26,170

Bikes: rkwaki's porn collection

Liked 92 Times in 38 Posts
Well, it could be the other way around where I can't get Dalvik to GC some big allocations. I haven't dug in too deep yet, but I'd much rather deal with pointers than try to get a Java VM to give me back my memory when I'm running out on a smartphone.

Back when I was working on games, I did a stint as "the memory guy," chasing allocations in C++. Going after inefficiencies, leaks, and my favorite: memory fragmentation. Putting the beatdown on some fragmentation is actually really fun.
waterrockets is offline  
Old 11-17-10, 08:22 AM
  #240  
negligent.
 
slynkie's Avatar
 
Join Date: Aug 2005
Location: White Plains, NY
Posts: 837

Bikes: a few

Likes: 0
Liked 0 Times in 0 Posts
+1...

though it seems whenever i'm working with Java, I miss C++. whenever I'm working with C or C++, I reluctantly miss Java.

I never miss assembly.
slynkie is offline  
Old 11-17-10, 08:27 AM
  #241  
negligent.
 
slynkie's Avatar
 
Join Date: Aug 2005
Location: White Plains, NY
Posts: 837

Bikes: a few

Likes: 0
Liked 0 Times in 0 Posts
Originally Posted by waterrockets
Back when I was working on games, I did a stint as "the memory guy," chasing allocations in C++. Going after inefficiencies, leaks, and my favorite: memory fragmentation. Putting the beatdown on some fragmentation is actually really fun.
chasing leaks + inefficiencies are somewhat normal to me now, and there are some good tools out there. i'm not sure i'd even know where to begin to hunt down fragmentation though. got any good primers/reading recommendations?
slynkie is offline  
Old 11-17-10, 08:43 AM
  #242  
Draught
 
jwible's Avatar
 
Join Date: Jul 2005
Location: Georgia
Posts: 4,051

Bikes: N-1 where N = number needed

Likes: 0
Liked 0 Times in 0 Posts
Originally Posted by kensuf
pointers are the reason I quit programming c and never turned in my final project for cis 2321.
Well at least Java doesn't have pointers as evidenced by the utter lack of NPEs when testing code.

jwible is offline  
Old 11-17-10, 08:44 AM
  #243  
Making a kilometer blurry
 
waterrockets's Avatar
 
Join Date: May 2006
Location: Austin (near TX)
Posts: 26,170

Bikes: rkwaki's porn collection

Liked 92 Times in 38 Posts
Originally Posted by slynkie
chasing leaks + inefficiencies are somewhat normal to me now, and there are some good tools out there. i'm not sure i'd even know where to begin to hunt down fragmentation though. got any good primers/reading recommendations?
I never read anything about it, but we had a great logging tool. We'd written our own memory manager and all allocations could be logged with a time stamp. In our heap view, we could "turn back time" to see what the heap looked like a different points in the log. So, I'd look at the heap, find medium-sized chunks of free space, back up until allocations filled it, and check the allocation. Then we could move those allocations around, delaying their loading or whatever had to be done, so that when the memory was released, it hadn't pushed out other significant allocations.

Without that time-travel logging tool, it's just a matter of using a heap analysis tool and looking at it after the system has been running a while and is stable. You look for gaps beneath larger allocations, then do a binary-style search by restarting and checking the heap at different points in the startup to see where that block was still allocated, then check the call stack.

Another trick is to write a message to your memory before you release it for any large allocations being performed. So, for our game intro video, for example, we could write 0xDEADBEEF in every slot before calling delete/free(). Then, in heap analysis, if we saw a fragmentation gap that was much smaller than the intro video, but still a frag issue, we could identify it as the video by seeing 0xDEADBEEF in there. You can choose different messages for different software components or major allocations.

Once you start beating on this stuff, little tricks like this will pop into your head. You develop a Sherlock Holmes attitude, and a bit of Spidey Sense about it. "My spidey sense is tingling -- I think it's MusicManager.init()!!"
waterrockets is offline  
Old 11-17-10, 08:45 AM
  #244  
Making a kilometer blurry
 
waterrockets's Avatar
 
Join Date: May 2006
Location: Austin (near TX)
Posts: 26,170

Bikes: rkwaki's porn collection

Liked 92 Times in 38 Posts
Originally Posted by slynkie
+1...

though it seems whenever i'm working with Java, I miss C++. whenever I'm working with C or C++, I reluctantly miss Java.

I never miss assembly.
Yeah, I'm pretty language agnostic. I like them all. I really like learning new languages, but you start to run out... of course I never remember them due to the "use it or lose it" clause.
waterrockets is offline  
Old 11-17-10, 09:02 AM
  #245  
BatŁwŁ Creakcreak
 
Join Date: Jan 2007
Location: The illadelph
Posts: 20,798
Liked 289 Times in 161 Posts
Originally Posted by kudude
fortran anyone?
Hai gaiz.

4chan anyone?
ridethecliche is offline  
Old 11-17-10, 09:05 AM
  #246  
negligent.
 
slynkie's Avatar
 
Join Date: Aug 2005
Location: White Plains, NY
Posts: 837

Bikes: a few

Likes: 0
Liked 0 Times in 0 Posts
thanks for the description - that does sound fun. that type of logical hunt can be very satisfying.
slynkie is offline  
Old 11-17-10, 09:50 AM
  #247  
RustyTainte
 
substructure's Avatar
 
Join Date: Jul 2005
Location: 28012
Posts: 12,340

Bikes: zilch

Likes: 0
Liked 0 Times in 0 Posts
extruded plastic dingus
substructure is offline  
Old 11-17-10, 10:20 AM
  #248  
My idea of fun
 
kensuf's Avatar
 
Join Date: Jun 2006
Location: Gainesville, FL
Posts: 9,920

Bikes: '06 Litespeed Tuscany, '02 Kona Lavadome, '07 Giant TCR Advanced, '07 Karate Monkey

Liked 59 Times in 36 Posts
Originally Posted by substructure
extruded plastic dingus
that's what she said.
kensuf is offline  
Old 11-17-10, 10:29 AM
  #249  
Banned
 
Join Date: Jul 2010
Posts: 583
Likes: 0
Liked 0 Times in 0 Posts
Originally Posted by waterrockets
Yeah, I'm pretty language agnostic. I like them all. I really like learning new languages, but you start to run out... of course I never remember them due to the "use it or lose it" clause.
I've got a pretty good handle on PHP, at least enough to build some pretty rudimentary scripts and enough to edit someone elses to make it to what i need it to. That's all well and fine for web-apps, but I've got some ideas that would require a more powerful language.

Which direction would you point the self-learner to start?
Spring Water is offline  
Old 11-17-10, 10:34 AM
  #250  
Genetics have failed me
 
Scummer's Avatar
 
Join Date: Jun 2007
Location: Zorneding, Germany
Posts: 3,057

Bikes: Norwid Aaland, Radon Slide 140, Elom 505 Titan, Dahon mju, Pedalforce CX1, Battaglin Power+, Old MTB and lots of spare parts

Liked 15 Times in 6 Posts
Scary, when I actually understood what they were talking about the "virus" that supposedly infected the Iranian uranium enrichment. I've programmed in SIMATIC Step5 for a few years before they switched to a C like Step 7. In my case controls for hydro power plants, so I had nothing to do with the Iranians.
__________________
Gelato aficionado.
Scummer is offline  

Thread Tools
Search this Thread

Contact Us - Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service - Your Privacy Choices -

Copyright © 2024 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.