The only people programming raw TCP are those writing network stacks. In other words, the OS does this for you almost always or you get a third party library.'
I'd avoid Boost myself. I found that when I had to use it that it sucked up my time: I didn't use it, just someone on the team used it for simplicity and then it doubled my workload when it didn't work well and I was stuck trying to debug the maze of twisty templates all intertwined. If you need portability, spend a couple of hours writing a portability layer, it's very simple. In some cases it is fine to reinvent the wheel to get a smooth ride instead of putting up with hexagonal wheels that break your back.
I know I stuck my foot in it this time, as Boost is one of the world's major religions.
Hmm, wikipedia claims it's been removed. It was replaced with what you said, but it uses the "Interix" subsystem. These are not the same thing except for being superficially "POSIX".
The NT POSIX subsystem sat parallel to WIN32 and OS/2 subsystems but had no access to anything inside WIN32. So you could only do basic text based programs, with no networking, no graphics, etc. No one used it because it was useless. It didn't even have useful tools provided. So useless that no wonder Microsoft dumped it and purchased a third party replacement for it.
Because it was very very simple to get exemptions from the POSIX standard. It was also very trivial to get exemptions about using Ada as well.
Remember the only reason that Windows NT has a useless POSIX subsystem was so that it could be submitted as being compliant with a wink and a nod. Then later when NT4 went away they probably migrated to XP by claiming that this was cheaper solution than to buy new POSIX systems.
Because it does cause harm in some cases. People will claim that their product is homeopathic but it turns out to actually have some herbs in it that could be dangerous to some people. The proposed FDA regulation is not to prevent the sale of homeopathic products, but to ensure that the product contains exactly what it says on the label.
It's also word of mouth stuff. As in being asked if you take enough zinc every time you get a cold. Doesn't matter how ridiculous it is, if they heard it from a friend then you should try it.
My mother used to use them. Because a "doctor" suggested it. Doesn't matter what my opinion is as I have no say in the matter. Luckily she is not discarding traditional medicine, just augmenting it with placebos.
There are a lot of people who like to shop around until they find a health practitioner who says what they want to hear.
It's a bit of a religious conflict between one set of beliefs and another. One side says that morality is being allowed to do whatever you want and screw up the planet because getting money is the highest virtue. The other side says that morality is about caring for other people, keeping the planet sustainable for everyone, sacrificing your own gains for the good of others.
Stackoverflow started off very well. Intelligent questions and intelligent answers. But over time it declined. Now there are some really dumb quests that have absolutely wrong answer being given and voted up. You've got to spend a lot of time there to get the ability to answer a question or upgrade/downgrade answers, so if you see a wrong answer you may be disallowed from pointing this out.
So when you go there beware. Read ALL of the answers and the comments.
Most people in San Diego that I knew at the time thought it was bullshit. Thus the district attorney was voted out of office at the next chance. Even when Dale Akiki was in prison the other prisoners treated him well, which is not what you expect for people accused of being pedophiles in prison. This was essentially the last of the panic over satanic rituals in preschools and sunday schools.
Of course there were the fringe people, the vein of ultra pro-law-enforcement political blowhards and their followers.
There's a big con game. You convince someone to work for you for a very low salary that they can barely live on by handing out useless stock and the promise that they'll be the next big thing. Startups aren't just for Silicon Valley but we've certainly perfected that long con game here.
Amazon isn't at all related to Silicon Valley either. Google is a new company. Even Apple wasn't even around when the term "Silicon Valley" was first used. So these companies come and go. The old silicon companies no longer dominated, though they're still around, but low tech stuff is taking over; web applications, social media, etc. Really, when people talk about high technology they're not first thinking about Twitter...
Meanwhile in Europe, Nokia was gang busters for awhile. Oh but wait, some say, it's defunct! But so are many other silicon giants that have withered away too. Besides, Nokia is still around it's just smaller. And while it was big it was a very large incubator of other tech companies. In Germany we have Siemens (not at all my favorite) which has fingers in lots of high tech stuff. Anyone working in a high tech company that actually makes stuff is dealing with other high tech partners and customers all over the world.
It's certainly outdated but I have a relative who created his own anvil for ranch work maybe 80 years ago. You don't have to have a foundry as you can start with steel and then cut away parts you don't need. Old railroad rails can work.
Just mention them in a context that applies a different connotation to the name. As in "I have to stay home from work today, I got a bad case of the IMAX."
Sure you can. You can always use the trademark name as long as it does not cause confusion about the trademarked item. Ie, you can't say "I have an IMAX like system", or "we've applied IMAXification to our game". But you can say "IMAX, IMAX, IMAX, IMAX, IMAX, IMAX, IMAX". You can say "IMAX is boring" all you like. You can probably name your feminine hygiene product "IMAX" as there is unlikely to be confusion between the two products (though it may make IMAX angry they have to suck it up).
Some confusion perhaps because you see a lot of movies that explicitly list all product placements. This makes some people assume that movie studios are required to get permission for product placements, but this is not true. Instead what you have is Pepsi offering some small money for their product to be used instead of Coca-Coloa.
A trade mark is NOT the same as copyright! You do not need any permission to copy that word as often as you want. The legal specifics of fair use does not apply because this is not a copyright, but the sense of fair use most certainly applies. So repeat after me: IMAX, IMAX, IMAX, IMAX, IMAX, IMAX, IMAX. IMAX sux, IMAX sux, IMAX sux, IMAX sux.
A blacksmith will typically create an anvil for personal use, rather than buying one. It's a part of the process of becoming a real blacksmith. It's not unique here, many craftsmen make or customize their own tools. I see hardware engineers doing this a lot as well, jurying rigging up some device to help them out.
This used to be true with programming too, there weren't many tools so you had to write your own or modify someone else's (and you shared them with others). If a new type of computer came out you would port the tools are maybe even write some from scratch. Today the kids can't even begin to imagine this: if there's not a button on their IDE's to do what they want then they don't do it, they don't bother learning a scripting or shell languages to do what they need. I mean it's a frigging computer, the whole point of it is to be able to program it to do what you want it to do!
And making CDs illegal only enforces the obsolescence.
On the other hand, for ten bucks I have a CD that lasts for decades and I can continue to listen to it years after the streaming services have decided that the songs aren't cool enough.
Agreed. The fact that they don't like it means that they will firmly believe it should be unlawful. Like if you hated the color of your neighbor's car and felt it was fair to go complain to the local judge about it. It's an immense amount of ego and self-importance.
In practice nothing changes. People had been making their own backup copies before the law, and they'll continue to do so after the law is removed. The only ones hurt are those who don't want to break the law no matter how ridiculous it is.
Only safe that way if you have the common jobs that everyone does, meaning you're an interchangeable cog. IT, javascript, MS certificates in hand, etc. Doesn't pay as much but easier to be a career nomad.
As far as Silicon Valley goes, at least it's not as expensive as London, not as crowded, etc. London's a fun place to visit but wouldn't want to live there and the weather is lousy, much like San Francisco.
Never heard of shenmue myself. I was surprised by a lot of "eagerly awaited" games that I had never heard of.
To me, nostalgia are the old games I had (including timeshare systems and Amiga). Fallout, Baldur's Gate, Bard's Tale, Faerie Tale Adventure, Zork, Empire. Oh wait, those are inspiring nostalgia based games too, quite a lot from kickstarter where older gamers with money are asking for things they want rather than accepting yet another batch of boring FPS or JRPG games.
It's hardly nostalgia though as much of the hype comes from remaking Fallout 3 which is only 7 years old, as opposed to the original Fallout at 18 years. Doom is more nostalgia really, though the people from the original probably no longer have the necessary twitch speed to play the new one...
you don't crash it. You either detect before hand that your divisor is 0, or else you have an exception handler to catch it (in C you would either modify your hardware exception handler if you're an embedded system, or in Unix you'd get a signal if the chip/compiler supported it).
When you divide by zero then there is no meaningful answer. Instead you realize that 7/0 is bogus and fail the whole calculation. Instead of saying "the answer is 0" and letting the software continue doing arithmetic on that bogus number, you say "bzzt, wrong!" and recover.
For example, you're plotting curves on a graphing calculator. Taking a long list of A,B values, dividing, placing on the chart. If you find out that Y is 0 you don't just assume the answer is zero and put a pixel there, instead you dump that entire pair and skip ahead to the next one. It didn't crash which is good, and it didn't place a pixel at a bogus location which is good, but it did verify that the values were correct before dividing which is a little bit of extra work.
Now you don't need to always verify the divisor. Much of the time you know it will never be zero. Maybe the input was already validated earlier in a previous calculation, or validated when it was read in, or the value is a constant.
Sorry, not mathematically well defined, I goofed up there. If you plot the curve of the results from negative divisors to positive, then there is a discontinuity at zero.
There's a related but similar problem that many programmers overlook because they never studied numerical analysis (which should be required by all CS majors in my view). The problem is that accuracy is not infinite. So while they may understand that division by 0 is bad, they may not realize that division by a really tiny number may also be bad. Often programmers will take a formula and try to implement it verbatim and then end up with a huge loss in precision that could be avoiding by reordering the operations. They think that if things aren't working with "float" that they should just use "double" or "long double".
The only people programming raw TCP are those writing network stacks. In other words, the OS does this for you almost always or you get a third party library.'
I'd avoid Boost myself. I found that when I had to use it that it sucked up my time: I didn't use it, just someone on the team used it for simplicity and then it doubled my workload when it didn't work well and I was stuck trying to debug the maze of twisty templates all intertwined. If you need portability, spend a couple of hours writing a portability layer, it's very simple. In some cases it is fine to reinvent the wheel to get a smooth ride instead of putting up with hexagonal wheels that break your back.
I know I stuck my foot in it this time, as Boost is one of the world's major religions.
For GUI stuff use Qt.
Hmm, wikipedia claims it's been removed. It was replaced with what you said, but it uses the "Interix" subsystem. These are not the same thing except for being superficially "POSIX".
The NT POSIX subsystem sat parallel to WIN32 and OS/2 subsystems but had no access to anything inside WIN32. So you could only do basic text based programs, with no networking, no graphics, etc. No one used it because it was useless. It didn't even have useful tools provided. So useless that no wonder Microsoft dumped it and purchased a third party replacement for it.
Because it was very very simple to get exemptions from the POSIX standard. It was also very trivial to get exemptions about using Ada as well.
Remember the only reason that Windows NT has a useless POSIX subsystem was so that it could be submitted as being compliant with a wink and a nod. Then later when NT4 went away they probably migrated to XP by claiming that this was cheaper solution than to buy new POSIX systems.
Because it does cause harm in some cases. People will claim that their product is homeopathic but it turns out to actually have some herbs in it that could be dangerous to some people. The proposed FDA regulation is not to prevent the sale of homeopathic products, but to ensure that the product contains exactly what it says on the label.
It's also word of mouth stuff. As in being asked if you take enough zinc every time you get a cold. Doesn't matter how ridiculous it is, if they heard it from a friend then you should try it.
My mother used to use them. Because a "doctor" suggested it. Doesn't matter what my opinion is as I have no say in the matter. Luckily she is not discarding traditional medicine, just augmenting it with placebos.
There are a lot of people who like to shop around until they find a health practitioner who says what they want to hear.
It's a bit of a religious conflict between one set of beliefs and another. One side says that morality is being allowed to do whatever you want and screw up the planet because getting money is the highest virtue. The other side says that morality is about caring for other people, keeping the planet sustainable for everyone, sacrificing your own gains for the good of others.
Stackoverflow started off very well. Intelligent questions and intelligent answers. But over time it declined. Now there are some really dumb quests that have absolutely wrong answer being given and voted up. You've got to spend a lot of time there to get the ability to answer a question or upgrade/downgrade answers, so if you see a wrong answer you may be disallowed from pointing this out.
So when you go there beware. Read ALL of the answers and the comments.
Most people in San Diego that I knew at the time thought it was bullshit. Thus the district attorney was voted out of office at the next chance. Even when Dale Akiki was in prison the other prisoners treated him well, which is not what you expect for people accused of being pedophiles in prison. This was essentially the last of the panic over satanic rituals in preschools and sunday schools.
Of course there were the fringe people, the vein of ultra pro-law-enforcement political blowhards and their followers.
There's a big con game. You convince someone to work for you for a very low salary that they can barely live on by handing out useless stock and the promise that they'll be the next big thing. Startups aren't just for Silicon Valley but we've certainly perfected that long con game here.
Amazon isn't at all related to Silicon Valley either. Google is a new company. Even Apple wasn't even around when the term "Silicon Valley" was first used. So these companies come and go. The old silicon companies no longer dominated, though they're still around, but low tech stuff is taking over; web applications, social media, etc. Really, when people talk about high technology they're not first thinking about Twitter...
Meanwhile in Europe, Nokia was gang busters for awhile. Oh but wait, some say, it's defunct! But so are many other silicon giants that have withered away too. Besides, Nokia is still around it's just smaller. And while it was big it was a very large incubator of other tech companies. In Germany we have Siemens (not at all my favorite) which has fingers in lots of high tech stuff. Anyone working in a high tech company that actually makes stuff is dealing with other high tech partners and customers all over the world.
It's certainly outdated but I have a relative who created his own anvil for ranch work maybe 80 years ago. You don't have to have a foundry as you can start with steel and then cut away parts you don't need. Old railroad rails can work.
Oh ya, now I just read that they quickly apologized. Probably a case of a hair-trigger lawyer on staff. Too late to call of the Streisand effect?
Just mention them in a context that applies a different connotation to the name. As in "I have to stay home from work today, I got a bad case of the IMAX."
Sure you can. You can always use the trademark name as long as it does not cause confusion about the trademarked item. Ie, you can't say "I have an IMAX like system", or "we've applied IMAXification to our game". But you can say "IMAX, IMAX, IMAX, IMAX, IMAX, IMAX, IMAX". You can say "IMAX is boring" all you like. You can probably name your feminine hygiene product "IMAX" as there is unlikely to be confusion between the two products (though it may make IMAX angry they have to suck it up).
Some confusion perhaps because you see a lot of movies that explicitly list all product placements. This makes some people assume that movie studios are required to get permission for product placements, but this is not true. Instead what you have is Pepsi offering some small money for their product to be used instead of Coca-Coloa.
A trade mark is NOT the same as copyright! You do not need any permission to copy that word as often as you want. The legal specifics of fair use does not apply because this is not a copyright, but the sense of fair use most certainly applies. So repeat after me: IMAX, IMAX, IMAX, IMAX, IMAX, IMAX, IMAX. IMAX sux, IMAX sux, IMAX sux, IMAX sux.
A blacksmith will typically create an anvil for personal use, rather than buying one. It's a part of the process of becoming a real blacksmith. It's not unique here, many craftsmen make or customize their own tools. I see hardware engineers doing this a lot as well, jurying rigging up some device to help them out.
This used to be true with programming too, there weren't many tools so you had to write your own or modify someone else's (and you shared them with others). If a new type of computer came out you would port the tools are maybe even write some from scratch. Today the kids can't even begin to imagine this: if there's not a button on their IDE's to do what they want then they don't do it, they don't bother learning a scripting or shell languages to do what they need. I mean it's a frigging computer, the whole point of it is to be able to program it to do what you want it to do!
And making CDs illegal only enforces the obsolescence.
On the other hand, for ten bucks I have a CD that lasts for decades and I can continue to listen to it years after the streaming services have decided that the songs aren't cool enough.
Agreed. The fact that they don't like it means that they will firmly believe it should be unlawful. Like if you hated the color of your neighbor's car and felt it was fair to go complain to the local judge about it. It's an immense amount of ego and self-importance.
In practice nothing changes. People had been making their own backup copies before the law, and they'll continue to do so after the law is removed. The only ones hurt are those who don't want to break the law no matter how ridiculous it is.
Only safe that way if you have the common jobs that everyone does, meaning you're an interchangeable cog. IT, javascript, MS certificates in hand, etc. Doesn't pay as much but easier to be a career nomad.
As far as Silicon Valley goes, at least it's not as expensive as London, not as crowded, etc. London's a fun place to visit but wouldn't want to live there and the weather is lousy, much like San Francisco.
I'm hoping that my old age rest home has a computer gaming room!
Never heard of shenmue myself. I was surprised by a lot of "eagerly awaited" games that I had never heard of.
To me, nostalgia are the old games I had (including timeshare systems and Amiga). Fallout, Baldur's Gate, Bard's Tale, Faerie Tale Adventure, Zork, Empire. Oh wait, those are inspiring nostalgia based games too, quite a lot from kickstarter where older gamers with money are asking for things they want rather than accepting yet another batch of boring FPS or JRPG games.
It's hardly nostalgia though as much of the hype comes from remaking Fallout 3 which is only 7 years old, as opposed to the original Fallout at 18 years.
Doom is more nostalgia really, though the people from the original probably no longer have the necessary twitch speed to play the new one...
you don't crash it. You either detect before hand that your divisor is 0, or else you have an exception handler to catch it (in C you would either modify your hardware exception handler if you're an embedded system, or in Unix you'd get a signal if the chip/compiler supported it).
When you divide by zero then there is no meaningful answer. Instead you realize that 7/0 is bogus and fail the whole calculation. Instead of saying "the answer is 0" and letting the software continue doing arithmetic on that bogus number, you say "bzzt, wrong!" and recover.
For example, you're plotting curves on a graphing calculator. Taking a long list of A,B values, dividing, placing on the chart. If you find out that Y is 0 you don't just assume the answer is zero and put a pixel there, instead you dump that entire pair and skip ahead to the next one. It didn't crash which is good, and it didn't place a pixel at a bogus location which is good, but it did verify that the values were correct before dividing which is a little bit of extra work.
Now you don't need to always verify the divisor. Much of the time you know it will never be zero. Maybe the input was already validated earlier in a previous calculation, or validated when it was read in, or the value is a constant.
Sorry, not mathematically well defined, I goofed up there. If you plot the curve of the results from negative divisors to positive, then there is a discontinuity at zero.
There's a related but similar problem that many programmers overlook because they never studied numerical analysis (which should be required by all CS majors in my view). The problem is that accuracy is not infinite. So while they may understand that division by 0 is bad, they may not realize that division by a really tiny number may also be bad. Often programmers will take a formula and try to implement it verbatim and then end up with a huge loss in precision that could be avoiding by reordering the operations. They think that if things aren't working with "float" that they should just use "double" or "long double".