|
Optional assignment for one of my classes. 30-45 minute presentation/case study on either of these two topics:
Examples of currently existing design patterns in real life projects: what problem they solve, why are they better than other techniques, etc...
Started by suszterpatt on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
The ones in the....
This is a pattern that is used in the 'domain design patterns .
An empty object (which still has all the normal functions) is returned / layer then the ones that are listed in that book.
Common one, jQuery uses it.
|
|
I do ... I can ... and I have ... much more 'lectronics these years ... but they are still VERY simple puzzles ... and I like puzzles ...
I save myself THOUSANDS per year by doing my own work ... and with the several cars I own, it is WELL worth the effort...
Started by brad9798 on
, 34 posts
by 19 people.
Answer Snippets (Read the full thread at woodenboat):
Seriously....
Not much to the new ones either ...
Now the old ones such as a Model T, not much to those.
You just can't work on them on the side of the road when they stop NEVER worked on one outside the newer ones are computerized.
|
|
I have asked this question on the AA. Does anyone have any opinions on this one? Are antique or vintage speakers as good as newer designs? Many of us like some older electronocs, such as Dynaco, Mac and Marantz amps, many older vinyl cartridges, and of...
Started by TimB on
, 20 posts
by 12 people.
Answer Snippets (Read the full thread at stevehoffman):
"new prompted this one).
That, I wonder what a pair of Concert Grands would sound like
Chris I don't think one can classify "old" vs, assuming they still work, grab 'em.
|
Ask your Facebook Friends
|
Tired of dealing with all the slumlords in this town....
Started by good renter on
, 20 posts
by 18 people.
Answer Snippets (Read the full thread at topix):
Neither one of them believe in fixing anything.
Rent from the Saynes, the Rheas, or the Whites.
|
|
If I have limited time, but I want to start learning a few design patterns, which ones should I learn first?
Started by Jian Lin on
, 14 posts
by 14 people.
Answer Snippets (Read the full thread at stackoverflow):
It's unlikely that any ....
This one will give you good exposure to OO together.
Which ones should I learn?"
Any one a good chance to use is the "Composite" pattern.
I want to learn C# but only have time to learn a few keywords .
|
|
I am writing some jsp and I am wondering if it would be better to have one large include file that I would include with every page or several smaller ones that I would include only on certain pages as needed.
Any given page will only need to call a few...
Started by Jeremy Cron on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
I would look carefully over the functions / methods / calls you need in all pages and build one large one include file that is used on every page...but that one file has about 5 or more includes, and safer when updating one....
|
|
How to calculate number of sequences over {0,1} such that each sequence contains at least half ones?
Started by Asterisk on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
So in this....
For even n, you have to take into account that there are n!/((n/2)!^2) sequences with exactly half ones.
Suppose the total length of the sequence is n , and the number of sequences that contains n/2 one at least half ones.
|
|
By that I mean is it possible to write a program in C, compile it and then see what it looks like in ones and zeros? It would be cool to act like a 1337 hacker and pretend to actually program in ones and zeros :p .
Started by Pynt on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
You can see a picture of one here.
The opcodes to binary in your head?
Actually, one of the computers I learned to program on had to have it to boot the loader off the 8" floppy drive and load up the OS.
|
|
Is there a quick way to convert text file from Unix line breaks to Windows ones in Unix environment? I thought there could be a standard utility.
Started by alexeit on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at serverfault):
One option.
Ubuntu/Debian package todos / fromdos as part of the tofrodos package from memory .
|
|
Hi,
I want to round of the ones and tens digit positon for the value..
if it is 1999, it should display as 1900
and if it is 19999 it should display as 19000
code goes like this
{overall_cost.to_money.format(:no_cents)}
Started by lamrin on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
You could use something like this:
def myround(value) return value if value < 100 temp = value.to_s temp[0..1] + "0" * (temp.lenth - 2) end
You can round like this:
(n.to_i / 100) * 100
However, you are asking for a monkey patch so that :nocents is... .
|