|
I see what you did there! If I'm right, then I like that one - well done.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I'm getting better at them - been solving them for years but writing them is much harder.
"I didn't mention the bats - he'd see them soon enough" - Hunter S Thompson - RIP
|
|
|
|
|
It is, isn't it?
I had assumed it was just me, but ... nope, it's definitely harder to write a "good clue".
I'll try and post the solution in time today, unless someone else gets it first.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
If you think you've got it post it - I can relax then
"I didn't mention the bats - he'd see them soon enough" - Hunter S Thompson - RIP
|
|
|
|
|
OK, OK ... don't have a cow, man!
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Entrance DO OR
requires insertion
of new N
blood maybe ?
DONOR
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Yay YAUT - i like this one.
"I didn't mention the bats - he'd see them soon enough" - Hunter S Thompson - RIP
|
|
|
|
|
I just bought some 32GB thumb drives for A$4 each.
I remember when I bought my first thumb drive, just over 16 years ago. 256MB for A$60.
128x capacity, 1/15* the price... and pretty much the same size.
* More like 1/11, allowing for inflation
Cheers,
Peter
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
On my first computers HDD drive I ordered "extra 50 MB" of space for 100 €. It was in the lucky 90-ties of last century.
Press F1 for help or google it.
Greetings from Germany
|
|
|
|
|
My first computer - an Amstrad 1640 - I upgraded from twin 360KB floppies to 1 32MB hard drive. Which cost £400 back then, around £1000 in modern money ... about the same as the rest of the computer!
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
£400 is what I paid to upgrade the 8KB of memory in my Commodore PET to a massive 16KB! What a powerful machine! A PET Users Group guy who worked for a local insurance company mentioned that their mainframe only had 8KB of memory at that time! I paid £1,200 to add a twin floppy external drive box to my PET a little later. 2x 1.02MB 5.25" floppies (at the same time!) Who who ever need more space than that? I had a box of 5 floppies (which cost quite a bit, I don't remember) and I still had 2 left, unused by the time I sold my precious PETs off to a local business I wrote some software for.
- I would love to change the world, but they won’t give me the source code.
|
|
|
|
|
My first experience with a HDD, I was working as an assembler programmer on an Apple II and the boss bought a 5MB drive. I don't know how much he paid for it but I don't imagine it was cheap. Thing sounded like a jet taking off when it started up.
|
|
|
|
|
Be careful to test them. Some of the "bargain" thumb drives run at USB-old speeds and get really hot. At least in my experience.
I do remember replacing a 40 meg (not gig) hard drive with a 120 meg ($300) instead of an 80 meg because it would be all I would ever need.
I now have W10 and S2016 VM's over 150GB.
If you can keep your head while those about you are losing theirs, perhaps you don't understand the situation.
|
|
|
|
|
These are name-brand, store clearance prices. USB2.0, but I don't have any 3.0 slots to poke them in.
My first PC was an XT clone, with a whopping 10MB disk. And an 8087 that cost an arm and a leg.
My home server currently has 8TB of RAID1.
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
I remember paying:
- ~17$ for a single blank CD - back at a time when it was trivially easy to end up with a coaster
- ~700$ for 64MB of RAM (not GB, MB)
- ~900$ for a scanner
- ~1600$ for my first 17" LCD monitor
If car prices followed the consumer electronics trend, I wouldn't be driving a 15-year old car.
|
|
|
|
|
Let's say I'm drawing a bitmap from one source to a destination.
I can specify the source and destination rectangles, and the resize options, which can be bicubic, bilinear, "fast" or crop.
If the destination rectangle is flipped horizontally or vertically, the bitmap will be drawn flipped
When it's cropped and flipped though things get interesting.
say my source rect is 32x32 and destination rect is 64x64, meaning my final rect (unflipped) would be
____
|11 |
|22 |
| |
|____|
Where 11/22 is my source rows of bitmap data and the rest ends up being "blank". This is because the dest rect was 4x the size of the source rect.
Now if I flip it vertically, is it more intuitive for it to draw like this?
____
|22 |
|11 |
| |
|____|
or this?
____
| |
| |
|22 |
|11__|
Currently I'm doing the latter.
Real programmers use butterflies
|
|
|
|
|
Think of cropping, flipping, etc. as a set of transforms. The order of the transforms determines your semantics.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
Right, but in this case, I have to pick an order which is why I'm asking. I can't just separate out these individual transform steps so you can reorder them without greatly complicating the draw operation, and basically increasing code size in a constrained environment.
You get one method. You get one set of flat/scalar parameters.
You don't get reordering transforms and such. This isn't photoshop, and it honestly doesn't need to be that complicated - it just needs to handle the most common use case.
I should add, you could separate those operations using intermediary bitmaps and multiple draws but obviously that's not efficient. It's not really a common use case though, in this context, for what it is being used for.
Real programmers use butterflies
|
|
|
|
|
honey the codewitch wrote:
____
| |
| |
|22 |
|11__|
This seems / feels more correct to me
(just me 2 cents )
Tom
|
|
|
|
|
Thank you!
Real programmers use butterflies
|
|
|
|
|
I agree, the latter is (a bit) more intuitive.
"If we don't change direction, we'll end up where we're going"
|
|
|
|
|
I suppose it depends on what you want to offer / accomplish...
If the processing is to flip and rescale at once, then for me the second option (11 in the last line) is the correct one
If you flip and then (afterwards) rescale the bitmap, then would be the option 1 (11 in the middle)
But if I go from an image in A4 to the vertically flipped in an A3, I would expect option 2 (11 in the last line)
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
In this case I'm not scaling. When I am, the image takes up the entire rectangle. I'm simply drawing as is (crop mode, but there's no cropping happening because the bitmap was smaller than the destination rect)
Real programmers use butterflies
|
|
|
|
|
honey the codewitch wrote: I'm simply drawing as is (crop mode, but there's no cropping happening because the bitmap was smaller than the destination rect) Then it should be the 11 in the middle.
Flipping the A4 and insterting it later in the A3 gives the 11 in the middle.
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
huh?
11 is the first row of the bitmap
22 is the second row of the bitmap
I didn't insert anything later.
I am copying a bitmap from one location to the other using two rectangles to specify the source and destination extents.
There are no insertions. There are no deletions. There is nothing in the middle. There never will be because is there no case where that is the correct answer.
The correct answer is one of the two I have shown. Nothing else is valid. If you think otherwise, it's because frankly, you don't quite understand the problem, though I'm at a loss as how to explain it better than I have. Sorry for that.
Real programmers use butterflies
|
|
|
|