|
Would you like that written in real-time JAVA?
|
|
|
|
|
I know!
Let's replace all aeroplanes with the drones that Amazon is developing. They could pick up each passenger from home, and drop them (literally!) at their final destination.
If you have an important point to make, don't try to be subtle or clever. Use a pile driver. Hit the point once. Then come back and hit it again. Then hit it a third time - a tremendous whack.
--Winston Churchill
|
|
|
|
|
as long as they don't use parcelforce, as you would get dropped at the local depot and a bit of paper stuck though the letterbox of your destination saying you can be collected between 10.15 and 10.30 any first Tuesday in the month except those ending in y
You cant outrun the world, but there is no harm in getting a head start
Real stupidity beats artificial intelligence every time.
|
|
|
|
|
I feel like that would have been a more appropriate title than "No, it's not always quicker to do things in memory". Of course it's not, when you decide to do it in memory the slowest way possible (namely, but concatenating strings repeatedly). And the other scenario mentioned (prefixing a string) is also easily handled (a certain somebody wrote a certain article on how to do that, but I won't mention any names).
|
|
|
|
|
Back when I was being trained by Charlie and Ada, we never even used string as they were just too damned slow!
veni bibi saltavi
|
|
|
|
|
Ada ah I remember her well but she was a little slut; all those packages coming and going and the occasional rendezvous, made my stack overflow.
New version: WinHeist Version 2.1.0
When you are dead you don't know it, it's only difficult for others.
It's the same when you're stupid.
|
|
|
|
|
Matron, he's out of bed again
You cant outrun the world, but there is no harm in getting a head start
Real stupidity beats artificial intelligence every time.
|
|
|
|
|
They let me leave the home once a week and today's the day!
New version: WinHeist Version 2.1.0
When you are dead you don't know it, it's only difficult for others.
It's the same when you're stupid.
|
|
|
|
|
I didn't realise Charlie and Lola did development training. I know they want kids to program earlier, but isn't that taking things a bit far.
Lola says: "You must absolutely completely remember to check that variable thingy's are not the same as null before using them to get at other thingys".
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
Alan Kay.
|
|
|
|
|
what?
string builders do do it in memory (how else would they do it?) they just don't create new instances for each concatenation
(yes I know it could write it out to disk)
You cant outrun the world, but there is no harm in getting a head start
Real stupidity beats artificial intelligence every time.
|
|
|
|
|
Bergholt Stuttley Johnson wrote: string builders do do it in memory
Yes, obviously. That was my point... that the title and angle of that article are sensational and didn't really demonstrate anything. Had they used a StringBuilder to construct their strings, they would not have come to the conclusion that the hard drive was faster. In fact, since files are mutable data structures, they essentially used the hard drive as a StringBuilder (albeit a very slow one)
|
|
|
|
|
my bad, with this monitor I missed the linky completely, please feel free to abuse me and my crappy monitor
You cant outrun the world, but there is no harm in getting a head start
Real stupidity beats artificial intelligence every time.
|
|
|
|
|
Bergholt Stuttley Johnson wrote: please feel free to abuse me and my crappy monitor
OK: Elephant you and your sunshine of a monitor!
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
jeepers cant you get anything right its
"you sunshine and your elephantine monitor"
I have to correct everyone
You cant outrun the world, but there is no harm in getting a head start
Real stupidity beats artificial intelligence every time.
|
|
|
|
|
Less processing is quicker than more processing?
Don't be ridiculous.
You're obviously not using enough frameworks.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Reminds me of this Connect bug report[^], linked to this blog post[^].
Two years later and it's still open, even though the "bug" was just the author's misunderstanding.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Yes, when you adopt VB6 approach to string-manipulation everything goes pear-shaped.
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
Alan Kay.
|
|
|
|
|
I'm stunned by how often I see people doing things like:
var sb = new StringBuilder();
sb.Append(strText + ", ");
Wait.... You're using a StringBuilder to avoid concatenation, and then use concatenation anyway... ??
Truth,
James
|
|
|
|
|
Nothing too wrong with that. It's not that costly to concatenate strings unless you're adding to the same string repeatedly.
|
|
|
|
|
I just fixed a bug in an old piece of crap code that was bugging me for several weeks because it's near impossible to identify what the code is actually doing. Now I can hope again that I never have to touch this steaming pile of legacy code again - YAY!
What's your good news for today?
|
|
|
|
|
Today's good news is that its home time in 3 1/2 hours
Every day, thousands of innocent plants are killed by vegetarians.
Help end the violence EAT BACON
|
|
|
|
|
19 minutes and counting...
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
Alan Kay.
|
|
|
|
|
forty five minutes left for me..
Swap?
Every day, thousands of innocent plants are killed by vegetarians.
Help end the violence EAT BACON
|
|
|
|
|
3.5 hour commute? The last time I did one of those was a 50-year flood in the San Francisco Bay. All highways were going nowhere.
The difficult may take time, the impossible a little longer.
|
|
|
|
|
In a little over an hour, I'm going on holiday* for two weeks in Hungariaorszag.
* Okay, the girls are on holiday and I'm driving them about.
veni bibi saltavi
|
|
|
|