24,544 reputation
561105
bio website bcastell.com
location Toronto, Canada
age
visits member for 4 years, 11 months
seen 4 hours 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.


Jul
19
comment i3-2350M at 2.30 GHz vs i7-3517U at 3 GHz
possible duplicate of Is the cache size or number of cores more important when weighing CPU performance?, Is a higher core count or higher clock speed more beneficial to a computer's performance?, or CPU Cores: The more the better?.
Jul
19
comment How can I stream audio signals from various devices/computers to my home server?
For anyone with a Raspberry Pi, Pi MusicBox seems the way to go to accomplish this. I was hoping for something a bit more generic as that is only for the Raspberry Pi, but is a worth-while mention nonetheless.
Jul
12
comment How do I know if an optical drive is able to read CAV written DVD?
Outside of Laserdiscs and hard drives (which are specific to a particular manufacturer/device anyways), yes you can read any CD in any CD drive and any DVD in any DVD drive. One issue with older DVD hardware was compatibility between DVD-R and DVD+R media, which may be a related issue in this case.
Jul
12
comment Why are we still using CPUs instead of GPUs?
@vartec as a seasoned CUDA developer, I think that may be the most accurate analogy I have ever seen, hands down. I'm saving that one :)
Jul
12
comment How do I know if an optical drive is able to read CAV written DVD?
@user2284570 and the beauty of digital data is that, it doesn't matter how you write the 0's and 1's to the disc, or how fast you do it - it only matters that those exact 0's and 1's get written to the disc. At that point, it is simply a DVD which can be decoded by any DVD reader - regardless of the speed regulation method that particular drive uses.
Jul
12
comment Is there way to enable more than 4 GB RAM in 32-bit Windows OS?
@user2284570 it clearly says in my answer that what I wrote is specific to Windows 7, just like the OS this question is about to begin with...
Jul
10
comment unable to read /dev/sda: Input/output error
Make a backup with dd ASAP, and get a new physical drive - your current one is definitely toast. You can restore the image to the new drive, and then attempt to recover your data on the new drive. Do not even attempt to mount the old one, just make a raw clone.
Jul
8
comment Adding together values from multiple spreadsheets (VBA)
There are plenty of existing Python modules that can work directly with XLS and XLSX files, as well as a newer module called OpenPyXL.
Jul
3
comment How can I delete over 2,000,000 files in a single directory efficiently?
possible duplicate of Deleting large amount of files in Windows is slow
Jul
3
comment How can I delete over 2,000,000 files in a single directory efficiently?
What about using rmdir? The command rmdir /s [FOLDER TO DELETE] should do the trick.
Jul
2
comment unable to read /dev/sda: Input/output error
A sector check should be done for the entire drive, as any bad sectors on the drive is bad news. Again, check the SMART status of the drive in addition to performing a sector check (chkdsk /R is a quick way to do it in Windows). In general though, if you're getting read/write errors with a drive, make a backup and get ready for any possibility :3
Jul
1
comment How to tell which parts of a binary file are changing
Possible duplicate of Binary Diff Tools On Windows or How do I compare binary files in Linux?
Jul
1
comment How to choose if you want to close the command prompt window or not running a .exe or .bat file?
To do this programmatically, you need to check whether or not you are running the program in a debugger (in the latter, sometimes the console window is displayed). You can simply add a prompt when your program finishes telling the user to "Press any key to exit." and then simply close your program after the user enters anything.
Jul
1
comment Why MIPS CPU has 32 Register?
Possible duplicate of these questions on Stack Overflow: Why 16 Registers is ideal number of registers in CPU ARM Architecture? (the answer covers MIPS, not ARM) and If registers are so blazingly fast, why don't we have more of them?.
Jul
1
comment Changing the size of a FAT32 partition?
A FAT32 partition can be resized non-destructively. Depending on how full the partition is, some data might have to be physically moved within the new partition boundary when shrinking it. If a given software tool does not support this operation, it's not uncommon for that tool to then exclaim "Cannot Resize FAT32 Partitions" which, although technically possible, is simply not supported by that one particular application.
Jul
1
comment installing windows in gpt partition style
From The Windows and GPT FAQ, "Q: Can Windows 7, Windows Vista, and Windows Server 2008 read, write, and boot from GPT disks? A: Yes, all versions can use GPT partitioned disks for data. Booting is only supported for 64-bit editions on UEFI-based systems."
Jun
30
comment unable to read /dev/sda: Input/output error
Awesome, thank you for following up (just wanted to rule out SSD wearing or full partitions). Good luck with badblocks, and remember to make a backup of the drive with dd as soon as you can! Keep us posted with the result.
Jun
30
comment Windows 7 Tray Icons Invisible
@TheAdamGaskins that little pop-up window represents any "hidden" tray icons (hidden meaning not immediately visible from the task bar without clicking the little pop-up arrow); in the past, by disabling this feature, then re-enabling it, any invisible/unusable icons that were 'stuck' went away. I'm not on Windows at the moment, but all you have to do is click Customize... and set Windows to Show All Icons or something like that (I can't remember the setting name, but when configured, all icons should appear on the taskbar - sans the "invisible" ones, now).
Jun
30
comment Audio flicking at back port
Does the menu itself keep flickering when the volume is under 60%?
Jun
30
comment Audio flicking at back port
It seems like the "flickering" is the sound card rapidly detecting you inserting/removing an output device from your front audio port (the "headphone" jack). Try leaving a device stuck in the front port. Does this "flickering" between devices still occur when you set the system output level below 60% as you've said, or does that only resolve the audible flicker? As a quick solution, you might want to investigate forcing a particular output channel for your system's audio (i.e. disabling automatic detection when plugging a pair of headphones/speakers in).