« first day (1366 days earlier)      last day (3808 days later) » 

14:02
I can see how that's an impeding factor.
Well, thanks in advance in any case :)
@tereško Stopped reading at global
@SecondRikudo just... if you want EAV, then it's 50/50.. Either you should change structure (first half) or use non-relational DMBS (second half)..
16
A: Difference between two table structure

Alma DoAntipattern? In common case, second table is anti-pattern in context of database design. And, even more, it has specific name: Entity-Attribute-Value (EAV). There are some cases, when using this design is justified, but that are rare cases - and even there it can be avoided. Why EAV is bad D...

Oh, VM networking, how I loathe thee.
@AlmaDo I know, again, not my code
@SecondRikudo oh.. that was an abbreviation (:
14:26
This isn't even the worst crime against nature that goes on in that codebase.
EAV isn't a worst crime there? My condolences, man
Anyone know of a good "I'm an idiot and don't know what I'm doing, but would like to set up networking between my VM guest/host" sort of tutorial?
what is the VM? Xen?
Nah, just VirtualBox, Win7 host, Win7 guest.
@AlmaDo We take those values and inject them directly into a JS file
14:28
@DanLugg ooooh.... I'm out. Run away..
lol, I had it just as NAT for a long time; guest could get out to the WAN no prob, but now I'm trying to config so host can see guest too.
Suddenly.. with all that EAV crap and Win7 VM shit, room 11 made me so unhappy today. I'll go and watch some anime episodes
Aw, nuts to you :-P
Okay, would a Lubuntu guest make you happier?
@AlmaDo Ooooh, whatcha watching?
@DanLugg He wants WinXP
14:31
@SecondRikudo that anime which is .. hm, complex name (: One of it's heroes, Urahara is on @Jack's avatar
bleech or bleach
something like that
Where are you currently?
somewhere at the beginning, 70x episodes
there are good things about it and thing that rrreeeally annoys me
@AlmaDo So they've already left to rescue Rukia from Soul Society?
Or probably, they already rescued Rukia from Soul Society.
14:33
@SecondRikudo yeah. But - sad - after Ichigo defeats Byakuya, he became ssooo noob
@AlmaDo Aizen owned him like Germany owned Brazil XD
btw, I'm glad that Renji is with the team now. Really good guy
Only Brazil managed to get one in
what's with Brazil?
@AlmaDo Brazil managed to get one goal in against Germany
14:34
It is strong not advised. Use of global variables (and global state in general) is and extremely bad practice. Someone with 6k reputation should be aware of it. At this point it look more like intentional misinformation of a newbie. — tereško 1 min ago
Aizen stopped Ichigo with his pinky finger and then nearly sliced him in half.
@tereško reputation means nothing.
@SecondRikudo In his defence, Aizen did fool the whole guard lol
@SecondRikudo bullshit.
@tereško But yeah, >400 answers
all those 1-rep users look at the reputation of others
14:36
@Jack His illusion power is almost as strong as mine.
@SecondRikudo they lost? oh, ok
@AlmaDo 7-1, in the semi-finals
@tereško I see fit just do delete that crap. If that user don't know why that is bad, then it's impossible to explain in comments. And no sense in that ..
Harshest ownage they ever had in any WC.
@SecondRikudo 7-1.. yay. They really kicked ass..
14:39
@AlmaDo Aizen is effing OP as hell
But what I dislike about Bleach vs, say, Naruto, is that in Naruto there are OP characters, but OP for a reason
@SecondRikudo Aizen.. is the bastard who left to void space when they saved Rukia?
@AlmaDo yeah
@SecondRikudo ehehe, yeah. Pretty like 7-1 (so when he stopped Ichigo's Bonkai with one finger)
@tereško whoah. much global
such php 4
great oop
@SecondRikudo however, I think some parts are just too.. long there
14:42
@AlmaDo Like I satarted to say
Characters in bleach are OP because they are OP
Characters in most other anime are OP because their techniques are very strong
Overpowered
hm.. not sure. They're spirits, after all
@AlmaDo If you continue watching bleach, you'll come across phrases like "I know you're much much MUCH stronger than me, but I'll beat you because I have to", and "I'm sorry, I'm just not allowed to get injured anymore"
In Naruto, Madara (the character I am based on) is OP as hell, because he has the top eye technique, because he absorbed the power of his rival (who is at least as strong as him), and most recently, because he has the power of an actual god on his side.
@SecondRikudo I faced that many times. When Ichigo was fighting with Zaraki, for instance
14:46
They're all pretty thin when they come to power-ups. DBZ style.
One Piece is another 'because I have to'
@Fabien There are characters in Index that can beat even the top fighters in DBZ.
@tereško Deleted :) //cc:@AlmaDo
Never saw Naruto series. Too long for me
@SecondRikudo here is one thin that "Bleach" has over "Naruto": Rukia is not completely useless
(In a fair, 1v1 fight, without blowing the planet up that is)
14:46
I know I just mean in terms of how it's all dragged out till I power up enough to win
@tereško Yes, that's true.
and she's not even annoying (or modeled after a stick with two duck-taped balloons)
Bleach hit the reset button. That's when I lost interest.
Rukia? Oh .. she's funny, very, very funny (:
@Fabien I lost interest after the battle with the top 3.
14:48
1+2+3+4+... = -1/12 ... hmmkay, now what :)
@tereško Have you watched/read Index?
I think I tried to watch it (it's hard to recall)
That's why I kinda like non power based too. Hajime No Ippo is hilarious and not ludacris. Except for the idea that Japan could excel in boxing :P
@SecondRikudo I tried to watch..but no. Too many annoying characters
14:50
@tereško @AlmaDo I think there's no other series with powers as awesome as those in there, and everything is very well-explained too. But downside is that it's extremely cliche story-wise.
We have the same goody-goody MC who is almost powerless and yet somehow manages to beat monsters that can quite literally tear the planet in half.
I prefer to read manga, btw. Last I tried is "The Breaker". I like it. But it's on-going now, so I'll try 1-2 years after (:
But if you focus on those monsters, you'll have a great time :P If you enjoy awesome/epic powers
@SecondRikudo oh .. I tried to watch that one - was kinda boring
^ same here
15:02
Language design philosophical question (cc @ircmaxell): Would it make sense to save numbers which are not integers ("floats") as a number and the remainder, and then when asked for a floating point with certain precision, you can calculate to whatever precision you need and maybe cache the result?
floats or decimals @SecondRikudo?
@PeeHaa non-whole numbers
So floats or decimals? :)
Does it matter?
decimals imply that we're in base 10, that's not necessarily the case.
CPUs tend to love floats for some reason ;)
15:10
rootbeer floats are my favourite
@Jack That looks disgusting :P
Is it this @Jack?
@SecondRikudo Floats and decimals have different use cases and the performance can differs per operation. Splitting a float for some reason seems like a bad idea to me
@PeeHaa yummy :)
@SecondRikudo Now I want to downvote his previous question :P
@Jack eeeeeew :P
49 mins ago, by Dan Lugg
Oh, VM networking, how I loathe thee.
3 upvotes?!@!@!@! 3?!@!#!#!$
Because sometimes, things need to be reiterated.
NAT for the guest to get out (to teh intarnetz), Host-Only for the host to get in (to the guest) ... host can't get into the guest.
Seriously, every tutorial is basically the same thing; enable NAT so the guest can get out, use Host-Only so your host can get in (to your guest) I did that, even set up DHCP for the Host-Only adapter... I can't figure out what I'm doing wrong.
15:30
1
Q: How to get/return the array elements into pagination function?

PHPLoverI'm using PHP for my website. I've an dynamic associative array which may contain any no. of elements. Each of the elements in this array is another array. In order to limit the no. of array elements to be shown to the user on single page I wrote a pagination funtion. It's working fine and return...

Fuck it, I went with bridged; works now.
@DanLugg allegedly you may wish to add:
# Enabling DNS proxy in NAT mode
vb.customize ["modifyvm", :id, "--natdnsproxy1", "on"]
# Using the host's resolver as a DNS proxy in NAT mode
vb.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
Or the equivalent options, if you don't want your DNS lookups to randomly start failing from inside the VM.
Where do you put interfaces in your model?
Anyone know how to make any start up warning be an error in php? In particular when I get "PHP Warning: PHP Startup: Unable to load dynamic library blah blah blah" when running some PHP tests, all the tests should be marked as failed rather than skipped.
15:46
@Danack Oh? I will have to look into/do that.
user924016
Hi
@SecondRikudo Gaza?
@webarto I doubt he'd be... breathing... if he were in Gaza right now :P
16:00
You devils :P
morning
@SecondRikudo may i ask why exactly Israel is fighting with Gaza ? is it about The Church of Wisdom ...(like i dont think about it anymore ) ?
@webarto sup ...
@NullPoiиteя Well, it started with Hamas kidnapping and killing 3 of our kids (aged 16~19)
Then a group of extremists from our end did the same with one palestinian boy.
That was enough to blow the entire tension up to an entire combat operation again
The reason it still goes on is because we promised that we will not cease operations until Hamas stops firing on our cities.
Pakistan is doing same with Us .... i wish our Government can take strict action like yours
Please don't talk about depressing stuff like that in here.
@SecondRikudo sounds legit
16:14
Anyone recall the site that had SQL schema examples (like a repo of)?
@Danack its sunday :P
Some of them were... not good, but several were good to use as inspiration at least.
Ne'er mind, got it.
@NullPoiиteя What?
I think this was it (it's been a long time) databaseanswers.org/data_models
sorry wrote at wrong place
S'all good (I kinda figured)
S'aa == ?
16:24
"S'all" == "It's all" -> "S'all good" == "It's all good" -> "I understand, that is fine" :-)
Anyone know why travis-ci would be unable to run a php script? It's almost certainly there...does travis have some permissions setting?
Well... there is a rainstorms going on.
I wish we had rainstorms... it's so damn humid, I wish nature would just get it over with.
And I just happen to be in the middle of city on a bicycle, hiding under a tree.
Oh, that's not good.
16:27
i wish we had too ... its famin here
Streets have turned into damned rivers
Oh
It ended
lol ... i really don't know how it feels ... it never happend with me
Now it's time to get over a bridge
And hope that the sequel won't happen while I am in the middle of it
@tereško You should invest on one of these
16:44
Hey guys - when you create routes for your web application, do you store all possible routes that your web app will accept in a data structure? Like /posts/p/{post_id} and /posts/new/ etc?
@Fabien I use Aura.Router but I am having problems when links end with / e.g /hey/world/
That would not protect even against the rain in my face
It's a toy
17:00
Yeah but it'd look funny if you took a photo with it on.
@DanLugg That is seriously terrible btw.
17:14
Am I being dumb or is there a valid reason this is inserting 2 rows instead of 1?
There is no correlation between looking fun and being dry
At least not that I know
@Fabien You are being dumb
Looks like my transmission was received
user1804599
17:22
Hey.
user1804599
If I do $n = 2; for (;;) for (;;) break $n; I get an error reading “PHP Fatal error: 'break' operator with non-constant operand is no longer supported.” What were the semantics when it was still supported?
General spaghetti code is
@Danack Nah, not seriously terrible. Mustn't have been the one, cause I recall it having been less terrible though.
@PeeHaa Not the missing :'s it seems
@NikiC So I tried building PHP with CC="g++ -std=c++11" CFLAGS="-fpermissive" and it fails. Have you successfully built PHP with a C++ compiler with any standard before?
17:32
@DanLugg It has phone numbers in the same table as people - in almost every example. That is just terrible design. It means you can't list multiple phone numbers for people, or keep a list of previous numbers.
I seem to hit issues in ext/ereg.
@Danack Oh I know, I saw that.
Hence, probably not the one I found eons ago.
@PeeHaa I give up. What's the dumb mistake? :P
17:33
I think the one I was looking for was called Sql Warehouse or Schema Warehouse, or something.
I dunno. Some of the examples in ^ that site are alright. But certainly denormalized (or broken) in some cases.
@salathe I've been very busy getting ready for my trip to Switzerland in September; I should have some time this week to work on php.net though. That means perhaps I'll revert the menu on the right side.
e'ning
Good evening, Joe.
YoJoe
17:40
:)
Made some Onigiri earlier today. It's about the only thing I make and it tastes awesome. New rice cooker is awesome.
Also... awesome.
ordered sushi
... it will be here in 2 hours :'(
At least it might be fresh.
What did you get?
18:08
@Fabien 3 kinds of hot maki and one variation on philadelphia rolls
Philadelphia roll is delicious
Shame there's not a big prevalence of sushi buffets. Though quality would suffer.
dunno ... on the spot I can think of 5 places where I can order sushi from
and 4 of them are good ones
@tereško But buffets?
18:25
@Fabien No mistake in the shared code :) The dumb mistake is probably somewhere else
@PeeHaa lol. Had me rewriting it with a magnifying glass.
I dunno why it's doubling though. I doubt something like two instances of pgsql being listened to or something.

PHP For Novices

For all things PHP. Novice questions welcomed, don't ask to as...
New experiment, please direct novice questions / help vampires there.
how is it different from telling them to fuck off ?
It's more polite.
Problem is I don't want to sit in that room answering questions that they should be asking google.
18:48
@tereško If you don't want to answer, people there will.
That's the experiment.
@Fabien Apparently there are people still willing to do it.
So I figured, "meh, why not let them?"
If we're so hostile, and they're such saints, let them handle some of the crap :)
I'm almost more interested in seeing who does go there to answer questions.
I tried googling this (var equals to echo).
$user_first_name = echo ($row->first_name);
Can't find an answer.
Amazing.
Google needs to up their game obviously.
@Fabien ?
@RahulKhosla Try asking here
19:01
Thanks! :)
19:59
@Fabien See? It works!
0
Q: How can I handle more opened streams connection?

KevinI open 300 streams to my server. Then I create a thread which write data to each stream, and an other stream which read data. Normally (my server is very fast), I should handle 300 datas per second, but I'm stuck at 250. Why ? Main program : $streams = array(); for($i = 0; $i < 300; $i++) $...

> I should handle 300 datas per second
20:23
@JoeWatkins Yeh, those datas can be tricky
everyone outside the us: don't use gittip ...
user924016
=]
@JoeWatkins ...because?
@SecondRikudo lol yeah
@DaveRandom can't withdraw outside the usa
(seems extremely stupid)
20:28
That's pretty ridiculous. Do you need to? I can probably help you out there, although our #murican friends here could probably do it quicker
@amystephen @krakjoe @gittip One issue: can he withdraw the money? I know others in Europe cannot…
I closed the account there ... Amy Stephen tweeted encouraging people to donate to me using gittip (which was super awesome of her) ... it became apparent quite quickly that it's useless
you have an american bank account/address ?
no but I have family who would be fine with sorting it out
Actually I do have a canadian bank account
I assume it still exists
let me check
even that is a no I think, I think only usa, I can't check now, but it said United States of America and you couldn't change it to anything
that's pretty shitty. I wonder why they can't just deal with paypal directly?
Apart from the hell fires and the end of days, of course
I imagine that's enough ... there is mention that paypal doesn't officially support donations, so they are worried about tax or pp policy, not sure ...
that issue is two years old, so doesn't look like it's getting solved either ...
we should just do it better ...
20:42
I imagine the main issue is employing lawyers to hash the details out, something FOSS generally can't afford
I thought everyone on comp.lang were lawyers ...
that does suck though, still, you can't consider a project like gittip to be FOSS really, it's open source but it's a business, businesses need to afford lawyers and should be able to if they are making money, if they aren't making money then it's not sustainable and they aren't really doing anyone any favours ...
Huh, apparently CIBC closed my account as delinquent because it had a balance of -$0.04, which is interesting since they never gave me an OD or any form of credit being that I was on a temporary visa when I opened it
@JoeWatkins Yeh but paypal are actually evil and would ignore someone like that who is trying to do something useful and not bastardish
What can be in <img src="?"> What type of data src allows?
They're too busy wanking over node.js and fucking with my bank accounts by changing my default payment account without telling me
@VeeeneX A URI.
20:49
Only? @DaveRandom
In general that's either a path to a file, or a data: URI
> They're too busy wanking over node.js
there's a lot of that ...
And what about raw data
img
From Db
> or a data: URI
The data URI scheme is a URI scheme (Uniform Resource Identifier scheme) that provides a way to include data in-line in web pages as if they were external resources. It is a form of file literal or here document. This technique allows normally separate elements such as images and style sheets to be fetched in a single HTTP request rather than multiple HTTP requests, which can be more efficient. Data URIs tends to be simpler than other inclusion methods, such as MIME with cid or mid URIs. Data URIs are sometimes called Uniform Resource Locators, although they do not actually locate anythin...
So it allows raw data from DB like base.....
20:51
it seems you can actually use it with paypal
the faq says to email them to set it up ...
Or is there some free upload server?
:D
Although don't use mime_content_type()
Actually I suppose it's safe enough there
Ok I understand by i dont want to use my DB for this
For what?
I want my users to post img to some server like img is that possible?
20:58
Either you are embedding the raw data in the page or you are linking to the image on another server, you can't do both
@LeviMorrison no, compiling c code with a c++ compiler is impossible
due to void pointers mainly
only our headers are c++ compatible
@NikiC I thought you could do void pointers in C++?
user image
3
user924016
Thanks
You are most definitely welcome
user924016
Duu du doo dudu duu do
user924016
21:09
... =]
I'm surprised how well that works
user924016
Works every time
/worst cover ever
hahahaha :|
@DaveRandom you can't implicitly cast a void pointer
21:15
oic
That sucks a bit, why?
in c++ you use generics instead ^^
21:39
Schhhhhhllaaaand!
8
@AlmaDo insta-flag&ban!
:-)
@bwoebi 0

« first day (1366 days earlier)      last day (3808 days later) »