« first day (2198 days earlier)      last day (2733 days later) » 

12:15 AM
@ChristopherJ.Grace that ususally means the model has those tables already in the model
 
That is what I am discovering. There is a new proc I am trying to add, but it is not picking it up. Maybe that login cannot see it for some reason.
 
Take a look in the SSMS
 
Yep, that's it gosh darn it. Thanks juavan.
 
Good, now you know the problem it's an easy-ish fix
Answered the Question
Using a ViewBag seem so Dirty
 
12:40 AM
Anyone MVC, there a way to refactor this code, so I can use 1 ActionResult instead of 30 of them
 
12:57 AM
me like kinky
but not in dirty code
ya, I am not that good yet..
I have 2 examples in the 'other' room
yep, but it's 2 out of 30-50 of them
pending the Client
LOL
ya I can make that a String.Format({0})
going to add in query string values to the ActionResult
to the request
ActionResult ShowYearModel(manufac, modeltype)
ya that is the manufacture, modeltype
well I can get the route right, humm more I think about the more I think I know what I need to do
:)
brain is a maze of idea's
Yep, I started long hand
they want to be able to SEO All these pages
And I can't make it too Dynamic, unless I build a backend SEO module or some kind where he can update the Lorem ipsum area's on each page pendinf the Manufacture/ModelType
and the SEO guys 55ish something, know nothing of back end work
Dreamweaver FTW
 
1:21 AM
@ton.yeung my next project is making this an API so some other sap can make the UI bs, but the boss won't let me do that
b/c the current system is a ClusterFuck in ever letter of the word
when you say them, you mean OEMpart.com? or the manufacture data?
 
1:38 AM
Fresh faces, always fun
manufacture data is what I do normally
Ha its more about the drop down
that is just a header
select a year, a model, section - see the parts for a bike
1 message moved to Trash can
ya, well it's getting changed to and that is what this site is a demo of that change
+1 that it's not on a server 2000 box anymore
NOPE
but I do get to tell the boss he is a idot
with out fear of being fired, or not invited to family dinner
I tell him that too, I tell him why it's BAD to use tables as glorified excel sheets
Well it works... No Shit it works, just because I can use cannon to get kill a deer does not mean it's right
and everytime I do an update, like add a year, or fix a model it's a 5 step process to get it in the right format so the Web can use it
ya?
the data for the web is not the same data format we do work on inhouse
so I end up trashing All the tables in the database, and reuploading
I did not either - then I left got a real job doing umm what were they, when you buy a house someone check the house and owners for leins and divorces
those searchers would input the data into a system, and give the banks the data at the end
it was kinda cool
my real problem is after I get done with 1 site, I need to duplicate it 500 times
Right, how do you control 100 wordpress sites from 1 CMS
that is my next problem
I have many Unique problems
well besides being me
the bosses answer is well it works in classic
YES!! like that
going to leave you with one more scratch - so you know why I drink
strLineOut = strLineOut & "<meta http-equiv=""Content-Type"" content=""text/html; charset=iso-8859-1; No-Cachie"">" & vbCrLf
every line of code in the Classic ASP, it in that format
that is BS classic, he builds the strLineOut to the html page
 
2:04 AM
HAMMAHTIME!
 
yep
asp classic is what I learned in college, and right as I was getting done with my BS, they changed over to .net, and I thru my hands in the air and stopped coding
time to make sure I did not breaking anything then Beer
 
 
6 hours later…
8:23 AM
Good Morning people
 
good morning
well it's 11:59 AM
xD
 
:-)
 
Glad that u got your problem solved :D for me also first time I had this problem but i figure it out after 10min of confusion before asking in SO:D because my problem was the already added one not the permission one :D
so i figure you need refresh on added ones even if it have new fields still need refresh not add, Add only the new Tables.
 
9:16 AM
Hi is there anyone know about Angular directives intellisense on HTML.They are not showing. I am using VS 2015. ANY one please....
 
9:54 AM
fml one of my functions is broken. And it shouldnt even be using the value thats breaking it. :\
when i tried to debug it vs crashed Lol
And now its working again.. Why u break on me randomly Stupid Visualstudio
 
10:23 AM
@bluetoothfx it's amazing that any editor can do any code completion with JS, imho
everything could be anything
 
11:03 AM
btw whats the correct method for handling errors? not to have them? :D lol or is it with Piles of Try catch finally statements?
 
only catch errors that you can do something about. rampant catching makes debugging and testing harder and hides problems
use finally liberally for cleanup though, for unmanaged resources
 
err in most cases cant you simply avoid the exceptions being thrown in the first place?
so is it better to avoid the exception with something like if this then return? or use a try catch
 
no. networks and servers will go down, disks will die, files will be not found
access will be denied, etc
 
i dont mean Avoid as in Ignore them, Lol
ah nvm. Im being dumb xD
 
ask yourself, "can I really do something with this exception?" If the answer is no, don't catch it
and don't just catch it to rethrow it right away - it makes the stack trace wrong
 
11:14 AM
well its more about sending a null value to a function that determines if any strings are in another string
 
that is what finally is for
 
do i return false if the value is null or wait for it to error :'
 
if it is a legitimate possibility, it shouldn't be handled with an exception
don't use exceptions for "normal" things. use it for unexpected things
 
k thanks
 
it's much more appropriate to use exceptions for "that wasn't supposed to happen" things
particularly good uses for exceptions are "oh crap if we continue, there will be data loss" types of things. like, if it was a document editor and you detected something is corrupt
can't let it go until they unknowingly save a truncated document
that's what blue screens / kernel panics are all about. the kernel is not sure whether the filesystem data structures are messed up, so it just freezes right there
 
11:23 AM
ah... dam...
 
12:13 PM
Is it possible to use a dictionary.Value to get the dictionary.Key?...
nvm i think i messed up my code somewhere lol
 
 
3 hours later…
2:59 PM
Hii.. is there any one
 
been a few hours plus you said nvm :D but it is possible to get the dictionary.key from a dictionary.value, and if u wanna know that value exist you can also use this i believe :
mydictionary.values.contain(value);
@AhsanAlii would be best if you tell your questions too so we don't ping you for no reason and say I am here :D but have no idea how to fix your problem :)
 
0
Q: Converting log file to CSV

Ahsan AliiI have to convert a (Squid Web Proxy Server) log file to CSV file, so that it can be loaded into powerpivot for analysis of queries. So how should I start, any help would strongly be appreciated. I've to use C# language for this task, log looks like the following: Format: Timestamp Elapsed Clien...

help plzzzzzzzzzzzzzzzzzzzzzzzzz
 
3:17 PM
isn't this question already answered ? lol you already got 2 really nice answer too
if you can't get them to work it's something your doing wrong hmmm
the 2nd answer for example, it's Static so you don't need to create any object or anything
just copy paste them somewhere
then write : SquidWebProxyServerLogParser.ParseRaw(put your data string here);
then copy that in a new object or just write var MyLog = that
then put it to SquidWebProxyServerCommaSeparatedWriter.ConvertToLive(MyLog); then u should have a String that is your CSV
 
 
1 hour later…
4:48 PM
panini
 
 
2 hours later…
7:06 PM
hey folks
I'm making a winforms app and creating/removing controls, and I've already eliminated the biggest handle leak but still after 2 hours of intensive use the app crashes and procexp shows several thousand user handles unclosed, and I don't know what to look for next
does visual studio have some analysis option to show undisposed handles specifically?
I've been trying to start analyzer in various modes but couldn't find anything about handles in either of them
I'm using that preview which has all the analyzer/profiler features
please ping me with hints if you have any
 

« first day (2198 days earlier)      last day (2733 days later) »