I got in serious trouble in 3rd grade (early 90s) for having a snowball fight at recess. They had told us not to (something about ice chunks hiding in snowballs), but come on! We were little kids and there was a foot of snow on the field. What did they think was going to happen?
People are over protective of their kids. Yes, I know it hurts to see your kid scrape his knee, but he probably had a lot of fun doing it. It's a risk he takes playing tag (or whatever). Teach him how to identify risk and recognize when it's not worth it. Unless it's something that could kill or seriously injure them, show them how to do it safely.
I realize it's probably harder than I'm making it out to be (I don't have kids), but the amount of trust you have in your kid's judgement needs to increase with time or they'll never learn to trust themselves. My parents responded very well to my snowball incident. I got the "you broke the rule and the punishment is fair" kind of talk, but they didn't care that I got in a snowball fight. They trusted me to know not to throw ice at people and to leave if people started throwing it at me.
The world is a dangerous place, but there's a lot of situations that aren't nearly as dangerous as people pretend.
I wonder if the "back door" software (or whatever they send you) will digitally watermark the ripped track. Maybe they're just doing it so they can find the person who originally ripped it.
I'm more partial to sequences of zeroes and capital "O"s. It doesn't look to strange in HTML, but I've seen a few default editor fonts where 0 and O differ by 2 pixels.
Since it's essentially a DC motor (as near as I can tell from the article), doesn't that mean it will start pumping backwards if you get your battery wires crossed? I can imagine even a short time pumping backwards would do significant damage. The one-way valves in the vessels would teary, the vessels would rupture, or both would be weakened.
I realize you'll probably only be able to connect the battery the right way, but what if...
I have a friend with an insulin pump. He has to change the small tube inserted just below the skin of his abdomen every couple of days. I watched him get the part connecting to the insulin pump caught on a doorknob once. Not only did it hurt (a lot), but it pulled the tube out.
If this happened to the cord leading to the rechargable battery pack and the wires broke it would cost the person their life if they twisted them back together wrong.
I guess I'm just a worrier. Does anyone know if the circuitry they built into these protects against this?
Mine had been grading their Lisp submissions via script when I took a particular class in 2000. One of the assignments was to implement the Davis-Putnam algorithm for testing satisfiability of CNF expressions. The year I took it, they added a style portion to the grade so TAs had to actually look at the submissions. Someone the previous year had defined his davis-putnam function to always return true. Since 87 percent of the test cases were supposed to be satisfiable, he got a B on the assignment.
I was an intern at MS last summer. I pulled ~45 hours a week. My manager said that he only cared that I got my work done. My recruiter and the other developers on my team said they were impressed that I had figured out how to balance work with a social life as an intern.
I decided at the beginning that I wanted to relax last summer, so I did. They don't require a strenuous work schedule, but they don't mind it, and interns usually try to improve their chances of getting hired by pulling one. My approach was to simply kick ass. Your friend probably should have tried that instead.
It's going to be interesting to see which one wins. This is going to be like the VHS/Beta battle. One will be the superior technology, the other will be marketed and distributed better. I wonder which will turn out to be which.
That's always been one of my favorites. Here's another good one:
I was once asked to write a bunch of linked list code (testing my ability at manipulating datastructures). He asked me what the fastest possible way of removing an element from a linked list was given a pointer to the element. I replied, "If you don't care about side effects and its not the last element, it can be done in constant time."
Of course I don't believe everything I see in the news. I consider myself to be a fairly openminded person, but you must admit, seeing a group of forth graders chanting "Death to Americans" kinda stays with you.
The prejudices you referred to in the original post were not words of hate, but words of fear. I would be just as anxious if anyone who owned a "compound" here in the USA started buying up tanks and missles.
I do not mean to attack you or your beliefs. If you feel I have, I'm sorry. My intention was to direct your (justified) annoyance with these comments to the correct location. As long as there is fear, there will be hatred and stereotypes. Attacking the fear will only worsen it, to overcome it we must attack those who would cause it.
I'll make a deal with you. When the Muslim nations stop teaching in elementary school that Americans should die a horrible death (as the news continually showed about 5 years ago), I'll stop worrying about whether or not they're going to kill me.
It's not racism, its fear. If you've been feuding with a neighbor and he suddenly has a lawyer over for dinner every night for a week, what would be going through your head?
Although, in all fairness, if a terrorist group wanted to build a flight sim, we'd never know about it.
Hawking would disagree
on
Time Travel
·
· Score: 1
I attended a talk a year or more ago given by Steven Hawking. In it, he described why traveling through time would release enough energy to destroy the time traveling object. He summarized by saying that if we could do it, the universe wouldn't allow it to be useful.
I couldn't get through, so I wasn't able to read the site, but I did check out the mirrored pics. As everyone has been saying, that's one ugly desk, but still...
I can't shake the feeling there's more to it. Did the site have any intended purposes? It looks like it belongs in a prototyping workshop. You know, get the PC out of the way so you have room for more PALs and ROMs. There's no way in hell I'd put that thing in my room, but I might put it in the EE labs around campus. It would make it harder to steal the computers too.
let it build up an audience, then move it to a stronger slot.
You're absolutely right. I go to Caltech, and the House (dorm) I live in loves the Simpsons. When FOX moved the Simpsons from 6:30 to 6:00 we moved our dinner time to allow us to still watch it.
You need to stick shows in timeslots during which people channel surf. Once it builds up an audience, THEN pit it against established shows.
The "character recognizer" on my HP Jornada 540 keeps a little icon in the bottom right corner to turn it on and off. It also has a sweet color screen. I even downloaded a program that translates cursive writing! It is quite pricy, though.
They already make what you're looking for, its just really expensive...but I guess that the typical nerd's tale of computers. The coolest hardware is always too expensive.:-)
Can you imagine doing this for knee surgery, or something else that doesn't require general anesthesia? I don't know about you, but I don't think I could deal with watching a robot operate on me.
I'm a big fan of commandline tools, but every-so-often a GUI is needed. GDB is a prime example. It's a very powerful debugger, but lacks a few of the features that the Insight GUI gave me. I could look at the flat code (without prompts inbetween statements) and also click through some of the complex datastructures inside my program. This was invaluable. I don't even want to think of how hard it would have been to debug on the commandline.
Bottom line: The power is in how you use the tools, not the tools themselves. People who argue about which is better have lost sight of the real goal to programming. Productivity.
I got in serious trouble in 3rd grade (early 90s) for having a snowball fight at recess. They had told us not to (something about ice chunks hiding in snowballs), but come on! We were little kids and there was a foot of snow on the field. What did they think was going to happen?
People are over protective of their kids. Yes, I know it hurts to see your kid scrape his knee, but he probably had a lot of fun doing it. It's a risk he takes playing tag (or whatever). Teach him how to identify risk and recognize when it's not worth it. Unless it's something that could kill or seriously injure them, show them how to do it safely.
I realize it's probably harder than I'm making it out to be (I don't have kids), but the amount of trust you have in your kid's judgement needs to increase with time or they'll never learn to trust themselves. My parents responded very well to my snowball incident. I got the "you broke the rule and the punishment is fair" kind of talk, but they didn't care that I got in a snowball fight. They trusted me to know not to throw ice at people and to leave if people started throwing it at me.
The world is a dangerous place, but there's a lot of situations that aren't nearly as dangerous as people pretend.
I wonder if the "back door" software (or whatever they send you) will digitally watermark the ripped track. Maybe they're just doing it so they can find the person who originally ripped it.
I'm more partial to sequences of zeroes and capital "O"s. It doesn't look to strange in HTML, but I've seen a few default editor fonts where 0 and O differ by 2 pixels.
O0OO00O0 = ( O0OO + OO0O) / OO0
Since it's essentially a DC motor (as near as I can tell from the article), doesn't that mean it will start pumping backwards if you get your battery wires crossed? I can imagine even a short time pumping backwards would do significant damage. The one-way valves in the vessels would teary, the vessels would rupture, or both would be weakened.
I realize you'll probably only be able to connect the battery the right way, but what if...
I have a friend with an insulin pump. He has to change the small tube inserted just below the skin of his abdomen every couple of days. I watched him get the part connecting to the insulin pump caught on a doorknob once. Not only did it hurt (a lot), but it pulled the tube out.
If this happened to the cord leading to the rechargable battery pack and the wires broke it would cost the person their life if they twisted them back together wrong.
I guess I'm just a worrier. Does anyone know if the circuitry they built into these protects against this?
Mine had been grading their Lisp submissions via script when I took a particular class in 2000. One of the assignments was to implement the Davis-Putnam algorithm for testing satisfiability of CNF expressions. The year I took it, they added a style portion to the grade so TAs had to actually look at the submissions. Someone the previous year had defined his davis-putnam function to always return true. Since 87 percent of the test cases were supposed to be satisfiable, he got a B on the assignment.
I was an intern at MS last summer. I pulled ~45 hours a week. My manager said that he only cared that I got my work done. My recruiter and the other developers on my team said they were impressed that I had figured out how to balance work with a social life as an intern.
I decided at the beginning that I wanted to relax last summer, so I did. They don't require a strenuous work schedule, but they don't mind it, and interns usually try to improve their chances of getting hired by pulling one. My approach was to simply kick ass. Your friend probably should have tried that instead.
It's going to be interesting to see which one wins. This is going to be like the VHS/Beta battle. One will be the superior technology, the other will be marketed and distributed better. I wonder which will turn out to be which.
Don't feel bad. I've made a few "You're wrong...No wait!" posts myself. It just means you enjoy discussing algorithms. :-)
True. The deletion is a side effect, but it is a desired one. The problem is that if anyone else held a pointer to trash->next, they'd be corrupted.
Good job! Don't forget to delete the old trash->next, though. :-)
Singly linked.
Singly linked only. That's what makes it hard. :-)
It can be done. The only hints I'll give is what I've already said:
1) It has side effects
2) It won't work if it's the last element.
That's always been one of my favorites. Here's another good one:
:-)
I was once asked to write a bunch of linked list code (testing my ability at manipulating datastructures). He asked me what the fastest possible way of removing an element from a linked list was given a pointer to the element. I replied, "If you don't care about side effects and its not the last element, it can be done in constant time."
How'd I do it?
XOR all the numbers together.
XOR the result with 11.
The number you end up with is the missing number.
a ^= b is the fastest operation a cpu can perform. I think this is the fastest possible way to do it.
Can I have a job?
Of course I don't believe everything I see in the news. I consider myself to be a fairly openminded person, but you must admit, seeing a group of forth graders chanting "Death to Americans" kinda stays with you.
The prejudices you referred to in the original post were not words of hate, but words of fear. I would be just as anxious if anyone who owned a "compound" here in the USA started buying up tanks and missles.
I do not mean to attack you or your beliefs. If you feel I have, I'm sorry. My intention was to direct your (justified) annoyance with these comments to the correct location. As long as there is fear, there will be hatred and stereotypes. Attacking the fear will only worsen it, to overcome it we must attack those who would cause it.
I'll make a deal with you. When the Muslim nations stop teaching in elementary school that Americans should die a horrible death (as the news continually showed about 5 years ago), I'll stop worrying about whether or not they're going to kill me.
It's not racism, its fear. If you've been feuding with a neighbor and he suddenly has a lawyer over for dinner every night for a week, what would be going through your head?
Although, in all fairness, if a terrorist group wanted to build a flight sim, we'd never know about it.
ouch.
It's not TMWTDI, it's TMTOWTDI. :-)
I attended a talk a year or more ago given by Steven Hawking. In it, he described why traveling through time would release enough energy to destroy the time traveling object. He summarized by saying that if we could do it, the universe wouldn't allow it to be useful.
Only if it fits through the door. It looks like an "assemble in the room you want it" kind of toy.
I couldn't get through, so I wasn't able to read the site, but I did check out the mirrored pics. As everyone has been saying, that's one ugly desk, but still...
I can't shake the feeling there's more to it. Did the site have any intended purposes? It looks like it belongs in a prototyping workshop. You know, get the PC out of the way so you have room for more PALs and ROMs. There's no way in hell I'd put that thing in my room, but I might put it in the EE labs around campus. It would make it harder to steal the computers too.
let it build up an audience, then move it to a stronger slot.
You're absolutely right. I go to Caltech, and the House (dorm) I live in loves the Simpsons. When FOX moved the Simpsons from 6:30 to 6:00 we moved our dinner time to allow us to still watch it.
You need to stick shows in timeslots during which people channel surf. Once it builds up an audience, THEN pit it against established shows.
The "character recognizer" on my HP Jornada 540 keeps a little icon in the bottom right corner to turn it on and off. It also has a sweet color screen. I even downloaded a program that translates cursive writing! It is quite pricy, though.
:-)
They already make what you're looking for, its just really expensive...but I guess that the typical nerd's tale of computers. The coolest hardware is always too expensive.
Can you imagine doing this for knee surgery, or something else that doesn't require general anesthesia? I don't know about you, but I don't think I could deal with watching a robot operate on me.
I'm a big fan of commandline tools, but every-so-often a GUI is needed. GDB is a prime example. It's a very powerful debugger, but lacks a few of the features that the Insight GUI gave me. I could look at the flat code (without prompts inbetween statements) and also click through some of the complex datastructures inside my program. This was invaluable. I don't even want to think of how hard it would have been to debug on the commandline.
Bottom line: The power is in how you use the tools, not the tools themselves. People who argue about which is better have lost sight of the real goal to programming. Productivity.
Use what works.