« first day (1775 days earlier)      last day (3170 days later) » 

9:00 AM
No, right click on the left-hand side of the message and "copy link URL"
 
@DaveRandom got it , tnx :)
5 mins ago, by tereško
remember: security reasons?
may explain the reasons ?
 
hmm ... ya see, when you have a VPS, you can connect to it from everywhere (most of people will be connecting to the 80th port). And every linux and bsd system has one user that is always there: root
os, if I wanted to hack your server, first thing would be to try guessing root password
this is how my message looks like:
 
so ?
 
Aug 26 06:36:54 sigillum sshd[38588]: error: PAM: authentication error for root from 182.100.67.59
Aug 26 06:36:56 sigillum last message repeated 2 times
Aug 26 06:37:02 sigillum sshd[38593]: error: PAM: authentication error for root from 182.100.67.59
Aug 26 06:37:05 sigillum last message repeated 2 times
Aug 26 06:37:13 sigillum sshd[38598]: error: PAM: authentication error for root from 182.100.67.59
Aug 26 06:37:14 sigillum last message repeated 2 times
Aug 26 06:37:16 sigillum sshd[38603]: error: PAM: authentication error for root from 182.100.67.59
these logs in /var/log/messages tell me that someone is actively trying to hack my VPS (by guessing root password)
 
ow ...
 
9:06 AM
but, since remote root login is not possible (like out your VM too), they can keep doing it till sun explodes
 
:)
 
FYI: that IP is to somewherein china
12 mins ago, by Sajad
@tereško can I add root@localhost like sajad@localhost ?
 
@BackTrack57 I've worked with it
 
does this answer your question?
 
@tereško yes !
really a Chinese person would hack you ?
 
9:08 AM
;p
 
@Sajad most of those are automated processes. They they have a bot, which tries to hack every IP which they can find.
 
why ? they want your VPS for what ?
 
lazy hackers ;p
 
do you have valuable data in your VPS ?
 
@Sajad the value in hacking a random persons computer is not in what it contains, but in what computational power it has
 
9:11 AM
@Sajad learn about "botnet"
 
ah ok
 
It's useful to e.g. send spams or DDoS
 
but something, If I buy a VPS, is it possible to someone wants to hack me ?
 
if you buy a VPS, someone always will be trying to hack it
 
oh my god !!! what should I do now ?!?!
I don't know how to prevent them ...
there is something like firewall ?
 
9:13 AM
What technique should be used creating this website: view-source:mnm.be :P
 
@Sajad the SSH setup that I walked you through is such, that your machine cannot be hacked by guessing root password
for the rest of service: keep the software update
@Sajad firewalls are not made of magic, they provide only the protections that you tell them to
 
@tereško ah ok! when I bought a VPS, you should be online and we config it together!
 
lol
 
Looks like that site is only available with JS.
 
@Duikboot yes
@tereško why you laughed? you should !
 
9:17 AM
@Duikboot I hate sites like these. And to answer your question: one of ways is by using GWT
 
@tereško I hate too ! because they are really heavy ! they eat my traffic !!!
 
@Sajad I just find it funny, how you react each time you realize that internet is not a "user friendly" environment
 
seems internet is dangerous !
 
.. now, think about how little you actually understand of it
 
@tereško what is your job ?
 
9:21 AM
"unemployed php developer"
 
luls
 
@NullPoiиteя ah !
@tereško why don't get project ?
 
because I want to rest for few months
 
@NullPoiиteя what are these ?
@tereško ow, so you are unemployed just now ! good !
How is your financial situation?
 
9:23 AM
@Sajad A tad personal question 'eh?
 
@Epodax it is a bad question ?
 
morning guys
 
@tereško did put the job title in quotes - Maybe he's actually an NSA spy. His plan is to get into internals and become part of the cabal that's preventing Exceptions on core cryptography functions to keep PHP-based webapps insecure for the forseeable future.
 
@Sajad Not sure if it's a bad question, but people might not want to talk about their finances in a open chat room.
 
@Epodax alright
 
9:26 AM
@Sajad yeah, you are going in the "creepy" area again.
 
@tereško I just can say: your culture is really different with mine :-)
@tereško ok, there is a way to I change my root password ?
I want increase its length
 
so in your culture you meet like hello how are you? How is your financial situation now a days? ?
 
@Sajad yes, you can run command passwd as root user
 
:P
 
@NullPoiиteя no ! but I'm familiar with @tereško for almost 2 week !
@tereško ok
 
9:29 AM
 
@tereško what are these tags ?
 
2 weeks at internet isnt enough to get familiar.. i am here since 2012
 
I have small html related question
when I edit form which contain browse button can I show my image name besides browse button same when I upload any image...
 
@NullPoiиteя :D ! ok, I know what is your point !
 
@Sajad they are used as emotes: en.wikipedia.org/wiki/Emote
 
9:31 AM
@Sajad just google.co.in/…
 
@NullPoiиteя tnx
 
not co.in ;p
 
@Gordon Do you have 5 minutes for help me encoding special chars while converting XLS to CSV ?
 
sajad leave it concentrate on vps
 
@BackTrack57 yeah
 
9:33 AM
@AnmolRaghuvanshi ok
 
@Gordon Cool thank you. I have posted my issue here. I don't find how I can solve it. stackoverflow.com/questions/32221000/…
 
@tereško actually I'm fine with FreeBSD, can I use it for my real VPS ?
 
you can use what ever OS is supported by your VPS provider
 
ah
 
@BackTrack57 do you have control over the input excel file?
 
9:38 AM
@tereško I think digitalocean supports freebds, because here is a tutorial for it ..
 
@Gordon I do not have any control on the Excel file. It's from an export from a Windows software
 
@BackTrack57 can you try this please: stackoverflow.com/questions/20284572/…
 
@tereško I want to config MySQL on my vbox, I passed of this step: sudo pkg install mysql56-server right ?
 
yes
 
9:43 AM
@BackTrack57 afaik, the PHPExcel_IOFactory does not allow you to set charset, so you have to create the reader manually
 
@tereško I added this sudo sysrc mysql_enable=yes in the rc.conf ?
 
no, just the: mysql_enable="YES"
 
@FlorianMargaine What do you use as init script then to reap zombies because of the PID 1 problem?
 
where is rc.conf ? (what path)
 
/etc (the OS configuration directory)
 
9:47 AM
@kelunik uh?
 
@Gordon Ouch ok :-/. After converting the XLS to CSV I do an "fgetcsv" for put the datas inside MySQL database. Maybe something easyer could be done with "fgetcsv" ?
 
@tereško ok well, there is two way, I can open rc.conf via ee and add this mysql_enable="YES" or I can just write this sudo sysrc mysql_enable=yes, there is no difference ?
 
sysrc is an automated tool, which add the entries
it does the same thing, as editing the file and adding the line by-hand
 
ah ok
 
what you loose this way is knowledge: "what was done"
 
9:51 AM
@tereško I want to go with editing handle !
but one thing
sudo: Command not found.
why ?
 
because it is not installed on freebsd by default
 
ah ok
 
no, you just use root account directly
 
ok
 
"sudo" lets you execute one command as root user
 
9:52 AM
@tereško if user be in wheel, right ?
 
"sudo" uses a bit different system, it looks for group "sudoers"
it has been adopted from linux (sudo got really popular with ubuntu about 10 years ago)
 
so if a user be out of wheel, still can send commend as root by sudo ?
 
@FlorianMargaine If you start a single process, that starts children and doesn't reap them properly, they'll live as zombies. Normally, the init process (pid 1) does that, but if that's your specified process, it may not do that, resulting in a lot of zombies over time.
 
@Sajad only if the program sudo is installed and the user has been given explicit permission
 
@kelunik yes... ?
 
9:55 AM
basically, you have to set it up for it to even work
 
@BackTrack57 if you dont process the csv file executing a query doing load data infile … is easier and faster
 
@tereško ah ok
I have "sudoers" group ?
 
@BackTrack57 hmm, actually, I am not sure about the link I gave you. It might be outdated.
 
@FlorianMargaine a more specific question?
 
@Sajad help.ubuntu.com/community/Sudoers if you really want to know, read
 
9:58 AM
@tereško ok tnx
 
@Gordon I tryed it but not managed to make it works. Maybe it's me i'm totaly new with PHPExcel thanks anyway for the link
 
nano is the same with ee ?
 
no, it's a different editor
 
ah ok
 
Fuck nano. Winners don't do drugs use vim.
 
9:59 AM
also nano is not active in bsd
 
it is not installed by default
 
I read that as "nano is not active in bed"
 
:25321433 My fgetcsv read the csv column like this : $name =  mysql_escape_string($fileop[0]); Maybe it can correct the specialcharacters with adding something on this line ?
 
@DaveRandom :)
 
on freebsd, by default, there is only "vi", "ed" and "ee"
 
10:00 AM
oh ! what are vi and ed ? which one is better ?
 
@BackTrack57 wait, do you get the broken chars in the db or in the written csv, e.g. in absences.csv?
 
@Sajad None of them, install a proper editor
 
@kelunik I don't know what you're asking me
 
@DaveRandom could you please stop confusing him?
or I could leave you to explaining all of it
 
sorry, I will go get on with some work like I should be doing anyway
 
10:02 AM
@DaveRandom I use freebsd not linux, still you offer me install a proper editor ?
 
@FlorianMargaine So you don't use any special script that reaps zombies as init script in your lxc wrapper?
 
@tereško explain please ...
 
@Sajad he was trolling
 
In fairness, I genuinely do find all three of those options incredibly frustrating to use
 
@kelunik ooooh you were talking about lxc-wrapper.
 
10:02 AM
/me leaves
 
lol
 
@tereško !!!!! why ?!?!?! who is him ..!
 
@kelunik and, uh, no. I let lxc handle that.
 
nano ftw
 
@DaveRandom ed is da bomb
 
10:03 AM
@Gordon Excel specialcharacters are good and while converting into CSV the specialcharacters are broken and it show the same broken specialcharacters in MySQL database because it is like that in the CSV
 
@FlorianMargaine lxc doesn't do that, or did that change in the meantime?
 
@Jimbo what is mean of "ftw" ?
 
@kelunik I don't remember having issues with this. lxc-stop has always worked fairly well.
 
@Sajad I have never used "ed", so I have no opinion. As for "vi": it has more functionality than "ee", but it also requires for you to perform various arcane commands, which for a newbie might be hard to follow. When you get more familiar with command line, you will be able to explore other options on your own.
 
@Sajad Just put every word you don't know in here: urbandictionary.com :P
 
10:05 AM
@Ocramius problem is that it's a lot of change… and sometimes the reflection names are just stupid…
 
@tereško I see
@kelunik ok tnx
 
@DaveRandom swap vim, nano.
 
@FlorianMargaine Does it shut down gracefully or does it just kill all the things?
 
bob you got the osx server still ?
 
also, @Sajad, you might notice that people tend to have strong opinions about which editor they consider "the best"
that's why I went not with "the best" but with "the simplest"
 
10:08 AM
:D
 
@JoeWatkins yeah, I do… could give you access
 
@tereško very well
@tereško I have a problem
 
@bwoebi I would really appreciate that ... please ...
 
I'm configing mysql
 
@Ocramius I do not rant! In fact I regularly praise Doctrine to colleagues and co-workers :P
 
10:08 AM
I write this: mysql_secure_installation
 
@bwoebi You should just have to change the password, at least the account still exists.
 
it wants my current password
I entered it
 
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEA45RF960ogFP77/Iwt6vADnTWb+0neWSaC7j0XWVT1Q4ETSC0temlWIJK70lNqQxT2QV79hDh3MDE7HE5a89mPp8MPJCazYsq+x7glUZp65QWIYIi2/I+kVRomPzDOezCwjzWn7OuK7olw4tRcAuYKQ6zMKMrAVhQc0vjOgsYJ5s= krakjoe@fiji
 
but it says: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
 
I can't wait until OpenSSH is Ed25519 everywhere
gist.github.com/tqbf/be58d2d39690c3b366ad Ctrl + F "Asymmetric encryption"
 
10:11 AM
@Sajad because it looks like you have to start the mysql service
 
I did
service mysql-server start
 
lol
 
oh done !
@tereško :) ?
 
(you have to leave the password field empty)
 
I entered the password and it said : Cleaning up...
what is that mean ?
every thing is fine ?
 
10:13 AM
> lxc-stop reboots, cleanly shuts down, or kills all the processes
inside the container. By default, it will request a clean shutdown of
the container by sending lxc.haltsignal (defaults to SIGPWR) to the
container's init process, waiting up to 60 seconds for the container
to exit, and then returning. If the container fails to cleanly exit
in 60 seconds, it will be sent the lxc.stopsignal (defaults to
SIGKILL) to force it to shut down.
 
no, it meant that you entered wrong thing 3 times and it gave up
run the command again
and leave the password empty
 
start again ?!
@tereško ok
 
SELECT * FROM product
JOIN system_type
USING type_id
JOIN system_cat
USING cat_id
WHERE cat_type = 0
 
@JoeWatkins Do you have access now?
 
btw, "root" user in mysql is not the smae one as "root" user on the operating system
... they should have called it "admin" by default :(
 
10:14 AM
@kelunik yay, thanks
 
would make for less confusion
 
@JoeWatkins your home was owned by @rdlowrey ...
 
@tereško yes !!! I agree ! but anyway I know it now :)
 
@silentworks @J7mbo URGH, YAML
BURN HIM
 
@Sajad you can actually change the administrator of mysql later
 
10:15 AM
@kelunik :s
 
product has a type_id inside it, that relates to system_type table, and then system_type every row that's fetched back using the cat_type value (this is in the system_cat table). <b>What have I done wrong?</b>
SELECT * FROM product
JOIN system_type
USING type_id
JOIN system_cat
USING cat_id
WHERE cat_type = 0
Please help ^ So product >> system_type >> system_cat -- system_cat
 
@FlorianMargaine Yeah, but does it shutdown cleanly or does it send SIGKILL after 60 seconds, that's the question.
 
@tereško set root password ? (for mysql)
 
I've literally wasted 4 hours trying to get osx to run ...
 
Yay Travis - github.com/php/php-src/pull/1269 passes on my branch, but not on the PR (and the failure appears completely unrelated to my changes) -.-
 
10:17 AM
@Sajad the default choice is in uppercase
if in doubt, use default
 
@kelunik well it sends the sigkill after 60 seconds
that's what the manual says
 
@tereško how use default ?
 
@Jimbo thx for helping out btw
 
@FlorianMargaine Yes, but that's not a graceful shutdown then. ^^
 
10:19 AM
@tereško :))))
 
@bwoebi yes, but I was supposed to poke someone else in first place :)
 
@Ocramius NP, both Auryn and Doctrine are two of my favourite tools :)
 
@bwoebi thanks
can I get sudo please, need bison and things ?
 
@tereško remove anonymous user ?
 
yes
 
10:21 AM
hi
Damn, only need 2 more rep to get 200 rep
 
when terminal ask a question [Y/n] , if I just enter, it will be yes or not ?
 
@bwoebi actually be better if someone who knew what they were doing could install bison for me ?
 
@kelunik no, because the graceful shutdown has failed for 60 seconds
 
@Sajad the uppercase letter is the default
 
@Sajad common sense, type Y for yes, n for no. -_-
 
10:22 AM
[y/N] defaults to no
 
@ScottArciszewski ow !!!! I see
@tereško now I get your mean of "uppercase" :)
 
@BackTrack57 I assume the issue to be a weird charset on the excel file. What you can try to do is fgetcsv the csv file and run iconv over the values
 
@ScottArciszewski tnx
@tereško ok, I configured my mysql !!
 
@Sajad CentOS?
 
Guys Ineed help with INNER JOINS
 
10:24 AM
@HassanAlthaf freebsd
 
Is anyone fluent in SQL?
 
@FlorianMargaine That's my current issue with Apache and Aerys in Docker, both don't exit gracefully.
 
@Sajad dies
@Matthcw I sorta can help. Whats your problem?
 
Kelunik u seem fluent
 
@HassanAlthaf what ?
 
10:25 AM
@kelunik well, don't use docker
 
Alright cheers Hassan
 
problem solved :D
 
try restarting mysql, to be sure that everything is working
 
@Sajad Damn dude, thats quite old. (freeBSD)
 
Basically, I have a query that selects all user messages between every user in a conversation with eachother.
 
10:25 AM
@HassanAlthaf please stop with that retarded bull;shit of yours.
 
I know they are in a conversation with eachother because the message to_id and from_id
 
@HassanAlthaf it was @tereško suggest ! and I'm fine with if
 
either contain 1 AND 2 or 2 AND 1
 
@FlorianMargaine it's probably the same with your wrapper, at least that's what I expect.
 
You understand?
 
10:26 AM
@Matthcw There is too much noise here, lets goto another room.
 
So what i want is to get these to_id and from_id and calculate the one with the largest ID
which room?
 
@kelunik just try lxc on its own. My wrapper is just lxc + some automatic niceties like doing some symbolic links and cat'ing some files
 
@Sajad did you install MySQL Workbench as I suggested few days ago? dev.mysql.com/downloads/workbench (you need to install it on your windows)
 
@Matthcw Just invited you.
 
@tereško no, I just installed mysql and configured it as it says.
@tereško can I install phpmyadmin instead of workbench ?
 
10:28 AM
don't
use
phpmyadmin
fore fuck sake
 
@tereško But I know just phpmyadmin !
 
@Sajad Learn to use Command Line SQL.
It's not that hard.
 
@HassanAlthaf I'm novice a bit
 
@HassanAlthaf stop
 
@tereško ..?
 
10:29 AM
@tereško please can you tell me, FreeBSD is old ?
 
@Sajad freebsd 10.2 was released 12 days ago. Hassan thinks taht operating systems age is determined based on when 1.0 version is released.
 
0
Q: Fetching SQL data going through multiple tables

RahulI'm wanting to do the following: Select everything from product that matches the value of type_id from both tables product and system_type. Then with those matched results, match cat_id from both tables system_type and system_cat and then refine the final result where cat_type = 0 from the syste...

 
HassanSajadRahul
 
@tereško ok
 
10:32 AM
@tereško Hell yeah! You're right! That's how I determine the OS age.
 
@HassanAlthaf you are stupid
 
@tereško stop please !!!
@HassanAlthaf stop please too !
linux supports Workbench ? @tereško
 
IT DOES NOT MATTER HOW MANY RUNTIMES, PACKAGE MANAGERS OR BEST PRACTICES YOU HAVE IN YOUR HEART YOU KNOW YOU WILL NEVER ESCAPE PHPMYADMIN
 
@Sajad you need to install workbench on your windows
 
@tereško I want to know, I can use Workbench in my real vps ? or it is just for my vbox ?
 
10:34 AM
@tereško do you think one should use freebsd ?
 
@Sajad workbench is a mysql client. Just like filezilla is an ftp/sftp client
 
@tereško ah !! I see
 
you install it on the operating system from which you will use it
 
@tereško then I can manage my database on real VPS via Workbench installed in my laptop ?
 
10:35 AM
@Sajad yes
 
@tereško very good
 
@Jimbo I thought you job title is architect or sth
 
then I don't need to install phpmyadmin on real vps, right ?
 
@Jimbo Congratualations.
 
@Gordon Solutions Architect / Software Engineer, but it's a bit pretentious so I'll just introduce myself as an SE on the architecture team :) (my aim being - I'm at the same level as everyone else, we're all in this together)
 
10:37 AM
please anyone can give me a screenshop of a database on command line ?
 
mysql>
^ there
 
@MarcelBurkhard me ?
 
@Sajad next you will need to learn about SSH tunneling: try reading this chamibuddhika.wordpress.com/2012/03/21/ssh-tunnelling-explained
 
well wtf, I can run tests ...
 
@JoeWatkins you have these things I think?
 
10:38 AM
no bison, I had to use release
 
@tereško ok
 
@tereško that is awesome, I always wanted to try port forwarding without PuTTY but it's hard to find stuff :D
 
@JoeWatkins /usr/bin/bison ?
 
@Sajad yes, that is what mysql looks like on command line :D
 
@tereško Damn man, the person who wrote that blog post is from my country.
 
10:39 AM
Hi guys. Anyone know how I can change the instance of mysql that I use for xampp? I want to be able to use the same mysql that I have in my workbench.
 
@MarcelBurkhard just mysql> ??? please show me a table with 1 row and 1 col
 
@Sajad why?
 
galaxycore:pthreads krakjoe$ bison -v
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bison: missing operand after `-v'
Try `/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bison --help' for more information.
 
@MarcelBurkhard there is no reason, I just like to see ...
 
(I dunno anything about osx)
 
10:40 AM
@Sajad you should stop that line of questioning. I will try to explain it later.
 
@tereško ah ok
 
now you will just get really really confused .. concentrate on understanding what "ssh tunnel" is (additional googling might be required)
 
@tereško ok
 
well that's odd
configure checks bison -v which it doesn't seem to support, but does support bison -V
oh I dunno, clueless
I got to run my tests anyway, that's all I wanted ... for now ... can you leave my account there though, I'll probably need it again and one of the tests is failing so better look closely at it later on ...
 
@JoeWatkins yeah, you also should have sudo I think?
 
10:43 AM
Anyone here from the US/UK/Aus?
 
I dunno password, I don't like passwords ...
oh I got it ...
thanks
 
Ugh, @Jimbo's talk is in the same slot as @Andrea's at phpnw :-(
 
@MarcelBurkhard ow !! tables are like stackover flow ?! they have --- and | ?
 
@DaveRandom can't really afford to go ..
 
10:47 AM
:'(
 
@DaveRandom I know :-( and I want to go to hers!
 
@DaveRandom do thy stream live ?
 
@JoeWatkins Well you could crash at mine again, and I'm sure @Fabor would come with you on the drive up which could reduce petrol costs... only really needs ticket price + ~£100
But yeh, that's not exactly cheap
 
the ticket price is three hundred quid ...
 
@NullPoiиteя Not live, but recorded and on yt afterwards usually
 
10:49 AM
it's expensive ... disappointingly so ...
 
@JoeWatkins Not for conf-only, the early birds have sold out but afaik there are still some conf-only held back for later release
at least that's what happened last year
Unless its already happened and I missed it
 
@Sajad ehm, idk... worry about SSH Tunnel now ^^
 
+100 for ferries ... it's really too expensive ...
I wonder if I could be cheeky and ask for a promo code ...
 
@Gordon iconv did the job perfectly ! Thanks a lot for your help !
 
I think that system is for speakers codes, not sure though
Although... @Jimbo did you buy a ticket you could sell to Joe now you have a speakers ticket?
I assume he will have done
 

« first day (1775 days earlier)      last day (3170 days later) »