Search found 65 matches

by transient
Thu Jun 30, 2011 3:30 am UTC
Forum: Coding
Topic: Java - Images and Memory
Replies: 6
Views: 1864

Re: Java - Images and Memory

Just to make sure, are you loading each image only once? How many images are you talking about?
by transient
Tue Jun 14, 2011 4:48 am UTC
Forum: Hardware
Topic: Laptop Recommendation
Replies: 18
Views: 2956

Re: Laptop Recommendation

I just picked up a Lenovo w520 and I love it. It has an awesome keyboard (plus great build quality), has a 15.6" screen size, runs Linux great, and has amazing battery life. It plays modern games at good settings (ie, you can play Mass Effect 2 at maximum settings, however relevant that may be ...
by transient
Sat May 28, 2011 8:44 pm UTC
Forum: Hardware
Topic: GC upgrade
Replies: 12
Views: 1807

Re: GC upgrade

Out of curiosity, what college are you going to that requires you to get that laptop?

I just bought a w520 as well; how much did you pay?
by transient
Fri May 27, 2011 5:41 am UTC
Forum: School
Topic: College Application Essay
Replies: 7
Views: 3409

Re: College Application Essay

I'm entering college next year, and I did some research on this too. (I am in no way dissatisfied with my performance). Remember, at the top colleges this is a game. You lose some rounds and win some others. It's sick, but it's the way it is. The quality of essay required will obviously vary on the ...
by transient
Mon May 23, 2011 8:53 pm UTC
Forum: Hardware
Topic: New Laptop Recommendations
Replies: 29
Views: 8440

Re: New Laptop Recommendations

As a note, a sales rep told me that the processor was soldered onto the motherboard for the w520. So I guess no upgrading that in a couple of years. Does this look fine for additional memory? http://www.newegg.com/Product/Product.aspx?Item=N82E16820145283 I'm also looking for a mSATA SSD drive (turn...
by transient
Mon May 23, 2011 5:45 am UTC
Forum: Hardware
Topic: New Laptop Recommendations
Replies: 29
Views: 8440

Re: New Laptop Recommendations

RAM - 4GB is just fine for now, but you'll probably want to upgrade sometime down the line. Depending on the price difference, I'd go for a single 4GB stick, buy another 4GB stick from Newegg or similar, and then buy another 8GB in the future if I ever felt the need for more. Otherwise, it looks li...
by transient
Mon May 23, 2011 1:33 am UTC
Forum: Hardware
Topic: New Laptop Recommendations
Replies: 29
Views: 8440

Re: New Laptop Recommendations

So, as of now, I'm going to go with the Lenovo w520. I have a few questions about configuration though: Looks like you can't have two hdds + a dvd drive. Shucks. I'll probably upgrade to a SSD in the future when 300+ gigs isn't absurdly expensive. The system is currently configured for 4 gigs of mem...
by transient
Sun May 15, 2011 11:16 pm UTC
Forum: Coding
Topic: Any OpenGL 3.0 tutorials out there?
Replies: 6
Views: 1254

Re: Any OpenGL 3.0 tutorials out there?

I saw this via reddit and it looked interesting; I know I'm planning on reading it.

Googling "modern opengl programming" also turned up some interesting results (other forum posts, etc).
by transient
Thu May 05, 2011 12:55 pm UTC
Forum: Hardware
Topic: New Headphone Recommendations
Replies: 17
Views: 2545

Re: New Headphone Recommendations

Thanks for all the recommendations. I researched the HD280's on my own as well, and really liked what I was reading -- so I ordered them. Yea, I know my budget was too high. I wasn't expecting to pay that much but I wanted to give an upper-bound of what is affordable. Thanks for all the help; I real...
by transient
Wed May 04, 2011 9:51 pm UTC
Forum: Hardware
Topic: New Laptop Recommendations
Replies: 29
Views: 8440

Re: New Laptop Recommendations

So I just noticed that the Dell M4600 and HP 8560W have numeric keypads and that their trackpads are to the left of center. The Lenovo W520 does not have a keypad and the trackpad is in the center. I rarely use the numeric keypad and do not see a reason to have one if it detracts from the type exper...
by transient
Fri Apr 29, 2011 2:50 am UTC
Forum: Coding
Topic: Finding references for writing a virtual machine (eg, JVM)
Replies: 4
Views: 1570

Finding references for writing a virtual machine (eg, JVM)

I have been searching for some good references on how to implement a virtual machine, such as the JVM (but not nearly as complex), but have been unable to find them. I am interested in a register-based vm (such as Lua's) versus a stack-based, however. Besides reading source code, do any of you know ...
by transient
Tue Apr 26, 2011 2:07 am UTC
Forum: Hardware
Topic: New Headphone Recommendations
Replies: 17
Views: 2545

New Headphone Recommendations

I'm going to be heading off to college next year and am in the market for some new headphones. I know very little about this, and I hope that I posted in the correct category, or if a completely different forum would be more appropriate. Sorry! Here's what I'm looking for ⋅ Over the ear &s...
by transient
Thu Apr 21, 2011 2:58 am UTC
Forum: Hardware
Topic: New Laptop Recommendations
Replies: 29
Views: 8440

Re: New Laptop Recommendations

I noticed that most of the recommend laptops (Dell M4600, HP 8560W, Lenovo W520, Sony Vaio C series) are mobile workstations. Is there a reason laptops more oriented towards, say, gaming, were not recommended? Are there any other laptops I should look into? Any ideas on the release dates of the M460...
by transient
Tue Apr 19, 2011 9:27 pm UTC
Forum: Hardware
Topic: New Laptop Recommendations
Replies: 29
Views: 8440

Re: New Laptop Recommendations

If no one thinks it will be an issue, then it's not an issue. Just raising a potential concern. :P I try to be gentle, but I will be in college, so I imagine it's going to get banged up a bit more than, say, in a home / business environment. I stumbled across a Lenovo ad for the W520 and they mentio...
by transient
Tue Apr 19, 2011 8:27 pm UTC
Forum: Hardware
Topic: New Laptop Recommendations
Replies: 29
Views: 8440

Re: New Laptop Recommendations

Is replacing the processor half way through the life cycle of the laptop a good idea? At that point, wouldn't the monitor hinge, the keyboard, etc, all be starting to wear down? Is there any reason to not buy the laptop in the next couple of weeks, instead of in the next couple months (excluding wai...
by transient
Mon Apr 18, 2011 11:55 pm UTC
Forum: Hardware
Topic: New Laptop Recommendations
Replies: 29
Views: 8440

New Laptop Recommendations

I'm going to be purchasing a new high-end laptop soon. I'm going to be doing some research on my own, but was wondering if you had any suggestions. It's going to be used for college (I will be an undergraduate next year) as a C.S. major. I've never really had a laptop (except for a refurbished one f...
by transient
Mon Apr 04, 2011 4:38 am UTC
Forum: Coding
Topic: What can I do with coding skills?
Replies: 25
Views: 13129

Re: What can I do with coding skills?

Computer science applies to, essentially, every other field of study. Seriously. Google "[field you are interested in] computer science" and you'll probably get something interesting. The cool thing about computer science / programming is that it's an extremely powerful creative tool. It's...
by transient
Sun Apr 03, 2011 8:02 pm UTC
Forum: Coding
Topic: Programming Language or theory based on signals
Replies: 9
Views: 1645

Re: Programming Language or theory based on signals

JavaScript is almost entirely event-driven, since (traditionally) most JS has been used in the browser. NodeJS is event-driven JS for the server/general purpose JS use, though. I've used patterns almost identical to the Lua you posted to do things in JS with websockets (doing an observer-pattern-li...
by transient
Sun Apr 03, 2011 3:42 pm UTC
Forum: Coding
Topic: Programming Language or theory based on signals
Replies: 9
Views: 1645

Re: Programming Language or theory based on signals

Wikipedia knows about signal programming and says it "is similar to event-driven programming ". Is that what you're looking for? If not, can you explain how your idea differs? Yes, the Wikipedia article on signal programming is essentially what I mean. I may have not made this clear, but ...
by transient
Sun Apr 03, 2011 5:46 am UTC
Forum: Coding
Topic: Programming Language or theory based on signals
Replies: 9
Views: 1645

Programming Language or theory based on signals

I tried googling around for this for awhile, but didn't get anywhere. Anyone here know of a programming language based upon signals, or any theory behind it? Here's a rough implementation of the idea in Lua (untested code). _callbacks = {} -- _callbacks is a 'dictionary' or a 'map' function newsigna...
by transient
Sun Mar 06, 2011 2:04 am UTC
Forum: Coding
Topic: WebGL and Deferred Shading
Replies: 0
Views: 1736

WebGL and Deferred Shading

I'm somewhat unexperienced in (Web)GL, but the spec appears to lack support for multiple render targets. I'm curious about deferred shading and would like to implement it in WebGL. When I have looked at tutorials for deferred shading, they have used MRTs to create the g-buffer. The solution I though...
by transient
Tue Nov 02, 2010 12:03 am UTC
Forum: Mathematics
Topic: LaTeX Lists: Indentation
Replies: 2
Views: 1617

LaTeX Lists: Indentation

I think this is the right board, sorry if not. I'm trying to learn LaTeX, but lists keep on giving me issues when used inside of a section. Namely, this code shows the relevant formatting issues: \documentclass{article} \usepackage{mathtools} \begin{document} \section{A section} Alpha \begin{itemize...
by transient
Tue Aug 31, 2010 8:40 pm UTC
Forum: The Help Desk
Topic: Internet Troubles
Replies: 2
Views: 641

Internet Troubles

So, I have a sorta-funky internet problem, and I don't know enough terminology to do proper searches on it. I'll give you an example of the problem. I go to speedtest.net, click a nearby server, and get a 65ms ping. It then takes about 15-30 seconds for the download to start, and I proceed to get 2m...
by transient
Tue Aug 17, 2010 5:07 am UTC
Forum: Coding
Topic: C++ Casting
Replies: 13
Views: 3177

Re: C++ Casting

You should still prefer C++ style casts. C-style casts are not equivalent to reinterpret_cast. C-style casts will happily cast away const-ness (which very easily leads to undefined behaviour), whereas reinterpret_cast does not. Ah, I didn't realize this. I was wrong, then. My bad. Please ignore my ...
by transient
Mon Aug 16, 2010 11:37 pm UTC
Forum: Coding
Topic: C++ Casting
Replies: 13
Views: 3177

Re: C++ Casting

Why are you using void* in the first place? I'm going to take this further and ask: why you are even using pointers in C++ in the first place? They are largely there for compatibility with C. Passing by reference is preferable in (almost) every situation, and if for some reason you need to use 'new...
by transient
Sun Aug 15, 2010 10:03 pm UTC
Forum: Coding
Topic: C++ Casting
Replies: 13
Views: 3177

C++ Casting

It's been awhile since I've coded in C++, but this keeps on tripping me up. (void*)std::basic_string<char>("hello"); throws invalid cast from type ‘std::basic_string<char>’ to type ‘void*’ on g++, and honestly, I have no idea why. Googling didn't seem to pull up anything relevant, either. ...
by transient
Thu Jul 29, 2010 8:08 pm UTC
Forum: Coding
Topic: Haskell: Working with data type constructors
Replies: 2
Views: 938

Haskell: Working with data type constructors

Given this Haskell data type, data Foo = A Int | B Int | C Int | D Int | E Int | ... is there a better way to write this function (without using record syntax)? foo :: Foo -> Int foo (A v) = v foo (B v) = v foo (C v) = v foo (D v) = v foo (E v) = v ... Thanks.
by transient
Wed Jul 21, 2010 10:29 pm UTC
Forum: Coding
Topic: Problem with OpenGL in Visual C++ 2008 Express Edition
Replies: 13
Views: 3146

Re: Problem with OpenGL in Visual C++ 2008 Express Edition

Hmm, perhaps for VS you downloaded the wrong SDL dlls? Codeblocks can't find the SDL libraries (it sees the sdl function headers, but can't find their definition -- aka no dlls / libraries). If you want to try and understand the build system a little bit better, compile a program with gcc that requi...
by transient
Mon Jul 19, 2010 4:11 pm UTC
Forum: Coding
Topic: Problem with OpenGL in Visual C++ 2008 Express Edition
Replies: 13
Views: 3146

Re: Problem with OpenGL in Visual C++ 2008 Express Edition

There are two good ones for OpenGL that I can think of from the top of my head; http://www.lighthouse3d.com/opengl/tutorials.shtml and http://www.videotutorialsrock.com/ . If you are completely new to graphics programming, I would recommend learning SDL and then OpenGL ( http://www.lazyfoo.net ). Ad...
by transient
Sun Jul 18, 2010 10:49 pm UTC
Forum: Coding
Topic: Problem with OpenGL in Visual C++ 2008 Express Edition
Replies: 13
Views: 3146

Re: Problem with OpenGL in Visual C++ 2008 Express Edition

I've always been told to stay away from nehe, and whenever I've looked at some of the tutorials I've never been impressed. As for setting up opengl with vs2008, check out http://thoughtsfrommylife.com/article-748-OpenGL_and_Visual_Studio_Express_2008 (Also, you need to update the include search path...
by transient
Mon Jul 12, 2010 3:34 am UTC
Forum: School
Topic: Computer Science Colleges
Replies: 4
Views: 1274

Computer Science Colleges

I'm applying to college in a couple of months, and I have a list of colleges to apply to filled with quite a few of the "top" universities -- Stanford, MIT, Carnegie Mellon, etc. I've been reflecting some; do really want to go to one of these colleges for undergrad computer science? In ter...
by transient
Fri May 07, 2010 2:03 am UTC
Forum: Computer Science
Topic: Mapping functions to data
Replies: 18
Views: 1720

Re: Mapping functions to data

Ha, lossless compression is actually what this is aimed at. :P This question just crossed my mind; does the fact that this data set will have literally hundreds of repeat values aid in the generation of a function of a smaller order? Also, I'm going to be really looking into the dictionary / look-up...
by transient
Thu May 06, 2010 9:30 pm UTC
Forum: Computer Science
Topic: Mapping functions to data
Replies: 18
Views: 1720

Re: Mapping functions to data

Problem is, I do care about order. Sorry if I was being ambigious earlier about the data set, didn't mean to be. But you are correct on the "data sets." By that, I mean given set (1,3,6,32,6,73) f(0) = 1 f(1) = 3 f(2) = 6 f(3) = 32 f(4) = 6 f(5) = 73 I was talking to a friend about this an...
by transient
Thu May 06, 2010 11:26 am UTC
Forum: Computer Science
Topic: Mapping functions to data
Replies: 18
Views: 1720

Re: Mapping functions to data

The identity function would work for some of the domain, but not all of it (and hence, the problem arsies again :().

Oh, every value in the domain is an integer.


Thanks.
by transient
Thu May 06, 2010 2:55 am UTC
Forum: Computer Science
Topic: Mapping functions to data
Replies: 18
Views: 1720

Re: Mapping functions to data

One dimensional, with an arbitrary upper limit (say 255, inclusive) and lower limit (say 0, inclusive).
by transient
Thu May 06, 2010 2:07 am UTC
Forum: Computer Science
Topic: Mapping functions to data
Replies: 18
Views: 1720

Mapping functions to data

Hey, I'm trying to figure out a way to create a function, f(x), that is generated from a set of data points, d . Multiple functions could be used to represent d , so long as d can be regenerated (perfectly) from these functions. If you know of any documents or anything like that, please refer them. ...
by transient
Fri Apr 02, 2010 4:39 pm UTC
Forum: Coding
Topic: Linux C++ IDE Recommendations
Replies: 30
Views: 5260

Re: Linux C++ IDE Recommendations

I'm not completely sure about "NetBeans-ish like highlighting", but Eclipse has a C++ "mode / plugin" that works very well. In fact, the only thing that I like in Visual Studio over Eclipse is the debugger. (Both VS2010 and Eclipse have "pre-compile" error detection).
by transient
Tue Feb 23, 2010 2:34 am UTC
Forum: Coding
Topic: Mob2D: Free Fast 2D OpenGL Library
Replies: 15
Views: 3439

Re: Independent OpenGL Student Project: Code Review Requested

I have a similar project going at https://code.google.com/p/vessel-engine/source/browse/ . Perhaps we could work together? Just as a note, but when I was reviewing your source it seemed somewhat garbled. By that, I mean you have header files that are empty (eg, DARSLog.h); furthermore, the actual cl...
by transient
Fri Feb 12, 2010 2:49 am UTC
Forum: Coding
Topic: C++ Inheritance Type Safety
Replies: 15
Views: 1827

Re: C++ Inheritance Type Safety

I'm assuming you must know the type you want to load in advance. Yes, I would know the type I want to load in advance. In essence, are you saying that preventing the user from accessing / being forced to use the "fundamental data types" is a bad idea? Because by separating the DataManager...
by transient
Fri Feb 12, 2010 1:37 am UTC
Forum: Coding
Topic: C++ Inheritance Type Safety
Replies: 15
Views: 1827

Re: C++ Inheritance Type Safety

Sorry, I mistyped and meant dynamic cast. That could cause quite a problem. :P Also, in a sense, I am breaking up the data. The actual loading of resources is handled in other classes (eg, Texture, Font, etc). All the DataManager is doing is wrapping these objects into one cohesive interface. Breaki...

Go to advanced search