« first day (1481 days earlier)      last day (3693 days later) » 

16:00
@JoeWatkins how much does it cost?
Per year or total?
bit more than that, 11 and something ...
lots ...
that's for first four years, which gets me a foundation degree, not a masters, it's another two years and another 6k for a masters...
@JoeWatkins lol
@LeviMorrison thank you, I thought it was a joke worth making too ...
16:02
when you say "someone who can sign"...?
@ircmaxell Vouch, probably.
sooo unreasonable, I'll get list ...
@JoeWatkins that is freaking costly i have done bachelors and it cost about 900$ :) and i am doing LLB and it cost just 100$ LOL
ROTFL
These are common examples of people you might know who can countersign your form:
•
 Accountant
•
 Bank or Building Society Official
•
 Chairman/Director of a limited company
•
 Civil servant (permanent)
•
 Dentist
•
 Director/Manager of a VAT-registered company
•
 Engineer (with professional qualification)
•
 Fire service official
•
 Manager/Personnel officer of a limited
company
• Medical Doctor (must know applicant
personally)
• Minister of a recognised religion
• Nurse (RGN and RMN or holder of a BA, BSc
16:02
@obiNullPoiиteяkenobi Maybe if you're regular :-) Here it's $100 per year.
I pay $1000 for one year, 4+1, distance learning, so called.
here it's $15k/yr for a state school, $90k/yr+ for a private school
If it's worth it OK, but I doubt it.
@ircmaxell that is insane
@JoeWatkins Late to the party, what are you a student of? What for?
@Jimbo Pole Dancing
nah, Computing and IT Practice ...
@JoeWatkins Student, not victim
Ahhhh, nice, bsc?
As in... a degree?
@Jimbo yeah
@ircmaxell \o/ I'm also on the list github.com/… ;)
@JoeWatkins But you've already got the knowledge and experience, isn't that degree going to be merely an extremely expensive piece of paper?
@JoeWatkins you haven't done degree yet ?
16:06
how can i add php code in my bootstrap file ?
6
any one can pls help me
@user3233280 By typing it
badum tish
oh @PeeHaa
16:07
@Jimbo no, I'm extremely interested in it
@obiNullPoiиteяkenobi nope
it will be an expensive piece of paper, but I learn about stuff I will never work on in the real world, stuff I would otherwise not be exposed too ...
@user3233280 You need to kickstart the bootswatch to startify the initiaticator.
@PeeHaa damn, no matches for me
@JoeWatkins I practically bought that piece of paper... I wanted, but didn't get the chance to learn much... on the other hand, it's priceless, probably one of rare thing no one can take away from you for life.
You suck :P
@PeeHaa only password_* API calls ^^
16:10
No one asked me about college so far (work related), but it will probably be a big + when I'm old like @rdlowrey.
user895378
Meh, I haven't actually gotten any use out of my diplomas in years. Nobody cares. Not for any job I'd actually want, anyway. The education is what I found valuable ... the piece of paper certifying the education ... not so much.
If anyone's looking for a job: plus.google.com/+VicFryzel/posts/…
@rdlowrey Diplomas in the US are the same as degrees?
user895378
@Jimbo same thing yeah
It's called diploma here too. You get some title.. which doesn't mean much.
16:12
Here some MNC rejected my resume since i have done Bachelor's of computer Application not Bachelor's of Technology (and they wanted php developer ) :-/
@rdlowrey But, no paper === you're not opted for valuation. Agreed.
Here we have diplomas which you get from college, and degrees which you get from university
Isn't that the same thing :S
It's called Faculty here and it's after high school, 3+2 or 4+1 years.
College = 16 - 18/19 years old, for A - Levels or a diploma
user895378
Here college == university. They both generally refer to what you do after your K-12 education.
16:14
@rdlowrey Here that is called smoking pot but whatever...
lol
technically yes ... same course with only one difference BCA is for 3 year and Bachelor's of Technology is for 4 years
user895378
@PeeHaa ha, nice :)
And it's not even illegal!
@ircmaxell Probably way out of anyone's league here.
But who knows.
16:24
@ircmaxell I'd run straight to you… ^^ just need more real-world experience first I think ...
@bwoebi yeah, it's a fairly senior role to start with...
some of it looks interesting ..
@ircmaxell I got that too... So in 8 years maybe ^^ (after uni & 3 years working) but definitely not earlier…
my head draws a "this involves java" watermark on the page, I can't help it ...
it does
16:27
moo
Disgusting.
What, your face? I agree.
I am agree.
16:31
@ircmaxell I guess any job at google involved a fair amount of java, or just this sort of thing ?
no, that's not true
@bwoebi Just stop that uni nonsense and start doing actual work :P
Android is Java
yeah I think I've read other adverts I really liked the look of, they couldn't have involved any java ...
@PeeHaa Nonsense :-P
16:32
news.php.net/php.internals/78726 <-- that is an annoyingly good point
@DaveRandom You do realize there are lots of advocates against annotation-driven behavior in the Java community, right?
It's a bad idea.
I was happy to work on that patch, until people started saying crazy things about what annotations should do ...
@bwoebi Make money not degree.
@bwoebi Get a degree, any degree.
@PeeHaa He's young, he'll learn.
16:34
Hey!
Before you could specify types for returns and parameters, those were just annotations too, but were found useful to be implemented on a language level. Why are annotations any different?
@webarto money… that's something we don't know in our sphere :-)
@DaveRandom The "pave the walkway" approach is often annoyingly good.
So, I've been thinking about ways you could implement generics internally. There are two ways.
@bwoebi Well of course, unless you're well situated, then pursue thine dreams :-)
16:34
University is not very good for CS (in my opinion, based on several programs I've seen and heard about). So just get a degree and go to work in field.
1) Attach the type parameters to the object (makes everything complicated, slow, but it's memory-efficient)
@webarto not so badly ^^
@LeviMorrison I agree it is a bad idea and I don't like it, but I do concede that some people find these things useful and even necessary to make certain things work. I won't be using them, but I don't begrudge others useful things just because I don't find them useful.
I will probably abstain from any vote on it, tbh
@bwoebi Of course not, you're Luxembourgianish, was it called like that? :-P
@DaveRandom They do more harm than good. I am confident of that.
16:35
or perhaps better 2) Create specialised types on-demand (so, if I instantiate a Foo<int>, it creates the class "Foo<int>"internally)
@AndreaFaulds That's what C# does (IIRC) -- it generates a name-mangled non-generic version using the generic type args.
@webarto -ian and yes^^ … there exist also poorer people there
@DanLugg Interesting. I think it's what C++ does at compile-time, too.
I think C# does it JIT
Quite possibly.
16:37
C++ does it per compilation unit, which doesn't play nice when using the same type from two different units. We could potentially have the same issue because of opcache. It may be different enough we wouldn't have issues; I don't know.
On a different note: Argh, there's an RFC and people are suggesting we make json_encode add a .0 to floats when encoding them D:
@bwoebi Aren't there only like 3 people in the whole country? You couldn't fit many more in...
@bwoebi You youngsters should disregard currency and acquire knowledge, you'll make it up with Google salary ;-)
@DaveRandom yes, 3 * 1.5e5 :-P
Are they stacked vertically or something?
16:38
@LeviMorrison Oh, I was assuming I'd make the classes at runtime. Opcache would just have the generic version.
20
A: How do generics get compiled by the JIT compiler?

AniI recommend reading Generics in C#, Java, and C++: A Conversation with Anders Hejlsberg. Qn 1. How do generics get compiled by the JIT compiler? From the interview: Anders Hejlsberg: [...] In the CLR [Common Language Runtime], when you compile List, or any other generic type, it...

@DaveRandom no ^^
Foo will already be defined as generic<T>, so you don't need to create any Foo<Int> type, you create a Foo instance and set the template from declaration to Int ... also, we can't really have Int, guess just bad example ...
@JoeWatkins That's the first approach. It makes things more difficult, though.
how so, it seems like the obvious approach to me ?
16:40
@AndreaFaulds that's not what Java does tho.
@ircmaxell Yes, Java erases the types.
@AndreaFaulds bukka seems to be entirely missing the point about the flag, he's still insisting it will be useless if it gets made into the default behaviour :-/
the patch to make this work isn't that hard, apparently, according to Niki it's quite hard to get right, so I didn't bother doing a patch ...
because if something is hard, it's not worth doing ... a great man once said ...
16:41
@JoeWatkins It makes all the types in the class dependent on the object...
> Programming experience in one or more of the following languages/platforms: Android, Java, iOS.
Which sounds easy, but I'm not sure if it actually is
hm, bye bye google
Google <3 Java
@FlorianMargaine Hello Facebook :-) Not for me, but like Joe, Bobby, Niki
16:42
Shame Google didn't acquire Sun instead of Oracle
I really want to reply to someone's post "Bitch, where's my money?"
@AndreaFaulds yeah :/
since they owe me over $1500...
@AndreaFaulds ♬ We had joy, we had fun, and then Oracle bought Sun...
7
@ircmaxell I imagined you as Stewie.
16:43
I don't think it's so hard to do it that way, but seeing people argue the toss about adding 12 bytes to a function entry I do wonder how we can do anything without adding some overhead to classes ...
@DaveRandom LOL .. you funny sometimes.
@ircmaxell Respond with "Bitch, where's my money?"
@ircmaxell you should do that ... because I'm nosey ... and want to know who you are talking about ...
@JoeWatkins Funny how we squabble over making function entries larger... Have you SEEN zend_class_entry? Holy shit.
16:45
indeed, but an op_array isn't a world apart ... I guess there are more functions than classes, but still ... we do squabble about silly things ...
@JoeWatkins He didn't measure performance impact of those 12 bytes. Sometimes more memory means faster. It must be measured if you care.
If you don't care, then embedding is easier to work with.
I was gonna generate some assembly to test his assertion, I watched the irc conversation ... then I decided not to because I couldn't be bothered ... if he cares, he should measure ... I don't care that much ... but it sets a stupid precedent ... also, I'm doing four other things today ... maybe I will test ...
Yeah, no rush Joe.
We are going to talk more; I'll be sure to CC you so you can be aware of the conversation.
I'm far more concerned about clarity and semantics than saving 12 bytes ^^
16:48
indeed, we discussed the hell outa it ...
Also, @JoeWatkins creating a specialised class is probably faster
You only do the substitutions once.
dmitry is quite brilliant ... however, he can be quite adept at ruining nice patch in the name of some unwritten folklore-ish practice from deep within php ... that you couldn't justify elsewhere ... like nowhere ...
Yeah, he's in like hyper-savings mode.
Yeah... :/
you can see why, we can forgive it ... but assertions should be tested ...
16:51
When a struct is padded, what is it padded to?
What boundary?
@JoeWatkins PHP has folklore?
@LeviMorrison arch dependant
Data structure alignment is the way data is arranged and accessed in computer memory. It consists of two separate but related issues: data alignment and data structure padding. When a modern computer reads from or writes to a memory address, it will do this in word sized chunks (e.g. 4 byte chunks on a 32-bit system) or larger. Data alignment means putting the data at a memory offset equal to some multiple of the word size, which increases the system's performance due to the way the CPU handles memory. To align the data, it may be necessary to insert some meaningless bytes between the end of the...
Hmm... inb4 Dmitry says we should drop double support on 32-bit so we can shrink zvals down to 64 bits :p
The difference between 'good' C coders and 'bad' C coders: both will skateboard on the rail of the Eiffel tower. One just won't fall.
So the struct might not get padded at all, given that the pointer is first and the uint32_t is second.
@AndreaFaulds we could already shrink it to 64 bit if we wanted ;)
@NikiC Huh, how?
Pointer magic, reserving upper bits for flags?
@AndreaFaulds nan tagging
@NikiC hm?
17:02
Please don't ^^
It's certainly interesting, though.
@AndreaFaulds basically, there are \approx 2^52 unused double values
@NikiC Ah, right, because special exponents
That's enough to store anything (including 64-bit pointers) ... apart from 64-bit integers
@VeeeneX: Why post a screenshot of a webpage?
@AllenJB Why not?
:D
17:06
can i call js function from php ?
@user3233280 What do you mean by "call"?
@user3233280 How do you think that would work? What do you suppose the process would likely be?
@DaveRandom I'd expect it to behave the same as copy-and-pasting the array's contents in. So if it currently errors for that, it should for ...
@user3233280 PHP code runs on the server, JS runs on the client. So, not really, no.
@DaveRandom I'd expect it to behave exactly as array_merge
Yeh I think basically everyone thinks that except @Leigh and Rowan :-P
17:07
I.e. reindex for integer keys, overwrite for string keys
Everything else (like the + behavior) is totally useless
I don't think it should match array_merge as, then, the syntax would be misleading.
nope, it wouldn't. It would be perfectly consistent with argument unpacking
Argument unpacking will reindex integer keys, but keep string keys intact (with named params)
In master, we overwrite for string keys.
So, the array_merge behaviour is the one I expect, then, as it happens to match what we do in declarations :)
> I'd expect it to behave the same as copy-and-pasting the array's contents in.
^ this is what I expect
@DaveRandom no, you don't
in that I wouldn't declare the keys of a list
ok, then you do ^^
17:12
:-P
btw, if I write [1 => 1, 2, 3] does that make the array "associative" in this context?
/me will just go and see what array_merge does
So, well, yes [1, 2, 3] is syntactic sugar for [0 => 1, 1 => 2, 2 => 3]... so you'd have to reindex. (Not a reply to @DaveRandom's last message)
gdi PHP
Regardless, the correct behaviour is just to do what array_merge does.
@DaveRandom Haha what the fuck wait that makes sense
@NikiC how strikethrough
---text---
17:17
s/internet/PHP
@DaveRandom Thanks. Why is it three? D:
@DaveRandom stupid markdown
@TheodoreBrown func_get_args is better since not many people have 5.6 yet, sadly
@AndreaFaulds Well, it does and it doesn't. It does make sense if you know how PHP arrays are implemented underneath, it doesn't make logical sense to me, I think that, practically, anything that's not contiguously indexed and 0-based is not a list.
@DaveRandom Yeah, we should probably treat that differently
Bear in mind that numeric keys != list intended
Since we cast string keys to ints if they can be casted
17:21
Yeh that's what I mean, it makes sense if you know that
But when you consider than stuff like array_shift, array_splice etc always leave you with a 0-based list, it seems like that and only that is the thing that should be treated as special
@LeviMorrison :-/
@LeviMorrison I'm not keen on that either
(to me, but what do I know)
@TheodoreBrown ...wait... why do you need to accept multiple args?! There's only two params: to_int($foo, 2); - it's not a series of defaults.
>Having performed an extremely unscientific (but I think reasonably fair and
unbiased) straw-poll of a few people today, I can tell you that the general
expectation of everyone I have spoken to about it is that it would work the
same as outlined above.
Hah.
17:25
function call from php
@user3233280 to javascript?
darmok and jalad at tanagra
His eyes OPEN!
yes
@a.saleem
@user3233280 i sent you the link before? isn't you are looking for?
this is not working
17:30
@AndreaFaulds Because the second argument is completely optional, without a default value.
@TheodoreBrown No no, why does the function need to be varia- oh, I see what you're saying.
Hmm.
else
{
//user is new
//echo 'Hi '.$user_name.', Thanks for Registering!';
debug_to_console("user registered");
/* echo '
showAlert("PLEASE REGISTER FROM ANY ANDROID DEVICE AND THEN TRY LOGIN ");';*/
echo '<script type="text/javascript">';
/* echo 'function showAlert()';
echo '{';
echo 'alert("pls register from device")';
echo '}';*/
echo 'showAlert();';
echo '</script>';
unset($_SESSION['token']);
$gClient->revokeToken();
header('Location: ' . filter_var($google_redirect_url, FILTER_SANITIZE_URL)); //redirect user back to page
i m using this but this is not showing alert
@TheodoreBrown Have it default to NULL but check the number of arguments, maybe?
@user3233280 Pro tips: 1) use a pastie service for walls of code 2) format your code using ctrl + k 3) jump in and out of "php mode" instead of whatever it is you are doing now
func_num_args()
17:32
@AndreaFaulds That's a good idea, I didn't think of that.
@TheodoreBrown Something like this: function to_int($value, $default = NULL) { if (func_num_args() > 1) { ... return $default; } else { ... throw new CastException(...); } }
@TheodoreBrown It just seems more elegant.
@AndreaFaulds And clearer that it accepts two arguments.
Yep!
Though you'll still need to clarify that if the second parameter isn't passed, it does not return NULL
@AndreaFaulds I will definitely document this.
@user3233280 try to close the php tag and call the javascript? dont put javscript within php code just try it?
17:36
@AndreaFaulds Is there precedent in PHP for optional parameters without a default value? How would this be documented on PHP.net?
@user3233280 You commented out the definition of showAlert...
@TheodoreBrown Yes, internal functions can have them. I'm sure it could be documented somehow in the manual, probably like this: mixed to_int ( mixed $value[, mixed $default ] )
Later Dave
@user3233280 Yes.. @AndreaFaulds comment is Correct
17:39
still not working
@user3233280 uncomment the definition of showAlert
:/
@user3233280 put the code here you have tried now..
else
{
//user is new
//echo 'Hi '.$user_name.', Thanks for Registering!';
debug_to_console("user registered");
/* echo '
showAlert("PLEASE REGISTER FROM ANY ANDROID DEVICE AND THEN TRY LOGIN ");';*/
echo '<script type="text/javascript">';
echo 'function showAlert()';
echo '{';
echo 'alert("pls register from device")';
echo '}';
echo 'showAlert();';
echo '</script>';
?>

<?php
unset($_SESSION['token']);
$gClient->revokeToken();
header('Location: ' . filter_var($google_redirect_url, FILTER_SANITIZE_URL));
Well, that should be working.
Assuming that else branch is taken
Have you tried using View Source to see if the JS was actually outputted?
@user3233280 what exactly the output it shows any error?
17:43
no
trying to see console
@user3233280 okay look into console.
no error
@user3233280 then look at View Source
@user3233280 but everything you did in the code is correct
?>
may i need to close php tag before starting js?
17:46
you're using echo...
yes
please
you could close the PHP tag but it is not what is wrong with your code
Also, please, what does View Source show?
can someone conect with me with tv ?
@user3233280 Ask your cable company
hummmmmmm
17:49
@PeeHaa You're trying to be funny, but I'm pretty sure @user3233280 means TeamViewer
yes @AndreaFaulds
its little problem but dnt know why its creating problem
Please show what View Source shows
@AndreaFaulds You're just too patient...
@PeeHaa I'm not patient, this is getting frustrating
17:52
@user3233280
i dont know whether will this work also .. atleast showing error! i am looking for
if($var)
{

}
else
{
//user is new
//echo 'Hi '.$user_name.', Thanks for Registering!';
debug_to_console("user registered");
/* echo '
showAlert("PLEASE REGISTER FROM ANY ANDROID DEVICE AND THEN TRY LOGIN ");';*/
?>
<script type="text/javascript">
function showAlert()
{
alert("pls register from device");
}
showAlert();
</script>
<?php
unset($_SESSION['token']);
$gClient->revokeToken();
header('Location: ' . filter_var($google_redirect_url, FILTER_SANITIZE_URL)); //redirect user back to page
20 mins ago, by PeeHaa
@user3233280 Pro tips: 1) use a pastie service for walls of code 2) format your code using ctrl + k 3) jump in and out of "php mode" instead of whatever it is you are doing now
I give up
@AndreaFaulds C'mon don't give up now!
@PeeHaa :-) i think he will out by now haha..
17:53
@ircmaxell :-)
@user3233280 what happened :-)
Oh god.
@ircmaxell So, you know how I'm writing a JS backend for Recki-CT...
@ircmaxell Well, there's that V8 extension for Zend PHP...
@ircmaxell So, to accelerate your PHP functions, you can use Recki-CT to compile them to JS, then run them in V8... within PHP!
inb4 someone slaps me
@PeeHaa mov msg, bin
@AndreaFaulds /me slaps @AndreaFaulds
still no luck @a.saleem
18:03
@ircmaxell :D
@user3233280 are you using tv version-8
What do you guys think of Amazon's login for, as far as UX? They combine sign up with log in, single form.
no tv 9
@a.saleem
18:11
@user3233280 that's unfortunate
what happened?
u have 8
It was cracked now… Can you too?
what happened?
3
A: Unscramble the Source Code

bwoebiPHP, size 23 [Cracked] Code echo@$b=$b.$c,$c=$c.$c; Output bbbbb

u have 8
18:12
@user3233280 yes
@a.saleem
@user3233280 yes i have tv-8 version
can u coonect with version 5 /
?
I am off, laterz
@ircmaxell Mah life, erryday.
18:14
@user3233280 i dont think so, but let us try ! send your ID & Pass
@a.saleem
@a.saleem
@PeeHaa I always say "jump in and out of 'php mode'" too, is there a better term for this?
@a.saleem
@user3233280 put your tv5 id & pass
@DanLugg I think that is the term to rule them all
18:16
Yea, it's mentioned in the docs like that too, IIRC, but it just sounds wonky.
As though there's a better term.
Yeah. Not sure what would be better though
@a.saleem
id: 443 029 452
pswd: 4817
trolololol
muahahha
yeah about that: pro tip 4) don't share that stuff and get a room
^^ Just made them one.
I saw ;)
18:19
@user3233280 just a min
I'm going to get something to eat. Cya all laters
@user3233280 could you pls update Tvversion 10
18:42
Hi, there is a hard question, please notice: stackoverflow.com/questions/26763424/…
But not a php one.
user924016
hehe
May be someone had error Redis client: node_redis: no callback to send error: WRONGTYPE Operation against a key holding the wrong kind of value
@a.saleem stupid person u took my tv id and pswd and put stupid messages here by using my id
trolololol
muahahha
Can't say we've encountered too many Javascript errors in our PHP code.
18:44
and tried to create virus in my system
Lol
its really very bad
and asking me to update tv
i asked from admin pls delete mesages of my tv id and pswd from here
Just delete it yourself
Or share your ip so we can have fun too
u all guys are here for fun not for educational purpose
Yet you are still here
Even after somebody "created a virus" on your mch8ne
18:49
has this room become a telecommunication helpdesk O_O?
I'm here for cake, and kittens
3
I'm here to update my TV.
It doesn't have all the channels I want.
I aas hoping to get some beers here
hehehe
TVs need updating now? Damn kids
18:50
Upgrade the downsock over the teletype route tracer, and make sure you backtab the deep space.
@DanLugg you would go far in tech support ...
lol
@JoeWatkins Try turning it on and off again... yea I know what I said.
@user3233280 can I help you?
leave it
will never give tv or skype
18:54
What's a skype?
hopefully a kind of pie
@user3233280 dude how in the world did you think you would get support here about your tv?
"Would you like some tea and skype?"
"Tea, please, but no skype thank you, I filled up on twitters earlier."

« first day (1481 days earlier)      last day (3693 days later) »