« first day (1062 days earlier)      last day (3055 days later) » 

12:06 AM
yikes. If I give you a small java program to test against mysql to see if you can connect. .... will ya
i have to head out for a bit.
 
12:44 AM
yeah I can do that
never set up a java environment with mysql though
be a good learning experience
hit me up when you get back
 
1:02 AM
send me an email at drewpierce747@gmail.com I will send the code and env dump etc
 
1
Q: Sending Json Objects to Laravel via Post

abrI'm currently having some dificulty understanding how the framework works, as in sending data from as3. Currently I have this code on Laravel: Route::get('HelloWorld',function(){return "Hello World";}); //Method returns a Hello World - works Route::post('Register/{nome?}' ,'AccountController@Re...

 
used to program in as3 and php. Not so long ago. Brings back fond memory. FlashBuilder / flex
I imagine some laravel peeps can help. But a lot of moving parts there
 
1:25 AM
why dont you just send me the code in the gut hub thing?
 
never done in before sure
 
well are u just posting code or do you need to have something pre-compiled?
 
ya gotta run a bash 2 line thing
 
1:42 AM
huh?
 
alright so you have to download the java 8 jdk basically
u on linux ?
then you need the mysql jdbc connector (I will find the link)
 
I have a windows 7 desktop
 
if you don't have one already you need a (free) oracle login based on an email address to down the download
ok cool
 
i believe I have the JDK
if I need linux..I just fire up a VM
 
windows is cool
 
1:54 AM
so easy peasy now
EHHH?
no its not
 
ok I lie
 
XP and 7 are usable
but I grew up on windows
so I know it best
I only started working with linux maybe 2 years ago
now I am writing bash scripts and what not
 
classpath=.;

JAVA_HOME=C:\Program Files\Java\jdk1.8.0_45

Path= (to include)... ; C:\Program Files\Java\jdk1.8.0_45\bin;


↑↑↑↑↑ miniumum above ↑↑↑↑↑↑

below is actually what I have for whatever reason:

classpath=.;c:\javadeps

Path= (to include)... C:\ProgramData\Oracle\Java\javapath; C:\Program Files\Java\jdk1.8.0_45\bin;
I have the jdk installed in the dir seen above
.....
..
......
 
hold on
i have __31
amd __60
wait no __6o is a jre
so i have a bit of an outdated JDK it would seem,
 
you might have the Runtime Edition (JRE) not the dev
so if you don't have java.exe you need the JDK
 
2:08 AM
i do have the java.exe
 
the JRE is for like non-developers
 
yeah
 
ok run java -version
 
from command line
C:\Windows\System32>java -version
java version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)
that is what I got
 
ok good
...
you need something like this " mysql-connector-java-5.1.35-bin.jar "
...
which is the mysql connector for java, like jdbc thingie
yours will be a little more modern
when you get it
...
then go into mysql and create a schema called
...
and run in it:
create table thingws
( id int auto_increment primary key,
name varchar(200) not null
);
insert thingws(name) values ('frog'),('cat'),('a');
 
2:12 AM
i know about the connectors
I have to download it I think
 
it is like 1M
 
I went slim on this machine when I downloaded mysql
ok give me a sec
 
I can email it to you if you want
 
no I just go to community installer
its all good
one thing I kinda know is mysql ;)
installer has to update lol
 
then in that stackoverflow link way up there ... you will see the command for javac and java 2nd time to run it
if you have the 1M connector jar in the directory, it will read the database and spit out:
...
well let me back up
where the source code is, if you are in that directory which you will see in 30 seconds below
 
2:16 AM
hold on
still installing connector
 
the two step process:
C:\dev\java8\quick_java_mysql_test>javac myTest.java

C:\dev\java8\quick_java_mysql_test>java -cp ".;dep/mysql-connector-java-5.1.35-bin.jar" myTest
------------------------------
5.6.24-log
------------------------------
3: a
------------------------------
 
ok J connector installed
what do I do next?
 
I also have the connector jar sitting down in my classpath dir
 
srry if I have delayed responses
 
for overkill
C:\dev\java8\quick_java_mysql_test>dir \javadeps

Directory of C:\javadeps

08/26/2015 10:47 AM <DIR> .
08/26/2015 10:47 AM <DIR> ..
03/17/2015 04:21 AM 968,670 mysql-connector-java-5.1.35-bin.jar
06/19/2015 08:26 PM 972,009 mysql-connector-java-5.1.36-bin.jar
2 File(s) 1,940,679 bytes
 
2:20 AM
I am still at work btw
can you step back and let me know what it is I need to do
?
 
so there. Sort thru all the above, patching your paths accordingly
 
ok
ill try
to what end?
also I may have to pick this up tomorrow if you dont mind
I am heading to an office party soon
 
then let's chat tomorrow
 
and have to look at a couple of production issues before I go
yeah srry about all that
yeah we will talk tomorrow
 
I documented it so you could get to it when you can
to what end: to run your 330K script via Java, see if it barfs (once I tweak the script)
if you can spit out those one or two strings, we know you can connect
 
3:11 AM
[ SmokeDetector ] Few unique characters in body, repeating words in body: What does this piece of code mean? by Naqzz on stackoverflow.com
 
@SmokeDetector why
 
Post - Contains 6 unique characters
Post - Repeated word code
 
user4639281
sd f
 
@TinyGiant [:27689701] That message is not a report.
 
user4639281
@SmokeDetector f
 
user4639281
3:13 AM
6 messages moved from SO Close Vote Reviewers
 
5:52 AM
yeeeh aa site mast hati me joii ti te pela b aapi ti @RRR
 
ema to ignore karvanu ke che
 
Domain levu che, kemathi levai? Kai suggestion hoi to kyo..
 
GoDaddy
 
godday
@ArthTilva
hahah
 
RRR
50rs commission @ArthTilva bol kyu levu 6?
 
5:52 AM
mane em to Domain leta aavde che ho...@RRR
 
RRR
:D :D
 
hahahha
 
su?? ::::PPPPP
hahahaha
 
Domain
 
@ArthTilva ola param vala ne puchi jo
 
5:53 AM
hihihahah
 
sachi kahu chu
 
@RRR ene aavade che bhaii
 
tane sasta ma apse
 
:P
hahaha
 
RRR
ok ok mne noti khbr ane avde 6 :p
 
5:54 AM
jdbsgfuhbdvhfvbdsbfjbdsjkb
 
su
@ArthTilva
 
have padi gaii ne @RRR k ene aavade che
 
RRR
:D :D
 
1 min ago, by Arth Tilva
mane em to Domain leta aavde che ho...@RRR
have????
 
had
not have
 
RRR
:p
 
@ArthTilva ela tane kav
 
savar savar ma laii lithi bichara ne
 
RRR
5:55 AM
ha to k ne
bito nthi kai a
 
ola ne call kar tane sasta ma apse
 
RRR
:p
 
hahahahah
alyaaa
 
hahahah
Domain
 
RRR
:D :D
 
5:56 AM
jato ryoo pelo
 
aa badha leva-deva na shokhin lage.
kyay nathi gyu koi
 
@ArthTilva aa loko dakha karavse
hu param vala nu kahu chu
 
RRR
bas bhai o , control
 
6:51 AM
[ SmokeDetector ] Bad keyword in body: regex certain character notepad++ by near89 on stackoverflow.com
 
sd k
maybe not
 
user4639281
in Charcoal HQ on The Stack Exchange Network Chat, 3 mins ago, by Normal Human
@SmokeDetector ignore- but ugh
 
@TinyGiant User removed from blacklist (5272161 on stackoverflow.com).
 
I'll charge RS. 100 for 1 hr..
 
@Drew User is not blacklisted. (5272161 on stackoverflow.com).
 
good
 
user4639281
10 messages moved from SO Close Vote Reviewers
 
10:24 PM
hey drew
I actually got the script to work
with python that is
i realized that, what I thought was it failing to execute in my try catch statement, was actually just a misplaced print in a for loop
I do still wanna see how this Java stuff works though
not a fan of java but I should at least know how to properly get it working with mysql..
 
ah. btw how was the party. Anyone dance on a table wearing a lampshade ?
I imagine the last thing you need now is to throw Java into your already crowed inbox
 
no
but I ran into all the spaceX ppl at a different bar after our office party dwindled down
they were so rowdy
 

« first day (1062 days earlier)      last day (3055 days later) »