What you are missing is that you can easily connect to C/C++ code from Python and vice versa. So you can write all your code in Python, find through profiling which small pieces of code are hot/heavily used, and replace that with C code.
As most things in life do, code usually follows the Pareto distribution: 80% of the time is spend in 20% of the code. If Python is fast enough for, let's say 90% of your code, and you are much more productive in Python than C, then writing most all the code in Python first, and replacing the bits and pieces that are too slow for you with C functions, is much more efficient use of your time than writing everything in C.
Also consider that sometimes you have to go in fishing expeditions for the correct algorithm to do what you are doing. Doing so in Python, with the speedup in iterative design that that carries, and even if that once you find the most efficient algorithm for your problem you implement it in C, you will have had spend the same time as before, but knowing all the ways you can't do it, and have arrived to an at least nearly optimal solution.
Most of the time you don't need that much speed. When you do, you have to have the right algorithm and the right language. I also put forth that Python has a lot of modules that are already written in C, so you take advantage of existing optimized code that you don't have to write.
Specially considering that you can rewrite that as
return a + (a > 0) - (a <= 0)
or
return a + 1 if a > 0 else a - 1
or a multiplicity of other options:)
Skinner: Well, I was wrong. The lizards are a godsend.
Lisa: But isn't that a bit short-sighted? What happens when we're
overrun by lizards?
Skinner: No problem. We simply release wave after wave of Chinese
needle snakes. They'll wipe out the lizards.
Lisa: But aren't the snakes even worse?
Skinner: Yes, but we're prepared for that. We've lined up a fabulous
type of gorilla that thrives on snake meat.
Lisa: But then we're stuck with gorillas!
Skinner: No, that's the beautiful part. When wintertime rolls around,
the gorillas simply freeze to death.
An engineer is a professional practitioner of engineering, concerned with applying scientific knowledge, mathematics and ingenuity to develop solutions for technical problems. Engineers design materials, structures, machines and systems while considering the limitations imposed by practicality, safety and cost. The word engineer is derived from the Latin roots ingeniare ("to contrive, devise") and ingenium ("cleverness").
In the US and Canada, engineering is defined as a regulated profession whose practice and practitioners are licensed and governed by law.
the creative application of scientific principles to design or develop structures, machines, apparatus, or manufacturing processes, or works utilizing them singly or in combination; or to construct or operate the same with full cognizance of their design; or to forecast their behavior under specific operating conditions; all as respects an intended function, economics of operation and safety to life and property.
One who practices engineering is called an engineer, and those licensed to do so may have more formal designations such as Professional Engineer, Chartered Engineer, Incorporated Engineer, Ingenieur or European Engineer. The broad discipline of engineering encompasses a range of more specialized sub disciplines, each with a more specific emphasis on certain fields of application and particular areas of technology.
So to be an engineer, you have to practice engineering. Whether you can call yourself that way only if you are recognized as such by the state, depends on the laws governing both the discipline and the country you are in.
I just traveled from North to South America and I had the same predicament. I read World War Z, and despite it being fiction, I loved the narrative. I love it, and as many of the worth while Zombie stories it has something to say beyond the brain eating ghouls.
Fork it, you are still free to do it. That's why it is still open software. Other than that, they have a vision on what the browser called Chrome should be, of which Chromium is the dev version.
anyway this assholery has just persuaded me not to use chrome ever. and i had some complains with firefox too.
Generally, the less you have to move the mouse, the better. If the tabs are between the text and URL bar, you save 60ish pixels of movement compared to Chrome's arrangement every time you touch a tab, which tends to be a lot. On the other hand, you type into the URL bar at least an order of magnitude less often.
Yes, but you gain on the infinite height of a tab ending at the top of the screen. By having tabs on top with the window maximized, you have to only aim in the X axis and move the cursor up, instead of having to aim at a small area in XY, which is demonstrably harder and more time consuming.
As others have already pointed out, Don't Make Me Think is great and to the point, but I'd like to recommend to you The Design of Everyday Things, which doesn't talk specifically about computer user interfaces, but does provide useful advice and gets you into the necessary mindset for the task. Good UI design isn't something you can just get from a book, but a book can help you get you thinking.
Also, look at horrible interfaces to learn what not to do.
LibreOffice works well enough on OS X Lion as does OpenOffice.org. However, neither of them are a native OS X application with the look and feel and this is a reasonable deal breaker for me. Plus it's not as fast as MS Office running under VMWare Fusion!
DSL
So, it works ok, but it doesn't look right on OS X, so your solution is running Windows' MS Office? Just trying to follow the logic here.
I loved to play the Rainbow Six series, and those fucking civilians would always get between my gun and the head of the last remaining terrorist. I also remember killing scientists in Half-Life just because they wouldn't move anymore after some map point.
If games now don't have civilians in them is just because the games distributors don't have the balls or the will to take a little heat from stupid people that don't understand that a deaths in a video game are just as bad for your development as seeing a nipple: not at all.
If you put the player in front of a choice where they can do good things or bad things, they will do bad things, go [to the] dark side because people think it's cool to be naughty, they won't be caught
ResolverOne is written entirely on IronPython. IIRC, each file also can embed Python code with a subset of the standard library, so it's like VBA on steroids. You decide if that's good or bad.
What you are missing is that you can easily connect to C/C++ code from Python and vice versa. So you can write all your code in Python, find through profiling which small pieces of code are hot/heavily used, and replace that with C code.
As most things in life do, code usually follows the Pareto distribution: 80% of the time is spend in 20% of the code. If Python is fast enough for, let's say 90% of your code, and you are much more productive in Python than C, then writing most all the code in Python first, and replacing the bits and pieces that are too slow for you with C functions, is much more efficient use of your time than writing everything in C.
Also consider that sometimes you have to go in fishing expeditions for the correct algorithm to do what you are doing. Doing so in Python, with the speedup in iterative design that that carries, and even if that once you find the most efficient algorithm for your problem you implement it in C, you will have had spend the same time as before, but knowing all the ways you can't do it, and have arrived to an at least nearly optimal solution.
Most of the time you don't need that much speed. When you do, you have to have the right algorithm and the right language. I also put forth that Python has a lot of modules that are already written in C, so you take advantage of existing optimized code that you don't have to write.
Specially considering that you can rewrite that as return a + (a > 0) - (a <= 0) or return a + 1 if a > 0 else a - 1 or a multiplicity of other options :)
First link in google: How to run the eeepc.iso inside VirtualBox
Skinner: Well, I was wrong. The lizards are a godsend.
Lisa: But isn't that a bit short-sighted? What happens when we're overrun by lizards?
Skinner: No problem. We simply release wave after wave of Chinese needle snakes. They'll wipe out the lizards.
Lisa: But aren't the snakes even worse?
Skinner: Yes, but we're prepared for that. We've lined up a fabulous type of gorilla that thrives on snake meat.
Lisa: But then we're stuck with gorillas!
Skinner: No, that's the beautiful part. When wintertime rolls around, the gorillas simply freeze to death.
http://www.snpp.com/episodes/5F22 Bart the mother
An engineer is a professional practitioner of engineering, concerned with applying scientific knowledge, mathematics and ingenuity to develop solutions for technical problems. Engineers design materials, structures, machines and systems while considering the limitations imposed by practicality, safety and cost. The word engineer is derived from the Latin roots ingeniare ("to contrive, devise") and ingenium ("cleverness").
In the US and Canada, engineering is defined as a regulated profession whose practice and practitioners are licensed and governed by law.
Engineering:
the creative application of scientific principles to design or develop structures, machines, apparatus, or manufacturing processes, or works utilizing them singly or in combination; or to construct or operate the same with full cognizance of their design; or to forecast their behavior under specific operating conditions; all as respects an intended function, economics of operation and safety to life and property.
One who practices engineering is called an engineer, and those licensed to do so may have more formal designations such as Professional Engineer, Chartered Engineer, Incorporated Engineer, Ingenieur or European Engineer. The broad discipline of engineering encompasses a range of more specialized sub disciplines, each with a more specific emphasis on certain fields of application and particular areas of technology.
So to be an engineer, you have to practice engineering. Whether you can call yourself that way only if you are recognized as such by the state, depends on the laws governing both the discipline and the country you are in.
We are the wall.
Blindly saying never use a goto doesn't always give you the best solution.
Blindly saying never do X hardly ever gives you the best solution.
I just traveled from North to South America and I had the same predicament. I read World War Z, and despite it being fiction, I loved the narrative. I love it, and as many of the worth while Zombie stories it has something to say beyond the brain eating ghouls.
You could argue that being shot into space counts as the most enjoying thing you could do with your wealth.
This time, it's personal!
"That's a nice trademark you have there, it would be a shame if anything where to happen to it."
You reminded me of BBC's Century of the Self, which talks about pretty much that. Very recommendable.
This is what this makes me think about.
anyway this assholery has just persuaded me not to use chrome ever. and i had some complains with firefox too.
You still have Opera, IE and Safari...
Generally, the less you have to move the mouse, the better. If the tabs are between the text and URL bar, you save 60ish pixels of movement compared to Chrome's arrangement every time you touch a tab, which tends to be a lot. On the other hand, you type into the URL bar at least an order of magnitude less often.
Yes, but you gain on the infinite height of a tab ending at the top of the screen. By having tabs on top with the window maximized, you have to only aim in the X axis and move the cursor up, instead of having to aim at a small area in XY, which is demonstrably harder and more time consuming.
As others have already pointed out, Don't Make Me Think is great and to the point, but I'd like to recommend to you The Design of Everyday Things, which doesn't talk specifically about computer user interfaces, but does provide useful advice and gets you into the necessary mindset for the task. Good UI design isn't something you can just get from a book, but a book can help you get you thinking.
Also, look at horrible interfaces to learn what not to do.
LibreOffice works well enough on OS X Lion as does OpenOffice.org. However, neither of them are a native OS X application with the look and feel and this is a reasonable deal breaker for me. Plus it's not as fast as MS Office running under VMWare Fusion!
DSL
So, it works ok, but it doesn't look right on OS X, so your solution is running Windows' MS Office? Just trying to follow the logic here.
If games now don't have civilians in them is just because the games distributors don't have the balls or the will to take a little heat from stupid people that don't understand that a deaths in a video game are just as bad for your development as seeing a nipple: not at all.
If you put the player in front of a choice where they can do good things or bad things, they will do bad things, go [to the] dark side because people think it's cool to be naughty, they won't be caught
And that's bad because...?
So Hell froze over?
ResolverOne is written entirely on IronPython. IIRC, each file also can embed Python code with a subset of the standard library, so it's like VBA on steroids. You decide if that's good or bad.
Looking at this, it seems fitting for Hewlett Packard to find such a Cthulhian fate...
You people give handicapped parking privileges to legally blind employees?
Or a printer.
Saying that he is a great driver is like saying that indian drivers should be jet pilots because of their skill and that russians shouldn't be allowed to even crawl out of their homes.