« first day (2876 days earlier)      last day (2090 days later) » 
00:00 - 19:0019:00 - 22:00

7:04 PM
shit .. I got a SEO thing .. the title, description, category of each page should be according to the content .. I thought all pages should have the same meta values :-(
that's why we didn't get indexed in the google properly @tereško .. I feel bad
 
so ... I assume, you won't be sending that SQL schema, @Shafizadeh
 
@tereško I surly will send you that schema .. just give me 1 day delay .. you know, I had a really important meeting today with mayor .. they have some thinkable suggestions ..
that's why I've been away from the technical-side these days ..
 
I see
 
anyway, I will send you the whole database schema soon .. and thank you so much for the follow up @tereško
surely *
 
@Wes is Riker basically Kirk?
 
Wes
7:17 PM
@Tiffany did you start watching season 2?
 
I'm near the end of season two
watched Up the Long Ladder earlier
 
Wes
people keep telling him that, so he grew a beard :B
 
any idea how can I get an export form the database schema? (without data)
this makes a schema+data export:
mysqldump -u YourUser -p YourDatabaseName > wantedsqlfile.sql
 
@Wes the actor or the character?
 
Wes
both
 
7:19 PM
lol
at first I didn't like the beard, but it has grown on me
... punny
 
Wes
 
lol
 
385
Q: MySql export schema without data

Darth Blue RayI'm using a MySql database with a Java program, now I want to give the program to somebody else. How to export the MySql database structure without the data in it, just the structure?

 
@Tpojka thx
 
Np. I am surf master.
 
7:28 PM
@Shafizadeh That's a "I should google this" question -_-
 
@Fabor I did it actually, I found this and I asked here and immediately I found this
 
@Shafizadeh Not sure what have you googled but I used words that you just have asked here "mysql export database scheme without data". First link was the answer I pasted here.
 
@Tpojka you know, I thought "without data" isn't a good keyword for google ... but apparently it is.
 
Mistake. Just search what you exactly need. Don't presume what results would you get.
 
Once you don't get the right results you can try another search presuming things :P
 
7:42 PM
To add jquery to my site can I just save this file?
 
@JBis Yes
 
Great thanks :)
 
@Tpojka true .. I understood google is much more clever than what I thought
@Alesana :-)
 
Google learns with every new search query so better is to make clever ones in first place. ;)
 
I would love to work with Google
My sister told me "No you never want to work for a company like Google. Because, you'll never be the best at what you do there. Where I work it's a smaller company so I'm the best at what I do in my division, that's the kind of job you want"
Which makes no sense
I want a job where I can always improve and advance
 
7:45 PM
where are you working now? google?
 
No :P I wish
 
@Alesana Just depends what type of person you are. Some people have to be the best others don't want to be the best.
 
I think I need a university degree or something to work there
 
I don't think either is better or worse. Just different.
 
@Alesana :-) .. well participate in an intern
 
7:46 PM
@JustinKaz it can be if the storage mechanism likes randomly distributed ids. Some storages (like lucene i.e. elastic search and solr) absolutely hate random distributions, and you are better off with something like twitter's snowflake algorithm.
 
@pmmaga it's true.
 
I think I need to have a degree or something, although I could start applying
 
@Alesana A lot of big companies can be terrible places to work.
 
@Fabor Why is that?
 
7:52 PM
You can work at a smaller company and not be the best. Or work at a smaller one that requires you to become a better developer.
 
what is the problem with having a db column that is derived from another column? e.g.

`subtotal | taxes | total`
 
@RobertCalove It's not necessary?
 
well one of the arguments for it i've heard is that it helps with reporting
 
Why though?
 
like if i wanna run a report on all of the taxes i paid
or if i want to run a report on the total order for a given month
i would need to join a bunch of different tables in order to grab that information, vs. having the column there and improve performance
 
8:02 PM
@Fabor I guess I can see where a lot of them are coming from, I think I would still enjoy it though
 
@Alesana Probably a subjective thing but sure. Go for it. Some guys here worked at Google before.
@RobertCalove If you have a report you run regularly, you could make it its own table.
 
what do you mean make it its own table
you mean insert rows into it storing that information
 
Like if it's a report I check every week I just make a table with the exact data I have in that report. Sum up as I go.
 
but how would you filter by date, etc.
if you just have a value you're appending to
 
Add a date column
date | total_sales | total_tax | total_revnue | gross_revenue | profit
 
8:07 PM
yeah i guess if i wanted to get super granular, i can just make a duplicate row of the orders table into this report table
because i might want to get granular to the hour, etc.
idk if that's a better solution than just storing the derived columns in the orders table in the first place
 
Or every 15 minutes, whatever is your minimum.
If the report isn't real time and more "end of day" you can just write a script to do the inserts at the EotD, or every hour or whatever.
 
so like a rollup table of sorts
 
Yeah
Only issue is when someone makes a comparison against the other table and finds some mismatch. So just be sure to be accurate.
 
hmm
 
8:24 PM
@RobertCalove views are also an option in most dbs. it may do what you want without the need of an extra table (and potential data mismatches)
 
I met Nikola from PHP Srbjia! :-)
 
for the connoisseur of crazy shit
 
8:57 PM
I'm sad
    $json = array();
if(someCrap()){
     $json => 'error' = 0;
     $json => 'token' = $token
}
it doesn't work :(
My IDE says "Expression result unused"
hold on...
just went with an object
$json = new stdClass();
 
9:32 PM
@JustinKaz 4 is not guaranteed to be uniquer
It's just random bytes
The chance of collisions is small enough to not have to worry about it though
 
9:56 PM
PDO_PGSQL DSN could have "sslmode" documented – #76830
 
00:00 - 19:0019:00 - 22:00

« first day (2876 days earlier)      last day (2090 days later) »