« first day (2041 days earlier)      last day (2899 days later) » 

10:00 AM
@Mr.Toxy They do. A lot. Pre-Roslyn, they had the Microsoft Connect program that collected thousands of user suggestions and votes. These days, there are endless github discussion threads.
@Mr.Toxy Sure, you only use half the features, but it's a different half for each user.
 
who the hell even believes in the code metrics bs?
 
can anybody help to take data from my data set to an datatable created in c# imgur.com/a/03wH6
 
@AvnerShahar-Kashtan yeah u are right. maybe they could separate those features into add-ons so users could customize VS as they needed. I dont know there are some aproaches they could take
 
anyone knows about this website ? mail-archives.apache.org/mod_mbox
 
@AndréMarques yesterday we didnt understood ur question. A dataSet its a set of DataTables. what do you want exactly?
you cant use "data" in data set for a DataTable, bc dataSet is a set of DataTables
 
10:04 AM
@Mr.Toxy in my image u saw i have my dataSet with the table from sql server i wanted to pass the data from that one to the one i created in my code BDfuncionarios
 
@misha130 No, I'm still using C# for work.
 
I was trying to say that there is no better option
 
TS suffers from similar issues.
 
exactly
 
Well, F# might be better, but I can't read it still.
 
10:05 AM
@AndréMarques so you have another dataSet and you want that to be equal to the one in the picture?
 
maybe
 
F# it's kinda weird
but you can do a lot more with it imo
 
But just because C# is the most balanced choice atm, doesn't mean I can't hate on it for taking poor and poor decisions until finally I will be using something else and it's too late. :P
Because sooner or later something is going to come along that just gets it right again.
Just like C# did over Java.
In what, 14 years of C#, it barely evolved from its root design problems.
 
@Mr.Toxy yes like those pictures i send in imgur : imgur.com/a/03wH6
 
It added nice things, sure, but the fundamental problems are still there
 
10:06 AM
the thing with C# is that, imo, it's so well known and so well "investigated" so many projects done, that you can find everything making it so easy to do practically everything
 
F# excels at correctness and barely has any legacy crap it's carrying around. It's a relatively young language, after all.
 
@AndréMarques so why dont you just create another dataSet thats exaclty the same? why do you want another DataSet thats exactly the same?
 
maybe in the end of it c# being the most balanced choice is producing a generation of developers that accept its design problems as features
 
@RoelvanUden F# syntax is kinda weird in some places. its young needs to be more polished imp
*imo
 
@AvnerShahar-Kashtan I could do that but i don't want the resharper bloat running in the background ... "disabling" doesn't fully disable all of resharper ... I had a lengthy 1 month discussion with their tech support about it some time ago
 
10:09 AM
@misha130 Yeah, a lot of people don't even think about the fundamental problems that these languages have.
 
so that's why i remove it
 
@Mr.Toxy im not i need it i just want pass that to the variable "public DataTable BDfuncionarios;"
 
@Mr.Toxy Just know that all new C# features that are worthwhile are pretty much taken 1:1 from F#, so it's not all that weird.
 
F# aint young
its been like 10 years
 
relatively
 
10:09 AM
@misha130 everything will have flaws and problems, its just impossible not to have. people just got used to work around it so they kinda ignore them
 
And that is a mindset I don't agree with
It's not impossible.
 
@RoelvanUden yes ur right, I feel that putting just a little more time into it and everyone understands why is better then c#
*than
every language will have its limitations
 
yes this is just bullshit
you have like critical problems
and you have minor
and these flaws are critical
 
the most "flawless" are those ones like ada, or even c++ its really good in those terms
 
C++ is a terrible clusterfuck
 
10:12 AM
C++ LOL?
LOL?
 
@misha130 Before C#, people used Java. And C++. Both languages full of "balanced choices" accompanying conflicting design choices and band-aid fixes.
 
c++ doesnt have that bs
 
which C++? 11? 14? 17?
 
@Mr.Toxy You really need to look at C++ again. It's much worse than C#
 
@RoelvanUden Im saying that based on opinons. but working with C its not that bad, just... more complicated
 
10:13 AM
so @Avner lets go back to asm where its so basic that it has no design whatsoever and thus no flaws :^)
 
hmmm python is good
 
@Mr.Toxy C is not C++.
 
so pascal
 
Python and Pascal suffer from the same problems.
 
@AvnerShahar-Kashtan yup I know, been working with C, c ++ just a little
 
10:13 AM
So do PHP, JavaScript, Ruby, and so forth.
 
@misha130 I'm just saying that design compromises have always been part of every mainstream language, so I don't feel this situation is new.
 
I know
 
@Mr.Toxy They're entirely different languages. The fact that C is a (mostly) subset of C++ is misleading.
 
@Mr.Toxy ?
 
I dont actually think you can make something flawless. you can, however, elimiante the major flaws. but you will always have flaws
@AndréMarques you cant. a dataSet is a set of DataTables not the other way around.
@AvnerShahar-Kashtan I actually kinda liked c for the most part.
@AndréMarques you cant say that a dataTable = DataSet
 
10:16 AM
Good day, people. :)
Just a quick question, could it be, that one of you has an information about how to control UNIX daemons through .Net Core? And if yes, please, share. :)
 
@Mr.Toxy I personally feel that working with C is like chopping a tree down with your fingernails, but it's still better than C++, which gives you a large selection of axes that are sharp on both ends.
@Denver The generic answer is "open ssh session and send terminal commands".
 
I personally love qt C++
its a great library and opens it up to so many things
 
@Mr.Toxy ok i understand that but in my data set i have that table is there a way to copy the data in that table to the other datatable???
 
doing DI easily in C++ is a bliss
I personally love QT C++ that i prefer to write in it than C# .NET
 
@AvnerShahar-Kashtan C is just not straightforward, takes a lot of methedology and knowledge but it actually works really really works for like systems that need to be flawless like military and nasa, they also use ada for that. I feel like C is just way to vast but at the same time way too narrow if you know what I mean
@AndréMarques hmmmm yes you can do that
 
10:20 AM
@Mr.Toxy that table inside my data set is a stored procedure and i wanted to put the data from that stored procedure into my data table named BDfuncionarios
 
@AndréMarques actually you can just append a dataTable to another. or add rows
 
@Mr.Toxy what do you mean ?
 
hey quick question
 
quick answer: no
 
I have an 8mb http response from a server, can I gzip it?
hopefully..
 
10:21 AM
Yes.
 
relatively to like 1mb...
 
@AndréMarques you can add new row to a dataTable and/or you can like merge two data tables together. however I dont actually think u can add a new table to it.
 
I didnt finish asking
 
Just configure your web server to do that.
 
would vote and bounty hunt on so
Thanks Roel 10/10 response
 
10:22 AM
20/10 response
 
@Mr.Toxy but i still have to execue my stored procedure because i need to send a value so it can do the search with that value and then i want to pass the data from that to my data table
 
If you need details, I need to know which server it is :P
 
@AndréMarques you're confusing me. Ill read it again
@AndréMarques oh Ok I think I understand what you want.
 
;^)
 
you want to populate a data table with the result of the stored procedure right?
 
10:26 AM
c# Timeout is in millisecond?
 
@RivaD yup
fucking unit tests and BS reference
damn you VS
 
Could not copy the file "D:\swapfile.sys" because it was not found. <-- how did that happen?
what a strange compiler error
 
do you believe that VS fucked up an entire unit test bc somehow corrupted my dll?
I dont believe in this
Im so mad right now
dafuq just happened
oh jesus I wanna kil visual studio
 
ok that's weird
 
wtf I fucked, I dont believe in this
 
10:29 AM
Hello Guys
i have a problem and could not identify it
when i Run the project on the server , and run a page , it working normally
while if i publish the project and try to open a page using the server it works
but it if i try to access it from another pc ,it gives me the following error

The string was not recognized as a valid DateTime. There is an unknown word starting at index 18.
 
switch to other instance of VS switch back, recompile ... errors gone
 
@Darth_Wardy no the damn thing now says that the file is corrupted, I cant even open the class anymore, the methods on the unit tests are just....
its just deleted the reference on VS
 
 
hey gzip did it 5000% compression rate
 
@Mr.Toxy uh ok ... lol
 
10:32 AM
Back guys
 
@Darth_Wardy oh God I found a copy, but its like 3 days old T.T Im so fucking dumb :( I've just lost like 5 functions I created
 
Back to my spagheti code :(
 
@Mr.Toxy oh no'es ... 5 functions in 3 days , I wish my life was that easy
 
@Darth_Wardy Im doing 4 DLLS at the same time, im like doing a little here a little there changing and stuff
and progress is damn slow bc they want unit tests for every single thing that can possibly happen
...
 
The string was not recognized as a valid DateTime. There is an unknown word starting at index 18.

this error happens when i access my website from another pc
but it works if i try it on same PC

please help guys .
 
10:35 AM
@Bassem can you show us some code... and the wierd word???
something?
first thing I thought was culture XDDDDD
 
@Mr.Toxy 4 dll's ... lol ... easy ... I have 10 copies of VS running right now each with a solution of 12 to 15 projects in them and they all talk to each other
 
@Darth_Wardy fancy very fancy but.... you didnt loose a single line of code XD
meh I'll just do it after lunch
 
@Mr.Toxy no because i have this thing you may have heard of ... its called "Source Control", it's really helpful for that problem
 
@mr.Toxy

why it working on the same pc that's my question
 
@Darth_Wardy yeah I know what it is I use it for the other project and all, just not for this little thing
@Bassem show us some code. We cant just know the why
the error
the weird word
 
10:40 AM
@Bassem cuz its borked
 
Roses are red
violets are blue
my name is dave
this made no sense
microwave
 
@mr.toxy
The string was not recognized as a valid DateTime. There is an unknown word starting at index 18.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.FormatException: The string was not recognized as a valid DateTime. There is an unknown word starting at index 18.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exc
 
@Bassem show the string and an example of how its formatted pls
 
@Bassem you called DateTime.Parse(someString) <-- what's the string?
in that string look at the character in pos 18 as per: There is an unknown word starting at index 18.
there's your problem
 
@Mr.Toxy it didnt work
cant use ConfigurationManager.ConnectionStrings and i already inserted using System.Configuration
 
10:59 AM
I feel bad fixing big problems in 5 minutes that people had problem with for 18 months
 
guys, I have a question, I have line of code in my webservice which I can't catch with try catch block, and when the error occures in this line, it blocks my webservice for couple of minutes, you have any suggestions what can I do with it?
 
0
Q: WPF - Retrieving data from my stored procedure in my dataset and put it in a data table

André MarquesHello guys can you tell me how can i pass the data from a stored procedure that is in my sql server database to an datatable on my code? (To get that from my store procedure i need to send a value) Img with my store procedure and my variable in C# (dont know if it helps) http://imgur.com/a/03wH6

 
its on another thread @user366
or process
 
@misha130 nope, same thread
or at least I think so, I have ServiceBehavior(InstanceContextMode = InstanceContextMode.Single,
ConcurrencyMode = ConcurrencyMode.Single)
and I'm not creating any new threads myself, except for using [STAThread] on my method
 
well if you have one thread on a webservice then the whole thing would hang when you get two request simulatenously
I honestly havent got a clue about these services though
 
11:06 AM
well, I wanted requests to be queued, since the external library I'm using in it doesn't fare well with concurrency
 
8 hours until kick-off and the centre is already full of football fans. The military helicopter is circling overhead. !halp
 
@Squiggle it's the finals?
 
yeah
 
hmmm its gonna be a good game indeed
but sevilla is rly strong this year
gonna be tuff
 
aye
fortunately the price of beer is triple that which fans of either side are used to paying. Perhaps not everyone will be blind drunk.
 
11:14 AM
hahahaha I hope not
football doesnt have place for violence
its stupid
 
those bloody liverpool wankers
 
:)
 
I dont want sevilla to win bc span already won too much this year
so they can just fuck themselves
 
hey now
 
didn't know Switzerland has huge football courts, how much ppl can it contain?
 
11:17 AM
10
 
does Switzerland have football league btw?
 
@tweray 45,000 I think.
 
they are giant
just that?
 
not huge, but not tiny. And yeah, the Swiss league is really popular and Basel is a strong team with a lot of international experience.
 
benfica's stadium holds 60,000 the old one 120.000
 
11:19 AM
oh no - 39,000(ish)
heh yeah, both sides have been asking fans without tickets to stay at home. They never listen.
 
@Darth_Wardy but why it working on the server
?
 
Different default time formats?
 
do swiss football fans also drink like crazy and smash everything they see if they lose?
 
@tweray more so than Liverpool fans, yeah.
 
lol
i thought swiss guys are exceptional in EU
 
11:23 AM
what if I have a huge collection of js objects and i compress them with a hash table
ok lads another programming question
 
feck football/soccer
 
and then decompress them on use
is this worth the trouble if i have like 10mb of data
 
@misha130 is 10mb a bottleneck? What sort of client are you interacting with?
 
phones
that are slow
 
damn I wanna play mario kart with my gf hahahahaha
it would be fun
 
11:25 AM
@misha130 HTTP compression would be my first suggestion. Or stop trying to send so much data over-the-wire to begin with.
 
post http compression
no internet connect, iphone 4, literally a brick handling 10mb of json data
 
just gzip it
 
I already did
 
so 10mb is after gzip?
 
it seems so
 
11:27 AM
5000% compression ratio it was what you said right?
 
yes
 
damn :o wow
 
I am doing worst case scenarios
 
just curious, what kind of client app requires 10mb after gzip of a json data in a single chuck?
 
the one that is offline
 
11:27 AM
10mb isnt a little to much?
cant you like split it into smalled chunks?
intead of just one 10mb block
 
its offline
 
well a 10Mb download isn't too much to ask for offline functionality, IMO
 
you basically stand outside, load your data and go in to a dungeon where there is no net
 
oh ok. its not that bif for offline
*big
 
sewer_map.json
 
11:30 AM
so that 10mb is a one time thing?
 
lol
sort of
 
if that's the case, i agree with @Squiggle, 10mb isn't such a big number that need concern for a one time download
 
most likely yes
 
thinking about your app itself might be also a 50-60mb download
 
but I am trying to make the actual data handling after that more easy
so thinking of hash tables maybe or something
 
11:32 AM
10Mb even with slow connection can be done relatively fast
no that big of a deal
 
so your question isn't about size - it's about structure?
 
yes, thats sort of how I started it too
 
stick it all in a SQLite database and download that.
 
already am :/
 
TBH there's loads of different solutions
 
11:35 AM
too slow
 
haha
too slow for what? querying?
 
yes I think so
 
w8... so your concern about that 10mb isn't about download size, but about processing speed?
 
make sure it's indexed appropriately
and get yerself some proper metrics to prove where the bottleneck lies
 
it feels like there is an overhead, yes I think i'll just optimize
@tweray well the way I download it I already planned properly
 
11:39 AM
if RAM is not part of concern, you can always just deserialize the whole thing and leave them in memory
that way speed became the least of concern
 
11:52 AM
TIL: .NET does not support TLS1.1 and TLS1.2 by default.
 

« first day (2041 days earlier)      last day (2899 days later) »