"I can reproduce it. First logon to 'www.bigjugs.com', then I click the link to 'charlene' and I see a page of 500 thumbnail images. I click on each one in turn until about after image 220..... uerrmmm.. nevermind, I think I'm not sure I can reproduce it, there's just a memory leak that I saw once, umm maybe it has something to do with the back button code?"
you think that could be bad, it'd be heavenly, compulsive, viewing compared to...
"meesa going on biiig adventures with meesa new dwarf friends"
Its not the first movie sequel that's about a prequel. I reckon he'll go the opposite way - this is a children's book yet the movie will be dark and black with adult-only overtones and violence that mean it'll get a 15 cert.
The issue with a lack of threading primitives in C++ is that its the calls are not standardised, so each implementation can do it their own way, usually by doing it the OS way (eg Windows' BeginThread() call). Once the C++ gets standard threading, then all C++ compilers will provide calls to access these facilities in a common way, and portable code becomes easier. Until then, you either use a library or code for that particular OS, which is what people have been doing for many, many years.
Yeah, but they do it really slowly 'cos you're tied to the framework that has to do it safely no matter what - even if you have 2 threads that never interact with each other, the framework will slap synchronisation all over them anyway.
(I know - I had a discussion with a chap about C# thread-safe singleton initialisation. A simple app to test performance on my little laptop had a static initialised singleton taking 1.5 seconds, lock-based initialisation in 6 seconds. No big deal, we expect that, but then I ran the same tests on a dual-CPU server and both apps took 30 seconds - the framework decided it knew best).
you're kidding! Sorting is used practically everywhere, from a simple list of items in a drop-down box for user selection to the payroll records of every employee that's due to be merged with the monthly salaries.
Parallel sorting is *hard*. Very hard. The problem is not that anyone can design a sort algorithm that runs in several threads, but that the data is a single lump. If you have 2 cores sorting a list, that list effectively has to be in 2 places at the same time (ie each core's cache). That makes the sorting very slow as the system spends more time moving data from core to core than it spends actually sorting.
That doesn't even count adding synchronisation mechanisms to the problem.
Multithreading is quite easy, multithreading that is faster than single threading is quite hard (ok, I exaggerate, but it can get very slow very quickly if you're not careful).
Actually, it is *the* worse summary. Its a sad day when even the submitter doesn't RTFA:
Summary:
The article doesn't mention the AMFPHP project... Article:
.... said Wade Arnold with AMFPHP. "Working with Adobe, we can create a common programming model that enables RIA developers to extend the reach of their applications across different server technologies in a compatible and consistent approach. The AMFPHP project is ecstatic to be able to work directly with Adobe in order to better leverage the AMF protocol in LAMP applications."
Wrong, businesses want websites that work and look pretty (to summarise). If there's a misplaced '>' in their page, they'll get the web designer to fix it.
Competant businesses don't care about technology for technology's sake.
First, my graphics card stopped overheating and blue screening That's because you have the crappy Nvidia drivers that don't perform anything like as well as the y did on XP. Your gfx card isn't overheating because you're working it about half as much as it could go. Get better cooling and a new driver, I think Nvidia has released ones that work by now.
I think the point is that everyone is so disappointed with the new version. We wanted more stuff in it, faster stuff, better stuff, more responsiveness and more usability.
Unfortunately MS let us down, it delivered a product with a few good things (I/O cancellation and enforced standby states for example), but also gave us explorer that hangs for a second or two when asked to delete a few files, or stops and scans your drive when you click on a folder, or takes up a ton of memory to display a window, or has a web-browser style back button instead of the customary next/prev buttons, or DRM of course, or requires non-XP drivers.
Is it any wonder no-one wants to spend money upgrading to it?
Incidentally, MS does this trick all the time now. When.NET came out the marketing hype was truly immense. I almost thought that is was impossible to write code that worked using COM. God knows how I managed it for all those years!
worse, if you're going to make superhumans its ok to keep them locked up in a military campaign away from the civilian population. Roy was created to be capable of starting a revolution and overthrowing the government - this is why its such a big deal when they escape.
So if you want a Nexus 7 to go hunting them, you can't create it as powerful as Roy - you'd only be running the risk of 2 supermen running riot out there! So you create Dekkard as a bit of a wuss, if he realises what he is and tries to escape the damage is limited.
Dekkard isn't working as an exterminator primarily anyway, he's an investigator. Perhaps in Blade Runner 2 (or should that be "Blade Runners") we'd see the special forces troops in the background with the big guns ready to come in when Dekkard2 reports he's found them (or gets killed)
Incidentally, why doesn't Holden know Leon was a replicant in the beginning? Think that these are military creations, the military doesn't exactly let anyone know what's going on unless they have to. You can imagine the political turmoil when they first escaped, the military tried to find them quietly until they came to the attention of the civil authorities by killing Holden, questions were asked in special committee, a junior secretary in the defence department 'resigned', the media was given an order restricting reporting (to maintain public order), and only *then* were the replicants' files released to the police.
The best reason to use the existing technology is because you're currently using it. They could do a bit in Pythin, and another bit in PHP with perhaps a snippet of RoR in there that someone did a prototype in to see if could replace the entire codebase (ha), with a couple of C modules someone wrote for some fast-access parts, maybe with a VB.NET module that was written by someone experimenting with the latest 'coolest' tech, and a slice of Java written by an intern once.
Or they could leave that kind of technology nightmare and stick to writing business applications that solve business needs and not the developer's current wet dream.
'm interested in a free exchange of code that lets me do whatever I want with it. Public domain does not do that for me. No, pubic domain does *exactly* that. You can take his code now and do *whatever* you like with it. Even to the extent of making it into a closed-source proprietary product!
The GPL restricts your ability to do the above, it does not increase your options, it restricts them. Whether that is a good thing or not is a matter of opinion, but it is obviously not as free as PD code.
I don't use a Mac, but it's always worked for my home PC. Perhaps 2Gb per file is past some limit and I'm not sure you'd want to use it for such very large files. Here, you're better off with a networked/external drive (or even a DVD-RW).
FTA:
The Mountain View, Calif., company plans to provide some free storage, with additional storage allotments available for a fee Sounds exactly like Mozy, but with mozy you can excrypt everything with your own key, makes uploading no different but you have to decrypt any restored files yourself. Somehow I cannot see Google doing this as they'll want to use their technology to keep a single copy of a file on their servers if several people upload the same one.
I'm not sure how they'll manage to slip adverts in either, maybe you'll only be able to access file restores with a web UI?
So, all in all, Mozy is better. Now we all need to go tell them we want a Linux client to go with the Windows and Mac ones and not to take the piss with the alternative they light-heartedly suggest: "Run a cron job of rsync, gzip and mcrypt piped over ssh to your friend's server over his DSL line."
If you really feel the need to provide some online persona for an employer, make a new one. Create a cute little profile on all the big social networking sites, and post carefully censored historical details of your life. you mean something like the reason you're looking for work?
The email in question wasn't spam, it was a direct user-to-user email, albeit with many, many, many, many, many, many, many, many, many, many, many, many, many, many, many, many, many, many, many, many, many, many, many users.
Have you seen any of those Search Engine "Optimised" URLS? eBay is possibly the most common, I've not seen on less that 200 characters either, but that doesn't mean all the others are just as bad.
Besides, any memory leak in a Java program is possible in a C app, so you are eliminating a class of leaks, not replacing them with harder to find leaks. Thus your entire argument is moot. You mean the article's memory leak - where they 'deleted' an object they'd stored and then were surprised to find that the object was still present in the app? If you tried that in C you'd segfault. So, yes, here is an example of a memory leak in Java that would not be present in C. Thus my entire argument is correct.
My main point was though, that anywhere you have an advanced feature that is billed as letting you get away without thinking, you're going to have to think about it anyway; and less experienced programmers will get themselves into trouble when using it.
Full implementation was left as an exercise for the reader:) A bitmap of free blocks works very well. It really comes in to its own when you have allocators that store 16-byte, 32-byte etc blocks. Then allocate the best fit string/object in there. If you use the lowest level interlocked functions to set the bitmap flag to show the block is used, then you have the ultimate in performance.
No flame here - I think the issues you describe with C# programmers are to do with the age of the language, no-ones really an expert in it as although its been around a while, its only recently people have started coding 'proper' applications in it.
Its my experience with it that apps written using it are poor too though. I've been headhunted twice now by companies that rewrote their old apps in this cool, new language only to find that it performed so badly they couldn't sell it. (I used to be a performance engineer/troubleshooter at my last job).
And its not just C#, its the.NET thing in its entirety. I had a little task to do once that involved taking a dozen DB columns and merging them into 1. No problem, I thought I'd write it in managed C++ (as it was a throwaway oneoff task), and it was easy to write and ran ok on my test DB of 300 rows. When I ran it on the live DB, I calculated it would have taken 13 hours to run through all the half-million rows they had (even after doing every optimisation trick I knew, and cutting the code to the minimum). So I rewrote it in "old-fashioned" OLE-DB and it took 10 minutes.
I suppose it depends... eg.
"I can reproduce it. First logon to 'www.bigjugs.com', then I click the link to 'charlene' and I see a page of 500 thumbnail images. I click on each one in turn until about after image 220..... uerrmmm.. nevermind, I think I'm not sure I can reproduce it, there's just a memory leak that I saw once, umm maybe it has something to do with the back button code?"
you think that could be bad, it'd be heavenly, compulsive, viewing compared to...
"meesa going on biiig adventures with meesa new dwarf friends"
Its not the first movie sequel that's about a prequel. I reckon he'll go the opposite way - this is a children's book yet the movie will be dark and black with adult-only overtones and violence that mean it'll get a 15 cert.
Hope and pray? eh.
The issue with a lack of threading primitives in C++ is that its the calls are not standardised, so each implementation can do it their own way, usually by doing it the OS way (eg Windows' BeginThread() call). Once the C++ gets standard threading, then all C++ compilers will provide calls to access these facilities in a common way, and portable code becomes easier. Until then, you either use a library or code for that particular OS, which is what people have been doing for many, many years.
Damn, now all I need is 8 hard drives to keep those apps fed with data. :-)
Yeah, but they do it really slowly 'cos you're tied to the framework that has to do it safely no matter what - even if you have 2 threads that never interact with each other, the framework will slap synchronisation all over them anyway.
(I know - I had a discussion with a chap about C# thread-safe singleton initialisation. A simple app to test performance on my little laptop had a static initialised singleton taking 1.5 seconds, lock-based initialisation in 6 seconds. No big deal, we expect that, but then I ran the same tests on a dual-CPU server and both apps took 30 seconds - the framework decided it knew best).
you're kidding! Sorting is used practically everywhere, from a simple list of items in a drop-down box for user selection to the payroll records of every employee that's due to be merged with the monthly salaries.
Parallel sorting is *hard*. Very hard. The problem is not that anyone can design a sort algorithm that runs in several threads, but that the data is a single lump. If you have 2 cores sorting a list, that list effectively has to be in 2 places at the same time (ie each core's cache). That makes the sorting very slow as the system spends more time moving data from core to core than it spends actually sorting.
That doesn't even count adding synchronisation mechanisms to the problem.
Multithreading is quite easy, multithreading that is faster than single threading is quite hard (ok, I exaggerate, but it can get very slow very quickly if you're not careful).
Summary: The article doesn't mention the AMFPHP project... Article:
.... said Wade Arnold with AMFPHP. "Working with Adobe, we can create a common programming model that enables RIA developers to extend the reach of their applications across different server technologies in a compatible and consistent approach. The AMFPHP project is ecstatic to be able to work directly with Adobe in order to better leverage the AMF protocol in LAMP applications."Wrong, businesses want websites that work and look pretty (to summarise). If there's a misplaced '>' in their page, they'll get the web designer to fix it.
Competant businesses don't care about technology for technology's sake.
like that never happens in the current scheme of things today?
Probably by sending some cookie data with every request.
:-)
Hmm. just like how HTTP Sessions work
Excuse me if I don't see the point of this news..
.NET came out the marketing hype was truly immense. I almost thought that is was impossible to write code that worked using COM. God knows how I managed it for all those years!
I think the point is that everyone is so disappointed with the new version. We wanted more stuff in it, faster stuff, better stuff, more responsiveness and more usability.
Unfortunately MS let us down, it delivered a product with a few good things (I/O cancellation and enforced standby states for example), but also gave us explorer that hangs for a second or two when asked to delete a few files, or stops and scans your drive when you click on a folder, or takes up a ton of memory to display a window, or has a web-browser style back button instead of the customary next/prev buttons, or DRM of course, or requires non-XP drivers.
Is it any wonder no-one wants to spend money upgrading to it?
Incidentally, MS does this trick all the time now. When
worse, if you're going to make superhumans its ok to keep them locked up in a military campaign away from the civilian population. Roy was created to be capable of starting a revolution and overthrowing the government - this is why its such a big deal when they escape.
So if you want a Nexus 7 to go hunting them, you can't create it as powerful as Roy - you'd only be running the risk of 2 supermen running riot out there! So you create Dekkard as a bit of a wuss, if he realises what he is and tries to escape the damage is limited.
Dekkard isn't working as an exterminator primarily anyway, he's an investigator. Perhaps in Blade Runner 2 (or should that be "Blade Runners") we'd see the special forces troops in the background with the big guns ready to come in when Dekkard2 reports he's found them (or gets killed)
Incidentally, why doesn't Holden know Leon was a replicant in the beginning? Think that these are military creations, the military doesn't exactly let anyone know what's going on unless they have to. You can imagine the political turmoil when they first escaped, the military tried to find them quietly until they came to the attention of the civil authorities by killing Holden, questions were asked in special committee, a junior secretary in the defence department 'resigned', the media was given an order restricting reporting (to maintain public order), and only *then* were the replicants' files released to the police.
I think it would have been better named Content Retrieval Access Protocol.
absolutely.
The best reason to use the existing technology is because you're currently using it.
They could do a bit in Pythin, and another bit in PHP with perhaps a snippet of RoR in there that someone did a prototype in to see if could replace the entire codebase (ha), with a couple of C modules someone wrote for some fast-access parts, maybe with a VB.NET module that was written by someone experimenting with the latest 'coolest' tech, and a slice of Java written by an intern once.
Or they could leave that kind of technology nightmare and stick to writing business applications that solve business needs and not the developer's current wet dream.
The GPL restricts your ability to do the above, it does not increase your options, it restricts them. Whether that is a good thing or not is a matter of opinion, but it is obviously not as free as PD code.
I don't use a Mac, but it's always worked for my home PC. Perhaps 2Gb per file is past some limit and I'm not sure you'd want to use it for such very large files. Here, you're better off with a networked/external drive (or even a DVD-RW).
Try telling the Mozy people.
I'm not sure how they'll manage to slip adverts in either, maybe you'll only be able to access file restores with a web UI?
So, all in all, Mozy is better. Now we all need to go tell them we want a Linux client to go with the Windows and Mac ones and not to take the piss with the alternative they light-heartedly suggest: "Run a cron job of rsync, gzip and mcrypt piped over ssh to your friend's server over his DSL line."
So there I was, at the party and my girlfriend was talking to, I think it was Jessica Alba, when these couple of guys came over and we talked about some companym, IBM I think it was, and I kept looking over and I remember Jessica had really wide eyes and these guys were saying how great something would be, and then they offered me the post of chairman of IBM, , but my gf came over and asked if we could give Jessica a lift home, and I thought if she'd had too much to drink we should just get her a cab or something, but I'm a pretty charitable person and her place was on our way, so the guys gave me their card and told me to call them, but the next day my gf put all my clothes in the wash with hers and Jessicas and the card got all mushed up. And so that's why I never actually became chairman of IBM and that's why I'm looking for work now.
So Mr Neal, is your personality and/or professionalism in any way reflected in your online nickname? :-)
The email in question wasn't spam, it was a direct user-to-user email, albeit with many, many, many, many, many, many, many, many, many, many, many, many, many, many, many, many, many, many, many, many, many, many, many users.
There. fixed that for ya.
Have you seen any of those Search Engine "Optimised" URLS? eBay is possibly the most common, I've not seen on less that 200 characters either, but that doesn't mean all the others are just as bad.
My main point was though, that anywhere you have an advanced feature that is billed as letting you get away without thinking, you're going to have to think about it anyway; and less experienced programmers will get themselves into trouble when using it.
Full implementation was left as an exercise for the reader :) A bitmap of free blocks works very well. It really comes in to its own when you have allocators that store 16-byte, 32-byte etc blocks. Then allocate the best fit string/object in there. If you use the lowest level interlocked functions to set the bitmap flag to show the block is used, then you have the ultimate in performance.
No flame here - I think the issues you describe with C# programmers are to do with the age of the language, no-ones really an expert in it as although its been around a while, its only recently people have started coding 'proper' applications in it.
.NET thing in its entirety. I had a little task to do once that involved taking a dozen DB columns and merging them into 1. No problem, I thought I'd write it in managed C++ (as it was a throwaway oneoff task), and it was easy to write and ran ok on my test DB of 300 rows. When I ran it on the live DB, I calculated it would have taken 13 hours to run through all the half-million rows they had (even after doing every optimisation trick I knew, and cutting the code to the minimum). So I rewrote it in "old-fashioned" OLE-DB and it took 10 minutes.
.NET either.
Its my experience with it that apps written using it are poor too though. I've been headhunted twice now by companies that rewrote their old apps in this cool, new language only to find that it performed so badly they couldn't sell it. (I used to be a performance engineer/troubleshooter at my last job).
And its not just C#, its the
I'm not a fan of