« first day (2375 days earlier)      last day (1943 days later) » 

5:55 AM
@Sami @MadhurBhaiya how sql server or mysql do optimizer when it comes to do operation explicit join?
Explicit inner join syntax (INNER JOIN, CROSS JOIN, or unadorned JOIN) is semantically the same as listing the input relations in FROM, so it does not constrain the join order.
In postgresql.. How about mysql and sql server?
 
6:31 AM
morning \o
 
Afternoon here.. :D
 
comma based joins are old
and ANSI 92 onwards highly discouraged
 
Yes i know that..
But i am curious about other rdbms do with explicit join..
It just i think to make a thread about why we should avoid explicit join.. But as i know.. The semantics are same..
So why we should avoid that..
 
6:50 AM
We should avoid because it is unclear
not easy to read
and many times cause inadvertent errors
 
Maybe later i will show the sample..
With more provide info..
Cause weekend make me lazy.. Haha
 
am also lazy today
going out for some personal work
see ya later
 
7:09 AM
See yaa!! :D
 
 
2 hours later…
8:46 AM
hey guys need help here
i try to do anything on the mysql shell(just downloaded it for a school project) and it says not connected
is there a mysql default server that i can connect to?
@someone
 
 
2 hours later…
11:20 AM
can anyone help?
 
11:47 AM
Hey! Is there a way to catch a signal in mysql for the purposes of continuing loops when sql state '45000''s are thrown?
 
nvm i resolved that issue
 
:thumbs_up:
 
now all I need to do is get my netbeans working
for some reason it just show a blank screen and does nothing when I click new project
 
OS? Netbeans version?
 
says unexpected error, I dont really know how to set the JDK up
windows 10, netbeans ide 8.2
during installation it said that it cant find path to jdk so I manually specified it in my c disk>program files>java>jdk
did I do something wrong there?
 
11:51 AM
Do you have the lastest version? -> oracle.com/technetwork/java/javase/downloads/…
 
yeah i downloaded jdk last night
 
C:\Program Files\NetBeans 7.x\etc\netbeans.conf
make sure the jdkhome path matches the path to your jdk
 
what does that mean?
 
also these questions are easily answered through < 10 second google searches. as a programmer, you may want to get into the habit of finding solutions on your own
 
11:54 AM
google searching the issue shows that if you open up C:\Program Files\NetBeans 7.x\etc\netbeans.conf in a text editor and make sure your jdkhome path matches your actual jdk path, it will probably solve your issue
if it doesn't, reinstall netbeans
 
whoa i dont even have a netbeans 7.x
probably should reinstall everything
 
This is more of a theoretical issue... say I'm making a bulk update to a M-M table and I want to do a bunch of deletes and a bunch of inserts in a transaction. Is there any difference if I interleave reads/writes:
DELETE A
INSERT A
DELETE B
INSERT B
/// etc

VS

DELETE A
DELETE B
INSERT A
INSERT B
// etc
 
@EvanTrimboli it doesnt matter what netbeans version you have, the path is the same
please google the answers, they come right up and they are easy fixes
 
@EvanTrimboli you aren't reading and writing here, you are deleting bytes from disk. This will raise problems:

1. if you are trying to read A in one of operations and deleting A in another.
2. If you try and delete something that isn't there, you will get issuess

but generally, this will just lead to "element does not exist" or some flavor of that. If you interleave reads/writes, it absolutely does matter, a lot
 
12:01 PM
I'm talking more from a performance standpoint. In this case there won't be any kind of conflict in that regard
 
Well if you are talking about performance, without knowing specific context and properties of A/B, I'd say it would be negligible
but as always, it depends
general case you don't have to worry
 
Gotcha, thanks
 
12:53 PM
As i know.. When it comes to about transaction.. Delete are prohibited.. It will make your data especially there are journal about it become inconsistency..
But if you ask about performance.. If there are many constraint about that and index.. It will be do heavy cost to your rdbms..
But still depends on..
 
 
5 hours later…
5:44 PM
any unlimited bandwidth vps?
 
hey guys
 
ahh nvm my question, theres really no unli bandwidth vps
xD
 
 
1 hour later…
7:06 PM
@MadhurBhaiya nice one
 
See it already
BTW, I think this is my first post on MySQL tag :D
 
how is it going
 
@AndyK Hey
 
woww.. welcome to the club :D
slowly u will start liking it
 
7:16 PM
@MadhurBhaiya Slow as you know
 
MySQL is notorious as well as a blessing some times
It has its own weird ways at times; sometimes those little tricks work like charm!
 
Yeah, still I love SQL Server :p
 
and sometime you feel frustrated that basic things like FULL JOIN etc are missing from it
 
Yup, but I never touch it so I can't judge on it
Hmmm that one blow my eyes
I don't know why he still need to check the other table
why not check HomeTeam and AwayTeam columns directly
 
I am not able to understand the question
In SQL, people should really give out sample data and expected output in tabular format
It is very helpful for quick analysis
 
7:22 PM
@MadhurBhaiya In his db there is column has the value Bournemouth
but when he pass AFC Bournemouth, the row is not returned
that because the chars in the param is greater than the chars in the column
but when reverse it with an OR it will get it too
but there is no need to return rows from bet.team table especially with IN
 
maybe he needs %column% LIKE input value
 
@MadhurBhaiya Yeah and that what I provide in my answer
check both possibilities
 
yeah ok
variable and column name were same
so it was confusing first time
I normally avoid using variable name same as column name in a stored procedure
it causes bugs sometimes
 
When it's a string yeah
@MadhurBhaiya As you know the day is too slow here on SO
and there is no much questions
those all the questions I answered
 
yeah it is slow today
 
7:30 PM
and this one too, nothing else
 
not many questions coming
that is why solving some old questions and giving big detailed answers
square brackets in sql server, are same as backticks in mysql ?
 
@MadhurBhaiya Oh I hate the questions tagged with SQL Server, but the OP want a C# code, PHP...etc
 
yeah
those are irritating
waste of time looking at those questions also
 
You mean []?
 
7:33 PM
Well, I don't know about MySQL, but for SQL Server
SELECT User Name
^ this is wrong
SELECT [User Name]
^ this is right
 
Ok. SQL Server is not free, right ? you have to purchase its license, to use it ?
 
It depends on which SQL Server your talking about
SQL Server Express?
SQL Server Enterprise?
 
Ok. SQL server also has community and enterprise versions, then!
Express is free ?
 
ok good
Once I get the gold badge of MySQl done. I will switch to a different tag
I am thinking of either: Postgresql or SQL server.
 
7:38 PM
I'll switch to ORA
 
Postgres would be first pref, as it is closer to MySQL.
 
Hmm PostgreSQL then dwir182 is your friend @MadhurBhaiya :D
 
haha
yeah. In MySQL, when I started giving answers, I knew about some of it already. In case of PostgreSQL, I will learn by trial and error.
Will read other people answers and learn through it
And then start answering
if wrong, people will downvote and I will go through the docs and learn further in the process
 
We all think to work with every database, but I don't think we can
for me those databases I work with before:
MS Access (Not a db really :D)
SQLite
SQL Server
In 2016 I was thinking to learn ORA and MySQL
but those days I think I'll go with ORA since it's used a lot in my country
 
Actually, my view point is:

Anybody who is good in OOPS, basic logic, looping, etc, can learn any programming language in like 2-3 weeks and start coding in it.

Similarly for SQL, I think that anybody who is good in visualizing data and able to derive relationships between them. Understands a bit about set theory. he should be able to form basic SQL queries in any RDBMS whenever he feels so

Regarding learning about specific functions of a RDBMS, that can be learnt in 2-3 weeks when we start using it.
 
7:49 PM
There is a lot of things I need to learn it in SQL Server
and tech it keeps going and new features coming up
I need to update my mind :D
 
actually
list of functions getting added will be endless
 
BTW, I like indians @MadhurBhaiya :) (not all of them :D)
 
same thing happens with all programming languages
@Sami which ones u dont like ;)
 
Zee Aflam LOL
Yeah, the most important is the basics
 
ohh ..lol never heard about Zee Aflam
just googled that
Indian TV is crap man
filled with emotional melodramas
 
7:57 PM
Yeah, most of shows based on the mine title Love damn
like we don't have anything else
and the most annoying
if you watch a film let's say 1 H
30mn of it is only Dance
 
ya
dont pay attention to TV and romantic bollywood movies
 
Nah, I don't watch TV
just a bit (news or Scientific things or some football)
 
someone just DVed my question from 2014
maybe somebody got angry from me :P
-2
Q: Timing out UDP socket in Python

Madhur BhaiyaI am a python newbie, digging into an old code written for Python 1.5 . It basically implements a UDP server for reading in the data sent from a client. The code looks like as follows: import socket serverSocket = socket.socket(socket.AF_INET, socket.SOCK_DGRAM, 0) serverSocket.bind('localhost',...

this poor question gets hit, everytime somebody gets angry with me , if I have close voted or something
 
LOL Python
 
yeah I actively started doing SQL 3 years back only
 
8:06 PM
Yeah hahahaha they did that sometimes
 
before that I have worked in hardcore C++, Python etc
this poor question has 5 DVs and 3 UVs
 
10 - 2 = +8
:p
 
thanks
not worried about points
it is just that this question is helpful for someone stuck with old python
but I cannot do much about it
that is why I have noticed that, lots of high rep answerers have not asked any question
because questions are easy target when someone gets offended
 
Well, I don't have many questions too
22 Q only
 
well I started my account in 2013, because I found a weird behaviour of a massively used C++ function.
I wanted to post on Stack overflow claiming that I found a bug :D
it got lots of UVs
31
Q: Why doesn't vector::clear remove elements from a vector?

Madhur BhaiyaWhen I use clear() on a std::vector, it is supposed to destroy all the elements in the vector, but instead it doesn't. Sample code: vector<double> temp1(4); cout << temp1.size() << std::endl; temp1.clear(); cout << temp1.size() << std::endl; temp1[2] = 343.5; // I should get segmentation fault...

 
8:13 PM
Oh 31 damn 155
Well its 32 UV and 1 DV
so you earn 158 point not 155 :D
 
@MadhurBhaiya The answer accepted
 
1 DV because someone got angry
@Sami great . I UVed
 
:D
 
8:18 PM
Yeah, I know thanks
 
I was just one second late
 
LOL his answers always start with I think (he always thinking)
 
I think he has setup some short cut keys which creates this statement on one keystroke
:D
he types too quick
 
Yeah agree
 
he is probably targetting to go above Jon Skeet
 
8:24 PM
Aaaah SO is really good when you compare it with the other one -pt.stackoverflow.com/a/331640/126217
Sure he is, Jon Skeet is the target
 
You understand portugese ?
Gordon is averaging 350+ points every day
it is just insane
 
No, I don't understand it :D
 
and he does not attempt to solve questions involving bigger sql queries, or some trick involved in them. he has decided to answer simpler much faster, as they will fetch points quickly.
@Sami lol how did you answer it then ?
 
I answer many qyestions there, as I did here, even I don't understand English too
 
but then you know the english grammar and how to frame sentences
do you know portugese grammar ? and how to frame sentences ?
 
8:30 PM
I have studied foreign languages in secondary school
Then I left it
 
but for the portugese lang I used google to translate questions and then translate my answer from english to portugese and post it :D
a lot of work huh :D
 
that's a lot of work
it is more effort than the details I try to put in my answers
google translate will not be able to do perfect translation
but gotta salute your spirit man
that is really going beyond the limits
 
8:36 PM
Yeah, but I can understand from the wrong translation
thanks man :)
 
:)
gotta sleep now
it is 2 am
monday blues kicking in
have a good one. see u later
 
@MadhurBhaiya Good night have a happy dreams :)
 
 
1 hour later…
9:52 PM
@dwir182 You are the techer
this user here can't understand
what should I do?
 
You should sleep man
 
lol
 
Need to breakfast.. Brb.. :D
 
@dwir182 What?
You know this face
seems familiar to you huh?
Da hell
If there is already table 1, can't you select*table 1; alter table 1 ...etc. Why do i have to create a view if the table exists - i query it and then I alter it — newbie 4 mins ago
 
10:30 PM
@Sami who's that?
Lol..
Show him the man @Sami.. :D
 
You can optimizer again the query..
 
Easy man..
Haha
 
@dwir182 Today is special :D
 
10:43 PM
Why?
 
My first post on MySQL tag and also the first one for PostgreSQL
 
Haha.. Finally see other rdbms huh?
 
Yeah, finally :D
@dwir182 Let's try to answer this question
 
I am on the way to office.. Online in phone.. :D
 
Aaah office
 
10:56 PM
:D
 
11:27 PM
Oh I did not notice please help me avoid a massive union statement... in his question
he want to use CASE expression to check his conditions and insert data based on without using UNION
 
And the problem?
 
Finally, when I see that, I update my answer to fit his conditions without using UNION
 
String split.. Great.. :D
 
just concatenate the strings from the CASE expressions, then use STRING_SPLIT() funtion ;)
 
Now what you need to do are sleep man.. :D
 
11:31 PM
Yeah, but I should note that SPLIT_STRING() is only avaliable on 2016+ version
It's 00:34 here
 
06:37 here.. Sleep man.. Before you became a zombie.. Haha
You should add note about that..
 
lol
Update the answer cause there is no need to DISTINCT and ORs neither
I miss @War :(
I'll check his Twitter account and send a message, I need to know if he is fine
 
11:49 PM
Haha.. Please do..
 
Tweet: "Hey man 0/ Sup? Are you ok? We all miss ya in SQL room"
 

« first day (2375 days earlier)      last day (1943 days later) »