Why don't you find a black American and ask him how he feels about having gay marriage co-opting the rhetoric of the black civil rights movement.
Rhetoric!? Now that's an interesting choice of word. I suggest: choose more carefully in future.
Why don't you find a black American and ask him how he feels about having gay marriage co-opting the rhetoric of the black civil rights movement.
Rhetoric!? Now that's an interesting choice of word. I suggest: choose more carefully in future.
And then we'll have the previously religiously accepted version of one man, many women?
Plus, presumably, one woman, many men. A great complex web of marriages like facebook friends and twitter followers.
And really that's why governments try to limit marriage: their databases couldn't cope with such complexity.
I'm new here. Where do I find the dislike button?
This goes against what PJH wrote.
So it does. [spoiler]Given that time she could have pressed the emergency button and stopped the lift before it killed him. Therefore, I must conclude she intended to kill him. Given that, she might have just strangled him in the lift.[/spoiler]
[spoiler]He was standing on the roof the lift (fixing or retrieving something perhaps) and she accidentally pressed the button for the top floor. He tried frantically to get back down into the lift but to no avail (his foot go caught or something and the lift began on the 6th floor so there wasn't much time). She knew he was dead when she heard the scream and the crunch.
Hospitals tend to have backup power for things like life support but probably not for things like lifts so it can't be that.[/spoiler]
A small int could cause problems around Y32K or Y64K. This code is ready for Y100K!
Sadly not as the primary key is a tinyint. It's not even Y22K compliant
each string value is using the N prefix to force it as NVARCHAR
That's a relic of the SQL Management Studio script generator, it sticks N's in front of every string just in case. I couldn't be arsed to remove them like some of the other stuff it added.
I doubt this table was created with a script. Those 'numbers' were probably entered by hand (and amended by hand a few times as 2009 became 2010, etc.).
I felt like this was coming from your post in another thread.
It is a bit like an antonym to that (a table where one isn't required) and a synonym in that you can't understand the data without the front end or vice versa.
A musing may be but sets a bad president
Most of these don't strike me as appropriate for this site. This, on the other hand...
This table exists in a database I inherited:
CREATE TABLE [dbo].[tllYears](
[yearID] [tinyint] NOT NULL PRIMARY KEY CLUSTERED,
[strYear] [varchar](100) NOT NULL
GO
INSERT [dbo].[tllYears] ([yearID], [strYear]) VALUES (1, N'1930')
INSERT [dbo].[tllYears] ([yearID], [strYear]) VALUES (2, N'1931')
INSERT [dbo].[tllYears] ([yearID], [strYear]) VALUES (3, N'1932')
INSERT [dbo].[tllYears] ([yearID], [strYear]) VALUES (4, N'1933')
INSERT [dbo].[tllYears] ([yearID], [strYear]) VALUES (5, N'1934')
--snip--
INSERT [dbo].[tllYears] ([yearID], [strYear]) VALUES (81, N'2010')
INSERT [dbo].[tllYears] ([yearID], [strYear]) VALUES (82, N'2011')
INSERT [dbo].[tllYears] ([yearID], [strYear]) VALUES (83, N'2012')
and was created by a former colleague in all seriousness. I keep it in there like a head on a spike.
There is, as you probably guessed, another table that used to have a field that looked up (in the front end) the values of yearID and displayed strYear. It was of course not constrained to it, which at least made for one less step in the process of making it sane.
I think it's quite a neat package of a few WTFs.
It's an ID for a lookup table that has identity insert off, so we manually add new record types, but it's not any better. I'd be tempted to make an enum for it
I've got to say creating a lookup table of IDs that need to be included in one branch and excluded in the other would be my preferred approach (choosing a sensible name for it might be difficult). Hard wiring the IDs into the code at all is not great. Perhaps you're getting desensitized to the WTFs.
Ignoring what that code says about the technical debt in the database and separation of concerns, etc., I wouldn't say it's all that bad. At least the writers can be trusted to understand it, which might not be true of
If Array.IndexOf({1, 3, 6, 9}, iRecordTypeID) = -1 Then
or
Select Case iRecordTypeID
Case 1, 3, 6, 9
Case Else
Shouldn't that be
objInstance.LastRecord = IIf(bLastRecord <> True, objInstance.LastRecord, "True")
?
Does this annoy anyone else?
If by 'annoy' you mean 'amuse' then yes, keep them coming.
@created_just_to_disl said:
I have no idea how this works and have decided to use you guys instead of google for this
In a nutshell: You get the best permissions your user and any groups it is in have (except if any have 'deny' permissions in which case you get those). New objects inherit permissions from their parent and have to be explicitly told not to if you want them to be different. Objects moved within a partition keep their permissions. Objects copied are new. Objects moved to a different partition are treated as new (copied and deleted from original location). There's not much more to it.
Shouldn't creating a directory require write access?
Indeed. That's why I assume he must be in some group that does have write permission and those are the permissions it will give new files and folders. I would expect created_just_to_disl to be the owner but not to be given a special 'user' permission as the system presumes that the D drive permissions are sufficient for the user to modify already.
@created_just_to_disl said:
I just tried creating a new folder in my D drive (still no program files / windows in sight) and got the same access rights.
It should get the same permissions as the D drive. Does Authenticated Users or some other group have write access?
Edit: Quoted the wrong person
I have it on the best authority1 Janet Fielding, who played Tegan on Doctor Who, thinks Blake's 7 sucks.
Janet Fielding appeared in an episode of the Adventure Game so she must know a thing or two about sucking.
we should throw a party when it reaches version googol.
and another the following week when it reaches version googolplex
And then there was Slave, who was slow and dumb as rocks compared to both Zen and Orac. But he always did what he was told. So it's Windows, I guess? Yay metaphors.
If windows was as deferential as Slave then I would be more forgiving of its .. foibles.
@Slave said:
Master, my humble apologies for interrupting your noble thoughts. Some inferior person is attempting to communicate...
I think I know the one. Moloch was I think my favourite:
The bad things about Blake's 7 (e.g.special effects, costumes, some of the plots, some of the acting) were so bad they were good and the good things (e.g. characters, some of the plots, Paul Darrow's acting) were just superb.
Of all people, we should appreciate the representation of computers as key characters in the series and with personalities that were extensions of their programmers'. That was way ahead of its time.
but it'll be 10e3290472396y98324 before you know it
I don't understand the y but then we should throw a party when it reaches version googol.
I generally point the http:// version of my sites that i'm developing at my local machine, and www at the remote location, so I know that's a false statement.
Do you mean
127.0.0.1 matches.com
? That doesn't redirect to particular page, just the IP.
If you meant
74.125.230.101/search?q=c%23 c/
: That doesn't work.
If there's a way to make it work I would be very interested to hear it.
Edit: Although I could believe Google have a different IP address for every search.
Just edit the host file to make c/ point to google with C#
Although I too gave that as an alternative, now that I think about it I don't believe you can point to a URL in the host file, just IPs.
And having your computer called c is a gift that will keep on giving. Try not to be so negative.
Yeah or DNS or hosts but my way is more enterprisey.
This is easily fixed:
Change your computer's name to c
Install and setup Apache if not already
Add/modify the public_html .htaccess file so that it redirects all http requests to https://www.google.com/search?q=c%23
It's interesting to me that
def sum(root):
# Base cases be damned.
return sum(root.left) + sum(root.right)
, which, we are told, someone who would not come up with this would not be able to say he knows 'programming', five hours later becomes:
def sum(root):
if !root: return 0
return root.nodeValue + sum(root.firstChild) + sum(root.nextSibling)
So someone who 'knows programming' spends 2 minutes on a problem and gets it wrong. Perhaps that was the kind of 'programmer' the interviewer was trying to eliminate.
I created an account just to like it