« first day (1413 days earlier)      last day (3538 days later) » 

8:00 PM
The #OpenSource GovSource is out! http://paper.li/Carahsoft/1398196551 Stories via @krakjoe @RobertReiz @onoffre
wtf is that
 
brilliant
 
you retweeted or tweeted something someone added to a paper
I get it fairly often for my photos
 
ThW
the moment the support says that the product you just bought is not available (just a website error) ...
fun .. but really funny if it is the extended warranty for another product
 
8:10 PM
Is it possible to host Laravel on shared hosting where I don't have access to put folder outside public directory ?
 
laravel, shared hosting plop have a beer to help you through these rough times ;)
 
@ThW Not enough guitar!
 
@Shashi Any hosting where you can't put stuff outside the public directory isn't suitable for hosting applications....it's only for static sites.
/peehaa probably knows that.
 
thnx for the info :)
 
ThW
8:12 PM
next step ... combining multiple matrix displays
 
@PeeHaa wats bad about Laravel tough ?
 
@ircmaxell you got twitter analytics ?
 
nope
 
hii can anybody know about JQWIDGETS www.jqwidgets.com
 
8:14 PM
@Shashi Lots of it is pretty bad, but I came to the conclusion that discussing it here in chat is useless most of the times and that people eventually find out for themselves :)
 
aww ... might be interesting for some of your posts ...
 
or not
 
Bad luck Dejan.
 
Damnit. That sucks
 
@webarto crappy
 
8:15 PM
What are we looking at here?
 
@dinu1389 yes that is possible
 
(Don't own a car, don't even know where to look)
 
@PeeHaa so in short, which framework is better in your perspective ?
 
someone viciously drove into @webarto ... it was attempted murder ...
 
You're looking at $1500 in damage.
 
8:16 PM
@pee
 
I always love when that ^happens
 
@webarto Wha?
@PeeHaa I know
 
@peeHaa can u please help me out building a grid
 
Nope
 
@JoeWatkins did you compile bison on your own on your fedora to compile php-src?
 
8:16 PM
@peewee
 
hmm @pee
 
:)
 
@FlorianMargaine did not
 
@JoeWatkins actually, yes I do
 
8:17 PM
@Shashi I don't like most popular frameworks for different reasons
 
Mainly because we don't conform to mainstream society! Boo! Hiss!
 
@JoeWatkins I did think of pulling a gun :D Don't care much 'bout car, insured it. I can fix this for $500.
 
checks iphone
 
@pee ^
 
But mostly it boils down to: having looked at the source and found out it was crap, having to actually put up with a framework and found out the hard way it was crap, not knowing enough about it and neither don't want to making it a waste of time to build something with it @Shashi
 
8:18 PM
0
Q: Mentioning personal qualities on CV

Benjamin GruenbaumI've noticed that a lot of CVs contain a segment that looks something like: I have fast learning skills, out-of-the-box thinking, high motivation, loyalty and dedication. I am a hard worker and a team player and intend to put in a lot of hard work. I've noticed some people put those 'perso...

Comments appreciated
 
@webarto Where is the $1500 damage? :o
 
@SecondRikudo lulz
 
@SecondRikudo Yeah, taillight, bumper, and the metal above wheel (ironing it and painting).
Maybe even more.
It's basically nothing, but it costs.
 
@BenjaminGruenbaum I never do that.
@webarto Yeah for some reasons those things are expensive as hell
 
@PeeHaa do what?
I removed "I hate them and ignore them" from the post since that was opinionated.
 
8:21 PM
> I have fast learning skills, out-of-the-box thinking, high motivation, loyalty and dedication. I am a hard worker and a team player and intend to put in a lot of hard work.
Utter crap at worst noise at best
 
user image
3
 
HAHA
 
heheheheh
Fairly certain it's the first though :D
 
@PeeHaa Light group is costly because chances are you're gonna need some of it. E.g. entire ECU ('puter) costs as piece of plastic (headlight).
Corporations are people too.
 
:P
 
8:23 PM
@NikiC "Don't distinguish between ast/list in parser" aw man, obviously causes merge conflicts for me :D It's really not that bad, I just hate doing manual merge resolution.
 
Also yeah......
-3
Q: Can a class have 2 constructors in PHP?

MikeI have a PHP class that does the database connection. I have 2 main credentials (different servers) to access databases/servers. When connecting to the default server (SERVER A) I can simply call the main constructor without supplying any additional information. But, every time I want to create ...

 
@php-src devs: should I report gcc warnings I get when compiling php-src?
 
Holla! I don't know how to formulate this question but I will try to explain it. I've got a public var called Cart and if I will update it in method for exp.: $this->Cart['items']['product'] = 'bla and blaa'; then my Session should update too
 
also... on which version should new commits be?
 
@Fabien tomorrow I'm smuggling certain quantity of Bhut Jolokia, Trinidad Moruga Scorpion, Carolina Reaper, the f* hottest peppers in the world. Some people smuggle coke, I smuggle peppers :D
 
8:25 PM
@webarto Why do they need to be smuggled?
 
I'll shut my face ...
 
I've smuggled coke before.
 
what was it?
 
?m=1
 
@VeeeneX Whichever method you use to update your variable, should also update the session at the same time.
 
@SecondRikudo But how?
 
@Fabien Just a reminder, this room is google indexed.
 
@Fabien You can't bring fresh veggies over border I thinks.
 
config.nice is this one: stackoverflow.com/a/21950737/851498 (without the --with-apxs2)
 
@Danack heh. It was a legal amount of coca-leaves :P
 
8:27 PM
@Danack COCAINUM
 
@FlorianMargaine strange
 
public function addItemToCart($item) {
    $this->cart[] = $item;
    $_SESSION["cart"][] = $item;
}
 
no idea what to do tbh
 
I don't know how your method looks like, so it's impossible for me to tell you exactly.
 
8:28 PM
when in doubt ...
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEA45RF960ogFP77/Iwt6vADnTWb+0neWSaC7j0XWVT1Q4ETSC0temlWIJK70lNqQxT2QV79hDh3MDE7HE5a89mPp8MPJCazYsq+x7glUZp65QWIYIi2/I+kVRomPzDOezCwjzWn7OuK7olw4tRcAuYKQ6zMKMrAVhQc0vjOgsYJ5s= joe@fiji
tell me where to connect too ...
 
@JoeWatkins C4
 
@SecondRikudo That's my actual code
 
hm... let me push that on a server
then no, it won't be on my machine...
let me think
 
@SecondRikudo But is there a listening function for updating vars?
 
@VeeeneX Not unless you implement Observer and Observable, which I feel is probably overkill for whatever it is you're trying to do here.
 
8:30 PM
@JoeWatkins I guess you can't connect to florian@89.92.205.106 ?
 
@SecondRikudo $_SESSION["cart"] = &$this->cart :P
 
feels firewalled
 
@webarto Please no.
 
no... just not NATed
 
This is the gateway to so much shit.
 
8:31 PM
and I don't have access to my router
hm... how to solve that
 
@webarto Oh referencing great idea
 
@FlorianMargaine VPN?
 
@SecondRikudo I used tables, I'm not sure why would I put anything in session...
 
@FlorianMargaine Are you on a GUI?
 
between joe and I? I guess
@PeeHaa which GUI?
 
8:31 PM
@webarto What kind of tables?
 
@VeeeneX Everything in that line is a bad idea :)
 
As in are you working on a server without a gui?
 
@SecondRikudo For cart thingy.
 
no, I'm working on my computer
 
8:32 PM
Let joe teamviewer in?
 
@webarto I prefer mongo.
 
oh, if he doesn't mind
 
Or is nix not supported by it?
 
@SecondRikudo xD
 
8:32 PM
@PeeHaa It is.
 
@JoeWatkins do you mind?
 
I got that somewhere I think
 
arg, using coveralls is a p[ita
 
yep got that one ...
 
give me a minute to install it
 
8:33 PM
close the horse porn before I connect ... I'll tell everyone :D
 
@VeeeneX Referencing is the gateway to a world of shit.
It's almost almost as worse as globals.
 
@JoeWatkins done. I leave the granny porn open for you?
 
as bad
:)
 
@SecondRikudo My code link
 
@FlorianMargaine please do
 
8:34 PM
@JoeWatkins got a mail so that I can send you the credentials? :P
 
@VeeeneX Is a Cart an Aurora_Controller?
 
@SecondRikudo I haven't made a shop in years, knew only MySQL as I do now, I'm sure there are better solutions.
 
btw, I think you prefer a simple terminal over emacs, right?
 
Sometimes I think it's a good thing @crypticツ doesn't do her weekly room 11 recap anymore. You people have issues :P
2
 
@SecondRikudo For now no
 
8:35 PM
Code from @ircmaxell + @krakjoe + @nikic = compiling PHP in PHP for much fastness. Wow http://ow.ly/3prbBC
 
@FlorianMargaine pthreads at pthreads dot org will do
 
:D
 
@webarto I think storing the entire cart as JSON so that you only need one I/O to pull it out is rad.
 
@VeeeneX Then why does Cart extends Aurora_Controller?
 
8:35 PM
@SecondRikudo For future
 
@ircmaxell yay for teamwork ...
 
Ignore it
 
@VeeeneX ...
 
@JoeWatkins sent
 
How can a Cart ever be a Controller?
 
8:37 PM
xD
@SecondRikudo have I said that I'm working on it?
And it is called in Ajax so
 
@VeeeneX Your need to separate your Cart from your Controller.
 
@SecondRikudo /car/add/1
 
@LeviMorrison Sorry :(
 
It's okay.
 
Leaving that aside, what you're currently doing with the session looks OK to me.
 
8:39 PM
I think I have it resolved already. (I'm running tests now to verify I didn't screw something up while resolving)
 
You could have a few more layers of abstraction, but what you have is the basic way of doing it.
 
@JoeWatkins dunno why it was overridden...
also, it's hard to communicate
 
But I'm repeating my code
That's wrong
@SecondRikudo
 
@VeeeneX That's why I said your could have a few more layers of abstraction.
 
@SecondRikudo And What is a layers of abstraction in dunno language?
 
8:41 PM
I usually have a Session object which your Cart object (among other things in the session) lives in. The Session object is responsible for actually storing it in PHP sessions.
But here's some food for thought for you.
Why should the cart be held in a session?
Or more specifically, why does the server care about the intermediate state of the user's cart?
 
ThW
@ircmaxell tobysen asks, if I compile a function in reki, can I still call the compiled part from php?
 
@SecondRikudo The cart is used for user to see what is inside of cart
 
@VeeeneX Okay, so why does the server care about it?
If the user needs to see it, save it on the client-side.
 
And you mean something like this $this->cartSave($cart);
 
No, I mean something like not PHP.
 
8:44 PM
@ThW yup
 
@SecondRikudo I don't want to make it in JS
 
in fact, compiling recki gives you a callable as a result (like a closure)
 
@SecondRikudo For example simpleCart.js saves prices from html
What if user knows it?
And user will change the price?
 
8:46 PM
then I can't do anything
 
Sure you can.
To buy, the user has to go through your server
 
save ids of product
 
This is where you validate all items, quantities and prices.
When user checks out, all he passes to the server is the array of item IDs
 
But it will take more time to validate it (execution)
 
The prices the user has stored is only for his own convenience
It takes you much more memory and space to store and fetch it in session every time the user makes a request
 
8:47 PM
Ok
@SecondRikudo Thanks ;)
Have a nice rest of day
 
Sure
If you have more questions, feel free to ask
Hopefully I'll see you in the JavaScript room next :)
 
ok
 
half of pcrelib is missing
gimme a minute, find out why
stupid thing, keyboard won't work, gonna disconnect and reconnect again
 
@NikiC ...either I screwed up something in the merge, or there are a lot more test failures.
 
@JoeWatkins wow
actually, my whole keyboard was messed up
looks like it's fixed now
let me open up the terminal again
 
8:53 PM
@LeviMorrison there shouldn't be more failures
 
I guess I'll revert and check.
Nope, it wasn't my doing. It wasn't necessarily your commit, either, though.
 
git bisect to the rescue?
 
In this case I'm not sure what the expected number of failures is, but it's definitely higher. But thanks for the reminder about that very useful, very under-used command.
 

« first day (1413 days earlier)      last day (3538 days later) »