And using an efficient algorithm requires knowledge of how computers work, take for instance a collection of algorithms for manipulating strings.
String a; String b; a = "hello this is a string" String b = right(first_occurrence_of(" " in a), a)
etc... not too uncommon in a lot of code.
Now there's the fast way of doing this.
a = "hello this is a string" position = scan(a until [a] =" ") b = pointer( a + position)
and the slow way
a = "hello this is a string" position = scan(a until [a] =" ") b = copy_data(from(a) starting_at(position) to lengthof(a))
Most libraries and languages seem to use the 'slow' way (even though cop on update could be used to preserve the contents of a or b if they change)
Now that's just a simple example of strings where most programmer just use what the toolkits given them because they either don't know better, can't do better or just assume that the toolkit is good. When it comes to graphics and widget toolkits things get even worse.
poor implementation [by toolkits and languages] can make you applications run upto 20 times as slow (based on converting a Delphi app to ASM using exactly the same algorithms for the job in hand).
'Graphical displays transparent menus and effects, and real-time effects also consume a lot of processing power. The catch for computer makers is that most users expect them.'
I've written a RTF editor graphics and all, in vb 3 (interpreted!) that ran fine on a 486, the problem now adays is that people don't write optimised algorythems any more. (just try loading 100 largish jpegs up in firefox and watch it choke, because it load the whole fucking lot into ram and doest just keep the image sizes and use caching for the ones not on display.
Clipping, visible regions bounding boxes and other matrix are all easy to cache with a low memory and cpu overhead (typically the boost performance).
If Doom3 or Halflife can cope with hundreds of megs of data using similar partitioning techniques why should the rest of the UI world.
'Word processing' 'These days, it's the automatic features on these programs that can slow down your system.'
Use threads that run at a lower priority than the rest of the work for all this auto shit, that way they wont slow the rest of the world down, and wont take out the word processor when they fuck up.
Also, if they made the checkes more intelegent (e.g. they checked you common errors first) then they would have much better accuracy and much lower overhead.
'Program complexity Program complexity is probably the biggest culprit when your supposedly speedy processor still runs slow.'
As I've said above, more complexity can speed things up a hell of a lot (think quick sort vs bubble sort), it's the wrong type of complexity : poor modularity, poor encapsulation, running everything in the same process Program complexity Program complexity is probably the biggest culprit when your supposedly speedy processor still runs slow; that's slowing things down.
Try running windows 3.1 on a modern pc (you may have to take out some of the ram as it's got a problem with large ammouts of memory) then tell me again that windows is slow?
That's why it should be replaced with something worthy of working on as a proper DB. (do people have to find a new way of implementing something in Berkley DB to get a scholarship to some university or something?)
That has to be the biggest crock of shit I've seen for ages.
First off, MP3 is easy to decode, the overhead it may even be less than the page faults your going to introduce by decompressing the whole lot to ram so why bother?
Secondly. 'How memory buffers work'
Memory buffers provide a smallish window of memory that hardware can access, lets say 1mb for audio.(n.b. large memory buffers can also cause high latency)
Even is decompressed the player will still have to keep filling the memory buffer, which may cause skip if the player can't keep up with the audio drivers requirements.
Given that Mp3 is easy to decode there is no point eating 60mb of ram when the file can be stored in 5mb and easy the overall load on the system.
The article should say linux based distributions not linux distributions, but based is too long a word for bill to waste on Linux.
The Linux community should do more to promote the fact that Linux runs set-top-boxes, remote controls, mobile phones, cars to get rid of the PC only image that allows Bill to use the word Linux and mean Linux based distributions that run on x86 PC's in direct competition to Microsoft Windows. I don't want RPM's on my dvd player or firewall, so fork away.
Don't be fooled by the apparent install procedure consistencies in Windows, there are more different installers for windows than there are for linux. MSI, InstallShied of various types, wise VB setup to name a few, and when the one you need doesn't work theres no way to install the product, at least with GPL there's always the tar -xjf autoconf./configure make install option
Postgres, quite nice, easyish to bolt extensions onto, could do with proper xpath queries, and better synchronisation not great for some workloads etc...
SAP, does it work as a good general database?
Then there are a few text DB engines that should be replaced with XML, Berkley DB that should just be replaced especially now there's SQLLite.
What is the problem with line-widths? do they scale double or something? are they always drawn centred instead of on the outside? how are they different from you 'solution' when they should be the same?
'The development of the printing press has also left its mark. Early printers developed many "rules" in an attempt to make spelling more consistent for the wider audience they were trying to reach. Many of the rules were largely to do with the practicalities of the printing press. For example, it became common to add an "e" to words to fill a line of print. They also used rules from their own languages e.g. the "h" in "ghost" is due to the influence of Flemish printers, whose word was "gheest".'
1: I would expect that the help system it good, so by preventing it from being in other products you make those products artificially worse than they could be.
This hurts 'The People'
2: Some guy has just been working for one company, and probably put a lot of effort into the help system. He them moves to another company and because this great idea is still in his head he implements it there too. Opps, patent infringement, that hurts 'the people' because they cannot do what they think, though police by proxy.
3: So during the time the guy way implementing the help system at the new company his old company were lazy and couldn't be bothered to improve the system they were using. This hurts the 'people'
If his old company was so lazy as to not innovate further then fuck em, lazy fucks stop claiming benefits from 'old technologies' and do some real work.
Anyhow, the 'company' didn't invent anything, the people who work for the company did and if anything they should be the only ones allowed to protect their work.
Hell, I got savefiles (which are arguably "my
own") that are much greater than that.
How much crap is in those files?
All I'm saying is that unless your using digital media where analogue would probably be better (photos, audio) then it's going to take you a hell of a long time to input 40Megs.
I've been programming almost continuously for the past 20 years and i'd be suprised if I had more than I doubt I have much more than 100meg of code.
20 *365 = 5300 days at 20k per day or about 1000 lines or 10 pages. That's also 100, 530 page long books.
Let's pick.NET and Kerberos as areas where Microsoft either wanted to create it's own non-standard or didn't follow the standard.
I remember the whole DHTML war before there was a proper DOM, Microsoft didn't want standards then either (I think this was about the time they were shipping Microsoft not-jvm)
Quick, pop down the hospital and put nappies on all the newborns before some perve gets in there.
I would say you are suffering from 'Ego transfer', you have transferred you 'pervy' ego onto the photos of children.
I could be waking off over you right now, it's just the way you talk about the children. Or I could be waking off over a child I saw walking down the street, or over George Bush (yumm), or over that pig/. has for spam.
Stop with the thought police.
Anyhow, in the US congress has said that so long as the child isn't being exploited directly then it's ok. since looking at porn doesn't turn you into a rapist, you can even make virtual kiddie porn (manga I suppose) and sell if openly on the street.
And using an efficient algorithm requires knowledge of how computers work, take for instance a collection of algorithms for manipulating strings.
String a;
String b;
a = "hello this is a string"
String b = right(first_occurrence_of(" " in a), a)
etc... not too uncommon in a lot of code.
Now there's the fast way of doing this.
a = "hello this is a string"
position = scan(a until [a] =" ")
b = pointer( a + position)
and the slow way
a = "hello this is a string"
position = scan(a until [a] =" ")
b = copy_data(from(a) starting_at(position) to lengthof(a))
Most libraries and languages seem to use the 'slow' way (even though cop on update could be used to preserve the contents of a or b if they change)
Now that's just a simple example of strings where most programmer just use what the toolkits given them because they either don't know better, can't do better or just assume that the toolkit is good. When it comes to graphics and widget toolkits things get even worse.
poor implementation [by toolkits and languages] can make you applications run upto 20 times as slow (based on converting a Delphi app to ASM using exactly the same algorithms for the job in hand).
'Graphical displays
transparent menus and effects, and real-time effects also consume a lot of processing power. The catch for computer makers is that most users expect them.'
I've written a RTF editor graphics and all, in vb 3 (interpreted!) that ran fine on a 486, the problem now adays is that people don't write optimised algorythems any more. (just try loading 100 largish jpegs up in firefox and watch it choke, because it load the whole fucking lot into ram and doest just keep the image sizes and use caching for the ones not on display.
Clipping, visible regions bounding boxes and other matrix are all easy to cache with a low memory and cpu overhead (typically the boost performance).
If Doom3 or Halflife can cope with hundreds of megs of data using similar partitioning techniques why should the rest of the UI world.
'Word processing'
'These days, it's the automatic features on these programs that can slow down your system.'
Use threads that run at a lower priority than the rest of the work for all this auto shit, that way they wont slow the rest of the world down, and wont take out the word processor when they fuck up.
Also, if they made the checkes more intelegent (e.g. they checked you common errors first) then they would have much better accuracy and much lower overhead.
'Program complexity
Program complexity is probably the biggest culprit when your supposedly speedy processor still runs slow.'
As I've said above, more complexity can speed things up a hell of a lot (think quick sort vs bubble sort), it's the wrong type of complexity : poor modularity, poor encapsulation, running everything in the same process Program complexity
Program complexity is probably the biggest culprit when your supposedly speedy processor still runs slow; that's slowing things down.
Try running windows 3.1 on a modern pc (you may have to take out some of the ram as it's got a problem with large ammouts of memory) then tell me again that windows is slow?
That's why it should be replaced with something worthy of working on as a proper DB.
(do people have to find a new way of implementing something in Berkley DB to get a scholarship to some university or something?)
That has to be the biggest crock of shit I've seen for ages.
First off, MP3 is easy to decode, the overhead it may even be less than the page faults your going to introduce by decompressing the whole lot to ram so why bother?
Secondly.
'How memory buffers work'
Memory buffers provide a smallish window of memory that hardware can access, lets say 1mb for audio.(n.b. large memory buffers can also cause high latency)
Even is decompressed the player will still have to keep filling the memory buffer, which may cause skip if the player can't keep up with the audio drivers requirements.
Given that Mp3 is easy to decode there is no point eating 60mb of ram when the file can be stored in 5mb and easy the overall load on the system.
Stop talking shit, it stinks.
People seem to forget that they are living in a world that is run by companies.
Shit on employee (well metaphorically)
Employee leaves and takes ideas.
Close down the company he went to.
It's been nice doing business with you, have a nice day.
since when did you run a 'kernel only' os?
The article should say linux based distributions not linux distributions, but based is too long a word for bill to waste on Linux.
The Linux community should do more to promote the fact that Linux runs set-top-boxes, remote controls, mobile phones, cars to get rid of the PC only image that allows Bill to use the word Linux and mean Linux based distributions that run on x86 PC's in direct competition to Microsoft Windows. I don't want RPM's on my dvd player or firewall, so fork away.
Try installing wine and binfmt.
./configure
Don't be fooled by the apparent install procedure consistencies in Windows, there are more different installers for windows than there are for linux.
MSI, InstallShied of various types, wise VB setup to name a few, and when the one you need doesn't work theres no way to install the product, at least with GPL there's always the
tar -xjf
autoconf
make install option
We are the /. editors.
/. but it seems like a random system to me (especially with the amount of duplicate, fudd or bad stories)
I have no Idea how stories go from email to
Try posing a few different stories from different email accounts and see which ones get through.
all of them.
MySQL, kinda like Access.
Postgres, quite nice, easyish to bolt extensions onto, could do with proper xpath queries, and better synchronisation not great for some workloads etc...
SAP, does it work as a good general database?
Then there are a few text DB engines that should be replaced with XML, Berkley DB that should just be replaced especially now there's SQLLite.
What is the problem with line-widths?
do they scale double or something? are they always drawn centred instead of on the outside? how are they different from you 'solution' when they should be the same?
'It's very dangerous to read patents because'
If everyone knew how to implement a patented work it would be come unenforceable.
Dangerous but only to the proliferation patents.
'The development of the printing press has also left its mark. Early printers developed many "rules" in an attempt to make spelling more consistent for the wider audience they were trying to reach. Many of the rules were largely to do with the practicalities of the printing press. For example, it became common to add an "e" to words to fill a line of print. They also used rules from their own languages e.g. the "h" in "ghost" is due to the influence of Flemish printers, whose word was "gheest".'
didn't the ducth write part of the english dictionary. hence the h in ghost.
1: I would expect that the help system it good, so by preventing it from being in other products you make those products artificially worse than they could be.
This hurts 'The People'
2: Some guy has just been working for one company, and probably put a lot of effort into the help system. He them moves to another company and because this great idea is still in his head he implements it there too. Opps, patent infringement, that hurts 'the people' because they cannot do what they think, though police by proxy.
3: So during the time the guy way implementing the help system at the new company his old company were lazy and couldn't be bothered to improve the system they were using.
This hurts the 'people'
If his old company was so lazy as to not innovate further then fuck em, lazy fucks stop claiming benefits from 'old technologies' and do some real work.
Anyhow, the 'company' didn't invent anything, the people who work for the company did and if anything they should be the only ones allowed to protect their work.
More to the point, as more and more of the things in the world become patented how are we to protect the people from the patent holders.
that's what I like about kiwis, there sensible.
There are a number of different dialects of English, and I'm expect there's one where both gray and colour are correct. [hint Scotland]
You're suffering from an almost autistic lack of ability to perceive that somethings may be different for other people than they are for yourself.
'barely a hobby photographer'
pro's still use analogue media.
Hell, I got savefiles (which are arguably "my
own") that are much greater than that.
How much crap is in those files?
All I'm saying is that unless your using digital media where analogue would probably be better (photos, audio) then it's going to take you a hell of a long time to input 40Megs.
I've been programming almost continuously for the past 20 years and i'd be suprised if I had more than I doubt I have much more than 100meg of code.
20 *365 = 5300 days at 20k per day or about 1000 lines or 10 pages. That's also 100, 530 page long books.
Almost there, but you really messed up on some points.
Keep it simple, Yes
Keep it small, no make use of other products.
You're not gonna be the next Microsoft ( I read don't setout to be the next Microsoft)
Do many releases, no don't talk about it do it.
Comply with relevant standards, yes.
Everything eventually comes to an end, sometimes you just have to accept it.
Cool, I'm just working on directx under wine now, It would be nice to get Avalon working on Linux.
There was plenty of evidence at the trial.
.NET and Kerberos as areas where Microsoft either wanted to create it's own non-standard or didn't follow the standard.
Let's pick
I remember the whole DHTML war before there was a proper DOM, Microsoft didn't want standards then either (I think this was about the time they were shipping Microsoft not-jvm)
Expert doesn't mean correct.
He looks at the pictures and sees porn It's all in his head and that's what he's scared of, people who think like he does.
He's not a moron, he's a purve, how else could he think that way.
Quick, pop down the hospital and put nappies on all the newborns before some perve gets in there.
/. has for spam.
I would say you are suffering from 'Ego transfer', you have transferred you 'pervy' ego onto the photos of children.
I could be waking off over you right now, it's just the way you talk about the children.
Or I could be waking off over a child I saw walking down the street, or over George Bush (yumm), or over that pig
Stop with the thought police.
Anyhow, in the US congress has said that so long as the child isn't being exploited directly then it's ok. since looking at porn doesn't turn you into a rapist, you can even make virtual kiddie porn (manga I suppose) and sell if openly on the street.
What do you do when you've finished with a 9 year old girl?
Flip her over and pretend she's a nine year old boy.
What did the Romans ever give us?
Baths, stone houses, culture, sex with children.