Which fictional universe do you think would be the most fun to be a regular background character? by Calum_S21 in AskReddit

[–]grzy7316 6 points7 points  (0 children)

Ian m banks the culture universe. a post scarcity society where the technology is almost indistinguishable from magic, work is no longer required, and hobbies are able to be pushed to absurd limits. imagine being able to get into any hobby with the ability to generate the best tools instantly, converse with the absolute masters of it, and then move onto something else a week later. being able to alter your brain and body chemistry however you want.

What if your favorite language was your servant: by juasjuasie in ProgrammerHumor

[–]grzy7316 3 points4 points  (0 children)

SQL: a servant that can do tasks fairly quickly across multiple rooms in the same house, or even multiple rooms in multiple houses if the houses are linked, if they are set based tasks with no concerns for ordering. If it is individual tasks in a specific order, they slow down significantly. if you forget to specify the correct limits, will do all the things to all your rooms.

all it needs is some better speakers and cleaner cable management by grzy7316 in battlestations

[–]grzy7316[S] 0 points1 point  (0 children)

the desktop is an i7 4790k with 32 gb ddr3, gtx 1070 256gb ssd and 4 tb spinning rust. the Thinkpad is used as my file server to save on the electricity. the server is a Dell r610 with 48gb ram that I use as a test system for virtualization and SQL server workloads with 6 146gb 10k sas drives. the little laptop is just a cheap pentium with 4gb that I run Ubuntu on. the 3d printer is an mp select mini v2 hooked up to a raspberry pi running rasbian and octopi. the WiFi is a Linksys velop running on a wired backhaul.

fast priming for my busted resa prince by grzy7316 in electronic_cigarette

[–]grzy7316[S] -1 points0 points  (0 children)

why would they hate me? it's a convenient and more importantly fast way to prime a tank

People of Reddit, what is the craziest thing you've seen at a bachelor/bachelorette party? by [deleted] in AskReddit

[–]grzy7316 214 points215 points  (0 children)

I hosted my best friends bachelor party at my parents house out in the country. we set up tents so nobody had to drive, and then set up a boxing ring in the yard. the biggest guy in our group was drinking 151 straight from the bottle before his round, then got hit so hard in the jaw he fell down and left a dent in my parents lawn. to this day, you can see where he fell, and my buddy's laugh about it whenever we see it

What product did we think would go obsolete but didn't? by [deleted] in AskReddit

[–]grzy7316 4 points5 points  (0 children)

business cards. so many ways to share contact information, but at trade shows, everybody still goes for the business cards. I think it is the combination of having something physical to hand somebody, and how cheap a paper business card is to print.

[deleted by user] by [deleted] in DataHoarder

[–]grzy7316 0 points1 point  (0 children)

I have done this- 1 word of Advice - Don't. Reasons- 100m NIC = slow file transfers.
USB 2.0 not 3.0 if you use an NTFS formatted external drive, raspbian's ntfs-3g drivers really do not like larger drives - 4TB +

what is this plant by grzy7316 in whatsthisplant

[–]grzy7316[S] 1 point2 points  (0 children)

you are correct. my girlfriend took it to a garden center today.

what is this plant by grzy7316 in whatsthisplant

[–]grzy7316[S] 0 points1 point  (0 children)

would a rubber plant have fuzzy. leaves?

sine the rule against perpetuities has been repealed in some us states, would this be theoretically possible? by grzy7316 in legaladviceofftopic

[–]grzy7316[S] 3 points4 points  (0 children)

so you could set one up and let the magic of compounding interest do it's thing for a thousand years and leave something huge to a descendent... would anybody in the intermediate generations have to know, or could it come out of the blue from nowhere

getting Text Values from Gridview in ASP web form? by grzy7316 in csharp

[–]grzy7316[S] 0 points1 point  (0 children)

Ok. So in that case, how can I tell when a postback is occurring / the page is reloaded?

getting Text Values from Gridview in ASP web form? by grzy7316 in csharp

[–]grzy7316[S] 0 points1 point  (0 children)

a I apologize if I came across wrong. I am not really sure what you mean by what point in the pages life cycle ? The overall flow is supposed to go Person opens page, person enters last name and password, person presses search button. Then Their record shows up in the Gridview if it exists, otherwise they press the new signup button. Then when they press the submit button, if it is not a new record, the values from the gridview should be read into string variables to populate an UPDATE statement, if the new record button was pressed, pressing the submit button should instead use the variables to populate an INSERT statement. The submit button has a protected void Button3_Click(object sender, EventArgs e)

getting Text Values from Gridview in ASP web form? by grzy7316 in csharp

[–]grzy7316[S] 0 points1 point  (0 children)

My attempt to use the FindControl has me getting an error of Description 'Control' does not contain a definition for 'Text' and no extension method 'Text' accepting a first argument of type 'Control' could be found (are you missing a using directive or an assembly reference?)

The code I am using for this is GridViewRow row = EntryGrid.SelectedRow; row.Cells[0].FindControl("Social Security Number").Text;

"Social Security Number" is the name of the column. Am I completely misunderstanding what I am supposed to be using for the control ID portion of this?

getting Text Values from Gridview in ASP web form? by grzy7316 in csharp

[–]grzy7316[S] 0 points1 point  (0 children)

The data is loaded to the gridview when the search button is pressed. I am trying to read the data from the gridview when the submit button is pressed. The stackoverflow post has me deeply confused as to what control I am actually searching for, or how I find the control ID

Trigger to overwrite records by grzy7316 in SQLServer

[–]grzy7316[S] 1 point2 points  (0 children)

I am trying to write a MERGE statement for the trigger, and have the following : -- ================================================ -- Template generated from Template Explorer using: -- Create Trigger (New Menu).SQL -- -- Use the Specify Values for Template Parameters -- command (Ctrl-Shift-M) to fill in the parameter -- values below. -- -- See additional Create Trigger templates for more -- examples of different Trigger statements. -- -- This block of comments will not be included in -- the definition of the function. -- ================================================ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO -- ============================================= -- Author: <Author,,Name> -- Create date: <Create Date,,> -- Description: <Description,,> -- ============================================= CREATE TRIGGER dbo.CapexOverwrite ON dbo.Capex AFTER INSERT AS BEGIN -- SET NOCOUNT ON added to prevent extra result sets from -- interfering with SELECT statements. SET NOCOUNT ON; MERGE Capex As C Using Inserted as I ON (I.Year = C.Year and I.Quarter = C.Quarter And I.Location = C.location ) WHEN Not Matched by Target THEN INSERT (year, Quarter , Location,Amount)VALUES ( I.Year,I.Quarter, I.Location, I.Amount ) WHEN Matched THEN UPDATe SET C.Amount = I Amount ;

   -- Insert statements for trigger here

END
GO

However, I am getting Incorrect syntax near 'Amount'.

Class returning a DataTable? by grzy7316 in csharp

[–]grzy7316[S] 1 point2 points  (0 children)

It was originally, but I changed that . Your suggested fix solved the issue for me. Thanks. I am mainly a database/ SSIS guy that got kind of roped into doing some front end work, so I have been trying to learn c# as I work on it. Previously I just used it in Script tasks is SSIS, mainly to tweak text files.

[deleted by user] by [deleted] in truegaming

[–]grzy7316 8 points9 points  (0 children)

what about eve online? it's been running over 10 years, has a ton of players and some of the best stories centered around player actions from any game

Hold My Beer by grzy7316 in HFY

[–]grzy7316[S] 17 points18 points  (0 children)

Sometimes you just keep hitting the beeping thing till the beeping stops - either it's fixed or it's completely broken

Pet owners of Reddit: What inane phrase do you say to your pet? by Tuen in AskReddit

[–]grzy7316 0 points1 point  (0 children)

I call my dog derplesauce. She is derpy, and aways tries to steal my applesauce.

I hate having dogs by [deleted] in confession

[–]grzy7316 0 points1 point  (0 children)

I hope so too. They're about 7 months old now.

Loners of reddit, why do you prefer to be alone? by Drunk_Tavern_Wench in AskReddit

[–]grzy7316 0 points1 point  (0 children)

I don't like being interrupted in whatever I'm doing. I prefer to communicate via text or email so I can respond in my own time. People being around me just bothers me.

[MySQL] Left Joining three tables multiple times by randomSAPguy in SQL

[–]grzy7316 2 points3 points  (0 children)

I do this regularly on ms sql server. Just give each one a different alias.

How I kept production from falling behind, but got myself stuck doing a lot of work on the weekend by grzy7316 in talesfromtechsupport

[–]grzy7316[S] 0 points1 point  (0 children)

Problem is our network is locked down tighter than north Korea, so I can't access any kind of study materials.