Search found 177 matches

by LikwidCirkel
Fri Oct 19, 2012 12:38 am UTC
Forum: Computer Science
Topic: Thread Question
Replies: 12
Views: 3396

Re: Thread Question

This is all true, and the solution for smoothness is to use timer objects in addition multiple buffers as described by WanderingLinguist here. Timer objects will wake at regular intervals. This explains it pretty well I think. Check out the example code too. http://gpsnippets.blogspot.ca/2010/10/how...
by LikwidCirkel
Thu Oct 18, 2012 2:20 pm UTC
Forum: Computer Science
Topic: Thread Question
Replies: 12
Views: 3396

Re: Thread Question

I'm going to have an online mode for my game and at the moment I create a thread for each connecting client. I can't figure out any other way to do it because if I don't make threads the server locks up while waiting for a connection. How do you deal with that? Do you set a timer for each read? Do ...
by LikwidCirkel
Wed Oct 17, 2012 3:54 pm UTC
Forum: Computer Science
Topic: Thread Question
Replies: 12
Views: 3396

Re: Thread Question

Some thread implementations have a ton of scheduling and memory overhead, so it's generally best to not use more than available execution cores if you have limited computing resources. Use a thread pool or event-driven I/O or some other kind of construct to reduce overhead. I have to admit, one of m...
by LikwidCirkel
Tue Oct 16, 2012 6:41 pm UTC
Forum: The Help Desk
Topic: Storing tons of data
Replies: 7
Views: 2302

Re: Storing tons of data

I'm worried about hardware RAID solutions. If the bay hardware dies, will I still be able to retrieve the data? I would rather set up any hardware in as JBOD and use a software redundancy solution. That way I can just go to another computer with the disks if any other hardware dies. This is a legit...
by LikwidCirkel
Mon Oct 15, 2012 5:23 pm UTC
Forum: The Help Desk
Topic: Storing tons of data
Replies: 7
Views: 2302

Re: Storing tons of data

I've worked a bunch with raw audio and video, and can totally relate to this. I'd suggest looking into external 8-bay (or more) eSATA RAID enclosures. I find they're more cost-effective than finding motherboards and PCIe cards to host a whole bunch of drives on the same system. The enclosure will of...
by LikwidCirkel
Fri Sep 28, 2012 3:59 pm UTC
Forum: The Help Desk
Topic: Speakers buzzing/cutting out every few seconds
Replies: 3
Views: 1999

Re: Speakers buzzing/cutting out every few seconds

Audio outputs on some low-end motherboards (or badly designed hi-end ones) have incredibly poor noise isolation, and sometimes you just have to deal with it or use some other audio output. I had one where if I turned up the volume, I could hear different distinctive buzzing sounds for hard drive acc...
by LikwidCirkel
Fri Sep 21, 2012 3:29 pm UTC
Forum: General
Topic: Childfree
Replies: 142
Views: 111746

Re: Childfree

I'm pretty die-hard childfree. In my teenage years, I never really put much thought into it, because I did want companionship and figured that it might be hard to find a girl who didn't want kids. I met a girl when I was 22 and she was 20. We hit it off and she was pretty die hard childfree. She hel...
by LikwidCirkel
Sun Sep 16, 2012 4:27 pm UTC
Forum: Coding
Topic: Programming a music player
Replies: 7
Views: 6410

Re: Programming a music player

Making an audio player wouldn't be super hard. Video is a bit more challenging, and doing both at once introduces more even more complications. In any case, the very most basic thing any audio player does is: 1) open file 2) determine what kind of container format the file is and what codecs the con...
by LikwidCirkel
Wed Aug 29, 2012 4:32 pm UTC
Forum: School
Topic: Electrical Engineering Vs. Engineering Physics
Replies: 2
Views: 3861

Re: Electrical Engineering Vs. Engineering Physics

I attended both U of Alberta and Carleton University, and knew a number of students in both areas. Accredited engineering programs are pretty similar across the board in Canada though, so this should still be relevant. It all depends on what your strengths and interests are. Eng Phys at U of A take ...
by LikwidCirkel
Wed Aug 08, 2012 4:37 pm UTC
Forum: Hardware
Topic: Could a bad harddrive in RAID 1 slow down the other?
Replies: 3
Views: 4833

Re: Could a bad harddrive in RAID 1 slow down the other?

As far as I know, disconnecting a drive from a RAID should almost never speed up the system. With RAID 1, in theory at least, reads should take 0.5x time and writes should take about the same time when compared to a single drive. If one drive is behaving slow, it's possible, but I think that's prett...
by LikwidCirkel
Wed Aug 01, 2012 2:40 pm UTC
Forum: Hardware
Topic: Amplifier for a PC sound system
Replies: 4
Views: 3129

Re: Amplifier for a PC sound system

If your PC has a S/PDIF output, I would highly recommend getting an amp which supports this along with Dolby and DTS. It's a pretty standard feature nowadays, so I think amps should exist in your price range. It's also one of most trouble-free ways to get encoded surround sound working for movies - ...
by LikwidCirkel
Wed Aug 01, 2012 2:30 pm UTC
Forum: Computer Science
Topic: Does something like this exist?
Replies: 4
Views: 3147

Re: Does something like this exist?

I bet you could do some of this with QEMU with a bit of hacking. It's a pretty flexible tool with some very advanced features and isn't necessarily very beginner-friendly... but still works well!

It's commonly used as a base for profiling tools and emulators for embedded development.
by LikwidCirkel
Tue Jul 10, 2012 5:54 pm UTC
Forum: The Help Desk
Topic: Linux does not boot from my usb
Replies: 15
Views: 6454

Re: Linux does not boot from my usb

Do you have a USB hub connected? It doesn't matter if anything is actually connected to the hub. If so, unplug it.

I've seen this happen with several motherboards while trying to use uNetbootin.
by LikwidCirkel
Tue Jun 19, 2012 3:03 pm UTC
Forum: Religious Wars
Topic: Tablets - iPad vs. MS Surface vs. Asus Transformer Prime
Replies: 26
Views: 34099

Tablets - iPad vs. MS Surface vs. Asus Transformer Prime

With the announcement of the MS Surface with it's novel keyboard/cover, would you consider getting one? If you could choose between the MS Surface, an Asus Transformer Prime and an iPad, which would you take? I put the Asus Transformer Prime in the poll, because it's the closest Android thing to wha...
by LikwidCirkel
Tue Jun 19, 2012 2:07 pm UTC
Forum: Hardware
Topic: Looking for a controllable webcam with motors
Replies: 1
Views: 2632

Re: Looking for a controllable webcam with motors

I did a search for ya, expecting to find only extremely expensive professional gear. I found that there are cheap consumer camera controls as little as $150, which I think is pretty reasonable. Check here: http://www.trackercam.com/TCamWeb/index.htm Check out the "Logitech Quickcam Pro 9000&quo...
by LikwidCirkel
Thu May 31, 2012 3:12 pm UTC
Forum: The Help Desk
Topic: Where do you store your money?
Replies: 14
Views: 3397

Re: Where do you store your money?

First off, I think that the big Canadian banks fit on a spectrum. On one extreme you have great service, hours, and lots of banking options, but absolutely horrible rates. On the other end you have decent rates, and extremely limited service. I call Bank of Montreal the "granny bank", beca...
by LikwidCirkel
Thu May 24, 2012 5:42 pm UTC
Forum: Coding
Topic: Raspberry Pi
Replies: 13
Views: 6282

Re: Raspberry Pi

I don't really like the RP for media-related stuff. The mass storage I/Os are limited for that, as you'll always need an external NAS or USB drive of sorts - or use really big SD cards. If that's acceptable, then sure, it would make a decent very low-powered, always on server great for uTorrent or a...
by LikwidCirkel
Tue May 15, 2012 2:20 pm UTC
Forum: Computer Science
Topic: How does a computer monitor work, OS-side?
Replies: 19
Views: 7190

Re: How does a computer monitor work, OS-side?

Yes, Xanthir and Carnildo have got it. The hardware will have a dedicated DMA engine and related logic which transfers data in memory buffers to signals on the wire. VGA/DVI/HDMI/DisplayPort/Whatever interfaces ALL have similar timings where some 70-90% of the time is "active region" data ...
by LikwidCirkel
Thu May 10, 2012 5:07 pm UTC
Forum: Computer Science
Topic: How does a computer monitor work, OS-side?
Replies: 19
Views: 7190

Re: How does a computer monitor work, OS-side?

At the lowest software level, you end up with a couple sections of memory for a "frame buffer" which some dedicated hardware will transparently draw this memory region to the screen. This doesn't change whether you're using VGA/DVI/HDMI. The graphics hardware will deal with driving the act...
by LikwidCirkel
Thu Mar 08, 2012 5:04 pm UTC
Forum: Hardware
Topic: USB <-> Telephone Audio?
Replies: 19
Views: 10094

Re: USB <-> Telephone Audio?

As far as I know, pretty much any "fax modem" will do this, and it really becomes an issue of finding the right software.

There must still exist USB fax modems, although they might be pretty old tech.
by LikwidCirkel
Fri Mar 02, 2012 4:18 pm UTC
Forum: The Help Desk
Topic: Having problems with router
Replies: 14
Views: 2572

Re: Having problems with router

I once had a similar problem. I'm pretty damn sure it came down to the router crashing or dropping TCP connections because of limited memory for it's NAT tables. The only solution I found was to get a non-piece-of-shit router. I bought a cheap one and it worked much better. If your router is one of ...
by LikwidCirkel
Fri Mar 02, 2012 3:53 pm UTC
Forum: Hardware
Topic: How does an auto tach work?
Replies: 7
Views: 6792

Re: How does an auto tach work?

The schematic linked to by Great Justice is pretty much what I described. The 555 takes a waveform or pulse input and generates an output at the same frequency, but guarantees that the high time of the output pulses are constant. Duty cycle as a percent will increase with frequency, but duty cycle a...
by LikwidCirkel
Mon Feb 27, 2012 7:06 pm UTC
Forum: Hardware
Topic: I'm buying a new laptop and I'm requesting help
Replies: 12
Views: 5119

Re: I'm buying a new laptop and I'm requesting help

Since durability is your top priority, I encourage you not to buy an ultra-cheap machine. I don't trust the durability of anything less than $700 or so. Get a business class machine, and expect to pay $1000 or more for it. Dell and Lenovo business lines are vastly more reliable than cheap consumer s...
by LikwidCirkel
Mon Feb 27, 2012 6:57 pm UTC
Forum: Hardware
Topic: How does an auto tach work?
Replies: 7
Views: 6792

Re: How does an auto tach work?

As far as I know, each revolution will trigger a pulse of equal duty cycle using some kind of simple timer circuit. The output of this feeds to a very low pass filter - effectively a charging capacitor. This outputs the average voltage as a DC level, which will vary linearly with RPM, and can be use...
by LikwidCirkel
Tue Feb 14, 2012 9:16 pm UTC
Forum: The Help Desk
Topic: ssh with rsa keys weirdness
Replies: 3
Views: 1282

Re: ssh with rsa keys weirdness

No problem. I remember sshd being ultra picky about file permissions. I've always been able to solve problems quickly by increasing verbosity and checking the logs of sshd. You can seldom tell anything useful from the client, as the server simply hangs up on errors as it damn well should for securit...
by LikwidCirkel
Mon Feb 13, 2012 8:46 pm UTC
Forum: The Help Desk
Topic: ssh with rsa keys weirdness
Replies: 3
Views: 1282

Re: ssh with rsa keys weirdness

On the server, if you can, check /var/log/auth.log (or similar) for ssh login errors after a failed attempt. It it doesn't tell you much, you might have to change the logging level in your sshd_config file (usually at /etc/ssh/sshd_config). This should tell you right away if there is a bad key or ev...
by LikwidCirkel
Mon Feb 13, 2012 6:16 pm UTC
Forum: The Help Desk
Topic: Router Level Monitoring
Replies: 1
Views: 739

Re: Router Level Monitoring

Since it looks like you'd want to do this right on your router, as you want to log traffic from every computer on the LAN, a starting place would be to look into custom home-router firmware like OpenWRT or DD-WRT. I'd recommend OpenWRT myself, but it probably won't make much of a difference. From th...
by LikwidCirkel
Mon Feb 06, 2012 7:37 pm UTC
Forum: The Help Desk
Topic: Wiki software for Mac?
Replies: 9
Views: 6045

Re: Wiki software for Mac?

I'm a little bit confused by your requirements.

A Wiki with only one editor is by definition not a Wiki. Do you want some kind of markup, or revision control? Please elaborate.
by LikwidCirkel
Fri Feb 03, 2012 9:32 pm UTC
Forum: The Help Desk
Topic: Share a folder via ftp over LAN?
Replies: 2
Views: 1701

Re: Share a folder via ftp over LAN?

I host everything on a Linux fileserver at my place, and run Samba server for LAN access, and also webfs and sftp for public/private remote access from outside. Webfs is super super super useful for sending non-computer people large files! If you really can't use standard windows shares and Samba, y...
by LikwidCirkel
Tue Feb 02, 2010 1:32 am UTC
Forum: Hardware
Topic: iPad discussion
Replies: 72
Views: 8495

Re: iPad discussion

Don't take me too seriously.. I'm more or less just trying to see how people respond to certain slants. Ok, how about this? On the topic of viruses and malware avoidance, I hope we can all recognize that the end-user is very often the weak point of entry for an attack. Isn't it possible that the mor...
by LikwidCirkel
Mon Feb 01, 2010 8:07 pm UTC
Forum: Religious Wars
Topic: Linux's downfalls (IMO)
Replies: 19
Views: 5968

Re: Linux's downfalls (IMO)

I'm troubled by the notion that the OS's are so different. For every method of program distribution mentioned, there is an equivalent for the other system. The only difference is how common each method is. For example... Three types of programs, standalone, OS-supported install, or independent insta...
by LikwidCirkel
Mon Feb 01, 2010 6:26 pm UTC
Forum: Hardware
Topic: iPad discussion
Replies: 72
Views: 8495

Re: iPad discussion

I read a blog (I think on Slashdot) addressing the criticism and pointing out who the target market is, and I'm mostly inclined to agree. See.. for us nerds and people who are comfortable with desktop computers, the iPad might not have much to offer, but you probably aren't the target market. Where ...
by LikwidCirkel
Mon Feb 01, 2010 6:07 pm UTC
Forum: Coding
Topic: Is Java that bad?
Replies: 114
Views: 15784

Re: Is Java that bad?

What many students fail to realize is that the language of choice in most university courses is arbitrary and largely irrelevant. I bet the courses are named things like "data structures", "algorithms", "real-time systems" etc., and you'll rarely see courses with actual...
by LikwidCirkel
Mon Feb 01, 2010 5:40 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 0696: "Strip Games"
Replies: 250
Views: 63673

Re: "Strip Games" Discussion

Why not strip Scrabble? That and poker are the only "strip" games I've played - and I've probably played strip scrabble more than poker. There are actually quite a few hits for it too. We usually just have the lowest score of each round have to remove something. The problem is that it's le...
by LikwidCirkel
Sun Jan 31, 2010 2:10 am UTC
Forum: Coding
Topic: Bit Twidling HW problems.
Replies: 5
Views: 1251

Re: Bit Twidling HW problems.

Code: Select all

bool nonZero(int arg) { return ~(arg + (~0));}

I'm sure there are many more ways.

... edited to remove subtraction sign - replaced with - 1 with +(~0)
by LikwidCirkel
Mon Jan 25, 2010 6:31 pm UTC
Forum: Coding
Topic: Open source IDE for ARM7?
Replies: 1
Views: 463

Re: Open source IDE for ARM7?

I'd start here.

No, it's not a full IDE, but it's enough for many people to get started. The only IDE's that I'm really familiar with for such things are provided by OS-Vendors for OS-Specific development. Examples are VxWorks and QNX's custom Eclipse releases.
by LikwidCirkel
Mon Jan 25, 2010 6:18 pm UTC
Forum: Religious Wars
Topic: Apples vs Oranges
Replies: 94
Views: 60317

Re: Apples vs Oranges

Oranges, hands down.

They're more tasty, and also, I'm a little allergic to apples unless they're cooked.

I also consider oranges more convenient, because they don't need to be washed first.
by LikwidCirkel
Mon Jan 25, 2010 6:12 pm UTC
Forum: Coding
Topic: Unix buffer device
Replies: 7
Views: 881

Re: Unix buffer device

bi-directional 2 process/ 2 user pipes or FIFO's are easy to use. If you need something that's readable and writable by multiple users, I know of nothing that's quick and dirty. You could write a pretty simple program though. You might have to create multiple threads, and multiple FIFO nodes for dif...
by LikwidCirkel
Mon Jan 25, 2010 6:03 pm UTC
Forum: The Help Desk
Topic: KDE lovers :(
Replies: 19
Views: 1324

Re: KDE lovers :(

Someone please move this to religions wars. Myself, I don't hate KDE because it's buggy.. I never really noticed. I prefer Gnome because I like the way the <alt><F2> launcher auto-completes like bash, and I like the behaviour of dragging things around with a mouse (KDE asks for move/copy every singl...
by LikwidCirkel
Fri Jan 22, 2010 4:13 pm UTC
Forum: School
Topic: Dropping out
Replies: 15
Views: 1945

Re: Dropping out

In line with the others - yes, it is a very bad idea to drop out. Get your high school. I would never, ever encourage people to pursue post-secondary (do they even call it that in the USA?) if they're not "feeling" it, but high-school is a different thing, and you'll find yourself severely...

Go to advanced search