« first day (2014 days earlier)      last day (2304 days later) » 
04:00 - 12:0012:00 - 18:00

user7912927
4:46 AM
good morning guys!!
 
6:40 AM
morning
 
6:56 AM
good morning
it's 8:00 am here
birds don't sing because they are sleeping like I should be
 
exactly
almost 12 here though
 
oh nice, you are halfway your day already
 
not halfway
my shift starts at 11 and ends at 8PM
so i was here just an hour ago and the remaining 7 hours to go
-_-
working timings are just not ok. Rest is great.
 
oooooh damn
 
7:13 AM
Its wednsday my dudes
 
yea boi
!!giphy shooting stars yea boi
wait this is the SQL room
 
@CrashBandicoot Hey have you managed to figure it out yesterday?
@HéctorÁlvarez this is not the c#chat :p
 
7:37 AM
@HéctorÁlvarez but we talk about everything in here lol. When @War 's around its always LINQ, c#.
 
8:00 AM
morning
 
@AndyK o/
@ARr0w Yeah I'm good with that. The problem is the bot doesn't listen to this channel.
 
morning everyone o/
 
because the bot is not in here am i right
 
o\
 
o/
 
8:13 AM
@AndyK is that a nipple?
 
(ꙨyꙨ)
 
@AndyK , @Mofty morning bro.
 
@HéctorÁlvarez see? playing too much Diablo make you miss the reality and you see signs everywhere ;)
@ARr0w sup man?
 
8:31 AM
@AndyK Currently dark souls. It must be my 200th character by now
 
@AndyK i am assigned a task, so on it. You tell?
@AndyK go see discord's PM
 
@ARr0w dealing with the dirty datas
almost complete
it is a shame
 
ew
If you do not play black desert online do not talk to me :p
that game is so underated
 
lost my interest in MMOs a long while ago. They reach a certain point where fun shifts from discovering new stuff and playing to doing a daily job consisting of collecting plants, mining, doing daily raids and training yourself to beat the next boss
 
@ARr0w I have a look
 
8:42 AM
Dark Souls came to my life at a certain point and I forgot about "endgame", every build you can come up with yields and extra 10 hours+
 
9:00 AM
Bdo is not like that
I have 7k hours in the game now and still not discovered everything
and they just came out with a complete new expansion
And it is more of a pvp mmo, you reach a certain point in the game where you will be geared enough for pvp
but it never will be easy since you have so many ways of building, counterering your enemies etc
 
hi all
 
And i really like the aspect of guild wars where guilds fight for a certain region to control that node
Hi @WhatsThePoint
 
does anyone have a fix for this other than restarting your machine?
 
War
@ARr0w totally a good thing
 
War
9:04 AM
usually caused by either an invalid connection string or the instance not running or the instance doesn't have named pipes + tcp enabled
 
@War its sqlexpress
 
War
it can still be configured
just need to hack a few config files and restart the instance
 
thats why i restart because im assuming sqlserver service wasnt loaded on start up of my machine
 
War
I tend to just setup a full sql instance on a dev box somewhere
running SQL locally is a total resource hog
 
@War do you know how i can do that as i get this too many times
we dont have dev boxes
 
9:06 AM
@WhatsThePoint \o
 
War
the quickest way is to just reinstall it
anything you manually tinker with will likely just cause more problems
 
@AndyK \o
ill lose all my saved connections by reinstalling it though?
would i lose all my data in sqlexpress as well?
 
@WhatsThePoint restart your MS SQL Server Service
services.msc > Find the process > Restart
or use the Sql Server configuration manager and check your instance
 
used this youtube.com/watch?v=NIMuH0ANISg, works fine
@Shaneis \o
 
user7912927
coffee bro is here
 
9:25 AM
morning guys
@WhatsThePoint o/
 
@Shaneis o/
 
@HéctorÁlvarez o/
@Blake haha
 
Hello everyone. Would it be okay to ask a question here or is this only for general chatting?
 
@Aborted thats what we are here for
 
@WhatsThePoint Alright, thanks!
 
9:34 AM
@Aborted Got a SQL question? Any SQL flavor here, just ask. Indicate your db, quick question: quick answer. Long question, we will need an MVCE ---> stackoverflow.com/help/mcve you can build it with this -> dbfiddle.uk or sqlfiddle.com. Thanks.
 
So, I already asked the question here on Stackoverflow, so maybe I could link to that?
 
@Aborted go for it
 
0
Q: ORA-00911: invalid character - When running SQL dump

AbortedI have a bunch of SQL which I need to execute, but Oracle is complaining with this error: Error Message : ORA-00911: invalid character Position : 27 Statement : (dump below) I'm not sure what's causing this. I have tried removing the semicolon at the end as some answers suggested, but...

Thank you!
 
i only know tsql and plsql unfortunately
 
No problem. I'm very new to Oracle myself and not very familiar with its terms and query differences (I mainly use MySQL for everything), so I'm struggling to see what's going on there
 
9:39 AM
@Tomm Yes, for now. Thanks for checking up!
 
agh not mysql
 
Nice!
 
Guaranteed that I'll get more problems very soon though xD
 
Well if you did not get any problems you wouldnt learn :D
 
True!
 
9:56 AM
Did you say you're 17?
 
yh
 
ayyy im not the youngest anymore
 
How are you so good, at such a young age?
 
so good?
 
You seem to know quite a bit about SQL and solving the problems
 
10:01 AM
shame youre starting with php
 
how do you know whatsthepoint
xD
 
what's wrong with PHP?
 
im nosy, saw that your top tag is php
 
aah :D
 
10:04 AM
ah, you're in that bandwagon
lol
There are a million articles that say things about PHP, but I believe that it's ultimately up to the developer to write good code
 
i hate js jquery ajax all that bcrap
i love php
 
@WhatsThePoint this guy's blog is good eev.ee/blog/2016/11/23/a-rebuttal-for-python-3
 
@AndyK python masterrace
 
PHP offers everything you need to write code to the best standards out there. So if the written code sucks, it's on you - not the language :)
 
@AndyK did you ever do any python2?
 
10:10 AM
@WhatsThePoint I started with Py 2
 
i started with 3.3
never touched 2
 
The only python I've ever seen was a Web Mercator geoprocessor WebAPI I had to connect to
Damn you ESRI! shakes fist in the air
 
@HéctorÁlvarez youre missing out, its the best langauge
 
I understand python is super powerful, but scrpt-based, am I wrong?
 
python can be incorporated everywhere, background tasks, front end GUI, web development, all depends what frameworks you have access to and what task you are trying to achieve
 
10:16 AM
@HéctorÁlvarez whatdyamean script based?
 
@AndyK I mean you can build projects, but the whole idea of python is building quick scripts... I'm guessing here, never digged into this double-snake language
 
@HéctorÁlvarez youtube has been built with Python so is Quora and part of FB
 
Well, I might check it out at some point
 
facebook will be mainly python soon when they manage do remove all the shitty php out
 
@WhatsThePoint source?
 
anyone here good with Jquery?

and used Jquery-Ui.js ?
 
@WhatsThePoint source that Facebook is shifting to Python and leaving PHP :D
 
I used jquery-UI but dont expect me to be any good in it xD
 
well, i am having an issue.
 
10:27 AM
What is the issue
 
im not expecting anything but
i have provided my datepicker min and max date (restriction)
 
Oooh i have used datepicker
 
for example minDate: 1(day), 2(month), 2017
but now i am getting a old data which gives me the date, 1,1,2017 <-jan 1st
so the popup calender won't show this date (selected day, month)
it will show the 'march' month instead
it won't highlight the jan, feb as i have restricted it.
but i still need to show the selected date on calender that came from the data base ..
 
mindate just means that you cant pick select etc a date earlier then 1-2-17
 
exactly
but the previous date (from old data) coming to the textbox on search. So, then i want to show it.
 
10:32 AM
you cant show anything if it is outside of the restrictions
 
no way around at all?
 
@Tomm You're smart :)
 
haha ty
 
jquery will help you
build your .com
find the elements inside of the DOOOOOOOOOM
 
@ARr0w you might be able to go around it with some hardcoding or some css but as much as i have used it there is no way to show something you restrict
 
10:35 AM
ajax traversal manipulation
event handling, and animation!
 
Morning!
 
@Sami Morning!
 
Morning sami
 
JQuery is a bit quirky with datepickers, try to set the min and max dates using sortable format
 
the standard html datepicker isnt that bad either tbh
depends on what you are going to use it for
 
10:37 AM
e.g. datepicker.min("2017-02-01")
 
I'm new to SQL Server can anyone show me how to create table?
 
@Sami you've got to be kidding me
 
okay
 
oh and side note about animations
 
@ARr0w you can make a variable that fetches the data from your database and then use that data in a function that sets the mindate the same as fetched data from database
 
10:38 AM
because this grinded my gears for so long
 
@HéctorÁlvarez what?
 
@ARr0w always call .stop().animate... or your animations will break!
 
this means the mindate is always gonna be last selected date
 
@HéctorÁlvarez okay
thanks guys
 
np
 
10:40 AM
@Sami it's not RDBMS-specific, you create tables in MS SQL, MySQL, Oracle, NoSQL, YourSQL and EveryoneSQL the same way
 
No one can help me? It's SQL Server
 
@Sami are you ok Sami?
 
I think sami has a stroke
 
hopefully, you are joking ; )
 
@AndyK Yeah I'm ok, just kidding with guys
 
10:42 AM
xD
 
@Tomm lol
 
@Sami put some smiley, it helps
 
@AndyK If I put it won't be great joke :D
btw
 
@Sami you got a point
 
do you have sublime 3?
 
10:43 AM
@Sami I use it
 
@AndyK I start to use it yesterday
Is there a way to compile code there?
 
yes
 
I assume you can, if you install the right package
 
But I don't remember how to do it
 
ctrl shift p
install package > enter
 
10:45 AM
@HéctorÁlvarez you don't need to
 
SQLTools
 
then find some GCC
 
you only need to do a ctrl + some other keys
 
@AndyK seriously? Then how does it work? :O
 
ctrl+shift+p
 
10:46 AM
but I forgot the exact sequences
 
ctrl+e to connect to database
ctrl+r to run code
 
CTRL + B
 
@HéctorÁlvarez okay
thanks guys
 
are you serious, it actually compiles stuff lol
 
@Sami why do you ask if you know already?
 
10:47 AM
@ARr0w did it work?
 
But all those won't work until you setup your connections, and that what I'm stuck in @AndyK
 
@Sami CTRL + B builds the stuff
 
@Sami I can't help on that one
 
@HéctorÁlvarez Ok I'll try it
 
@War do you know if the c# regex engine supports posix?
 
10:50 AM
@HéctorÁlvarez going through the jquery-ui.js
 
@HéctorÁlvarez Ctrl+B do nothing
 
@HéctorÁlvarez but i did also put out a question on it on SO
 
@WhatsThePoint I would assume a no there, since POSIX is a Unix standard
 
0
Q: Show Date outside of defined MinDate MaxDate restrictions

ARr0wi have googled and tried to find out but was unable to get a solution on this problem. I am Restricting datePicker with following min and max values: $("#<%=txtboxDate.ClientID%>").datepicker({ minDate: new Date(2017, 2, 21), maxDate: new Date(2023, 07, 11) }); but i also have data before 20...

 
ST:Setup connections
@HéctorÁlvarez ^ I need help with this
I want to connect to SQL Server
 
10:56 AM
@Sami what's that
 
ill test it
 
@HéctorÁlvarez Hit Ctrl+Shift+P
then write ST:Setup connections
and hit Enter
 
@HéctorÁlvarez posix should work with python?
 
@WhatsThePoint No idea, I've never used python :(
@Sami I don't have that command, you might have a packaged I don't have
@Sami Do you need to use Sublime? Can't you use VS Code?
 
@HéctorÁlvarez Yeh, I told you before it's SQLTools
 
11:00 AM
Oh I thought that was something entirely different
 
I don't think you can connect to SQL Server without a tool to do it
 
you can, use ODBC and it's done
because the connector is usually (if not always) installed automatically with SQL server
otherwise just install the ODBC connector
@Sami oh cool, you did it!
actually that's pretty... I like how it stores your connection string objects
@ARr0w what about this
$(function () {
    $('#datepicker').datepicker({
        dateFormat: 'yy-mm-dd',
        showButtonPanel: true,
        changeMonth: true,
        changeYear: true,
yearRange: '1999:2012',
        showOn: "button",
        buttonImage: "images/calendar.gif",
        buttonImageOnly: true,
        minDate: new Date(1999, 10 - 1, 25),
        maxDate: '+30Y',
        inline: true
    });
});
39
Q: setting min date in jquery datepicker

user1184777Hi i want to set min date in my jquery datepicker to (1999-10-25) so i tried the below code its not working. $(function () { $('#datepicker').datepicker({ dateFormat: 'yy-mm-dd', showButtonPanel: true, changeMonth: true, changeYear: true, showOn: "butt...

 
@Sami \o
 
11:20 AM
Hi
 
@SajalGupta \o
 
I want to convert date stored in mysql db in varchar format
22-11-2017
I want the output to be 11-2017
 
i used STR_TO_DATE(date, '%d-%m-%Y')
@AndyK yes, but the output is coming as 2017-11-22
and not as the given format
 
abr
Goo'Morning. Tell me what you think of my idea on how to structure. Let's say a user has a role, a role can have many settings (e,g. can create tasks, setting named Task, with columns can_create, can_delete, can_read and can_write). A user is a part of a Team and a Team has a Project
 
11:22 AM
date is stored in db as varchar
and not date
 
abr
How should I approach if I want a specific user have a certain setting to a specific project?
 
@abr so far so good
@abr your manual settings override your role properties
just copy Microsoft's model for this, it's one of the few flawless features they have
 
lul
 
@SajalGupta SELECT DATE_FORMAT("2017-06-15", '%m-%Y');
 
abr
@HéctorÁlvarez what model are you referring to? I'm confused (Database schemas is a new thing for me). I'm having a little on how I should create (or if I should even create) this manual settings table
 
11:29 AM
@HéctorÁlvarez im not planning to set the min date dynamically. I have set it with specified values (from settings panel user interface)
@HéctorÁlvarez i just also want to be capable to see the disabled(readonly) calendar with the date in txtbox.
thanks for the upvote guys
 
@ARr0w not familiar with JS
you probably more chance if you drop a line to the JS room
 
people there have problem with me as they are the same people from c#
and the most expected return from them is "asking us to do your homework"
 
@ARr0w they're tw*t
 
@ARr0w no problem
 
@ARr0w I dropped a line to some friend who are JS masters
 
11:34 AM
@AndyK after getting me suspended for sometime on stackoverflow just because i did make them look bad and they couldn't insult me. They are...
@AndyK cool, good, thanks pal!!
 
abr
@HéctorÁlvarez I'll take an eye at that, thank you :)
 
@AndyK o/
 
php and js chat has alot of people that are kinda full of themselfes
 
@Tomm include c# channel in that list.
 
11:37 AM
Python too
 
@ARr0w they do get dense sometimes, I still like it though, they sometimes bring up some hefty arguments
 
@HéctorÁlvarez Let's take one and change it
 
@HéctorÁlvarez i did stay in c# for the same reason as long as it was tolerable.
 
"Connection MySQL": {
"type" : "mysql",
"host" : "127.0.0.1",
"port" : 3306,
"database": "dbname",
"username": "user",
// use of password for MySQL is not recommended (use "defaults-extra-file" or "login-path")
"password": "password", // you will get a security warning in the output
// "defaults-extra-file": "/path/to/defaults_file_with_password", // use [client] or [mysql] section
// "login-path": "your_login_path", // login path in your ".mylogin.cnf"
"encoding": "utf-8"
},
^ This for MySQL Let's move it to SQL Server
 
OmG i aM gOinG to DdOS yOu
your ip is 127.0.0.1
 
11:41 AM
@Sami wait I lost track of that, why move it to SQL server?
 
@Tomm -_-
 
lol @Tomm
 
why not use Generic template instead
 
xD
 
@HéctorÁlvarez Why Generic template?
 
11:42 AM
Back when i played call of duty on ps3 everyone always false threated with ddosing
and thats what someone said
i have your ip its 127.0.0.1 and i slowly lost faith in humanity
 
chances are you'll eventually forget why the mysql-specific properties like login-path, which could malfunction for MSSQL if you uncomment it
 
@Tomm :D
 
hahaha, i've been a gamer (still try to be).. and i've heard that alot too
 
@HéctorÁlvarez Look, I don't care about MySQL or ORA
 
Everyone knows you can change your public IP mid-game pressing Alt + F4
 
11:44 AM
Dota 2, Counter Strike 1.6, GTA 3, vice-city, san-andreas, Gta 4, gta 5
C&C Red Alert 1, 2, 3
 
Just need to make the changes to connect to SQL Server
 
@Sami alright so this is RDBMS-agnostic, carry on
 
C&C generals, C&C
ah best childhood EVER
 
it's just the Generic template will make it cleaner
 
i can't even remember many many names
 
War
11:45 AM
@WhatsThePoint no idea
 
@War lol @War Love you @War :D
 
@War https://stackoverflow.com/questions/47432781/show-date-outside-of-defined-mindate-maxdate-restrictions
answer if you can, please. :)
 
War
oh jeez
 
@ARr0w Yes he can, he is the ...
EXPERT
 
War
@ARr0w basedo n the format yyyy-mm-dd (2017, 2, 21) is invalid
you should also be using MM not mm
months not minutes
and 2 should be 02
 
11:47 AM
@War its working and running with no errors.
 
War
yeh because those values are ctor params
just blind luck that 02 and 2 both parse as the int value 2 in the Date object you're constructing
 
well i ain't putting any changes to someone else's work. I'm just going to do my part.
what i'm assigned too do
can't take all the blame later if anything happens later :P
 
You dont have to change someones work
you can discuss it with them
 
i did
and well, 'its working' is the answer i shared with you guys :P
 
I hate those people
 
War
11:50 AM
$("#<%=txtboxDate.ClientID%>").datepicker({
  minDate: new Date(2017, 2, 21),
  maxDate: new Date(2023, 07, 11),
  format: 'yyyy-MM-dd'
});
 
i tried the 4 y's
it shows 20172017
2y's = 2017
 
yyyy is normal
 
-_-
 
yyyy is the right syntax if i am right
thats how i use it
 
for c#
 
War
11:50 AM
yy = 17
 
okay, okay let me show you the screen shots
 
War
but js is fucky
 
JS, CSS, HTML, Python Oh those lang
 
well then you agree.
i did try the 4 y's
maybe it also works
but not with me .. :/
 
War
it's a compliance thing ... global standards matter imo weather specific implementations honour them or not
I tend to implement code to work around deviations whilst always developing to the standard
it's called progressive enhancement
designers will thank you for it
 
11:58 AM
@War with my work i follow your league bro. Cause, i also like things to be proper and well managed/organized.
when im not allowed to change other's work. I ain't doing it then. Let me settle down here, then i'll know if i can get a good output with changes or not. Not right now
 
04:00 - 12:0012:00 - 18:00

« first day (2014 days earlier)      last day (2304 days later) »