« first day (1774 days earlier)      last day (3184 days later) » 

10:00 AM
really ?! good :)
one question
 
sure
 
I wore 'su' in terminal (putty)
and it wanted a password of me
 
yes, the root user password
 
I entered the main password (root)
yes
so I'm as root : root@sajad
how can comeback to sajad@sajad
?
 
you write "exit" .. and if you write "exit" again, it will close putty (because that is the last user)
 
10:01 AM
ow :)
tnx
ow !!!!! :) intresting :)
is it possible to create a new account ?
 
yes
 
I think it is !
it takes very time ?
 
google: "freebsd 10 create new user"
 
I don't need to it, I just want to know
@tereško ok
 
(10 is the version that you are using .. well .. 10.2)
 
10:03 AM
ah ...
ok
for creating a new use I need to be as root, right ?
 
yes, because only admin is allowed to do that
 
alright
I'm undrestanding its concept little by little!
 
lol
@tereško did you really make him use freebsd :D
 
@FlorianMargaine he did :-) !
 
@FlorianMargaine it's not like there is any major difference, when you are making a CLI-only server
 
10:06 AM
@tereško I should create a user via VM window or I can do it via putty (SHH) ?
 
@Sajad it would make no difference. In both windows the root user has the same rights.
 
ok
 
@NikiC in theory, yeah should be ...
 
@DaveRandom 1st part: you'd love lisp. 2nd part: you'd hate lisp. :D
 
@tereško I'm thinking how we created 'sajad' user, I see we don't created it, VM offer us: do you want to create a new user ?
so how it gives me a new offer ?
 
10:10 AM
fwi, the "sudo" command is used to call methods from another account using root access privileges .. you can leave that part out, if you have already logged in as root
 
ah
I wrote "adduser"
it wants me a username
 
Hi all.
 
you told I leave "UId" as default, right ?
@Ihsan hey
 
Crash 'nix course... well well well...
 
you should be able to do think on your own
 
10:14 AM
@tereško I leaved it on default
but I have a problem
 
like what?
 
I wrote "wheel" for "Login group [sammy]:"
 
yeah, you shouldn't have
 
In the event that, I should write 'wheel' for "Login group is sammy. Invite sammy into other groups? []"
 
you can always remove the "sammy" user
 
10:15 AM
@tereško yes
how can comeback ? there is any "back" code ?
 
remember the part where it asks you "is this information correct"?
you can say "no"
 
ah ok :)
@tereško for this question:
Shell (sh csh tcsh nologin)
you told select "csh", but in the [digitalocean](https://www.digitalocean.com/community/tutorials/how-to-add-and-remove-users-on-freebsd) selected "sh"
which one is correct ?
 
csh is better option
 
ah ok
 
sh is lacking features (which you have not learned about, yet)
 
10:20 AM
ah ok
and @tereško for this question:
Use password-based authentication?
you told "no" (I think), but digitalocean say 'yes'
which one ?
 
who will be using that user?
 
em, suppose my friend
 
it should be "no", for security reasons
he should use the SSH key instead
 
"he" is my friend ?
 
yes
 
10:22 AM
ok
 
thing is, if "sammy" wasn't in wheel group, it would be just fine to leave it with password-only
but "wheel" users can become root .. thus the additional security risk
 
@tereško your mean is I remove 'sammy' user ?
 
on a VM it is not all that important, but when you will be doing this on a real VPS, everyone will be able to try to connect to it (all 1'500'000'000+ users of internet)
@Sajad I mean, make the user, but don't add him to "wheel" group
 
@tereško ah !
summy is in "wheel" ?
 
12 mins ago, by Sajad
I wrote "wheel" for "Login group [sammy]:"
 
10:27 AM
:)
 
this is the "problem" part
 
I'm confuse, sammy is a user like sajad ? or it is a group like wheel ?
 
can you rephrase that?
 
cp ./.libs/apcu.so /usr/src/apcu/modules/apcu.so
cp ./.libs/apcu.lai /usr/src/apcu/modules/apcu.la
PATH="$PATH:/sbin" ldconfig -n /usr/src/apcu/modules
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/src/apcu/modules
 
warnings
err, morning
 
10:31 AM
What's broken?
morning @Ocramius
 
@tereško I don't understand
 
@NikiC all of apcu, 0 tests pass ... but it compiles ...
 
4 mins ago, by Sajad
I'm confuse, sammy is a user like sajad ? or it is a group like wheel ?
 
so ?
 
@Sajad , can you rephrase that question. I have no idea what you are trying to ask.
 
10:33 AM
now to pick everything apart and put it back together ... again ...
 
@tereško you told: 'you can always remove the "sammy" user'
can you expailn me more ?
 
@Sajad just like there is "adduser" for creating new account, there is also "rmuser" for removing an account
 
ah, 'sammy' is a alias name for username ...
@tereško please answer to these:
Use password-based authentication? [yes]:
Use an empty password? (yes/no) [no]:
Use a random password? (yes/no) [no]:
 
which question confuses you?
 
welcome to help Niki if you have a free few hours ... github.com/krakjoe/apcu/tree/seven
 
10:38 AM
but
@tereško none of them
when I set "no" to first
 
(read: please help me)
 
and set "no" to second
than all thing be over in putty ! it does not ask me a password for user account
while, I want to also answer to these:
Use a random password? (yes/no) [no]:
Enter password: password
Enter password again: password
Lock out the account after creation? [no]:
but it will be over !
 
please, concentrate
none of this should be confusing for someone studying computer sciences
 
:)
you are right
but
I should set 'no' for these :
Use password-based authentication? [yes]:
Use an empty password? (yes/no) [no]:
Use a random password? (yes/no) [no]:
?
 
Morning
 
10:42 AM
morning
 
Abe
yo @PeeHaa
 
mornin @PeeHaa
 
mohaa
 
@rdlowrey :D
 
@Sajad ok, I will try to explain. There are two major ways to log in: using a password or using an ssh key. If you answer, that you will not be using password-based authentication, the system assumes that you will be using a key. If you choose to have a password, system asks few questions to set taht password up. What part do you not understand?
 
10:45 AM
@tereško ahaaa ! I got it completely !
so, 'sajad' user is based password, right ?
 
what?
 
'sajad' user uses of which way ?
using a password or using an ssh key
 
well .. what did you have to do when you try to connect with it?
 
password !
ok well, one thing else: you told don't add user to wheel group (for more security)
right ?
 
so .. what did you set in SSH > Auth section in putty?
 
10:54 AM
freebsd-vm.ppk
 
@JoeWatkins Doesn't compile for me...
 
@Sajad and what is that file?
 
it is a key that I generated last night !
oh
so 'sajad' using an ssh key
 
yes
 
can I ask several short questions ?
 
10:55 AM
@NikiC aww, what stops it ?
 
@Sajad why do you keep asking whether you can ask a question?
 
@JoeWatkins apc_cache.c has stuff like ALLOC_ZVAL in it
 
:)
 
if you asked a question about, whether you can ask a question, the question already has been asked
 
@tereško ok :)
 
10:57 AM
Guys please give me a hint at least...im really stuck... I'm using multiple insertion with start transaction in different tables ... I want to update all those tables jobid based on table jobfair's jobid... code is here pastebin.com/qZB0cAvj
 
I think you like time machine :-) !
 
@NikiC my compiler lets me get away with that ... I'm on it now, leave it a few hours ... thanks for trying ;)
 
@JoeWatkins The compiler yes, but not the linker...
 
@tereško ok, what difference between users who that are using only password and who are using ssh key ?
 
yeah it links
I can run tests
they all fail
 
10:59 AM
@Sajad none. There is no difference between the user. The difference is in how secure the authentication is.
 
@tereško which one is more secure ? and usually when should I use of which one ?
 
Any 1 to help me...Just give a hint thats enough.. i know some thing went wrong but couldnt able to find that
 
@Sajad well .. think it through. To log in with user who has only password you need to know (or guess) a secret. The authentication depends on what you know. But to log in with a user, who users ssh key, you need the key and need to know the password (if it has been set in puttygen). It means that you need to both know something and own something.
think in therms if a house .. if that helps: the numpad would be equivalent to a password and lock-and-key would be like your SSH key
 
ok :)
 
or better: a safe door
 
11:05 AM
@tereško so both password and key is better
 
yes, but in case of SSH key, the password is attached to the key itself
(you did not read that wikipedia article I linked .. did you)
 
ahaa
@tereško no I did not read it yet
ok, can I create a new group ? (Except wheel)
 
when you create a user, the system automatically also create a group with the same name
 
bah github down again
 
If I add that user to wheel, what happens ?
in fact, I want to know, what is difference between wheel group and other groups ?
 
11:10 AM
@NikiC ddos monkeys are at it once again?
 
@PeeHaa yeah
 
:(
 
@Sajad as I said yesterday, "wheel" is a special group (just like "root" is a special user). Only users fron "wheel" group can use "su" command to get root access. It is a security measure.
 
aha !
 
11:12 AM
boooo
 
then I need to don't add banal user to "wheel", right ? @tereško
 
@Sajad yes. And keep in mind that linux systems do not have this addition security thing.
 
and for doing that, what should I answer to this:
Login group is sammy. Invite sammy into other groups? []:
 
@Sajad nothing, leave it empty
 
@tereško oh really ?
@tereško ok
@tereško linux has not any special group like "wheel"?
 
11:15 AM
@rdlowrey What are you tweeting about with code rabbi? Confusing...
 
@Sajad in linux you have a concept of "sudoers" (a list of users who can used "sudo" command) ... it has some similarity
 
aha I see !
tnx :-)
 
as I said before, the differences between linux and bsd are at the "system administration" level. A normal user would not be affected by things like this/
 
@tereško yes you told that !
@tereško I think you gave me a host name like this last night:
sajad@localhost
what was that ?
 
11:21 AM
read this:
In computer networking, localhost is a hostname that means this computer and may be used to access the computer's own network services via its loopback network interface. Using the loopback interface bypasses local network interface hardware. The local loopback mechanism may be useful for testing software during development, independently of any networking configurations. For example, if a computer has been configured to provide a website, directing a locally running web browser to http://localhost may display its home page. On most computer systems, "localhost" resolves to the IP address 127.0...
 
ok tnx
 
@rdlowrey I'm absolutely sure you're just taking that job at Grovo because @ircmaxell works there :-P
 
Did I read that right that @ircmaxell and @rdlowrey are going to join forces?
 
@rdlowrey woah @ that job, nice!
 
Now we'll all wait while the amount of work done @grovo plummets because everybody is distracted by @rdlowrey
 
11:36 AM
idd
 
he's so pretty ...
why does github hate me ?
does it hate us all, or just me ?
 
35 mins ago, by NikiC
bah github down again
Somebody hates github
 
anybody with AWS server lampp installation experienced here?
I am getting error while installing PHP
Error: Package: php54-php-common-5.4.44-1.el6.remi.x86_64 (remi)
Requires: libgmp.so.3()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
I was working on mb_string error...
 
@PeeHaa Atlassian :P
 
@PeeHaa grrrrr
 
11:51 AM
@Gordon hehe
@John That what you get from using 3rd party repos
dependency hell galore
 
@John the joys of RedHat?
@Sajad so, did you manage to install pdo_mysql extension?
 
@tereško yup :( and it is redhat 7 so not supporting cpanel :(
 
@John fuck cpanel
 
@PeeHaa yeah!! so whats the solution..
@tereško and why is that .. I found it user friendly for basic use..
 
@John same way as MS Access is "friendly for basic use", when it comes to databases
 
11:55 AM
so whats wrong in that...
 
posted on August 25, 2015 by kbironneau

/* by MichMuch */

 
12:16 PM
test
Suddenly so quiet...
 
I remember someone wanted to make RFC for enums, not sure who... I'd love them so much.
 
@nikita2206 @LeviMorrison IIRC.
 
user895378
Hey thanks for all the well-wishes folks. The real condolences should go to Anthony since he actually has to work today and I'm just flying home with a hangover :)
 
:P
 
12:31 PM
@kelunik Yeah I think it was Levi, hoping he is still going to do that :D
 
@rdlowrey Wait, what did I miss?
 
user895378
I'm going to be Anthony's personal work slave (not really) in a few weeks @DaveRandom
 
Wait... someone gave you... a real job??
:-P
 
@Gordon yeah, but this sweet type safety :(
 
user895378
12:34 PM
ikr. It was me or some hobo of the street and I won because: cute
 
user895378
Off* (cell-phone)
 
you won because these eyes
 
@ircmaxell your new minion @rdlowrey is intentionally buying noisy toys for his friends with kids. I hope you take that into account when assigning work to him.
 
user895378
I think the moral here, @Gordon, is not to have children.
 
@rdlowrey you dont have any morals -.-
 
user895378
12:37 PM
Nonsense! I have a good work ethic. After that things are hazy ;)
 
I hope he assigns a full time Laravel project to you ;P
10
 
guys, do I still need mysqli_real_escape_string if I use prepared statements?
or what about password hashing md5 and salt?
 
@Demorus nope.
 
@Demorus you dont do that anymore. bcrypt all the things.
 
@Demorus Did you have a look at password_hash? That's the function you should use.
 
12:40 PM
Tutorials lol
 
great thanks alot
 
Hi. I am having difficult time to understand encoding. Currently we are authenticating user against Active directory using PHP LDAP functions and using utf-8 all through out the code. For most of the special characters (Œ,¿ etc) its working fine but for some other characters (₧,лв) we were not able to authenticate user using UTF-8 encoding.
After trying out several things, We come to know if we change encoding from UTF-8 to UTF-32 i.e mb_convert_encoding($password,'UTF-32', 'UTF-8');. We are able to authenticate user.
I am not able to understand, If we are able to authenticate user using UTF-32, Why its not working with UTF-8. After all they both can represent same set of characters
 
1:21 PM
@nikita2206 Yep, me.
@rdlowrey Morning.
 
@Gordon seems it's going to be either laravel or kohana /cc @rdlowrey
 
@rdlowrey Wow, congrats!
 
@rdlowrey How long? Indefinitely?
Either way, congrats.
 
1:40 PM
heh
 
user895378
@LeviMorrison thanks! Yup, full time. Pretty excited, I think it's a great fit.
 
I thought about applying there. Then I decided to stay where I'm at for a bit. Who knows? Maybe I'll join you guys eventually :D
 
Room 11 should start it's own company.
 
user895378
All the cool kids are doing it!
 
user895378
</peer_pressure>
 
1:54 PM
@rdlowrey Could you please help with encoding thing
 
@PeeHaa Yup :-P
@Gordon that's because he is smart. The lesson here should be going to the people who accept the gifts :-P
@LeviMorrison let me know if you're interested :-D
@LeviMorrison also, we should talk about getting Ardent into core for 7.1...
 
@rdlowrey no more slacking on SO chat :(
 
@ircmaxell But @rdlowrey doesn't have time anymore now to integrate amp into core. :-/
 
user895378
I do want to continue looking at integrating an event loop as part of php
 
:-)
 
2:00 PM
@rdlowrey "want" vs. "having time" ;-)
 
user895378
Without standardizing those things we're going to keep having different userland implementations limiting what people can do re: async
 
@kelunik unless that's a part of the job in some way :-X
 
@ircmaxell smart, no doubt. but also amoral and despicable ;)
 
@ircmaxell That would be awesome. ;-)
 
@Gordon everyone has a touch of evil in them. Some just let it come out in comedic form
@Trowski were you planning on putting that RFC out?
 
2:02 PM
Greetings
anyone invested in Share Market?
 
grats on new job @rdlowrey
 
Condolences for them.. haha.
 
@ircmaxell I'm not ready! My baby is too young!
She's not ready to graduate!
@ircmaxell IIRC they don't do remote employees, right? Would have to relocate?
 
@rdlowrey congrats
 
@rdlowrey Was meaning to ask you, know if libev uses interrupt driven IO or polling based IO? It's the former, right?
 
2:11 PM
Congratullations @rdlowrey where?
 
@Rafee someone mentioned "grovo"
 
@LeviMorrison for now :-P
 
@rdlowrey gratz
 
@ircmaxell @rdlowrey You should start sending here group-selfies now :D
 
2:14 PM
:-P
 
oh yeah.. i now remembered..
cool.
 
@ircmaxell Yeah, that makes it tough. I own a home, have a family I'd need to uproot, etc.
 
can I buy [company where you both work] stocks? Seems like a safe bet :D
 
But maybe they'll open up to it.
 
@LeviMorrison yup, which is why I said "for now"
@LeviMorrison it's my decision, so :-P
 
2:15 PM
Besides, you could pay me a lot less by virtue of living here Utah.
I'd need roughly 2.2x to live in NYC area than here with the same level of standard.
 
:-)
 
$80,000 in Utah is a great living. Not so much over there :D
 
@ircmaxell I'm thinking it might be better with the PCRE functions to return false and issue a warning, since that's what they already do for other failures.
Do you agree @Danack?
 
Hey guys
I hope for some help, I need get some values via FOREACH and after that I need to add lines to XML, basicly my XML and FOREACH code looks like: http://pastebin.com/V6RDx27D

Is there a chance someone can help me to figurate out how can I make this work ?
 
@Trowski yes. There are valid (even though they're probably stupid) scenarios where you want the PCRE engine to give up and abort the pattern matching without having to handle an exception.
 
2:20 PM
@Trowski the only problem there is that previously valid matches are now invalid
 
"previously valid matches are now invalid" - what would be an example of that?
 
Hi, can someone can explain me, how i can retrieve a elements value with SimpleXML? I need the value of "id". here's the XML
<ihk id="0">
<ihkname>keine</ihkname>
</ihk>

My code so far:


$sxml = simplexml_load_file($file);

$ihks = $sxml->xpath("/*/ihk");

foreach ($ihks as $ihk) {
 
or previously segfaulting matches: 3v4l.org/UmgmW
 
2:25 PM
Thank you
 
user895378
Hey @ircmaxell can you send someone down to the lobby? -- delivery people called me, need a pickup
 
Anyone knows how to create a Chat with expiry on Redis Server?
 
@ircmaxell Which is the reason for the warning, so at least it doesn't fail silently.
 
@NSGod flagged as too broad
 
2:29 PM
I could see a problem if you were using preg_match() for blacklisting.
 
@MarcelBurkhard I want a tutorial, if anyone know of
 
Thank you so much
 
(cannot vouch for quality, it's the top google result for "php redis chat")
 
2:31 PM
@Ocramius how is this for a rewrite:
0
A: DDD - the rule that Entities can't access Repositories directly

prograhammerAt first, I was of the persuasion to allow some of my entities access to repositories. Then I realized this was wrong. Here's what settled it for me: Vernon Vaughn in the red book Implementing Domain-Driven Design refers to this problem in Chapter 10 on Aggregates (this book is fully endorsed by...

 
Sometime I don't know what to search lol @salathe
 
@ircmaxell The other reason is that we can probably just add the warning without an RFC.
 
^^ this.
@kelunik that behaviour depends on the ini settings of whether jit is enabled and the buffer size I think. You could get the same behaviour in 7 by using the 5.x default settings.
 
@Danack Sure, but it fails silently in PHP 7 without a warning, isn't that the issue?
 
One of them. But the general problem is that the error codes returned by PCRE are just never passed onto the user by any method.
(I still haven't looked yet at what error calls the extension is supposed to be doing. I suspect it's not just a single place where they are missing).
 
2:37 PM
Oh god (lack of) pcre errors. I feel ya
 
@prograhammer much better and thanks for doing the research on the paperwork :)
@FlorianMargaine I'm not btw ;-)
 
^ because of cool community people like you :-)
 
I actually bashed you there - pulled the handbrake on that response :P
 
@NSGod What do you mean by expiry? Messages should disappear after a while?
 
Do you docblock arrays of primitive types with string[] or int[] as you would arrays of class types such as Foo[] or Bar[]?
 
2:41 PM
@DanLugg yes.
 
@Ocramius huh?
I actually purchased the red book yesterday, been reading it
 
Well, you got an insta-downvote
 
oh right, lol, but it was a good downvote!
good correction, a wise person accepts good correction
 
And to be clear, the PCRE extension missing error handlers is one of those things I mean when I say:
Aug 6 at 18:31, by Danack
@LeviMorrison without trying to be mean, I think we still need to go through a lot of code that was written by some people to make sure it's not insane. Because some of it is just a bit nuts.
The lack of error handlers isn't just bad, it's completely nuts. Not only that it was put into PHP like that, but that the community hasn't realised how bad it is and addressed it.
 
@prograhammer $user->mountFriends(); -- I've tried this, now I have a record.
6
 
2:44 PM
@DanLugg what do you mean?
the game on steam?
 
lol, no. Nevermind.
 
oh wait...
ugh....
I think I just got it...
 
"ugh" suggests so.
 
unfortunately
 
You just need more open minded friends
 
2:51 PM
smh
 
@Orangepill Hey... we're friends, right?
:-P
 
@rdlowrey got it, you're the man
 
Never said I was open minded
 
So @rdlowrey is @ircmaxell's bitch now?
I don't understand the context, but congratulations?
 
Grovo is like the place to be
 
2:58 PM
God I'm yelly of @ircmaxell. I would having @rdlowrey is my bitch
 
All the cool kids are going there
 
Who wouldn't??
 
@tereško no, here is a reference, but actually I can not use it ...
 

« first day (1774 days earlier)      last day (3184 days later) »