|
I remove the hearing aids, then I can't hear stupid people
Every day, thousands of innocent plants are killed by vegetarians.
Help end the violence EAT BACON
|
|
|
|
|
|
The writer's name ('Not_Han_Solo') seems appropriate, as he appears not to have a life of his own.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
The real story is what happened to Han and Chewy.
After the events of the film, they travelled to another galaxy and crash landed in 1930's America.
Han became an archaeologist, but poor Chewy had to hang out in the backwoods, although he was occasionally seen from time to time.
---------------------------------
Obscurum per obscurius.
Ad astra per alas porci.
Quidquid latine dictum sit, altum videtur .
|
|
|
|
|
Is it me and my aging eyesight, and diminishing patience?
So the wife is looking for a new phone. So I googled & saw a link to back-to-school-guide-2014-smartphone/[^]
There's nothing of substance on the page that I can see - a bunch of images which,. when I clicked on a couple, seemed to take me to a link that at least has a prev and next link (not very obvious ones, but I fund 'em) but they don't do anything that I can tell)
Is this just engadget's way of hoping I'll accidentally click on an Ad while I'm trying to read an article? Or, as I asked, is it just me
PooperPig - Coming Soon
|
|
|
|
|
When you click on the picture link it goes to another busy page with a big pic in the middle and.. behold!
On the side there is a little text which is the relevant info!!!
I know, it's an awesome clear web design, isn't it?!
|
|
|
|
|
You're right! In fact when I clicked on them before I posted the 50-word-comprehensive-review wasn't there at all. Now I've read them all, I'm fully qualified to tell the Wife which phone to buy which sites to not bother visiting.
PooperPig - Coming Soon
|
|
|
|
|
Beh. The last one I bought was this one[^].
It's an absolute blinder. Don't believe the specs on the page, though:
- They say android 4.2.1, but it's 4.2.2
- They say the resolution is 800x640, but it's 1280x720
- They show the AnTuTu score as 14,000, but I can't get it to drop below 17,000, even when I leave all kinds of stuff open in the background (I haven't tried running it without a SIM card in, though; that might cause a drop).
[edit] I had a cr@p of a job inserting that URL -- it wouldn't let me delete personal-ish info
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Mark_Wallace wrote: it wouldn't let me delete personal-ish info
As we would not already know everything about you ...
Better specs than advertised... Now that is unusual !
The phone actually looks good ; there is probably no need to automatically go for Apple or Samsung, I think.
~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus
Entropy isn't what it used to.
|
|
|
|
|
Rage wrote: As we would not already know everything about you ... I can't decide whether to ask visitors to my site for their shoe size or their hat size, so I currently ask for neither.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
That's why there are AdBlockers.!
|
|
|
|
|
Adblockers don't make a crap site any better!
PooperPig - Coming Soon
|
|
|
|
|
Agree, But at-least, avoids the headache of accidentally clicking ads, and also the bandwidth.!
|
|
|
|
|
Before you get your flamethrowers out... this is a question about coding style and preference, not asking a coding question per se...
While I do code, it is not as often as it used to be, and I have to rethink how some things are/should be done.
In a .NET application, what process should be used to obtain a series of Setting values? A procedure? A function? Local variables? Global variables? Pass a structure?
Just looking for advice...
Tim
|
|
|
|
|
Tim Carmichael wrote: In a .NET application, what process should be used to obtain a series of Setting values? A procedure? A function? Local variables? Global variables? Pass a structure?
That's an open ended question. Sounds like marketing trying to describe tech, or a way to dance around asking a real programming question. Ether way, what you're talking about is application architecture and design. Crack open a book man, that's what we did.
Jeremy Falcon
|
|
|
|
|
Actually I don't understand your question, but I will explain the usage of these, procedure, I have used them in SQL but never in .NET so no wrong information,
A function is something that you write to recall the very same set of code block. For example, you write a code that gets repeated at many locations in your software, so you create a function, and place that code block in it and recall it each time you want to use it. Like this
private void SomeFunction () {
}
Local variables are the variables present or defined inside any function block, like main function or any custom function whereare Global functions are present anywhere inside the class, that are accessible in every code block on that class file.
A Structure is opposite of Class, similar is behaviour, in struct, you send the object itself inside the function, whereas in the class, you just send the copy of it. In struct you actually pass the reference of the object.
You can use them in your coding to make your software efficient. Sorry for not-answering your question because I don't understand it.
Favourite line: Throw me to them wolves and close the gate up. I am afraid of what will happen to them wolves - Eminem
~! Firewall !~
|
|
|
|
|
|
By "series", do you mean a time series (i.e. values that can change over time) or a group (i.e. a batch) of setting values?
/ravi
|
|
|
|
|
Tim Carmichael wrote: should be used
Whatever you are most comfortable with. Don't just follow the pack.
Actually, it's not a very clear question. Where do the "Settings" come from?
|
|
|
|
|
For me a pair of Levi's and a T-shirt?
Have you ever just looked at someone and knew the wheel was turning but the hamster was dead?
Trying to understand the behavior of some people is like trying to smell the color 9.
|
|
|
|
|
|
Holy crap on a cracker... ask a simple question...
I know what a function is and what a procedure is and how they are used.
I started with a procedure: GetSettings and passed in a number of local variables.
But, then I thought, a procedure shouldn't be returning values, that is what a function does.
However, there is more than one value to return (currently 6), so I decided to use a stucture and have the function return a single structure with values in each element.
The series of data is: source directory for file to be processed, from e-mail address, to e-mail address, SMTP server, report type (row or column based), single e-mail or an e-mail per file processed.
Now, having been on here for some time, I have seen flame wars on style: what should a procedure to, what should a function do, blah, blah, blah....
So, simple question of style and maintainability...
|
|
|
|
|
OK, seems pretty straightforward then.
SettingsSpec settingsSpec = new SettingsSpec { Var1=..., Var2=..., etc };
Settings s = SettingsManager.Instance.GetSettings(settingsSpec);
If you prefer to go the dependency injection way, do:
SettingsSpec settingsSpec = new SettingsSpec { Var1=..., Var2=..., etc };
SettingsManager settingsMgr = new SettingsManager(settingsSpec);
Settings s = settingsManager.GetSettings();
/ravi
|
|
|
|
|
(I know C++)
Always limit the number of parameters, especially returned parameters (references in C++); Use a struct to hold the settings.
It will also be easier to maintain if you decide to add or remove data to the parameters and/or need to do some processing on the data in the struct (in C++ one would make it a class (*))
If necessary, return a bool if the function can fail and you need to know about it.
(*) even if there are no significant difference between a class and a struct
I'd rather be phishing!
|
|
|
|
|
Thank you... that was my eventual thought, but it took me a while to get there.
|
|
|
|