« first day (1125 days earlier)      last day (4049 days later) » 

00:00
I mean run the old version for now. Get the new version installed on proper hosting. When it's up and running, go to downtime, backup the DBs in the old hosting, restore them to the new hosting, and switch over the DNS
might take a couple hours... if everything goes right :P
but worst case scenario, you're stuck on the old version for a bit longer.
Bummer. Maybe if I get it all setup I can have the downtime be from friday to sunday and there wont be much disruption
you think you'll need 3 days of downtime?
Worst case scenario for the DNS updating says 72 hours
Is VS13 release out? The official version?
I tried vs13 mvc5 but found it a little unstable
00:03
@TravisJ ouch. well... keep the old version up and running and let the DNS switch happen whenever?
perhaps that was more mvc5 than vs13 though
unless you have data reliability issues
hmm, okay
@Pheonixblade9 - Moving hosting is like moving residency. sucks lol
You. Are. Overthinking. This. Turn the warnings off, and get on with life. — Robert Harvey 1 min ago
00:04
yeah, lol.
@RobertHarvey - Kind of makes you wonder about French masters programs :P
@Pheonixblade9 - logicpoint seems pretty viable. How long have you used them? Do they have an inbrowser ftp? What is the interface like?
@TravisJ I think a little over 2 years now. Their performance is a bit meh at times, but I'm on the $5/mo plan, so I don't expect much. It's pretty good value. They have a file browser, not really an FTP. But you can upload files and such. You can directly connect to it using Filezilla or something, too.
It's pretty similar to CPanel.
00:21
ugh - why do people constantly want to do this with LINQ?
0
Q: Uning LINQ to change values in collection

KaikusI think I'm not undertanding LINQ well. I want to do: foreach (MyObjetc myObject in myObjectCollection) { myObjet.MyProperty = newValue } Just change all values for a property in all elements of my collection. Using LINQ wouldn't be this way? myObjectCollection.Select(myObject => myObjec...

Probably because the deferred execution trips a lot of people up. Your suggestion of using an object as the expression body was interesting even if it isn't a good idea.
It would be super convenient to have a LINQ-like method for modifying collections.
@JoshVarty Modifying how?
Select performs a mapping right now ;)
@Reed - Do you use a hosting provider ?
Like modifying individual values on a collection:
var myList = new List<int>() {1,2,3,4,5};
myList.Where(n=>n > 3).Set( j=>j = 0);
//myList = {1, 2, 3, 0, 0}
I've always thought it would be nice to have something like that I guess. (Maybe not Set() but some way to modify items in a collection)
or maybe like vectorized operations like they have in R or Matlab, I'm not sure.
00:28
myList.Select( n => n > 3 ? 0 : n ).ToList();
But the extra ToList creates unnecessary load for large collections
It is essentially a wasted projection
User[] userArray = GetUsers();
userArray.Select((user,i) => { userArray[i].Name += "Modified" ; return user; } ).ToList();
;)
I am thinking of a word. It has f us in the middle, starts with ob and ends with cate.
fornicate
that's what i'm sticking with.
I know I know! Fobcate.
(it's actually obfuscate)
00:34
"fobcate" only returned 10 results from google. I think you have found the most obscure word I have come across in a long time
i wonder if anyone's used markov chains to generate words like "fobcate"
none of the letters seem out of place the way they would in "xxnmevw"
hmm
I think I might work on that later.
Lol just noticed that title says "Uning" instead of "Using". Reads like a bad lisp.
00:53
new contest: find an english-looking word with the least results on google
"exciduous"
"tallanassian"
that was easy
"reliableish"
^my hosting provider
Well I am going to go home and sulk and then probably buy an expensive bottle of scotch
That's a very dramastic challenge
let's hug it out, bro
00:57
lol
don't hug me bro
I invented that word back in 1999, grade 12 english. Screw you Urban dictionary!!! SCREW YOU
anyway, be back tomorrow
trying to figure out how to get people to respond to my unit test challenge
cya @TravisJ good luck
what's the challenge?
01:00
to have 100% unit tests passing by the new year
I've knocked out a ton
I even bribed them with homemade baked goods.. had our chief architect and our director say "that's a good idea" but nothing has been done by anyone but me so far..
@JoshVarty I'd rather just use a for loop for internal mutation like that - though in general, I'd typically do a map operation instead anyways (like @TravisJ 's approach)
@TravisJ For some things, but they stink - so I'd never recommend them. Planning to move everything that's based there elsewhere
trying to be a leader with no authority is tough :P
@Pheonixblade9 The question is really - why are there unit tests if they aren't passing?
@ReedCopsey exactly
(other than ones written with the express intent of "flushing out" quickly)
if you're going to have failing tests, just take them out
01:03
they should be fixed, though.
there are some that are just useless, but tons that cover old valuable stuff
that nobody maintained
in July we had between 20% and 70% passage. Now we have closer to 95% passage... I'm the only one I know of who actually puts time into fixing them. And I'm not even an SDET, lol
back in August, we had... Tests failed: 77 (1 new), passed: 736, muted: 69
now we have Tests failed: 27, passed: 718, muted: 25
keep in mind that's only the unit tests that are run for every checkin
our daily tests are pretty shocking...
Tests failed: 300 (3 new), passed: 1536, muted: 3
0
Q: How do I create an environment where fixing tests is seen as a priority?

Pheonixblade9I am a software engineer at a medium sized company. We have a fairly robust testing platform running on TeamCity. It does unit tests on every checkin, and a daily unit test/BVT run. The problem is - we have a great deal of broken unit tests. Quite often, I bring up the pointlessness of unit t...

is that too subjective?
probably, but it got an upvote from me ;)
heh. thanks
it's a tough question
jim
jim
hello planet
01:20
hi
@ReedCopsey hmm... somebody downvoted it.
it just shows one upvote here...
oh weird. I refreshed it and it went to 0, refreshed again and it went to 1
idk if it's a good question, I'd like to improve it though
01:38
anybody mind giving me a hand with a quick JSON question
Ask away, and perahps someone can answer
Hmm... anyone here good with linux? Perhaps Mr Kendoll?
I'll just link to my question!

http://stackoverflow.com/questions/19967401/c-sharp-adding-json-string-to-a-list/19967683?noredirect=1#19967683
basically i have a City object, and it stores an array of json objects representing citys
i want it so that if a single city is entered, it can be stored too
code samples in the question
jim
jim
Andy, what actual json you get when it's with a single city?
@CCInc I know Linux reasonably well.
jim
jim
Andy, never mind. Just read your comments to end :)
01:46
Jim do you have any idea how I could go about doing this?
jim
jim
check my comment there
does it make sense?
sorry didnt notice you commented! il have a read now thanks!
Jim when I have a City and a City list I get the error
Error 1 Ambiguity between 'CityApp.City.CityResponse.result' and 'CityApp.City.CityResponse.result' C:\Users\Andy\Desktop\CityApp\Pages\City_Page‌​.xaml.cs 69 77 CityApp
jim
jim
hmmm...
let me check if they can be differentiate somehow...
@Pheonixblade9 Ah, thank you. I'm running CentOS on a VPS (6.4). I'm trying to install Chrome or Chromium. I've looked at all the various articles on how to do this, including this one. Problem is, I get the error GLIBC 2.14 required. None of the other users seem to get that issue.
thanks jim
01:52
@CCInc I wouldn't know much about specific issues like that. :/
Thanks anyway!
For fucks sakes.
aight wish me luck, I'm going to look at a piano!
jim
jim
@AndyOHart i can't find a way quickly, sorry. I only would advice to check if there is a way to make custom deserializer (or override default) so it can differentiate values...
02:00
@Pheonixblade9 have fun :D
Who is wants to look at horrible code and try to identify why it is duplicating a couple of data ? :D
jim
jim
maybe me. If not too horrible.
I'll give you a line just to scare the shit out of you
var qntdSobra = new Dictionary<string, Dictionary<string, double>>();
LOOKS LEGIT TO ME
jim
jim
i do love nested entities
02:03
if (qntdSobra.ContainsKey(insumo.Nf) &&
                                 qntdSobra[insumo.Nf].ContainsKey(insumo.Ncm.ToString(CultureInfo.InvariantCulture)) &&
                                material.Quantidade >
                                    qntdSobra[insumo.Nf][insumo.Ncm.ToString(CultureInfo.InvariantCulture)])
                        {
                            material.Quantidade -= qntdSobra[insumo.Nf][insumo.Ncm.ToString(CultureInfo.InvariantCulture)];
                            matUsado += qntdSobra[insumo.Nf][insumo.Ncm.ToString(CultureInfo.InvariantCulture)];
Are you sure?
If you're enjoying it then I'm going to paste the code.
I've come to the conclusion that I might use a DB connection to transfer data between my program and forum. I feel it suits my needs more than an HTTPS GET/POST can.
I need something to secure the connection. Like a "middle-man" connection. Hm...
I also need to figure out how I can do the login via DB connection.
jim
jim
@AndréSilva what exactly gets duplicated?
@AndréSilva those variable names...
@CCInc Gotta love portuguese
@jim Well. I really don't know o.o For some reason, when it reaches a certain point of my code, it duplicates some data and copies the last "Quantidade"
For no reason at all
I can't find a freaking link between them
I'm just letting my stress out...
It is midnight here and I still can't find a solution
jim
jim
it's 6 a.m. here...
02:08
Thanks for the help anyway jim!
@jim Are you still at work from yesterday ?
jim
jim
yep
freelancers dont sleep
Oh, you're a freelancer.. Damn
got nao moneys
How is business going ?
02:09
Where do you get jobs? I need some freelance work
jim
jim
oDesk.com
I need to get a job myself haha
jim
jim
@AndréSilva i can't help you , friend. Need more your code to see and investigate but got no power for that at the moment.
@jim I can give you the entire code, you'd still need the database to do something.
Without the data and the logic, it is impossible to understand
You'd just freak out on what the fuck is going on and give up.
Not saying that you're bad or something. The system is made to work with this exact data that I'm importing
Can anybody have a look at my question

http://stackoverflow.com/questions/19967401/c-sharp-adding-json-string-to-a-list?noredirect=1#comment29723662_19967401

and tell me if they have a possible solution please
jim
jim
02:14
listens to portuguese music
Andy, why they're not sending correct types? It's bad, bad, very bad when same field can be of different types.
The API is sending the data
the problem is
I have a class City
so whne the API sends an array of citys
it gets stored in City because city has a List<City> result thing
however
if i request a city instead of cities
it sends just 1 city
and its trying to be stored in the List<City>
and then when I try serialize it
it doesnt work
heres the code for the web request
async private Task<City.CityResponse> GetCityInformation(string url)
{
var client = new HttpClient();
var response = await client.GetAsync(new Uri(url));
string result = await response.Content.ReadAsStringAsync();

var cityRoot = JsonConvert.DeserializeObject<City.CityResponse>(result);

return cityRoot;
}
jim
jim
put into string, parse in the code.
yeah but should i do that in the city object or what?
jim
jim
errr.... will make an answer there
I seen your answer there in the topic
i will try that
jim
jim
02:35
is weather an offtopic here?
nothing is offtopic at this moment haha
There is no topic on right now
hello guys
room topic changed to C#: Nothing is ever off topic. There is no topic. [.net] [asp.net] [asp.net-mvc] [c#] [entity-framework] [linq] [visual-studio] [wcf] [wpf]
Perfect
jim
jim
02:37
:))
so... i got nothing to tell bout the weather
Is reputation important for a new job?
Reputation on what ?
jim
jim
at oDesk?
stackoverflow
jim
jim
is there a job here?
02:39
@Teddy You mean, to get jobs at jobs.stackexchange ?
It doesn't really matter.
Experience is more important than reputation
jim
jim
+146
Are you asked by interviewer about reputation on stackoverflow?
jim
jim
reputation costs very much at oDesk...
Well I don't know out there, but here in Brazil most people don't even know what StackOverflow is.
brazil, so far
I am from China
02:42
I really doubt.
jim
jim
Russia
Experience, knowledge and degree.
jim
jim
Samba & rumba
Here in Brazil the order is Degree > Experience > Knowledge
jim
jim
we learn it here :)
02:44
Wait..
WAIT
WHAT
I think I discovered the problem.
Guys, what do you think of an audio-only youtube streamer?
uhh?
jim
jim
radio?
Sounds like a podcast maybe
02:53
True, but some songs/collections are only avalible on youtube
sup sup
jim
jim
I want tool that can recognize eyes and fingers movements and write code for me while im laying on the bed and watching ceiling.
Don't tell my manager that.
He will sell that to someone and make me do it within 5 days
jim
jim
i won't tell... if you do it for 10 days :)
03:00
fuck my sleep
:(
LOL
In the near future, we can do everything on the bed with holographic helmet.
And I can be a fat fuck without leaving my house :D
posted on November 14, 2013 by Haacked

Not long ago I wrote a blog post about how platform restrictions harm .NET. This led to a lot of discussion online and on Twitter. At some point David Kean suggested a more productive approach would be to create a UserVoice issue. So I did and it quickly gathered a lot of votes. I’m visiting Toronto right now so I’ve been off of the Internet all day and missed all the hubbub when it happened.

03:32
for all my fucks.. why won't this code works :(
03:52
Hello, does anyone knows here a goodlist for javascript events? (pure javascript without DOM or any U.I related)
I think devdocs has some documentation on js events
@Elegiac here are jquery event list
and you can view the related event in pure javascript
I think most events in jquery use addEventListener
Not sure though.. I don't use jquery
Andre.. still here?
Yep
Wassup ?
04:04
Oh, just thought you'd already went home :D solve your issues?
work overtime?
Not yet
@Teddy Sorta..
Anything I can help with?
It is 2am here
guys guys, need some help with multi threading.!
04:05
@CCInc I'm testing one thing. If it won't work, I'll scream your name
orz
alright :D
@Teddy I got to work at 6:30am on wednesday. It is 2am thursday and I'm still here :D
sad to hear that
okay, so if i spawn 2 threads and they both make connection to same host with keep alive set to true. and both will not make the connection at same time.

Why does .NET not reuse the connection made by previous thread?
given that server supports keep-alive, and requests are made within the timeout interval
and knwoing that if only single thread keeps on making the request, connection is reused
spawn thread -> using Timers underneath
04:09
just like connection pool?
why a connection pool?
yea, i mean a pool but with a single open connection
but it maintains two diferrent, one for each thread
1
Q: C# HTTP reuse connection on separate threads

TarunGI need to listen to an open API, upon correct data i need to download some file and process it. I am using timer to automatically issue a download request every x seconds which keeps the connection alive, hence available for reuse. There are total of 3 components: 1. Parent Class 2. Listener C...

well.. it didn't work.
Andre, what is the issue?
head not working
And logic is failing me
I can't get rid of this f*cking duplicates
May the force be with you.

Calm you should keep.
04:18
maybe you need a break
yea, take a bath or something
I'd love to work somewhere were they have an employee bath
@TarunG you mean downloading data with keep-alive mode?
or a coffee should work too
@teddy
yes
I can't take a bath haha
I'm not at home
04:21
I am reviewing your code, wait
That is 5% of my code
It all depends on a 3 nested iterations
With a lot of scrumbling through different lists
That actually they are the same, but caches with different values on different conditions
thanks @AndréSilva @Teddy
@Elegiac Did that help you ?
I'm trying something new, I don't know if it works.
I hate when the data comes all fucked up.. damn client
yeah at first im using this:
https://developer.mozilla.org/en-US/docs/Web/Reference/Events?redirectlocale=en-US&redirectslug=DOM%2FMozilla_event_reference

but its wrong i think because its event for DOM , or related to UI and webbase
so your links are related with events in w3school but much more of explainations
Documentations :)
04:25
what do you mean by "pure" JS events without DOM?
@Alegiac: ^
im developing an ide ... but not all events are supported
excluding DOM, webbase and UI related
What browsers do you expect to run on
kinda hard to explain ... but its more of related with language "translator"
erm.. what kind of events do you want ?
this @AndréSilva
devdocs.io/javascript/
04:33
Any kind ?
no from Array only to String in the link
that is not an event.
what are those? @AndréSilva
sorry
in js, those are constructors
object?
04:35
in normal oriented object languages, those are objects
i see :/
so my ide exactly dont have an event lol
:|
does a javascript have an event not related with DOM, UI webbase or json?
like.. you don't want onclick because it is related to ui..
yeah
you can add custom events with addEventListeners or use prototype
but almost all event are webbase right?
04:39
All the events js has is webbase
i might use the "constructors" only for now
since they instruct me about not using those because of its not supported by now
thanks btw @AndréSilva now im enlighten haha

i never use pure javascript before , i only use javascript with php
yeah.. php is bad :(
so i have no idea about the events ...
this is what you need for your web project ( best performance easily )
mongodb - database
pure html - web
javascript - front end
socketIO - server side ( don't know if this is the correct name )
whats mongodb haha
04:44
is a free database server that inputs data as xml
i see ...
everything that I said to you works with JSON communication
why no php
haha
I have a great opinion why php is bad.
I don't like php.
:D
or asp .xD
04:45
asp is horrible
i think php is just bad because you can inject it easily
Just like any other web page
All you need is a good way to manipulate the information you're receiving server-side
yeah ... and if they knows how to encrypt haha
no encryptation is secure enough
you can always retrieve the information directly from the user.
You can't encrpyt what the user say
brb
@TarunG check the answer?

« first day (1125 days earlier)      last day (4049 days later) »