|
Never heard of Scrap before so this is a new one for me.
I like naming stuff though and find this the easiest part.
Mind you have regretted some of my names.
"Rock journalism is people who can't write interviewing people who can't talk for people who can't read." Frank Zappa 1980
|
|
|
|
|
Some people have called my code idiosyncratic.
i , j , k for loop indices with scope inside the for loop.
rc for any numerical function return code with a small scope.
val for many kinds of value, as a formal argument name.
that for the argument of a copy constructor.
My input variables tend to have real names.
I mostly store results in variables instead of using the rvalue result because it's typical that I have to test them more than once.
|
|
|
|
|
Short and sweet is OK.
I detest super long naming. I am Lazy.
I will usually use i, j and k for loops but I also use n.
Preference order is i, n, j and then k.
I have no idea of why n became the second choice.
But it sort of just makes sense, as we can use it and it is a number.
"Rock journalism is people who can't write interviewing people who can't talk for people who can't read." Frank Zappa 1980
|
|
|
|
|
For decades I too used i,j,k for loops, but over the last years I increasingly switched to more telling names, so I wouldn't need to constantly check and doublecheck whether or not I'm referencing the right index within a triply nested loop. It's much easier to accidentally use "i" and "j" incorrectly than "row" and "column"!
This change of mind was caused mainly by having to read so many nested loop codes and constantly stumbling over the problem that code containing such nested loops would often do this not just once, but several times, but not always use the same index variables for the same index
GOTOs are a bit like wire coat hangers: they tend to breed in the darkness, such that where there once were few, eventually there are many, and the program's architecture collapses beneath them. (Fran Poretto)
|
|
|
|
|
I'll admit having switched more recently to row and col instead of i and j for some loops. I have to say that a triply nested loop is very uncommon in my experience, except for performance testing.
Gotos are a thing I don't understand. I haven't written a goto in 20 years. I just don't need them. Gotos are for people who don't understand C++ well enough.
|
|
|
|
|
Does Nicola Sturgeon[^] like like a younger version of Angela Merkel[^].
Maybe it's a Lady-Prime-Minister thing . . . or a cloning experiment gone wrong?
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
I think she looks more like a grown-up Jimmy Krankie.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Richard Deeming wrote: like a grown-up Jimmy Krankie But not as pretty.
|
|
|
|
|
"I didn't mention the bats - he'd see them soon enough" - Hunter S Thompson - RIP
|
|
|
|
|
I just found myself Ctrl-Tabbing between the two images.
What on earth am I doing?!?!?
I need or possibly
|
|
|
|
|
It is just the haircut.
She is a lawyer not a scientist.
"Rock journalism is people who can't write interviewing people who can't talk for people who can't read." Frank Zappa 1980
|
|
|
|
|
grralph1 wrote: She is a lawyer not a scientist. She's neither: she's a politician.
grralph1 wrote: It is just the haircut. Along with the facial features - yeah I see what you mean.
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
Quote: She's neither: she's a politician.
Well she is now.
"Rock journalism is people who can't write interviewing people who can't talk for people who can't read." Frank Zappa 1980
|
|
|
|
|
W∴ Balboos, GHB wrote: or a cloning experiment gone wrong?
Or maybe it's politics that do that to you.
|
|
|
|
|
Data format inserted in charged particle (11)
// TODO: Insert something here Top ten reasons why I'm lazy
1.
|
|
|
|
|
Information ?
"I didn't mention the bats - he'd see them soon enough" - Hunter S Thompson - RIP
|
|
|
|
|
Too easy. You're up tomorrow.
// TODO: Insert something here Top ten reasons why I'm lazy
1.
|
|
|
|
|
Way too easy especially the charged particle
"I didn't mention the bats - he'd see them soon enough" - Hunter S Thompson - RIP
|
|
|
|
|
Being a Bear of Very Little Brain, could you elucidate? I haven't got it!
|
|
|
|
|
Data format inserted in charged particle (11) I could be wrong but ...
in = word in the clue
format = word in the clue
charge particle = ion
format inserted in charged particle = put 'format' between 'in' and 'charged particle' (ion) => in format ion => information
information = data P.S. I hadn't got the solution. I have just reverse engineered the solution to get its derivation
|
|
|
|
|
Ah! Thanks for that. I also tried reverse engineering and got completely sidetracked by 'fermion', which of course would have to be spelt wrong!
|
|
|
|
|
It actually wasn't a very well constructed clue - it was just a very obvious solution
"I didn't mention the bats - he'd see them soon enough" - Hunter S Thompson - RIP
|
|
|
|
|
I'm very new to crytic's and I've only posted about a half dozen or so.
As I've said in the past, constructive comments on my clues are always welcomed to help me improve for the next one.
// TODO: Insert something here Top ten reasons why I'm lazy
1.
|
|
|
|
|
Spot on.
// TODO: Insert something here Top ten reasons why I'm lazy
1.
|
|
|
|
|
My little graphics library needs to do text, and I thought "hey, I'll whip up a C# app to rasterize monospaced fonts to a monochrome bitmap."
Just add a reference to System.Drawing to a console app, and then create a Bitmap and draw to it right?
Wrong.
Even after you set all of the text rendering hints, and even using GraphicsPath.AddString() for more accuracy, you cannot turn off the padding around the fonts, nor get the font to a pixel perfect height at all sizes.
The thing is, the GDI+ code underneath is perfectly capable of doing this. They just didn't expose it.
The alternative is reinventing the entire elephanting wheel and rasterizing the fonts myself.
I found an open source project (under Apache license unfortunately) that I can use to build my tool. Fortunately that tool isn't part of my GFX package itself - it's just a utility to make files that the GFX code can read.
But this shouldn't be necessary. They actually have to parse the TTFs and draw them manually.
Real programmers use butterflies
|
|
|
|