« first day (587 days earlier)      last day (4579 days later) » 
01:00 - 20:0020:00 - 23:00

20:06
i've read it before ... tldr; ... my proposal would be a table of people and a table of relationships (3 cols ... [person1] FK->person, [person 2] FK->person, [relationship type] FK->reltypes) in a nerdy star. feel free to blast away at my poor modeling skills
20:16
Zing!
If by "perfectly" you mean "doesn't parse" then yes it does! — Aaron Bertrand 3 mins ago
@swasheck he actually discussed that in the article
@jco are you a powershell expert by any chance?
@JackDouglas define expert. I'm pretty good
I've got a ~1500 line set of scripts I'm working on rewriting that I wrote recently that handle all of our deployments (they aren't all MSDeploy capable)
This is like my third or fourth big PS project
just discovered 32 and 64 bit versions have independent execution policies
do you hapen to know which one is used by a gpo shutdown script?
@AaronBertrand i dont know what's funnier: your comment or the lack of SET and SELECT
(and this is not the only person who does this)
20:23
@JackDouglas give me a context?
@swasheck I think the funny part is that the OP claimed "worked perfectly!" in the first place. Maybe he meant to comment on a different answer. :-)
I would say this: "Always target the base install of the OS"
@AaronBertrand I don't really found it funny, but wonder why the OP accepted that particular wrong answer
@Lamak well I guess he just wrote the code on his own and compensated for lack of SET
@JackDouglas got more context? I assume this is a network script from your IT group?
20:25
@jcolebrand ok, I have my script: "C:\Program Files\Ninite\Ninite.ps1" that runs fine from powershell as the system account, but hangs when run as a shutdown script - only on W7 64 bit
Rather than copy/paste the code and complain that it failed to parse
Which is fine for the OP, but future readers will be WTF
does the system account have privs to shutdown the box?
Oh, wait, fails when run as a shutdown script how?
Like "we're shutting down now" or like "initiate a shutdown"?
@jcolebrand ah, it is a script that runs at shutdown, rather than a script that causes shutdown
set with gpedit.msc
@JackDouglas ah, in that case, I assume you're spawning shutdown from the start menu?
@jcolebrand yes
20:27
Which if I'm not mistaken, Windows prevents new programs from starting once shutdown has been issued
Sort of that "let's work towards the goal" thing
@jcolebrand so it 'working' on another W7 (32 bit) might just be 'luck' ie a race condition or something?
Who was I arguing with a few months ago that claimed people never do WHERE DATE LIKE '%STRING%'?
0
Q: SQL date update query for sequential times

John SmithI have a database with a date field in text format. I want to update some of dates in my table. So, basically, the current date should change to new date, the thing is that I have at least 1000 records that need to be updated. The only advantage is that time in my date field is sequential. I ...

I'm just not 100% here, because that's not something I would've contemplated
Have you seen "force program end" or whatever on the windows reboot overlay?
20:29
@jcolebrand ok :-)
I think that it's seeing the programs as hung, so it forces them to restart
@AaronBertrand i dont think that we were arguing ... i think i just stood in disbelief that it actually existed
err, forces them to quit
@jcolebrand running shutdown scripts comes after that in the shutdown process afaik
@swasheck well, case in point. A question and an answer.
20:30
@JackDouglas yeah, this is beyond me, I've never tried it
Granted, the answer may have just copied from the question and not thought about it, but that's something that should be spotted IMHO.
(Cruxshadows 2012 album As the Dark Against My Halo)
@AaronBertrand i'm still in awe. it takes a blatant, and special, disregard of data types to pull off something like WHERE DATE LIKE '%STRING%' with a straight face
@swasheck wait, I shouldn't force a table-scan regularly?
@swasheck I don't see it as much anymore but it used to be rampant
@jcolebrand it's not just a table scan, it doesn't work
20:33
@jcolebrand only when you're searching for that special date
@AaronBertrand doesn't work?
or just takes FOREVER
Well, depends on which data type and the format of %STRING%
Try this with DATE and then DATETIME:
DECLARE @d TABLE(d DATETIME);
INSERT @d SELECT GETDATE();
SELECT * FROM @d WHERE d LIKE '%2012-08-13%'
Works with date, does not work with datetime.
Change the format of string, and it may flip, but I don't think the same string can ever return rows for both data types.
That's what I mean by doesn't work.
@JackDouglas reckon it's this? superuser.com/questions/461044/…
20:47
@AaronBertrand stop fiddling around
NO MORE "AND THEN"
...and theeeeeeen?
@jcolebrand that's a problem I hit earlier :-)
@JackDouglas wellllllll
@jcolebrand oh boy, I am so stupid
what an idiotic waste of 2 hours
wait wait, lemme guess
you didn't enable execution of non-signed scripts?
no, wait wait
it's "blocked" in Windows Explorer?
20:56
worse
there is a tab for shutdown 'scripts' and one for 'powershell scripts'
I will say no more
waitwaitwait, I got this
lemme see
ummmm
:p
many thanks for your patience :-)
for my genius? You're welcome ;-)
@swasheck I don't think this is ASP.NET. It's written in Python, but I assume any web framework would use a similar technique. Trying to use curl to get to some RSS feeds which are behind authentication.
ah. cURL handles auth, though
21:05
@swasheck does it handle hidden form auth?
@jcolebrand touché
How can an interviewer evaluate the responses of a candidate if they don't know the answers themselves?
1
Q: which one is more efficient query?

JackofallI have a table called STUDENT +-----------+-----------+-----------+---------------+ | StudentID | FirstName | LastName | EnrollmenDate | +-----------+-----------+-----------+---------------+ | 1 | x | x | x | | 2 | x | x | x ...

Now I know how all these numbskulls pass interviews. :-)
@Aaron have you had your hands on one of the new MacBook Pros - with the hi-res screens - If so can I ask if you had any thoughts on build quality?
@AaronBertrand That is a Rumsfeld problem. Is it a known unknown or an unknown unknown?
@JackDouglas I haven't touched and felt one yet, but I'm quite tempted to. Aside from the upgradeability aspect, BrentO gives it 5 stars. He says the screen is phenomenal and the build quality is, well, what you'd expect from a Mac. Only better.
I'm contemplating "accidentally" dropping my current model down the stairs.
Then work can replace it with the new model, or if they refuse, I can replace it out of pocket without pissing off the wife.
And if any of you sassy gents tells her about this conversation, I'll have some "friends" pay you a "visit"
21:09
@AaronBertrand I'm lucky enough to be lumbered with a very poor laptop that need replacing :-)
@AaronBertrand the upgradeability aspect seems to be a sticking point
@AaronBertrand shit, the only way you're getting me to shut up is buying a second one ;-)
The upgrades on this model are actually reasonable
Her email address is [email protected], right?
$200 for 8GB -> $16GB, $500 for an extra 500GB in SSD
In the past Apple was notorious for charging three kidneys for an extra stick of RAM.
Since now you have to buy from them, they're avoiding backlash by bringing the prices much closer to what after-market would be, if you could.
21:11
@AaronBertrand your buddy is back
0
Q: SQL SERVER 2008 create a stored procedure then call it from C#

Jbob Johanhi i would like to create a stored procedure that i will be able to call from asp.net C# code behind my question is i need 1) UPDATE tblProblems SET problemCode = 1 where problemCode is null 2) ;WITH n AS ( SELECT problemID, StationName, problemCode, ProblemCreateDate, probCount, ...

@swasheck from what I hear the ram is soldered on but the hdd can actually be replaced - don't quote me on that though. I hate upgrading anyway (at least the DIY sort I'm used to)
you are his Special Agent SQL008
@JackDouglas I would endorse either the new retina or the latest normal MBP. Based on the speed tests and battery tests reported in both MacWorld and MacLife, I would say the retina is worth it. And that's without even seeing that screen.
@JackDouglas right. i'm a tinkerer so i like disassembling things. having said that, that's a no-no with work gear
@swasheck Yeah, upgrade is basically total replacement. HDD is somewhat special - can't just drop in a larger SSD.
21:13
i think the corporate netmonkeys have blocked jquery.com
@bluefeet wow
@AaronBertrand my only hesitation is I'm used to a 17" screen (albeit a much lower resolution)
I want to scream "Go read a f*ing book!"
@AaronBertrand you can scream it ... but he wont hear it
@JackDouglas I switched from a 17" to a 15" in October 2010. It really wasn't a major adjustment.
21:14
@AaronBertrand yeah it is pretty bad
And the pixel density on the retina is fantastic. Except when you look at graphics in non-Safari browsers, apparently.
But the other non-Apple apps will eventually catch up.
@AaronBertrand that's useful to know, thanks. I do a lot of remote support so resolution is quite important (the users often have big screens). I think I'm going to take the plunge... now I need to decide whether I remove OSX entirely (which I'd always planned to do) or stick with it and run W7 in Virtualbox :-)
@AaronBertrand Books are going away. I have no idea how society is going to survive this dependency on Google and Wikipedia. Just the other day I was thinking about some great books I had read in the late 80s and how I knew to buy them. There was no web to recommend them, no Amazon - all word of mouth and book store browsing.
@CadeRoux My household combined has bought literally hundreds of book in the past two years - I'll be sad if they go extinct. Mind you most technical books deserve that fate imo
@JackDouglas I would go with VMWare or Parallels over VirtualBox. I've had all kinds of stability problems.
@JackDouglas and I think your resolution will be fine, sure it's packed into a smaller space but it's so much crisper
21:21
@AaronBertrand hmmm, that's a shame. I use Virtualbox already over on W7 and like it very much
I don't think they pay as much attention to the version for Mac OS
Which makes sense, I'm sure the user base there is tiny
Even though they're free they're a late entry to that space
Feel free to try that first, but don't say I didn't warn you - I wouldn't put anything crucial in those VMs.
@AaronBertrand how expensive is VMWare?
And give Mac OS a chance, too. I work against Windows all day every day and doing so in a VM isn't a hardship.
$70 I think, same price as Parallels
@JackDouglas I think sales of those temporary kinds of technical books is most affected by the Internet.
I find the OS much more stable than any version of Windows I've ever used.
Not trying to be an Apple pimp either, these are all 100% true statements
21:24
my (limited) experience of parallels hasn't left me too impressed - I might be tempted to switch to VMWare though - I value stability
@AaronBertrand We do all our work in Windows VMs (on ESX) anyway. What's cool is you can patch a VM and reboot it and still work on email, or you can reboot your physical workstation and resume your VM without skipping a beat.
@JackDouglas well, if you want my honest opinion, I bought Parallels the other day because I was starting to find VMWare Fusion less stable.
I have only created one VM in Parallels, so far so good, but not enough playing time to do a fair comparison.
Fusion was easily 100X better than VirtualBox on the Mac.
But I do understand it works really well on Windows. Jonathan Kehayias loves it there and was really surprised when I told him about all the horrible issues I've had with it.
maybe I'll pick your brains again in a few weeks then when Parallels has had a fair run :-)
thanks
But Fusion wasn't perfect. There is some bug even with the most recent build where if you try to copy a file within the VM the whole program crashes.
Now, you don't lose anything, because it somehow miraculously saves the VM state (e.g. start up Fusion again, and the VM pops up, resumed and ready to go). But it's still quite annoying nonetheless.
I think Bill Gates has jumped the shark
@JackDouglas question for consideration
$script.* is a global variable, I'm thinking I need to reduce leaky abstractions and have everything that writes to $script.* or reads from $script.* be hidden behind proper class-y functions, so that I only work with well defined methods, etc.
Thoughts on the forms presented as choices?
21:51
effectively I feel this is a way to pass <Task> types without having that ability...
22:01
what?
0
Q: Join all columns to Lookup table

Mironlinemain table products has over 10 columns , values in all columns should reference to Lookup table. I added relation like below , but I think it's kind of weird! isn't it ?

WHAT
0
Q: sql server case - dates

Nathan PI have the following table: ID ActualDt DueDt Flag -- ------- ------- ---- 1 01/03/12 09/13/12 Y 2 NULL 07/12/12 Y 3 NULL 09/12/12 N 4 02/03/12 01/13/12 N I need to mark Flag as Y for the following conditions: 1) If ActualDt is not null ...

@AaronBertrand Yeah, I read that, but passed on answering. Not gonna bother today
It's unbelievable... is this a Monday thing, or is this a gradual degradation I've just blocked from my mind?
I'm going to see The Bourne Legacy, enough of this computer shit
@AaronBertrand Don't know, it might be the Monday thing. And on Mondays I'm on a worse mood than the rest of the week
3
Q: Make floating window tab widths wider in notepad++

jcolebrandHow can I make the floating window tabs wider/static width in Notepad++? and the version is

22:43
Book request, vtc'd
0
Q: From Beginner to Pro with PostgreSQL

garbagecollectorI am looking for resources to go from beginner to using postgres. For example: I would like to be able secure my database as well as encrypt data leaving it. That being said I only don't know what I know. How can I go about getting more information on how to get really proficient in administer...

01:00 - 20:0020:00 - 23:00

« first day (587 days earlier)      last day (4579 days later) »