« first day (2025 days earlier)      last day (2924 days later) » 

1:00 PM
@Global anyway... You still should have datasource, and use the generated datasets. Wait a min. Why You need select in loginQuery from both tables? Are there more columns selected, than You have written?
@Global which VS You use?
 
@ntohl Community 2015
 
Someone checked in a huge, poisonous changeset. Nobody bothered updating their local code, so there are a number of changesets after it. Now I have to see how to roll it back and make sure the codebase is synchronized and working again.
Have I mentioned already that all this isn't in my sprint tasks?
 
user47589
@Failsafe i wish, i hate mondays
 
TFS's "Rollback changeset" really is unclear. Does it roll back the history to this changeset, or does it roll back this changeset's changes?
 
@ntohl What would the difference be and how would it look like? Well It match userid from login and userlogin where login id matches userloginid
 
user47589
1:04 PM
i would expect it to roll back just that one changeset
 
Had the serious talk with a project leader @ work now.. Feels good to have it all said
 
user47589
Excellent.
 
user47589
Which talk is the serious talk? The sex talk?
 
@Amy When a project leader loves a senior architect very much...
 
@AvnerShahar-Kashtan doesn't it stop you from committing unless tou working copy is up to date?
@AvnerShahar-Kashtan doesn't it stop you from committing unless your working copy is up to date?
Well, rhetorical question, I know it does, at least for me
 
user47589
1:10 PM
i think so, if you are changing files that conflict with missing changesets
 
user47589
but if you aren't, i think it ignores that. i think.
 
user47589
TFS is mysterious, and I have no desire to probe those mysteries.
 
hi guys
Is there anyone interested in with websocket sharp ?
 
@Global ohh. I misunderstood. Btw I would write select uid from L inner join UL on L.lid = UL.lid where usr = @user and pw = @pass
 
@TomW They committed in other files - all the bad changes were in XAML, and no-one else worked with it. Makes gently rolling back the changes easier.
 
1:14 PM
@Global back to the dataset topic. Click on tools -> connect to database.
 
posted on May 02, 2016 by ericlippert

In the middle this room a small shaft descends into darkness below. Above the shaft is a metal framework to which a heavy iron chain is attached. There are exits to the west and north. A foul odor can be … Continue reading →

 
select Your mdf file
 
@Amy everyone does
I am pretty sure hating mondays is universal
 
@ntohl im here buddy
 
@Amy Haha that would have been nice, but there are no singleladies in this company...

No, more like, if things do not change, I won't stay-talk
 
1:16 PM
oh my god, the globals are here
 
user47589
@JakobMillah ahh
 
@Failsafe Except in countries where the workweek starts on Sunday, of course.
 
@AvnerShahar-Kashtan six day weeks?
 
@kush Nope. Sunday to Thursday.
 
user47589
@IbrahimAlkan just ask your question.
 
1:18 PM
@AvnerShahar-Kashtan that sounds shitty
 
I have a really powerfull server and connection but my websocketsharp is closing all clients time to time
 
@Global if You click next, did it generate the xsd?
 
im getting this error when there are 150+ users
 
@AvnerShahar-Kashtan are you in Iraq? o.O
 
@TravisJ I don't recall now.
 
1:19 PM
@Failsafe It's just a shifting. There's nothing inherently more weekendish in Sunday.
@kush Nope. Israel.
 
@AvnerShahar-Kashtan it's another day off
 
@Failsafe So we have Friday and Saturday.
Just shifted.
 
ahh
 
@ntohl I can Browse my .mdf file, test connection and then just OK. Because it's already in Data Sources
 
does UPS deliver to you on saturdays
 
1:19 PM
I'm not sure i like this project ... references include ".NET" <-- literally
 
cuz if so i would take that
 
Nope. Saturdays are dead.
 
@ntohl Data Source=(LocalDB)\MSSQLLocalDB;Integrated Security=True;Connect Timeout=30
 
and yet I can't use System.Net.Sockets
 
Restaurants and such are open, but that's mostly it. No shops, no public transportation, nothing.
It's technically illegal to open on Saturday, but it's not heavily enforced, and even when it is, it's more of a tax than a fine - most restaurants and such do the most business on the weekend.
 
1:22 PM
@Global Ohh. And why didn't You use LBTableAdapter rather than SqlDataAdapter?
 
@ntohl I'm not sure man. What difference is it etc=
?*
 
Can someone help me I'm creating a mobile backend and replaced the example ToDoItem Model by a class called ProjectItem, but every interaction with it doesn't work
 
@Global You don't need to write any select
 
  public async Task<IHttpActionResult> PostProjectItem(ProjectItem item)
        {
            ProjectItem current = await InsertAsync(item);
            return CreatedAtRoute("Tables", new { id = current.Id }, current);
        }
 
@Global for example
         temp_rentTableAdapter adapter = new temp_rentTableAdapter();
            SO_testDataSet.temp_rentDataTable table = new SO_testDataSet.temp_rentDataTable();
 
1:25 PM
this is my Post Method on the Server, it is getting called, but I am getting a Network error
 
(that's in my code)
        SO_testDataSet.temp_rentRow newRow = table.Newtemp_rentRow();
        newRow.code = 22;
        table.Addtemp_rentRow(newRow);
no select written
newRow.code is generated property
 
@ntohl I see, maybe its better then.. But is there any differnce with the datagridview?
@ntohl You saw my code, so wondering if need to re-write all for just remove data from DB. ( don't have time to rewrite everything else :( )
 
@Global in Your code as long as the id is not selected, You don't know what to delete
dataGridView1 should have the id, but not show it.
 
@ntohl oh, thought I could remove 1 row by selecting specific column in row?
 
@Global DataGridViewRow.DataBoundItem returns the DataRow. You can call .Delete() on it
but if You don't have the id, than which row You call the delete on?
 
1:32 PM
?
 
@ntohl maybe im thinking wrong but if I do Select * from LB (then I have lbid )
becuse using identity and increment.
 
@Global that's just an extra step, that is not needed. You can have Your id in the same select that You have linked in the gist. Just don't show the id column to the user (hidden column or whatever it's called)
@Global You need to call adapter.Update(table); to finalize the change in the database.
 
@Feeds XD XD XD
 
@ntohl Okay okay. Do you have any good link to read more about this? I think i need to go with the table because lack of time
 
that might help
and that
1
Q: Delete Row from TableAdapter?

Mandarina PortokalliI have to Delete one row from datagridview which is connected to database SQL but i dont know how to call method in Button_click(Delete).(ex. this.nameTableAdapter.DeleteQuery() ). Error show: _ID, _KlID does now exist ?? And Sql Query is : DELETE FROM Artikulli WHERE (ID = @_ID) AND (KlID = @...

^ exactly I suggested
 
1:43 PM
@ntohl Thanks a lot man!
 
user47589
dancing to "Get Lucky" by Daft Punk
 
!!youtube simon pegg nick frost get lucky
 
that song is so repetetive <.> I like his radio voice though haha
 
2:02 PM
I hate that song because the first few lines make it sound like a cool song and then it gets dumb.
 
hahah
!!youtube start wearing purple
 
thats a great song!
 
user47589
purple is a great color. the best color
 
:D
 
2:15 PM
It's definitely one of my favorite. Green/Purple/Blue
 
@mikeTheLiar that sounds like more like Peter Serafinowicz than Simon Pegg :/
 
!!google Peter Serafinowicz
 
so i've ransacked indeed, dice, stackoverflow, craigslist and linkedin.... anyone know of anywhere else i could look for tech work?
in the meantime, apparently angularjs is super essential now
 
2:16 PM
@Bardicer where was it you're based?
 
i'm just north of houston
 
Is relocation an option?
 
@Bardicer there is always freelance for the meantime
 
all the jobs appear to be on the west/southwest side of houston... like a 1.5 hour one way commute
 
attend local usergroups, perhaps?
 
2:17 PM
@Squiggle I did not realize how many things this guy as been in.
 
@mikeTheLiar he's prolific
 
not right now @Squiggle - my oldest kiddo is about to finish her sophomore year in high school and i can't sell the house until at least september
i didn't think about that. i have a former coworker who heads up the houston .net user group
 
@mikeTheLiar he's been cast as The Tick in the remake! :D
@Bardicer bingo. I've got half my jobs through usergroups.
 
this'll be my fourth... in four years...
starting to feel like a job hopper >.<
 
oello
 
2:19 PM
what happened at the previous jobs?
dare I ask
 
@Squiggle he was Darth fucking Maul?
 
@Sippy o/
@mikeTheLiar :D inorite?!
 
my first one was in wisconsin, after 2 years my wife said she was done with the cold, so we moved to houston
 
(the voice of)
 
Or "voice of" which is kinda silly since he had like two lines
 
2:19 PM
^ the voice of Darth Maul
 
my second one i was at for a year and a half but it was super traditional - sales team was all that mattered, everyone else was a liability
and i got offered about 18k a year more to go to work where i was
my last place was just shady as could be
 
user47589
Does anyone here use the Ace editor in a browser to edit JS? I need to find the event Ace raises when it needs to look up the definition of a symbol.
 
user47589
But I can't find it anywhere in the documentation.
 
@Bardicer so long as you can reason why you moved on to your new employer, that's all cool :) brings with it a wealth of experience too, right?
 
"Awesome backend PHP developer wanted!" ...php is backend?
 
2:21 PM
it is these days. Nobody uses server-side templating engines anymore.
 
user47589
Not for new projects.
 
user47589
We have FORTRAN code here, running on the mainframe. Old code.
 
some experience @Squiggle - my first employer was all about a variety of technologies... the last two haven't been technology shops... just a business with web developers
 
I don't actually like "Moves like Jagger"
but that cover is amazing
 
i'm seeing a lot of "web developer" positions looking for php, adobe creative suite / photoshop, html, css, javascript
and i'm just like 'yeahh... that sounds more like a designer'
 
2:24 PM
heh
@Sippy can I hire them for my wedding? :D
them? him? one-man band?
 
@Squiggle one man band :(
You can probably hire him
He's from Norway
He is a front-man for a few bands I think
That's my other favorite one by him
 
when you can't do something what do you do?
 
user47589
not that thing
 
^
 
user47589
Sit patiently and await further instructions from the Master Control Program.
 
2:29 PM
Take no initiative by yourself. Obey those of higher security clearance. Ask Friend Computer.
 
user47589
Self-initiative will be rectified by the Master Control Program. Please submit yourself for processing.
 
@Antoine but srsly though - what are you struggling with?
 
I want to do this
Binding the Button to a Command
and that command after some logic opens the generalview passing the User as a parameter
 
user47589
I like the use of blue and red.
3
 
2:40 PM
ah, I don't know a lot about WPF, but I'm guessing you want to make use of the navigation features here? msdn.microsoft.com/en-us/library/ms750478(v=vs.100).aspx
and yes, full marks on using a diagram to explain your problem :D
 
Really does the what we want picture
 
@Amy blue and red are literally my two favorite colours. I bought some blue and red shoes the other day and omg I love them so hard.
 
@Squiggle high tops?
Cos
you're a skaterboy
 
hard walking
 
user47589
!!doge red,blue,hipster
 
2:42 PM
@Sippy pure blue Vans, I replaced the laces with red ones.
 
      wow
             very red
                        such blue
so hipster
 
@Squiggle you hipster.
 
!!wiki fc basel
 
FC Basel 1893 (Fussball Club Basel 1893), widely known as FC Basel or just Basel, and sometimes referred to as FC Basle in English or FCB, is a Swiss football club based in Basel. They are one of the most successful clubs in Swiss football, having won the Swiss Super League 19 times, the second most for any Swiss club. Besides their current dynasty, they were most successful in the late 1960s and 1970s, winning the title a total of seven times between 1967 and 1980. The 1980s saw hard times for Basel as they had an absence from European competition for many years and they were relegated in 1987...
 
just a coincidence, but the local team are also my favorite colours. I get lots of appreciative looks here
I once had blue and red hair. That was lush.
 
user47589
2:45 PM
you were once an anime character? cool
 
@Squiggle Lol
 
@Amy ✌ ^_^ ✌
 
Blue and red with a ginger beard? :P
 
nah the beard came along later
 
@Squiggle the problem is not the nav
but passing the parameter
and sadly the link you sent uses code-behind :/
 
2:49 PM
you are executing some method in a ViewModel that will update the view pending the outcome
 
Guys so I am trying to improve a linq query performance, and I read somewhere that contain is costly, I should use Any. Is that correct? Do you guys would care for that?
 
if your are doing ! then use any?
that is my take
 
user47589
try it with Contains, try it with Any, and compare the two.
 
@Amy I guess I will do that
I just discovered ctx.Database.Log and it makes it really easy to see the linq queries cost
 
I prefer to .ToString the LINQ query. That will provide you with the generated SQL, so you can see what it translates to.
 
3:01 PM
Null is equivalent to undefined, right? Like if I just make a Dictionary<T,T> but don't actually set it to anything, it's equal to null. Correct?
 
There is no undefined in C#
Just null.
 
@Sidney you could argue that.
C#'s null defines a reference that points to nothing.
 
@Sidney I believe it's a compiler error
 
Bon
exactly,not a runtime error
 
Dictionary<string, int> myDict;
nothing wrong with that
 
Bon
3:04 PM
except try returning that
just that
 
Which is why I've managed to miss it. I've got a backing variable that is accessable via a property, but I forgot to create the dictionary in the constructor.
 
Bon
without assignment
 
@Squiggle it also tells you other stuff like how much time it took to execute each query etc
and if any in memory stuff happened
 
Bon
Use of unassigned local variable myDict
 
@Bon you can do that just fine. It's a compiler warning, not an error.
 
Bon
3:05 PM
as i said moments ago
 
user47589
Then assign something to it.
 
ah yeah
 
user47589
You can't return an unassigned local variable.
 
sry my bad. Misunderstood.
 
user47589
wow, is google down?
 
3:08 PM
If it's a class variable and you try, you get a delightful nullreference exception.
 
user47589
no, just slow as shit
 
@Amy Weren't you also having troubles with MSDN last week? Is it time to go to your IT department with torches and pitchforks?
 
user47589
yeah the internet here is flaky.
 
@TomW you there? Guess what.....
 
That was oddly precipitous
 
3:11 PM
our biztalk requirement is gone
DING DONG THE WITCH IS DEAD
 
I just happened to have picked up my phone and looked at chat
@Failsafe lol gg
Replacing with Websphere?
 
Replacing with nothing
just gonna do standard 2-tier with wcf
 
/other enterprise shit
 
@Amy try head & shoulders
 
user47589
lol
 
3:12 PM
The Head & Shoulders Turbo Ultimate 50/5?
 
Super Street Fighter 2-in-1 Shampoo & Conditioner
 
@Sidney Undocumented what? For the love of god, what is
 
I hate people who don't finish their
 
i also hate people who don't spell-check their image macros
 
3:17 PM
hate when the project does
hey saved a bank 8Million$
 
Stop guys, this is really starting to
 
is an absolute failure
 
ITYM @MichaelEdenfield is an absolute
 
Guys you're gonna accidentally the whole internet
 
I think they just
 
3:21 PM
There! are you happy? I fixed it! :(
 
3:33 PM
I'm trying to find information on adding additional user data fields to WebSecurity, but every example I find assumes you're directly attaching a database table. This project doesn't even have direct database access. It pulls everything from WebServices, included user data.
 
I've just calculated Im writing 4 lines of code per one sip of coffee.
 
@C4ud3x Does that value go up as the day goes on?
 
I'm writing NaN loc per sip
 
I've also told my boss about it. He then got the idea to buy me that kind of hat they are using at spring-break.
@Sidney It was calculated on avg.
For normal the lines-of-code part is higher in the morning.
Close to closing-time it drops below 1 lol.
 
In C#, is it possible to combine the two lines of this method into one?
public ValidationResult Validate()
{
	var validator = new DrugResultValidator();
	return validator.Validate(this);
}
 
3:39 PM
return new validator.Validate(this);
Oh wait.
 
return (new DrugResultValidator()).Validate(this);
 
[Non C# question] Is it possible with GIT to clone a certain directory from GIT only, instead of the whole repository? I've got some files in a folder on my HDD that can't be changed (the path). The repository is just a directory at my desktop. There is a dir that I want to "sync" with GIT but I don't want to pull all data from the whole repo.
 
@Alex +1 this works.
 
Ahh... wasn't sure :)
 
Just tested ^^.
 
3:40 PM
Turns out the real creator of Bitcoin was the friends we made along the way.
 
Thanks, @C4ud3x :)
 
@ErwinOkken not with git, unless you're using submodules
 
You can, but I don't like how the reference gets thrown away just to make a function call. If you're going to do that you might as well just make a static class.
 
@KendallFrey Thanks. I've got so much trouble in finding a way to put my live PHP environment on GIT.. (but shared hosting so..)
 
Then you could just DrugResultValidator.Validate(this);
(whatever "this" is)
unless DrugResultValidator actually needs instance members, but from the class name I'm guessing it probably doesn't
 
3:45 PM
@Jakotheshadows but what if he's a racist and wants his classes to work for him instanciated just for one small process just like a time worker? :D
Never mind.
 
@C4ud3x
Did you just try to make a joke and realize immediately after typing it it didn't make sense?
 
user47589
if it was a joke, it was a bad one
 
where did DrugValidator start?
 
@Jakotheshadows I realized you wouldnt get it.
 
I mean, I can kinda see the racist part being tied in with the war on drugs since its a drugresultvalidator, but the rest of it lost me
 
3:50 PM
Hi guys
 
Serioulsy nvm.
 
user47589
Yeah, don't explain it, just let bad jokes die.
 
Like provoking? ♥
 
user47589
Are you asking us if we like provoking people?
 
3:55 PM
I want to implement something like this:: I have a Refresh button, If i click on it it gets all the data (2500) records from the database. Now if i add a new record and refresh again it will fetch all 2501 records and fill my collection/Grid now what I want is, I will get only updated/ added data...... and keep adding on my collection/grid....How I can implement that...
 
@Amy Nope. Just you. No one else.
 
user47589
No, I don't like provoking people, and dislike being accused of that.
 
@Amy +1
 
user47589
Why would you ask me that in the first place?
 
@Amy perhaps he finds you provocative
 
3:58 PM
any idea guys :(
 
user47589
what have you tried, @bluetoothfx?
 
Nothing.... I want to hit server less... for that im looking into it
 
user47589
change your query so you get rows since the last retrieved ID, assuming your IDs are in sequence.
 
user47589
this isn't an advanced topic.
 
user47589
or, get rows added since the last retrieved timestamp
 

« first day (2025 days earlier)      last day (2924 days later) »