What he needs is not just whitelisting, but greylisting. If he sets up and asterisk server with a default pass through on his whitelist, everyone else gets a recorded message asking them to press a button before ringing through to the house, and he can even force to voice mail for his non-whitelisted numbers at unreasonable hours. If he 's really concerned about someone needing to call him in the middle of the night, he gives out a passcode that people he knows can use to bypass the menu even in the middle of the night.
I can explain this to you, but it will probably easier to use an analogy to get the point across.
We know that a listening device (in this case earphones) has a certain frequency response, and can introduce noise into the source. Some listening devices produce less noise, and have more accurate frequency responses. In terms of simple examples, think: (Speaker > Landline > Mobile > Tin-can phone) (I know, the phones have sound systems behind them that affect the sound, but you get my point.).
Well, you know what? This is also true of encoding audio in a lossy format. So, instead of thinking of the anti-aliasing, imagine that we are encoding into another format. In the case of the apple phones, think of the transitions as (Source -> 128k AAC -> 192k MP3 (The apple phones)) versus (Source -> 256k AAC -> 192k MP3 (The apple phones)). Since additional noise is being introduced into the system, it should be pretty obvious which comes from the higher quality source. If we imagine the Shure headphones as having a perfect response, it will be (Source -> 128k AAC -> FLAC) versus (Source -> 256k AAC -> FLAC). There is no additional noise added, so you have to discern entirely based on the difference between the two AAC files.
To get back to the issue of aliasing, aliasing is what happens when a signal of one frequency gets recorded in a medium without enough precision to record that frequency. The nyquist limit says that for any frequency, you need twice that frequency in recordings to be able to capture the frequency (so a 5Khz sound can be heard on a 10Khz recording) but that assumes that the recording is in phase with the sound, and so it's a little more complicated than that. In any case, you can think of aliasing as the "beat" between two different frequencies. For example, if you listen to a sound at 3000 Hz and one at 3100 Hz at the same time, you will hear a 100 Hz "beat" that is the difference between the two. However, if you listen to the 3000 Hz frequency, and then the 3100 Hz Frequency, you might not be able to tell the difference between the two. It's only when playing the two sounds together that you hear the beat (just like you won't notice aliasing unless you actually record it into another format.)
I agree with your point about American English not being the only game in town, but I think you are a bit misleading in the phrase I'm quoting just above. Not only do the United States have more people speaking English as their first language than any other country, but there are more people speaking English as their first language than all other countries combined. So, if you want to talk about native English speakers, than we get back to the U.S. being on top...
Final note: even in American English, the GGP is valid English, Microsoft can buy them out.
I've gotta say, each there is a story about working at Google, everyone seems to talk about how horrible the number of perks are because it must mean they expect you to work crazy hours, and I wonder how jaded we've become?
How about this as an idea, maybe the perks aren't meant to make people work crazy hours but instead just make good business sense?
Doctors on site? Makes sure sick employees get better, and helps prevent healthy employees from getting sick
20% Off-project time? I know that when I have a serious problem, it's usually solved by walking away from the issue at hand and focusing on something else, letting my brain solve it in the background. What's more, all those 20% projects become a great source for potential revenues.
Free food? By having their own cafeteria they can bring down costs, so it's less expensive than you might think for them, and they get the bonus of employees eating together, potentially discussing work, etc.
And on top of all of this, it makes their employees really happy, and gets them really good press!
I, for one, would be more than happy to talk to a recruiter at Google
<Offtopic>Ok, I won't go into how bad that French is...</Offtopic>
It's OVNI for Objets Volants Non-Identifié. But the reason I'm posting is that I wanted to point out that this has been released by CNES, which is kind of like NASA in France. Not quite, as it's more of an educational institution, but it's very similar nonetheless...
I remember an article I read on this I think back in the year 2000. The was a research scientist who built a standardized platform (That is to say, a specific PC case with a certain number of hard drive bays, and certain network cards) so that he could exchange data with other universities. They would fill up the data on the networked PC, and they could ship it to any of the participating projects, knowing that they'd get back the same hardware in return.
I remember at the time thinking it was just one of those smart little details that just make working together easier. It's not some great leap of genius, but enough of a well crafted idea that it could really help.
All those lovely cancer causing fumes, sure we don't release them because we turn them into building materiel.
But... What happens when your neighbor's house built of this stuff catches fire? Sure, it's not something that happens often on the time scale of an individual, but when you consider the number of buildings as a whole, buildings burning down happens pretty damn often...
They've got it completely wrong about competition. In this case, it's better that they have competition than not.
With the Newton, it was an entirely new device, so it was that much more difficult to spur adoption. Whereas now, everyone knows what a cellphone is, so they can look at the iPhone and just say, "That's like my phone, only better."
They did the exact same thing with the iPod. Digital music players weren't new when the iPod came out, it was just the first of it's kind in terms of design and functionality. Suddenly everyone said, "THAT'S the digital music player I wanted to buy." I suspect the same thing will happen with the iPhone.
If you take the producer/consumer metaphor of the semaphore, we consider a thread blocked as being a consumer, and a thread that does the signaling as a consumer. It's easy to imagine each consumer as wanting a resource, and so when multiple consumers want a resource, they each wait with the semaphore blocked at zero.
What happens if one thread wants multiple resources? They have to take resources one at a time until the available count is zero, and then continue waiting one at a time as resources come in. Assuming ten threads, nine waiting for one resource at a time, and the other waiting for ten resources, at each incoming resource, the heavy user will have a 1/10 chance of receiving a resource, needing almost 100 resources to be supplied before it can work. That's a possible interpretation, but not very fair for the larger user. The heavier the load, the worse the inbalance.
If however, we support negative semaphores (like with pthreads' semop system call), the heavy user will set the value of the semaphore to a negative value, and incoming resources will go to increasing the semaphore until it hits zero. At zero, the first incoming resource has an equal chance of being distributed among all of the waiting threads, meaning that in the above case, on a first come first serve system, only 19 resources are needed to satisfy all ten threads as opposed to the 100 or so resources necessary to give everyone a turn under the Win32 model.
Of course, you have to be careful of a heavy user starving the light users, but in pthreads, you have the choice between the two models (with IPC_NOWAIT in the semaphore flag). With Win32, I was forced to write a negative semaphore using a system semaphore and a system mutex (which itself could have been served if pthread condition variables existed on Win32!).
But, like I said above, Win32 pthreads doesn't have the ability to combine I/O and thread synchronization. The best you can do is go the other way, use a pipe as your synchronization primitive and combine that with the socket (as mentioned by someone else above), but that doesn't have some of the conveniences of synchronization primitives (for example, a semaphore has a resource limit, allowing duplicate signals to be effectively discarded.)
As my comment is mounting in score, I just realized that I said negative mutexes when I meant negative semaphores. Of course you can't have a negative mutex, a mutex is just for mutual exclusion. It's a semaphore that has a count associated with it.
It's not so cut and dry. I use a library I wrote to abstract away PThreads and Win32 Threads to give me a multi-platform interface, but I would say that each side has their upsides and downsides.
With pthreads, there's no way to combine socket i/o and thread notification. In Win32, I can have a thread waiting on both a socket and an event at the same time, allowing me to cleanly signal I/O blocked threads. This isn't the case with pthreads.
However, Win32 REALLY needs a way to handle negative mutexes (ie. taking more than one resource from a mutex at a time). I had to write my own, and it was a serious pain to make sure I didn't have any race conditions. All the articles I've seen on Win32 equivalents had race conditions, and that means that there means that there are probably developers trusting multi-threading primitives that they really shouldn't be./p>
It's easy to use, there are great demo's online, and it does everything, multi-platform support, interfacing with eCommerce engines, invoicing, orders, crm, etc...
For those who are interested, this is most likely the FramaKey distribution at http://www.framakey.org/En/Index (English link). There are two versions, a full version that includes OpenOffice, and a lite version with AbiWord. For those who understand French, their sister site FramaSoft is a great resource for finding best-of-breed open source software sorted by domain.
I've got to admit, I've got a relatively short uptime right now on Gentoo, only 98 days, 15:27. (There was a power outage due to a storm.) But in that time, I've upgraded versions of asterisk, postgresql, apache, squid, samba, PHP, and mythTV. I've also recompiled the system using a new compiler, and the only service downtime I had was when the recompile of PHP was finished, merging it in crashed Apache. Total downtime? Less than 15 minutes. Now this is a home server, and I wouldn't be nearly so aggressive on a production machine.
I've got a production Gentoo server running Xen (I use custom CFLAGS to remove thread local storage, which makes for a HUGE improvement for xen virtual machines.) I have duplicates of the production virtual servers which are upgraded while out of circulation, and when tested, they are placed into live circulation, and the live machines are pulled out of service.
While people can complain about being able to shoot their own feet with Gentoo, I've never seen someone take a Redhat server from 6.2 up to Fedora Core without having to completely reinstall.
"14 kilo-miles" (you guys should really switch to metric)
Look, I'm with you on switching to the metric thing. I'm an American living in France, and I think in metric already, but what kind of unit is that? What's the metric equivalent, megameters? As the French say, "N'importe quoi"...
The answer is a resounding yes! It is possible to dodge the the employment requirements if you are creating a company in France (even if it's just for self-employment). However, in order to do so, you have to demonstrate that you have a certain amount of money saved, and demonstrate the viability of your business. However, I don't know the specific details. Things are really busy at work right now, but if you send an email to france aerobase mayle point org, I'll try and direct you to a website with the details.
I recommend France to anyone looking to make the plunge. It's what I did, and you really can't beat it. Good food, beautiful women, nice people.
I think that the primary differences between France and the U.S. is that the citizens actively participate in their government. There are some things I'm not entirely happy about. Police here can ask you for ID on the streets (though it's never happened to me), and speech is limited in certain ways (hate speech is not protected speech).
In spite of this, though, there isn't the feeling of distrust that exists in the U.S. with regards to the government. Something that impressed me was back during the vote for the European constitution, a book that explained the version of the constitution being voted on jumped to number one on the bestseller list during the weeks/months preceding the vote. It made me proud to be living here.
For the French, the government is THEM, and everyone gets up and shouts when there is something they don't like, You may hear jokes about the French striking, because there is often some group in the news, whether it be the postal service, trains, air traffic controllers, on strike, but I think it's a healthy sign that not only are people working for change, but there's someone on the other side listening. Most strikes are resolved in less than a week, and life goes back to normal.
For Americans looking to make the plunge, you don't need to know any French to get started, if you want to work either in Paris, or in southern France near Nice (Sophia Antipolis is a huge office/science/tech park 20 minutes outside of Nice), but it's good manners to try. When I arrived, I didn't speak a word of French, and have since learned it well enough that I work entirely in French.
Also to note, you normally have to find a French company willing to hire you before you come if you are not a student. However, it's not too hard to find American or International companies who will hire you in the U.S. (pay you in dollars) to work in France.
If you want to date the locals, you will have to learn French. However, as long as your accent isn't too horrific, it's considered cute, and just as American women go gaga when French men say "enchanté" (nice to meet you, or literally enchanted), French women seem to go gaga over the phrase "my pleasure" when used to demur after having done something nice.
I'm not baiting you, just genuinely curious. For me, the point of using a Mac had nothing to do with the chip inside.
I'm a software developer, and on the Mac, I can simultaneously develop and test for Linux, Windows and Mac. It's the only computer that allows me to do that. Id addition, I like to play around a bit with x86 assembler, and I couldn't do that on a PowerPC (obviously)
That's why I just sold my computer to buy a Mac Mini.
That's why many of my friends have bought a Mac or have a desire to buy a Mac
Before, when they were on PowerPC, they had very little interest for me, but now that Macs are x86 machines, I intend to sell my Cobalt Qube to replace it with a Mini...
but... that can't be true, I'm not the first born in my family, and my older sister... frist post!!! GNAA!!! In Soviet Russia...
Oh wait, ok, I guess I can kind of see their point...
What he needs is not just whitelisting, but greylisting. If he sets up and asterisk server with a default pass through on his whitelist, everyone else gets a recorded message asking them to press a button before ringing through to the house, and he can even force to voice mail for his non-whitelisted numbers at unreasonable hours. If he 's really concerned about someone needing to call him in the middle of the night, he gives out a passcode that people he knows can use to bypass the menu even in the middle of the night.
But I thought that 1 Kilogram was a mass measurement defined relative to good old Aych Too Ohh.
As in, 1000 cubic centimeters at 1 atmosphere (how's that for mixing metric and imperial ;-) ) has a mass of one kilogram...
I can see the problems with that, as we're relying on a certain pressure, but I thought that was the base...
I can explain this to you, but it will probably easier to use an analogy to get the point across.
We know that a listening device (in this case earphones) has a certain frequency response, and can introduce noise into the source. Some listening devices produce less noise, and have more accurate frequency responses. In terms of simple examples, think: (Speaker > Landline > Mobile > Tin-can phone) (I know, the phones have sound systems behind them that affect the sound, but you get my point.).
Well, you know what? This is also true of encoding audio in a lossy format. So, instead of thinking of the anti-aliasing, imagine that we are encoding into another format. In the case of the apple phones, think of the transitions as (Source -> 128k AAC -> 192k MP3 (The apple phones)) versus (Source -> 256k AAC -> 192k MP3 (The apple phones)). Since additional noise is being introduced into the system, it should be pretty obvious which comes from the higher quality source. If we imagine the Shure headphones as having a perfect response, it will be (Source -> 128k AAC -> FLAC) versus (Source -> 256k AAC -> FLAC). There is no additional noise added, so you have to discern entirely based on the difference between the two AAC files.
To get back to the issue of aliasing, aliasing is what happens when a signal of one frequency gets recorded in a medium without enough precision to record that frequency. The nyquist limit says that for any frequency, you need twice that frequency in recordings to be able to capture the frequency (so a 5Khz sound can be heard on a 10Khz recording) but that assumes that the recording is in phase with the sound, and so it's a little more complicated than that. In any case, you can think of aliasing as the "beat" between two different frequencies. For example, if you listen to a sound at 3000 Hz and one at 3100 Hz at the same time, you will hear a 100 Hz "beat" that is the difference between the two. However, if you listen to the 3000 Hz frequency, and then the 3100 Hz Frequency, you might not be able to tell the difference between the two. It's only when playing the two sounds together that you hear the beat (just like you won't notice aliasing unless you actually record it into another format.)
(i.e. the majority of the English-speaking world)
I agree with your point about American English not being the only game in town, but I think you are a bit misleading in the phrase I'm quoting just above. Not only do the United States have more people speaking English as their first language than any other country, but there are more people speaking English as their first language than all other countries combined. So, if you want to talk about native English speakers, than we get back to the U.S. being on top...
Final note: even in American English, the GGP is valid English, Microsoft can buy them out.
I've gotta say, each there is a story about working at Google, everyone seems to talk about how horrible the number of perks are because it must mean they expect you to work crazy hours, and I wonder how jaded we've become?
How about this as an idea, maybe the perks aren't meant to make people work crazy hours but instead just make good business sense?
And on top of all of this, it makes their employees really happy, and gets them really good press!
I, for one, would be more than happy to talk to a recruiter at Google
<Offtopic>Ok, I won't go into how bad that French is...</Offtopic>
It's OVNI for Objets Volants Non-Identifié. But the reason I'm posting is that I wanted to point out that this has been released by CNES, which is kind of like NASA in France. Not quite, as it's more of an educational institution, but it's very similar nonetheless...
...with swamp boots, just like everybody else, right?
OK, so I've requested a SixXS tunnel and I'm waiting for the response. I'm actually gonna go through with it.
This is something I've wanted to do, but never got around to before.
What I'd like to know, are there any ISPs that offer IPv6 native? (Specifically in the San Francisco Area, as that's where I'm moving this summer)
I remember an article I read on this I think back in the year 2000. The was a research scientist who built a standardized platform (That is to say, a specific PC case with a certain number of hard drive bays, and certain network cards) so that he could exchange data with other universities. They would fill up the data on the networked PC, and they could ship it to any of the participating projects, knowing that they'd get back the same hardware in return.
I remember at the time thinking it was just one of those smart little details that just make working together easier. It's not some great leap of genius, but enough of a well crafted idea that it could really help.
Eeeeeek!
I repeat, Eeeeeek!
All those lovely cancer causing fumes, sure we don't release them because we turn them into building materiel.
But... What happens when your neighbor's house built of this stuff catches fire? Sure, it's not something that happens often on the time scale of an individual, but when you consider the number of buildings as a whole, buildings burning down happens pretty damn often...
They've got it completely wrong about competition. In this case, it's better that they have competition than not.
With the Newton, it was an entirely new device, so it was that much more difficult to spur adoption. Whereas now, everyone knows what a cellphone is, so they can look at the iPhone and just say, "That's like my phone, only better."
They did the exact same thing with the iPod. Digital music players weren't new when the iPod came out, it was just the first of it's kind in terms of design and functionality. Suddenly everyone said, "THAT'S the digital music player I wanted to buy." I suspect the same thing will happen with the iPhone.
If you take the producer/consumer metaphor of the semaphore, we consider a thread blocked as being a consumer, and a thread that does the signaling as a consumer. It's easy to imagine each consumer as wanting a resource, and so when multiple consumers want a resource, they each wait with the semaphore blocked at zero.
What happens if one thread wants multiple resources? They have to take resources one at a time until the available count is zero, and then continue waiting one at a time as resources come in. Assuming ten threads, nine waiting for one resource at a time, and the other waiting for ten resources, at each incoming resource, the heavy user will have a 1/10 chance of receiving a resource, needing almost 100 resources to be supplied before it can work. That's a possible interpretation, but not very fair for the larger user. The heavier the load, the worse the inbalance.
If however, we support negative semaphores (like with pthreads' semop system call), the heavy user will set the value of the semaphore to a negative value, and incoming resources will go to increasing the semaphore until it hits zero. At zero, the first incoming resource has an equal chance of being distributed among all of the waiting threads, meaning that in the above case, on a first come first serve system, only 19 resources are needed to satisfy all ten threads as opposed to the 100 or so resources necessary to give everyone a turn under the Win32 model.
Of course, you have to be careful of a heavy user starving the light users, but in pthreads, you have the choice between the two models (with IPC_NOWAIT in the semaphore flag). With Win32, I was forced to write a negative semaphore using a system semaphore and a system mutex (which itself could have been served if pthread condition variables existed on Win32!).
But, like I said above, Win32 pthreads doesn't have the ability to combine I/O and thread synchronization. The best you can do is go the other way, use a pipe as your synchronization primitive and combine that with the socket (as mentioned by someone else above), but that doesn't have some of the conveniences of synchronization primitives (for example, a semaphore has a resource limit, allowing duplicate signals to be effectively discarded.)
As my comment is mounting in score, I just realized that I said negative mutexes when I meant negative semaphores. Of course you can't have a negative mutex, a mutex is just for mutual exclusion. It's a semaphore that has a count associated with it.
Sorry for the typo...
It's not so cut and dry. I use a library I wrote to abstract away PThreads and Win32 Threads to give me a multi-platform interface, but I would say that each side has their upsides and downsides.
With pthreads, there's no way to combine socket i/o and thread notification. In Win32, I can have a thread waiting on both a socket and an event at the same time, allowing me to cleanly signal I/O blocked threads. This isn't the case with pthreads.
However, Win32 REALLY needs a way to handle negative mutexes (ie. taking more than one resource from a mutex at a time). I had to write my own, and it was a serious pain to make sure I didn't have any race conditions. All the articles I've seen on Win32 equivalents had race conditions, and that means that there means that there are probably developers trusting multi-threading primitives that they really shouldn't be./p>
I bought XIII and had to pirate it to play it in my laptop (without the CD)
I wanted to buy KT Tunstall's CD, but since I listen to my music on the computer, I had to pirate it (it's copy-protected)
My wife and I have a collection of some 200 CD's, all of which are ripped to my computer, but we haven't bought a new CD in almost a year.
There's a limit as to when we start pushing our customers too far, and they start to push back
I put my vote in for TinyERP.
It's easy to use, there are great demo's online, and it does everything, multi-platform support, interfacing with eCommerce engines, invoicing, orders, crm, etc...
For those who are interested, this is most likely the FramaKey distribution at http://www.framakey.org/En/Index (English link). There are two versions, a full version that includes OpenOffice, and a lite version with AbiWord. For those who understand French, their sister site FramaSoft is a great resource for finding best-of-breed open source software sorted by domain.
I've got to admit, I've got a relatively short uptime right now on Gentoo, only 98 days, 15:27. (There was a power outage due to a storm.) But in that time, I've upgraded versions of asterisk, postgresql, apache, squid, samba, PHP, and mythTV. I've also recompiled the system using a new compiler, and the only service downtime I had was when the recompile of PHP was finished, merging it in crashed Apache. Total downtime? Less than 15 minutes. Now this is a home server, and I wouldn't be nearly so aggressive on a production machine.
I've got a production Gentoo server running Xen (I use custom CFLAGS to remove thread local storage, which makes for a HUGE improvement for xen virtual machines.) I have duplicates of the production virtual servers which are upgraded while out of circulation, and when tested, they are placed into live circulation, and the live machines are pulled out of service.
While people can complain about being able to shoot their own feet with Gentoo, I've never seen someone take a Redhat server from 6.2 up to Fedora Core without having to completely reinstall.
"14 kilo-miles" (you guys should really switch to metric)
Look, I'm with you on switching to the metric thing. I'm an American living in France, and I think in metric already, but what kind of unit is that? What's the metric equivalent, megameters? As the French say, "N'importe quoi"...
Actually, I sort of know the answer to this.
The answer is a resounding yes! It is possible to dodge the the employment requirements if you are creating a company in France (even if it's just for self-employment). However, in order to do so, you have to demonstrate that you have a certain amount of money saved, and demonstrate the viability of your business. However, I don't know the specific details. Things are really busy at work right now, but if you send an email to france aerobase mayle point org, I'll try and direct you to a website with the details.
I recommend France to anyone looking to make the plunge. It's what I did, and you really can't beat it. Good food, beautiful women, nice people.
I think that the primary differences between France and the U.S. is that the citizens actively participate in their government. There are some things I'm not entirely happy about. Police here can ask you for ID on the streets (though it's never happened to me), and speech is limited in certain ways (hate speech is not protected speech).
In spite of this, though, there isn't the feeling of distrust that exists in the U.S. with regards to the government. Something that impressed me was back during the vote for the European constitution, a book that explained the version of the constitution being voted on jumped to number one on the bestseller list during the weeks/months preceding the vote. It made me proud to be living here.
For the French, the government is THEM, and everyone gets up and shouts when there is something they don't like, You may hear jokes about the French striking, because there is often some group in the news, whether it be the postal service, trains, air traffic controllers, on strike, but I think it's a healthy sign that not only are people working for change, but there's someone on the other side listening. Most strikes are resolved in less than a week, and life goes back to normal.
For Americans looking to make the plunge, you don't need to know any French to get started, if you want to work either in Paris, or in southern France near Nice (Sophia Antipolis is a huge office/science/tech park 20 minutes outside of Nice), but it's good manners to try. When I arrived, I didn't speak a word of French, and have since learned it well enough that I work entirely in French.
Also to note, you normally have to find a French company willing to hire you before you come if you are not a student. However, it's not too hard to find American or International companies who will hire you in the U.S. (pay you in dollars) to work in France.
If you want to date the locals, you will have to learn French. However, as long as your accent isn't too horrific, it's considered cute, and just as American women go gaga when French men say "enchanté" (nice to meet you, or literally enchanted), French women seem to go gaga over the phrase "my pleasure" when used to demur after having done something nice.
I'm not baiting you, just genuinely curious. For me, the point of using a Mac had nothing to do with the chip inside.
I'm a software developer, and on the Mac, I can simultaneously develop and test for Linux, Windows and Mac. It's the only computer that allows me to do that. Id addition, I like to play around a bit with x86 assembler, and I couldn't do that on a PowerPC (obviously)
Yeah... unsustainable... like a FOX!<Homer/>
That's why I just sold my computer to buy a Mac Mini.
That's why many of my friends have bought a Mac or have a desire to buy a Mac
Before, when they were on PowerPC, they had very little interest for me, but now that Macs are x86 machines, I intend to sell my Cobalt Qube to replace it with a Mini...
Forget the whole 127.0.0.1 game playing, this is VERY simple with BIND
Simply create zones for the domains you want to forward on to be looked up as type forward and disable the "." zone
And since when did Ask Slashdot become an IT troubleshooting forum?