The knowledge that it's 11:00pm doesn't tell me anything about whether it's a reasonable time to call someone in another part of the world. I still have to consult a timezone map to figure out their local sunrise/sunset times.
And that *still* doesn't help me. My parents are 2 timezones east of me, and go to bed around 9pm local time. I go to bed around 11pm local time. So I have to convert my timezone to their timezone (or vice versa) to figure out if they're awake now.
If instead, my parents are awake from 10:00 to 02:00, and at work from 12:00 to 20:00, I know when I can call them. Is that really any different that needing to know that they're awake from 5am CDT to 9pm CDT, and at work from 7am CDT to 3pm CDT?
So broadcast your local show in a time slot that makes sense for the local market.
I'll happily watch the morning news at 16:00. I don't care when your morning news is on.
This can be done with the Budweiser by products too. The first step in making Whiskey is to make beer. Then you distill the beer, and age the grain alcohol to get whiskey.
"pot ale" is the beer left over after distillation. "draff" is the spent grains, used to make the beer. So Budweiser has tons (many thousands) of draff, but no pot ale.
All right, but apart from the sanitation, medicine, education, wine, public order, irrigation, roads, the fresh water system and public health, what have the Romans ever done for us?
Re:What's the deal with eldavojohn
on
Beautiful Data
·
· Score: 1
I thought we all vested our stock options in '99 and retired
These whales aren't reducing their carbon footprint, they're farming. They're fertilizing the fields of phytoplankton, which works it way back up the food chain.
It generates runtime errors if you attempt to use a Tainted data. Data is never untainted, but untainted data can be generated by a regular expression match.
Perl takes special precautions called taint checks to prevent both obvious and subtle traps. Some of these checks are reasonably simple, such as verifying that path directories aren't writable by others; careful programmers have always used checks like these. Other checks, however, are best supported by the language itself, and it is these checks especially that contribute to making a set-id Perl program more secure than the corresponding C program.
You may not use data derived from outside your program to affect something else outside your program--at least, not by accident. All command line arguments, environment variables, locale information (see perllocale), results of certain system calls (readdir(), readlink(), the variable of shmread(), the messages returned by msgrcv(), the password, gcos and shell fields returned by the getpwxxx() calls), and all file input are marked as "tainted". Tainted data may not be used directly or indirectly in any command that invokes a sub-shell, nor in any command that modifies files, directories, or processes...
...
Because taintedness is associated with each scalar value, some elements of an array or hash can be tainted and others not. The keys of a hash are never tainted.
...
Sometimes you have just to clear your data's taintedness. Values may be untainted by using them as keys in a hash; otherwise the only way to bypass the tainting mechanism is by referencing subpatterns from a regular expression match. Perl presumes that if you reference a substring using $1, $2, etc., that you knew what you were doing when you wrote the pattern. That means using a bit of thought--don't just blindly untaint anything, or you defeat the entire mechanism.
Dunno. I just know that when I put the higher octane gas in my car, the MPG goes up. The MPG goes up slightly faster than the cost, giving the higher octane fuel a slight lead when measured in dollars per mile.
For some reason, most US cars are sized to go about 350 miles per tank. Between my wife and I, we've gone through 10 cars (different makes, models, across 30 model years), and they've been that way. Low mpg? Put a big tank in it. High mpg? Put a little tank in it. You can (as an option) buy a larger tank, but I generally only see it in fleet vehicles. You can also buy a vehicle, and drive it differently than the manufacturer advertises. For example, my car is aimed at the commuting professional, as has a relatively small tank. My wife's minivan is aimed at the stay-at-home mom that drives lots of local streets, and has a huge gas tank. We both get about the same miles per tank. If I drove her minivan on my commute, I'd get significantly more miles per tank.
I suspect it's related to the number of people that don't fill up their gas tank anyway, but just put $20 worth of gas in. Those people don't *want* a large tank, "because it costs too much to fill up". *sigh*
Just to be pedantic, less alcohol is fewer calories. I'm happy to give up alcohol and calories, as long as I don't have to give up flavor.
American Homebrewers have Session Beer, which is just that. Less sugar to ferment, but still has a decent flavor when it's done. You can tell the difference between the regular and the session version, but if they both taste good, then I'm happy.
I've tried "alcohol free" beer, most of which are about 0.5% ABV (in the US). Most of them taste like unfermented beer to me. It should be possible to brew a lightly hopped beer, remove most of the alcohol with vacuum distillation, then dry hop the beer to give it back the hop aroma lost with the alcohol. As a bonus, the same place could sell a premium "vacuum distilled" vodka. One of these days, I might try it at home.
To give some examples, distillation leaves the flavor compounds behind and produces a colorless, flavorless alcohol. This is usually aged in oak and charcoal filtered for flavor. If done properly, it the "bad" alcohols are discarded during the process. (Backwood's stills are notorious for not doing this last step properly, hence the reputation for making you blind or dead.)
Freeze distillation concentrates the original liquid (with alcohol). The original flavors are kept (and concentrated), along with the "good" and "bad" alcohols.
I think a pretty good test is to work out if it was sustainable for every member of the entire worlds population to have the product.
The counter examples you cite are sustainable for the entire world. Some (indoor plumbing, sanitation) are possible, if we cared enough to do it. Some (transportation, electricity) are sustainable, but not to the extent that Americans enjoy them.
Actually, HDR photos are often a better representation of reality, because the human eye adjusts to different brightness levels, which is what the HDR process is doing.
... as long as it's not overdone. I've taken quite a few pictures that I was disappointed with due to the dynamic range problems of the camera. I've also seen too many HDR pictures that are "not natural". I like HDR photos, when they're used make the camera's dynamic range match my vision's range.
I have an EE degree. What's a good 2nd degree? CMP ENG or Comp Sci? I want to be eligible to apply for more jobs.
You're already an engineer, so you can be an engineer with any degree. The CMP Eng degree will have more overlap with your EE degree than CS will, but I neither should be difficult.
If you looking to SEO your resume, I'd go with Comp Sci, for the slightly higher name recognition. For anybody that actually reads your resume, you can explain how CMP EE is the overlap of EE and CS, so you effectively have 3 degrees. Interviewers love Venn diagrams.;-)
If someone has a single degree, I'd prefer the CmpE over CS. But I'd accept your Venn diagram.
Right..and unless Red Hat made a serious change to the way they do business, the support contracts aren't free.
But the GP is already paying for it. It's not like I suggested they go out any buy a support contract so they can get the upgrades. They've paid for a contract that they're not using.
However, if you plan on setting up a box to run Oracle on...
If you're setting up a box to run Oracle, just buy the RedHat or Oracle OS support contract. It's a pittance compared to the Database support contract. If you can't afford the Oracle support and OS support, you can't really afford Oracle in the first place. Which is what Oracle told you when they listed the requirement in the first place.
How do you (eg) pipe commands together in Ruby, Python or Perl?
AFAIK(?), none of these languages come close to the simple expressivity of cmd1 | cmd2 | cmd3 > file1.
The same way you do it with sed, awk, cut, etc. Read from STDIN and write to STDOUT.
# Get the first column from a comma delimted file
cat $comma_delimited_file | sed 's/,.*$//'
cat $comma_delimited_file | cut -d"," -f1
cat $comma_delimited_file | awk 'BEGIN { FS=","; } { print $1; }'
cat $comma_delimited_file | perl -npe 's/,.*$//'
cat $comma_delimited_file | perl -ne '@ary = split(","); print $ary[0] . "\n";' ...
Perl used to ship with awk2perl and sed2perl, but I don't see them on this machine. They would convert any awk or sed script into a perl script. They usually looked pretty similiar too.
The knowledge that it's 11:00pm doesn't tell me anything about whether it's a reasonable time to call someone in another part of the world. I still have to consult a timezone map to figure out their local sunrise/sunset times.
And that *still* doesn't help me. My parents are 2 timezones east of me, and go to bed around 9pm local time. I go to bed around 11pm local time. So I have to convert my timezone to their timezone (or vice versa) to figure out if they're awake now.
If instead, my parents are awake from 10:00 to 02:00, and at work from 12:00 to 20:00, I know when I can call them. Is that really any different that needing to know that they're awake from 5am CDT to 9pm CDT, and at work from 7am CDT to 3pm CDT?
So broadcast your local show in a time slot that makes sense for the local market. I'll happily watch the morning news at 16:00. I don't care when your morning news is on.
WHAT?!? When did this happen?
Bubble sort does have it's uses; if you know the array is <= 3 elements, Bubble Sort wins.
This can be done with the Budweiser by products too. The first step in making Whiskey is to make beer. Then you distill the beer, and age the grain alcohol to get whiskey. "pot ale" is the beer left over after distillation. "draff" is the spent grains, used to make the beer. So Budweiser has tons (many thousands) of draff, but no pot ale.
All right, but apart from the sanitation, medicine, education, wine, public order, irrigation, roads, the fresh water system and public health, what have the Romans ever done for us?
I thought we all vested our stock options in '99 and retired
This is clearly documented in the Hitch Hikers Guide to the Galaxy. Read your history books!
I just don't care. You can't screw up a Karma near 50, even by making Pro-Microsoft posts.
I don't need one. We get the occasional tornado in southern California. They're puny. They knock a couple railroad cars over, and that's about it.
Start your collection now. Then you'll have it ready when you want it.
These whales aren't reducing their carbon footprint, they're farming. They're fertilizing the fields of phytoplankton, which works it way back up the food chain.
Perl's Taint Mode already supports this.
It generates runtime errors if you attempt to use a Tainted data. Data is never untainted, but untainted data can be generated by a regular expression match.
Perl takes special precautions called taint checks to prevent both obvious and subtle traps. Some of these checks are reasonably simple, such as verifying that path directories aren't writable by others; careful programmers have always used checks like these. Other checks, however, are best supported by the language itself, and it is these checks especially that contribute to making a set-id Perl program more secure than the corresponding C program.
You may not use data derived from outside your program to affect something else outside your program--at least, not by accident. All command line arguments, environment variables, locale information (see perllocale), results of certain system calls (readdir(), readlink(), the variable of shmread(), the messages returned by msgrcv(), the password, gcos and shell fields returned by the getpwxxx() calls), and all file input are marked as "tainted". Tainted data may not be used directly or indirectly in any command that invokes a sub-shell, nor in any command that modifies files, directories, or processes...
...
Because taintedness is associated with each scalar value, some elements of an array or hash can be tainted and others not. The keys of a hash are never tainted.
...
Sometimes you have just to clear your data's taintedness. Values may be untainted by using them as keys in a hash; otherwise the only way to bypass the tainting mechanism is by referencing subpatterns from a regular expression match. Perl presumes that if you reference a substring using $1, $2, etc., that you knew what you were doing when you wrote the pattern. That means using a bit of thought--don't just blindly untaint anything, or you defeat the entire mechanism.
There are plenty of examples behind the link.
It's not every car. Usually I see it as an option on pickup trucks, but I've seen some SUVs with the option too.
Dunno. I just know that when I put the higher octane gas in my car, the MPG goes up. The MPG goes up slightly faster than the cost, giving the higher octane fuel a slight lead when measured in dollars per mile.
For some reason, most US cars are sized to go about 350 miles per tank. Between my wife and I, we've gone through 10 cars (different makes, models, across 30 model years), and they've been that way. Low mpg? Put a big tank in it. High mpg? Put a little tank in it. You can (as an option) buy a larger tank, but I generally only see it in fleet vehicles. You can also buy a vehicle, and drive it differently than the manufacturer advertises. For example, my car is aimed at the commuting professional, as has a relatively small tank. My wife's minivan is aimed at the stay-at-home mom that drives lots of local streets, and has a huge gas tank. We both get about the same miles per tank. If I drove her minivan on my commute, I'd get significantly more miles per tank.
I suspect it's related to the number of people that don't fill up their gas tank anyway, but just put $20 worth of gas in. Those people don't *want* a large tank, "because it costs too much to fill up". *sigh*
Just to be pedantic, less alcohol is fewer calories. I'm happy to give up alcohol and calories, as long as I don't have to give up flavor.
American Homebrewers have Session Beer, which is just that. Less sugar to ferment, but still has a decent flavor when it's done. You can tell the difference between the regular and the session version, but if they both taste good, then I'm happy.
I've tried "alcohol free" beer, most of which are about 0.5% ABV (in the US). Most of them taste like unfermented beer to me. It should be possible to brew a lightly hopped beer, remove most of the alcohol with vacuum distillation, then dry hop the beer to give it back the hop aroma lost with the alcohol. As a bonus, the same place could sell a premium "vacuum distilled" vodka. One of these days, I might try it at home.
To give some examples, distillation leaves the flavor compounds behind and produces a colorless, flavorless alcohol. This is usually aged in oak and charcoal filtered for flavor. If done properly, it the "bad" alcohols are discarded during the process. (Backwood's stills are notorious for not doing this last step properly, hence the reputation for making you blind or dead.)
Freeze distillation concentrates the original liquid (with alcohol). The original flavors are kept (and concentrated), along with the "good" and "bad" alcohols.
I think a pretty good test is to work out if it was sustainable for every member of the entire worlds population to have the product.
The counter examples you cite are sustainable for the entire world. Some (indoor plumbing, sanitation) are possible, if we cared enough to do it. Some (transportation, electricity) are sustainable, but not to the extent that Americans enjoy them.
Yeah, but then the hacker would get sued for violating Toyota patents.
Actually, HDR photos are often a better representation of reality, because the human eye adjusts to different brightness levels, which is what the HDR process is doing.
... as long as it's not overdone. I've taken quite a few pictures that I was disappointed with due to the dynamic range problems of the camera. I've also seen too many HDR pictures that are "not natural". I like HDR photos, when they're used make the camera's dynamic range match my vision's range.
I have an EE degree. What's a good 2nd degree? CMP ENG or Comp Sci? I want to be eligible to apply for more jobs.
You're already an engineer, so you can be an engineer with any degree. The CMP Eng degree will have more overlap with your EE degree than CS will, but I neither should be difficult.
If you looking to SEO your resume, I'd go with Comp Sci, for the slightly higher name recognition. For anybody that actually reads your resume, you can explain how CMP EE is the overlap of EE and CS, so you effectively have 3 degrees. Interviewers love Venn diagrams. ;-)
If someone has a single degree, I'd prefer the CmpE over CS. But I'd accept your Venn diagram.
Right..and unless Red Hat made a serious change to the way they do business, the support contracts aren't free.
But the GP is already paying for it. It's not like I suggested they go out any buy a support contract so they can get the upgrades. They've paid for a contract that they're not using.
However, if you plan on setting up a box to run Oracle on...
If you're setting up a box to run Oracle, just buy the RedHat or Oracle OS support contract. It's a pittance compared to the Database support contract. If you can't afford the Oracle support and OS support, you can't really afford Oracle in the first place. Which is what Oracle told you when they listed the requirement in the first place.
If they have a support contract, they have access to the updates.
How do you (eg) pipe commands together in Ruby, Python or Perl? AFAIK(?), none of these languages come close to the simple expressivity of cmd1 | cmd2 | cmd3 > file1.
The same way you do it with sed, awk, cut, etc. Read from STDIN and write to STDOUT.
# Get the first column from a comma delimted file
...
cat $comma_delimited_file | sed 's/,.*$//'
cat $comma_delimited_file | cut -d"," -f1
cat $comma_delimited_file | awk 'BEGIN { FS=","; } { print $1; }'
cat $comma_delimited_file | perl -npe 's/,.*$//'
cat $comma_delimited_file | perl -ne '@ary = split(","); print $ary[0] . "\n";'
Perl used to ship with awk2perl and sed2perl, but I don't see them on this machine. They would convert any awk or sed script into a perl script. They usually looked pretty similiar too.