« first day (2013 days earlier)      last day (2305 days later) » 

5:03 AM
hi!
 
5:41 AM
morning
 
holy crap
today is the worst day of the year
all the prepping of systems for black friday
@ARr0w take me with you
 
lol, @MoonEater916
its just a normal day.
what's the all fuzz about
crazy people.
 
 
2 hours later…
8:05 AM
gm o/
 
morning tom
 
Hey still enjoying your new job?
 
morning
 
Morning andy
 
oh shit its tomm
 
8:20 AM
@Tomm o\
 
ohh snap its tom
:D
 
 
1 hour later…
9:28 AM
Morning all
 
Good morning shane
 
@Shaneis morning
 
hey @Tomm good to see you again man
@AndyK o/
 
:P
 
9:48 AM
morning guys o/
 
Good morning mofty
 
how do you guys deal with the pressure of a deployment?
i have to deploy at the end of next week and it's only half way done
 
All nighter :P
 
@Mofty prepare
 
Nah all jokes aside, how long have you had the time?
 
9:52 AM
Good afternoon guys @Shaneis @AndyK ..

@Tomm yo man. Alot to learn..
 
hey @ARr0w
 
@ARr0w hey man
 
@ARr0w thats good, aslong as you are enjoying it
 
working on this for 1 week
 
@Mofty did you know the deadline already
 
9:54 AM
it was said to be 3 month development (i did the calculation)
 
@Mofty deployment should be max a week. :/
SIT and UAT are the processes that takes time usually
 
but the client said a part has to be finished by end of Nov
 
@Tomm thanks man. Yeah, mvc is fun for me.
 
tbf if it has to be done end of next week, and you were working on it for 1 week already you arent even on a half way mark, and you are already half way done on your project
so there is nothing to worry about right
You still have a bit more then 1 and a half week, which is already longer as your time spend in the project ( which you supposely already finished half way ). I think you can do it
 
@Mofty by deployment, you do mean 'making client's pc ready for the developed application'?
 
9:56 AM
and with one and a half week to go and knowing when it has to be done it is basically all prepping and making a schedule
 
for which all you would required (if sql server, then SQL Management Studio) and IIS (if asp.net)
 
If you have a schedule and you keep to that schedule you will make it without a doubt
 
deployment means to ship the EAR
schedule sounds like a good idea
 
Making a schedule is 70% of the task in my oppinion
 
SQL is just a small part of the application
 
9:58 AM
having a schedule makes everything so much more relaxing in a way
 
oh java.
 
@Mofty who's the PM here?
you're the PM?
 
what's a PM?
 
project manager
 
ahhh manager
not me
 
9:59 AM
project manager
 
he's the one calling the shot here
 
You have to listen to him
 
and get back to him if your project is getting out of line
if you do not own the project, there is no point telling the client that you are out of schedule
this is the PM role
 
And
 
well i had a meeting this morning and told him already that there were some things i didn't see comming
 
10:01 AM
to face the customer
 
the client should not be telling you he wants a part done by nov he should be discussing that with the pm
 
@Mofty if you told your PM, then that's cool
As Tomm said, it is the PM's job to tell the customer of delays or any kind of bad news
 
okay that's good to know
 
This is also a lesson to you @Mofty you taking on a request behind your pm's back can get him in trouble since he should be making the calls
 
@Tomm +1
 
10:03 AM
i didn't even agreed to the request
 
Then thats good
then there is nothing to worry about right?
 
@Mofty like in any organization, you have a chain of command. Follow who is leading. No more, no less
 
I got kinda thrown off by this comment by you : Mofty
but the client said a part has to be finished by end of Nov
 
but just following and not thinking ahead is not realy my thing of doing things
 
@Mofty you talk with your PM about your concern
not the client
 
10:05 AM
that's for sure
 
client is not a friend
your only friend is the organisation you work for
this where lie you primary interest
 
i have to learn a lot more ^^
 
@Mofty you'll get there
 
okay back to work and thanks for these advises :)
 
Hi
How do I query for the Instance Name?
SQL Server
 
10:13 AM
@Mofty you will learn things quick
keep in mind I am only 17
@CrashBandicoot isnt it something like this SELECT @@servicename
 
@Tomm +10 for me ^^ but working for a big company only for a year
 
@Mofty no worries, we will never be done learning :s
 
Ah ok, thanks @Tomm
How about the Port Number?
 
I just found this code
it says you get literally everything
SELECT
SERVERPROPERTY('ServerName') AS ServerName,
SERVERPROPERTY('MachineName') AS MachineName,
CASE
    WHEN  SERVERPROPERTY('InstanceName') IS NULL THEN ''
    ELSE SERVERPROPERTY('InstanceName')
END AS InstanceName,
'' as Port, --need to update to strip from Servername. Note: Assumes Registered Server is named with Port
SUBSTRING ( (SELECT @@VERSION),1, CHARINDEX('-',(SELECT @@VERSION))-1 ) as ProductName,
SERVERPROPERTY('ProductVersion') AS ProductVersion,
SERVERPROPERTY('ProductLevel') AS ProductLevel,
 
How about the Port Number?
I can't quite find how to query for that...
 
10:19 AM
select distinct local_net_address, local_tcp_port from sys.dm_exec_connections where local_net_address is not null
if you on the sql server
 
Brings back 2 empty columns
 
are you remotely on the sql server or are you connecting local
 
Locally
 
nice one @Tomm
 
and have you checked the standart sql port already 1433
 
10:21 AM
It's always nice when people know DMVs
 
I've put in 1433 in my Java Application, but I get a SQLException error
 
SELECT local_tcp_port FROM sys.dm_exec_connections WHERE session_id = @@SPID
 
You know shane, I am now in my second year of my uni, but being in chats like this improve you so much
3
 
@Tomm Yeah, real world failures and anger
 
This is the whole error:
The TCP/IP connection to the host PC300780, port 1433 has failed. Error: "Connection refused: connect. Verify the connection properties. Make sure that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. Make sure that TCP connections to the port are not blocked by a firewall.".
 
10:22 AM
best way of learning :D
 
@Shaneis That query brings back a NULL value
 
Have you checked if the tcp connections to the port are not being blocked by firewall
 
@CrashBandicoot Well that could also mean that it is on 1433 but it's being blocked by a firewall
 
@Tomm How do I do that?
 
You go into the firewall
and check the properties for port 1433
 
10:23 AM
I'm not quite sure how to do that, sorry
 
go through this
its quite helpfull for setting up databases in a firewall
Just go through the steps and see if you are missing something
 
Okay cool, thanks!
 
Np
 
Just went through the first part
Created a new rule to allow networks to access 1433 port
 
that should do iy
it*
 
10:28 AM
Same error
 
What firewall are you on
are you on the sql server
 
Yeah
Windows
Completed both steps now, still not working
It could be due to incorrect details maybe? (Host Name, Instance Name & database)
Host Name would be name of computer right?
 
Your host name is PC300780
 
Is that everybody's host name?
 
How do you mean
I assume you only have 1 host
I mean i would not share your sql server details
 
10:43 AM
Yeah the host name is right
 
but i have drivers lesson now
Maybe somebody else can help you further
 
Thanks though
 
np
 
11:14 AM
Anyone know how to see post timeline?
 
yes
@Sami Click this from the stack overflow notifacations
pulls up past time line
 
eh?
I don't understand @MoonEater916
 
nono
go to the stackoverflow site as if to read a question/answer
and in the top right under notification
select one of the @Sami notices there
it always takes me to history not chat
 
There is no notification
 
Then i wouldnt know...
 
11:41 AM
@MoonEater916 Cuse you insall userscript
from stack apps
that's why you see it there
 
user7912927
@ARr0w hows it going in New office? :)
 
aaaah damn i wish i had some different colleagues
 
@Blake everythings good.
 
@ARr0w how long have you been there?
 
@Blake how're you? how're things on your side?
@HéctorÁlvarez its a good feeling. Just saying :D :P
@HéctorÁlvarez 8 or 9 days now.
joined on 13th of nov.
today is 21th
 
12:02 PM
Nice, the first few weeks are usually awesome, you get to meet new people, learn the ropes, no pressure, you don't know who to be careful with...
it's only after a couple of months that you start to scratch the glitter on top of it and start to see the crap beyond
I hope the good feeling stays for as long as possible
 
user7912927
12:19 PM
@ARr0w going good bro.. :)
 
what would you do if you can't talk to almost anyone
e.g. if you talk to person #1, they say they want complete and utter silence
person #2 always has to be right, whatever you talk about
and person #3 is clueless about whatever you may come up with
 
@Blake that's great!
@HéctorÁlvarez hahahahaha.. true that and yeah.. i hope so too
 
12:37 PM
@Blake Sup malayali :)
 
@Sami yeah he is
 
YEAH
@SankarRaj Like I know you before
 
@Sami is it?
 
I don't know, but I think yes I meet you before
here or somewhere else
 
may be... Sorry my memory power is very poor.
 
12:42 PM
Anyway, nice to meet you :)
 
@Sami :) me too...
are you from Africa? @Sami
 
Yup
You see that on my profile
 
nice.
yes
A Friend of mine is working in Nigeria
 
Great
btw, Nigeria is not Algeria
 
1:00 PM
:D I know
somewhat near to
 
:D
There is something writen in my forehead: "Error"
Cause I read a question here on SO
 
1:47 PM
Hello! I've got a quick question;

Why is it that MySQL returns 0 affected rows for update statements that don't push any changes, but still sends the query?

I.e `UPDATE item SET comment = '' WHERE id = 1`, if the comment is already an empty string, the query indicates "0" affected rows, but we did send an UPDATE command to the table and there should be 1 affected rows
Did this change in later versions, or is this how it always worked?
Because then i need to question my sanity
 
2:11 PM
Would Instance Name be SQL Server(SQL2017) or just SQL2017?
 
@Daniel what do you have when you this SELECT * FROM item
 
@CrashBandicoot
what does this return?
SELECT SERVERPROPERTY('InstanceName')
 
SQL2017
 
@Shaneis SQLEXPRESS :D
 
I see
But I'm still getting an error, saying:
Login failed for user ''.
 
2:20 PM
@CrashBandicoot the instance name is "SQL2017"
 
If that's returning 'SQL2017' then your instance name is "SQL2017"
thanks @Sami
 
Then maybe the details are correct
 
@Shaneis What is the difference between "instancename" and "servername"?
 
Server name is the name of the server or computer running sql server
instance name is when you have mutliple sql servers on the same server
you default is ''
but I have 3
so mine would be
localhost
localhost\sqldev2k14
localhost\sqlserver2016
 
Why isn't my application working?? :(
 
2:22 PM
since I have default (2012), another named instance (2014), and another (2016)
 
@Shaneis localhost refering to?
ah 2012
 
@CrashBandicoot It now sounds like a username/password error
@Sami nah localhost just means my laptop
 
What would I do to fix that? Would I be able to show you my GitHub code?
 
@Shaneis Let's say I have 2008, 2012, 2016
when you set localhost
what server you are connecting to?
 
@CrashBandicoot you need to have a valiud username and password, or be running a windows account that can access sql server
 
2:25 PM
^ admin
 
@Sami the computer your running on is localhost, it basically means (this computer)
 
Yeh, I know that @Shaneis but which one of the 3 instances?
just set (local) / .
for example
Did you understand what I mean now?
 
nope no idea, if they're all on the same server, then they would all be localhost. they'd just have different instance names after them
 
@Shaneis I haven't set any username/password for my Management Studio
 
Who decide to which instance name you'r looking for?
another example would be clear
let's say I have sql server 2008 & 2012 on my pc
 
2:31 PM
My one's Windows Authentication. There seems to be a User Name, but no password
 
and I'm using ADO to connect to the server
sql server 2008 has a db called A and 2012 has B db
to setup the connection:
SERVER NAME: PC NAME
USER: SA
PASSWORD
now I would see the dabases avaliable
Which one will appear? A, B or both?
@Shaneis Clear now?
 
haha it would depend on which was your default instance, since you didn't put in a specific instance. Just your server name
 
@Shaneis I have a userName, but no password for my SQL Server Management Studio
 
@CrashBandicoot You have
you set it when you was installing SQL Server
 
When I start up Management Studio, there is an empty password box
It doesn't require for me to input one
 
2:43 PM
set yours there
 
Do you need to have a password?
I can connect to the local server without a password
 
hmmm so you leave it blank under the installation?
 
I think so, I can connect without one
 
so you can connect with SA
then change it
 
Sorry?
Should I create a password then?
 
2:53 PM
oh you should
 
How do I do it to an existing server?
 
@HéctorÁlvarez you're here
 
I get an error when i create a new login
nvm, fixed it
But how do I assign a password to an existing server?
 
If I want to store .xml and .conf file information in mysql database, what would be the best way to do it so that I get the exact same format/layout when I pull the information and recreate the file?
or would this approach not be recommended?
using mysql 5.7.14
 
3:14 PM
Okay, created a new Login. Put the correct userName and password details into the Java Application. Still not working
 
3:32 PM
@CrashBandicoot No
 
Change the password for SA login man
 
Ah okay
How do I do that?
 
What about manually doing it?
Should I remove the sysadmin property of sa?
 
3:35 PM
You can do it via SSMS
 
That's what I'm doing
Using the security folder in the Object Explorer
Changing the password, and getting rid of the sysadmin privilege...
 
@AndyK I am... sparingly
 
@HéctorÁlvarez sparring with the dirty data
 
@CrashBandicoot Are you asking how to do it via ssms?
 
I've done it
Changed the password
Still same error
 
3:45 PM
@AndyK wait is there a clean one?!
 
In my Java Application, I used 'sa' as the userName, and the password too
 
@CrashBandicoot I would do it by T-SQL, but ok
Go to connections folder
D-Click on "sa"
Change the password & confirme it
Do not mark expiration for the password
Click ok
Restart your server
 
@HéctorÁlvarez that dirty ... man... I bet you 1 pesos that you cannot find something so dirty...
 
@Sami done that
I've also got rid of the sysadmin privilege on "sa"
 
WTF???
 
3:52 PM
@AndyK The pile of dishes I have waiting at home
 
Are you joking man?
 
@Sami What?
 
@CrashBandicoot nice! time to reinstall SQL Server :D
 
@HéctorÁlvarez ahhhh !!! you managed to crack me up... and I think you're close to beating me...
 
3:52 PM
well at least you didn't do that in a production environment, or did you?
 
Who is the sysadmin now @CrashBandicoot?
 
why do I have to reinstall?
 
then it's OK
 
It's still me
I have another account that has sysadmin privileges
 
3:53 PM
aaah ok
 
@CrashBandicoot oooooooooooooooooooooooooh you baited me
@AndyK I'll try ;)
 
i think so anyways
How do I check?
 
gotta go for today
 
How do I check to see if I have sysadmin priviliges?
 
Server role
D-Click on the login -> server role -> check if sysadmin checked
 
4:14 PM
@HéctorÁlvarez cya
 
4:45 PM
@Sami thanks
 
@CrashBandicoot np Crash :)
Can I ask you something @CrashBandicoot?
 
How can I create a db from Linked server?
@CrashBandicoot ?
 
I have no idea bro, sorry
I'm a beginner xD
 
@CrashBandicoot Me too, I'm a beginner :D
 
 
1 hour later…
5:55 PM
@Idle :)
Nice to see you AGAIN
 
 
2 hours later…
8:12 PM
and curtains ...
hey sami
 

« first day (2013 days earlier)      last day (2305 days later) »