25,749 reputation
664111
bio website bcastell.com
location Toronto, Canada
age
visits member for 5 years, 5 months
seen 51 mins ago

I'm currently a graduate student with a B.E.Sc in Electrical Engineering, working towards a M.E.Sc in Robotics & Control Systems. My research involves implementation of computer vision algorithms, in parallel and in hardware, for real-time robotics. In my studies, I focused mostly on computer architectures, embedded systems, image processing, and parallel processing/GPGPU. For now, I'm just enjoying school, updating my website when I can, working on various projects (like PySceneDetect), slaving away on my thesis/research, and of course, contributing to Stack Exchange!

If you should need to contact me directly, leave a comment on this page and I will e-mail you back.

(Extensive) Experienced with Linux / Windows, assembly (x86 & m68k), C/C++, Python, VBA, C#, MATLAB, SDL, GTK+ / Glade, Qt, OpenGL, OpenCV, CUDA, SQL, SQLAlchemy, OpenCL, and VHDL / Verilog.


Jan
16
comment Windows 10 Tech Preview error: “Windows cannot be installed on MBR disks”. My hard drive is GPT. Why am I getting this error?
On most new laptops with UEFI I've tried, I've had a lot of trouble installing Windows off of a USB key - I've had luck by copying the install files to the HDD itself and then launching setup again from there, or by using a DVD, however.
Jan
6
comment How to install Xibo Client on Raspberry Pi Model B?
We can help you if you provide us more information... The output after running the script with the error message would be particularly useful.
Dec
28
comment How to lock a file in Windows?
Nice answer. For the curious, here's the MSDN link to the File::Open method detailing the parameters of the call (specifically, the last argument, 'None', declines sharing the file with any other threads/processes - and likewise, provisions exist to lock the file for read/write only, or a combination thereof).
Dec
28
comment Optimal location of pagefile on a system with two SSDs, with system drive faster than secondary drive
@cybernard has the right idea. If it ever gets to the point where you're paging out to disk, the system is going to be as slow as a turtle, regardless if your pagefile is on an SSD or an HDD. Yes the SSD is faster than the HDD, but both are orders of magnitude slower than RAM to begin with, and given the finite lifespan of current SSD technology, I'd avoid the unnecessary writes-to-disk and instead use the HDD. Put another way, if you're paging to disk, making the pagefile slightly faster is not going to help - getting more RAM will.
Dec
28
comment Will buying a higher output PSU help make my GPU run cooler?
Related: Is it ok to run a system with a PSU that idles at only 10% of its capacity?
Dec
16
comment How to install libav-tools in centos 6
From the error log, you need to install an assembler (e.g. yasm), or compile with the --disable-asm flag.
Dec
10
comment What is the difference between GDDR3 and DDR3?
The actual GDDR3 spec is based off the DDR3 memory specification, but there are indeed changes to make the memory more suitable for a hardware device as opposed to being part of the system memory (e.g. hardware reset capability, increased ability to dissipate heat, as the memory is fixed/soldered and not removable). The Samsung catalog for a surface-mounted GDDR3 module covers a good number of these differences.
Dec
9
comment What is the value of MD5 checksums if the MD5 hash itself could potentially also have been manipulated?
I like this answer because it highlights a fundamental part of a checksum - it's simply one metric, of many, to check the validity of a file's contents. If the network itself is untrusted, it's not that unfeasible to imagine one replacing the MD5-hashes and patching binaries on the fly (as we've already seen on some Tor exit nodes)... Of course then, MD5 provides no protection against deliberately modified files because you're already placing your trust in the provider of said files to begin with.
Dec
8
comment How to find the executable files under a certain directory in linux?
What about using the standard file command?
Nov
29
comment Does JVM depend on the architecture of the processor?
That's for standardized x86/64 machines, yes, but you can download the JVM from Oracle for ARM processors.
Nov
12
comment What does CPU usage for a process actually mean
@JamieHanrahan and on some systems (e.g. embedded microcontrollers) the "Hello world" program is something like "flash this LED over and over". Programs run on a variety of processors and systems; infact, the C language has provisions for systems without any input or display. The goal of an OS is to provide unified access to hardware for a wide variety of different programs with different purposes, and/or to allow for easier multitasking. Of course a "Hello world" program on a high-level OS requires more process code, as you do need a way to interact with the display, now...
Nov
9
comment Can't click start button
Have you tried using a different mouse?
Nov
7
comment Can I Upgrade a CPU from Intel Core i3-2350m 2nd Gen to core i5-2450m 2nd Gen?
@Vaibhav so long as you can obtain it in the PGA socket, that processor should work. Note, however, that the PGA-version of the i7 2620M has a lower max. temperature of 85C (versus 100C for the i3 and i5 models you've mentioned). With similar clock speeds, unless you require the larger cache in the i7, I would probably stick with the more inexpensive i5.
Nov
5
comment Outlook spelling/proofing language / dictionary issue
You can also add/modify system languages via Control Panel -> Region & Language if you've hidden the language bar.
Nov
5
comment Restart-Computer and hold script
@Jente you have a way to restart your script, or continue it from after the reboot line? Either way, maybe it's better to just separate the two into different files/scripts.
Nov
5
comment After tea spill (unsweetened), 2 keys are mixed up (but working)
Sometimes you can find replacement parts fairly cheap ($16 replacement for you), but so long as you've removed all the water you can there shouldn't be any issues. I'm not familiar with ASUS keyboards, but if the keys are glued instead of on hinges than yes I would avoid removing them, and wait it out (or see if you can just find a new keyboard, and swap it yourself).
Oct
1
comment How to get the current column name in Excel?
@krystanhonour use the last formula from my answer in that case... However, this will not work with two-letter columns. In that case, you need the following formula to properly parse two-letter columns:
Sep
10
comment Before Operating systems, What concept was used to make them work?
Think of code running on a microcontroller. It doesn't run in an operating system, but it's C-code that compiles down to machine code, and is run on a real, physical device (after this machine code is "flashed" to the firmware). Operating systems just facilitate having multiple programs interact at the same time with all the parts of the computer by using the concepts of resource sharing and process scheduling. Likewise, you can also use an operating system on that little microcontroller - if you need it.
Sep
10
comment Before Operating systems, What concept was used to make them work?
Related: What does CPU usage for a process actually mean?
Sep
10
comment do I get half the CPU speed for a single thread if HT is turned on?
possible duplicate of Hyperthreading Calculating Load, How does Windows processor affinity work with hyperthreaded CPUs?, or What are threads, and what do they do in the processor?