|
If you are looking for some stuff to distract yourself from the nerves...
We are in the process to create the base of the new version of our main application - we move all parts, web and desktop into a single web application...We are using a lot of JavaScript for rich client and so...
Where is the catch? If you have a JavaScript file - even minified - with over a few thousand lines (the exact boundary not jet determined) Visual Studio will ate up your memory to try and create intellisense for it...So what the solution? Split it up to smaller parts...And then run into the mysteries of IE, that can not handle over a certain number (27-30) of script/css includes...
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
|
I have my solutions for that (using my own VSMinifier[^] too), but still VS sucks when it comes to a 3rd party package, like Telerik's Kendo UI...It has an enormous JavaScript file to include in one step all the controls - VS can't handle it...
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
Minifier looks like a great util.
I was thinking more along the lines of the bundler, you could use minifer in the bundler to auto minify as needed.
New version: WinHeist Version 2.1.0
My goal in life is to have a psychiatric disorder named after me.
I'm currently unsupervised, I know it freaks me out too but the possibilities are endless.
|
|
|
|
|
I have no tool (and heard of none) to do some, on-demand, auto-bundling...But my tool can do one minified file from several JavaScript/CSS files, so I can use the small files for debug while developing, but publish the combined file...A sort of solution...
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
You are lucky they even communicate with each other at any level.
Mongo: Mongo only pawn... in game of life.
|
|
|
|
|
Mike Hankey wrote: pit of extramint
Is that where double strength toothpaste is disposed of?
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
I was wondering if anyone would catch that?
That's where they buried the twins.
New version: WinHeist Version 2.1.0
My goal in life is to have a psychiatric disorder named after me.
I'm currently unsupervised, I know it freaks me out too but the possibilities are endless.
|
|
|
|
|
Mike Hankey wrote: Visual Studio 2013 in coordination with SQL 2012 Express
You made your bed. You'll get no sympathy from me.
|
|
|
|
|
Point taken...it's awesome when it works but when it gets in one of it's moods it a flea bitten whore.
New version: WinHeist Version 2.1.0
My goal in life is to have a psychiatric disorder named after me.
I'm currently unsupervised, I know it freaks me out too but the possibilities are endless.
|
|
|
|
|
Lately and longer ago I saw many bitching and complaining about today's youngsters (students, beginners). They don't learn anything useful, they have a bad attitude and are mostly lazy.
Well, yesterday there was this[^] discussion. Frankly I have a happy face today as there is still hope, ... for some .
(of course we can never check if he actually does anything with it )
|
|
|
|
|
V. wrote: many bitching and complaining about today's youngsters Quote attributed to Socrates(around 400 BCE):
“Our youth now love luxury. They have bad manners, contempt for authority; they show disrespect for their elders and love chatter in place of exercise; they no longer rise when elders enter the room; they contradict their parents, chatter before company; gobble up their food and tyrannize their teachers.”
“That which can be asserted without evidence, can be dismissed without evidence.”
― Christopher Hitchens
|
|
|
|
|
GuyThiebaut wrote: Quote attributed to Socrates(around 400 BCE): Ah! I know this one!
IIRC, it was Aristophanes, not Socrates himself, so it's like "Et tu, Brute", which, as we all know, is a famous quote from the lips of...
... William Shakespeare! God only knows what Caesar himself said*.
* Probably "Owwie!"
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
0) Without knowing more than what's there, I would assume that the OP had copied (plagiarized) the code from somewhere and didn't even understand it. If he understood it he could argue that it does use an array -- as the basis for the Stack. Is the OP at the level where he'd know how to implement a Stack yet not know why not to?
1) The teacher might have been better off with a clearer specification, e.g. "implement a method with the following signature: int Search<T> ( T[] items , T key ) which searches the items and returns either -1 if the key isn't found or the position (0-based offset) of the first match found".
2) There are assignments that are supposed to be done a certain way because it's the technique that matters, not the result. For instance, learning recursion by calculating factorials -- recursion is not a good way to calculate factorials, but factorials are not the point of the assigment. If you turn in an iterative solution you fail the assignment.
3) It reminds me of an assignment for a Pascal class I had in the mid-80s. The assignment stated that we were to implement the Sieve of Eratosthenes to find prime numbers, buuuut... it also specified a function that was supposed to be used (of course the function was faulty). So I decided to ignore the function, do some research to find out what the Sieve of Eratosthenes actually was, and I implemented that instead. I still got an A, but I could easily have received an F for not using the function.
4) Oh, and before that, when I was first learning BASIC, there was an assignment that was supposed to prompt for, store, and sum up numbers entered by the user. To that point we hadn't learned about arrays (subscripted variables). I looked at the assignment, said "there's gotta be a better way", and read ahead to the next chapter in the text book -- subscripted variables! Whoo hoo! I implemented the assignment with subscripted variables and turned it in. The teacher replied, "that's next week's assignment".
Which brings us back to point 2 -- the current assignment may be just a stepping-stone to the next assignment.
|
|
|
|
|
|
We had some problems with Crystal Reports printing, which left some processes hanging and lead to increased memory consumption. So instead of printing the report directly, we export it to pdf and then use Foxit to print the pdf from the command line.
|
|
|
|
|
I've had SO many weird problems and even weirder workarounds in Crystal Reports. I even came to the point that I added some comments to a function explaining that the writer of CR was probably drunk and drugged when he wrote the code and that my code shouldn't be altered in any way because it would break the software. Really, doing something like switching two lines with property accessors would break EVERYTHING... Weirdest sh*t EVER.
I hope I never have to work with CR again...
My blog[ ^]
public class SanderRossel : Lazy<Person>
{
public void DoWork()
{
throw new NotSupportedException();
}
}
|
|
|
|
|
The best workaround for Crystal Reports is to dump it ompletely.
|
|
|
|
|
|
Sander Rossel wrote: got a new super fast server But it was in vain, as you made sure no benefit came from it...
I like that
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
Kornfeld Eliyahu Peter wrote: you made sure no benefit came from it That's a weird thing about this world of computing: I've never seen an actual benefit come from staying bang up to date.
It seems that being between a year and eighteen months behind is generally optimal, but sometimes it's even longer.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Well, not for that process anyway
My blog[ ^]
public class SanderRossel : Lazy<Person>
{
public void DoWork()
{
throw new NotSupportedException();
}
}
|
|
|
|
|
A current issue regarding SQL Server 2008 R2, if you change a user's name in AD SQL Server still returns the old name via SYSTEM_USER.
We have a bunch of stored procedures that return SYSTEM_USER to identify who is running processes and confirm their permissions.
There are some solutions including bouncing the server(not possible currently) and installing patches(sysadmin won't currently allow) and others that I have tried and intermittently work.
So now the database table holding permissions, for actions users can perform, contains the person's old and current names to get around this SQL Server feature bug.
“That which can be asserted without evidence, can be dismissed without evidence.”
― Christopher Hitchens
|
|
|
|
|
|
Top marks for being mister memory 2015
It worked the first time the user changed their name. Then for some reason, known only to the the Gods of the darkest and deepest recesses of Hades, the personnel department forced us to change the name back and that's when it did not work
“That which can be asserted without evidence, can be dismissed without evidence.”
― Christopher Hitchens
|
|
|
|