« first day (1777 days earlier)      last day (3171 days later) » 

5:00 PM
@PeeHaa Probably not.
 
@kelunik lol, yep. But I find it abit scary that a package with the type of composer-plugin is executed right after install, I think it would easy to obfuscate with a couple of classes to make it look like a normal package
 
I hope everyone will one day look back at this decision and agree it was the wrong choice.
 
@RonniSkansing Oh, when you set the package type to composer-plugin, everything works fine?
 
/me is out, lata
 
5:01 PM
Try the sudo require I mentioned
 
@LeviMorrison to use a dual exception system? yeah… but some most people probably will just remain blind and get so used to the new system so that they don't realize the issues.
 
@LeviMorrison Nope probably not :P
 
It will rm -rf / =p ...
(not really)
but it has the sudo rights and is executed right after it is installed (has access to all the hooks which where offlimit for a non root composer file) and before the next is installed
 
bash: sudo: command not found, oops. :P
 
@RonniSkansing for the nth time, rm -rf / doesn't do anything
 
5:06 PM
--no-preserve-root [I believe that's what it was called]
 
anyway… I prefer rm -rf /*
 
[InvalidArgumentException]
  Could not find package skansing/composer-plugin-test at any version for you
  r minimum-stability (stable). Check the package spelling or your minimum-st
  ability
 
@kelunik ah sorry, I forgot to add a stable version, as it was just for testing add this to your root composer.json
{
  "minimum-stability": "dev",
  "require": {
    "skansing/composer-plugin-test": "dev-master"
  }
}
 
All settings correct for using Composer
Downloading...

Composer successfully installed to: //composer.phar
Use it: php composer.phar
lol
 
Abe
5:08 PM
@Danack i worked on that for months, as experiment. i was having a huge series of types from "8 bit signed integer" to "64 bit signed non zero". total madness. but i had to try. it simply doesn't work. int has too many child types and they overlap so you can't properly model them. but most importantly you end up converting types all the time. imagine having to write sint64nonnegative($sint64).
java solved this partially with unboxing and autoboxing magic, but it is still shit. i would like my {NonNegative} stuff more, which is useful for everything about oop too, like DDD
public function checkIn(User{CanCheckIn} $user){
    // ...
}
 
@RonniSkansing It didn't abort...
 
Hmm it does here
 
> which is useful for everything about oop too, like DDD
 
did you sudo =]
 
@Abe Really.....I would have said not because the errors occur in the wrong place, and allow for 'invalid' entities to exist - which is just wrong.
 
5:12 PM
@RonniSkansing Well yeah, it aborts with composer require, but not with composer install.
 
@kelunik this is what I get =]
$ cat composer.json
{
  "minimum-stability": "dev",
  "require": {
    "skansing/composer-plugin-test": "dev-master"
  }
}
vagrant at vagrant-ubuntu-trusty-64 in /vagrant/projects/PHP/composerScripts/test-plugin-composer
$ sudo composer install
Loading composer repositories with package information
Installing dependencies (including require-dev)
  - Installing skansing/composer-plugin-test (dev-master 339e9f1)
    Cloning 339e9f1f3e5f2754926cbd60a94b204298ba1d9b

Aborting Sudo not allowdvagrant at vagrant-ubuntu-trusty-64 in /vagrant/projects/PHP/composerScripts/test-plugin-composer
sorry bout the wall, I will pastie next time
 
Shame on you :P
 
Abe
@Danack what do you mean? lost you here
 
=p
kelunik I guess sudo whoami does not give you 'root'
 
It works now, deleted vendor and composer.lock, fine. :-)
 
5:14 PM
=]
so who is going to package the most wanted laravel-feature-x =p
 
laravel-uninstaller-plugin. :-)
 
@Abe If you have something that requires a value to be NonNegative, then encapsulating it in a class NonNegative extends int {...} and then using it as public function offsetGet(NonNegative $offset){} means that the offset entity can never exist in an invalid state.
 
laravel-backup @kelunik
 
If you're calling it with the checking done in the call like public function offsetGet(int{NonNegative} $offset){} then offset can exist, as an invalid value.
Which is bad.
For DDD. Not everything has to use DDD, but as I said, I can't see how the syntax you're suggesting is useful in that context.
 
Abe
@Danack ok got you. but how else would you solve it? also, i don't consider them invalid entities. it's like new EmailAddress("foo@example.org") being a valid entity and a method requesting only an address that has a whitelisted domain: function setEmail(EmailAddress{NonBlacklistedDomain} $email)
 
5:17 PM
/pun intended
 
@RonniSkansing It's root, just used a docker container for it. :P
 
awzomsauce
 
(and didn't look at the source before) ;-)
 
"but how else would you solve it?" everything that has 'business' rules associated with it is a type - and it's okay to have lots and lots of types. A specific one for each rule. e.g. AgeOfPerson, must be >= 0, must be less than 150.
 
@RonniSkansing clean-code? :P
 
5:19 PM
lol, artizan-speed-optimizer-seo-clean-code
 
Abe
it is just a check that otherwise you would do manually implemented as language feature and strictly forced by signature compatibility ( like you provide an interface and you also provide validators that would enforce the contract) @Danack
 
you should also mention microservices and cloud
 
kelunik next thing I need to check is if I can package of another type, like email-sender, change composer.json to type composer-plugin after a few commits..
 
cloud-microservice-middleware
 
middlewareaware pls
 
5:22 PM
@RonniSkansing Yes, that's already something I thought about.
 
@kelunik =] well you started this
 
@Abe Ok. I just don't like having error detection in arbitrary locations in a code-base, leading to errors being possible literally anywhere in the code. Having the validation done when objects are created, and then types enforced by type-hinting parameters, allows for applications to use static analysis to show that they at least don't have invalid type problems.
 
@kelunik
I changed the type to "friendly"
try it out, still sudos for me
wait no, thats my cache
Yea, it needs the type
 
Doesn't composer install also use autoload-dev?
 
@RonniSkansing But the type is changeable later?
 
5:31 PM
@kelunik changing it back 1 min
 
I mean it should according to the docs, but travis cannot find my classes travis-ci.org/CodeCollab/Router/jobs/77718487
 
Abe
@Danack i suggest you to read the design by contract rfcs if you didn't yet. what i was suggesting the internals post is simply named expressions (so that you can reuse them, "NonNegative" rather than "$p >= 0"
 
@PeeHaa maybe, but autoload-dev is only used in the root compsoer.json , the rest are ignored
 
It is a root only directive, but I am running it from the root package
 
"writable" vs. "changeable", why's there a difference?
 
5:32 PM
'Merkins
 
english is a lot like php - not so much designed as thrown together based on what people were already doing
 
Abe
@JoeWatkins whenever you want to discuss dbc ping me. i like it a lot :P
 
@PeeHaa Mocks vs. mocks.
 
Óh wow. That is embarrassing :P
WTF that shouldn't even been in that directory at all
What was I thinking?
Thanks @kelunik
 
@kelunik yes priviliges comes back
 
5:36 PM
@RonniSkansing So we can create a useful library and then just kill all the projects using it on upgrade. :P
 
yes
atleast those whom sudo
 
Anonymous
wow too many rebecca today
 
Well, you can kill the projects either way, except composer is only allowed to write to the composer directory and you always execute it with it's own user. Maybe I should alias composer with sudo -u composer composer and make composer the actual owner of vendor.
 
kelunik or you worm your way into their composer.json and let it spread
oh yes, yea, I didnt even think of the non-sudo stuff
 
with sudo you can actually kill the whole system...
 
5:40 PM
ya know, we should just stop using PDF files :( this shit never ends: rapid7.com/db/modules/exploit/multi/browser/…
 
@RonniSkansing yeah, just let it check whoami === seldaek and push an update to monolog. :P
 
lol
/me portals to another chat
 
Abe
@Danack i'm sorry if sometimes i sound arrogant, it's not in my intentions :P it's just my poor english. though: i.imgur.com/c4BPZiQ.png this sums up what i think of extending int :D
 
6:05 PM
@Abe Most of those things are just implementation details - why do you care what size an int is, so long as it's got enough space to store the possible values? And actually what do you mean "most importantly you end up converting types all the time."? That doesn't happen in DDD......or most PHP code.
 
6:19 PM
 
6:36 PM
hmm ... the R9 Nano is using the HBM memory
that's kinda cool
 
hi all
 
How do i get SQL query after binding? I did $statement->debugDumpParams(); nothing return
 
Anonymous
6:53 PM
@NSGod do you ever rtfm?
 
Is too long lol
 
@NSGod There's a search, you know?
 
Hey there from the airport!
 
@ircmaxell 12 hours stop, right?
 
I did my search
 
6:57 PM
haven't even taken the first leg of the trip!
My first flight is in 1 hour
then a 3 hour layover till the net one
 
I hope you have a good audiobook :)
 
nah, a bunch of good digital ones tho
 
well, that will have to suffice, I suppose
 
not much of a choice
then again, first 6 hour flight is in business...
 
I remember such long flights to be a bit exhausting… (Though, last time was two years ago from Lux to London, to UAE, to Australia) … It amounted to like a 20 hours flying with about 25 hours total.
 
7:08 PM
yeah, takes a lot out of you
 
and well… that was economy class the whole trip… Sitting quietly there with not a lot of room to move :s
so, totally can understand you when you love business/first class^^
@ircmaxell what's up in Auckland that you take this flight?
 
I'm speaking at a conference in Wellington
 
quite a heavy trip for a short talk :o)
 
Anonymous
@ircmaxell Will there be a video of this on Youtube?
 
TIL: mysql natively supports JSON Not sure if I should be very, very scared…
^ this would be a nice Rebecca headline too… ^^
 
Anonymous
7:26 PM
@bwoebi Why should you be scared?
 
I'm not scared about either, just about the combination of both…
 
@bwoebi they even have a native rest api blog.ulf-wendel.de/2014/mysql-5-7-http-plugin-mysql
 
@bwoebi a data type for when you don't want to think about your database design, but want to make it look like you did
 
@PaulCrovella yeah, that.
@staabm I had read that, but never heard about it again.
 
Anonymous
@tereško Is there anything other than port forwarding involved in using workbench to connect with mysql server?
 
7:30 PM
Sounds like a really good idea to expose mysql directly to your frontend...
 
Anonymous
Can someone explain why php by default is made to to throw errors like this?
 
Anonymous
Warning: session_start(): open(/var/lib/php/session/sess_e3k90htmjn6njma38ch6glpkm0, O_RDWR) failed: No such file or directory
 
@samaYo not really. And only reason why you even need port forwarding is because letting users to log in from "not localhost" is kinda .. emm .. unwise
 
Anonymous
It seems to me, PHP should be able to create the dir at first
 
@samaYo Maybe it can't because it doesn't have permission to
 
7:33 PM
@samaYo should that go in /tmp .. or maybe /tmp/sessions ?!
 
Anonymous
@AllenJB I gave 777 to no avail
 
Anonymous
I kinda like it, that the dir is in /var/lib/php/sessions even though /tmp is appropriate since sessions are temporary files, ..
 
yeah .. it's in "libraries" subdirectory
 
It's up to the packager to select package defaults for the distro. Also, best practice says each application should set its own session save directory anyway
 
Abe
@Danack imagine you have "SInt64(25)" and method is asking you for "SInt64NonNegative". 25 is within that range, but type is wrong, so you need to "SInt64NonNegative(SInt64())" and you are forced to do this kind of type switch just too many times, even if you did the hierarchy right (ie: you will always be forced to cast from "more generic" to "more specific" type, whenever needed) not sure if i'm being clear
 
7:36 PM
though, why there even is "libraries" dir inside "variable data" dir, is also a strange thing to behold
 
nobody ever reads man hier
 
While we're at it, why are config files, init scripts, terminal profiles and crontabs all thrown into one big pot called 'etc'
 
Anonymous
If php was as sweet and easy to compile from src as nginx is, I would never touch anything from webtatic, remi's RPMs
 
@PaulCrovella this is why I say away from linux
 
PHP is easy to install from source - "emerge php" - job done! =D
 
7:39 PM
@samaYo come to the dark side
 
Anonymous
@tereško closer than you might think. I installed one yesterday.
 
@samaYo if you like installing stuff from source, you would love using ports
 
Anonymous
Though kinda sad, I am abandoning all my sites, activity of web development.
 
Anonymous
@tereško I have installed everything from src, in the past.
 
Anonymous
Though a really PITA experience.
 
Abe
7:42 PM
@samaYo ?
 
git clone git@github.com:freebsd/freebsd-ports.git /usr/ports
cd /usr/ports/lang/php56
make install clean
 
@samaYo PHP isn't that hard to compile, but the start might be if you're not used to compile from source at all.
 
@Abe None of the code I have written in the past 5 years has needed to care about SInt64NonNegative vs SInt64 and I doubt any I will write in the next 5 years will either. I don't believe converting between types like that is anything to do with (sane) DDD.
 
Anonymous
@kelunik I know, I just have a crappy laptop so it takes 20min for 5.6+ (with success). With PHP7 though something always goes wrong. Never compiled it from src. I just use webtatic
 
20 minutes, really?
 
Anonymous
7:46 PM
@kelunik yeah, mariadb takes even way more.
 
Anonymous
to load a symfony page takes 5-8 seconds.
 
@tereško actually, /var/lib/ makes sense… the var files of the lib (the PHP/session lib)?
 
Abe
@Danack it is just an experiment. and that wasn't about DDD. but DDD would take advantage (read: shorter, more expressive syntax) with that kind of co-typing/validation
 
Anonymous
@kelunik Do you use homebrew to mange your php versions?
 
@samaYo Nope, phpenv, but with manual installation
 
7:50 PM
@bwoebi it still should start from /tmp
 
Abe
it doesn't add nor changes anything. it is just a stricter constraint for signatures/additional validation for checks we often do
 
@tereško I absolutely don't disagree… just noting that /var/lib/php/session is not that wtfy.
 
@bwoebi /var/tmp/ maybe, but definitely a tmp directory.
 
Anonymous
^
 
Anonymous
dev/null :D
 
7:57 PM
@samaYo How old is that laptop? That's from a full download + buildconf + configure + make on my VPS:
real	7m39.189s
user	5m45.858s
sys	1m42.050s
How important is I/O for make (SSD vs. HDD)?
 
Anonymous
@kelunik this one I bought it in 2010.
 
@kelunik It's a significant difference. Don't remember how much, but definitively very significant for php-src.
 
Anonymous
Although mine is 280GB not 320
 
Anonymous
I will buy an external disk in a week to save the data and format it, I might gain some speed and loose significant amount of fan noise.
 
Also, compiling things like PHP on anything but a fast machine is a nightmare… I truly don't want to wait more than one hour on a raspberry …
 
8:02 PM
@bwoebi What's fast for you?
 
@kelunik If you need less than 10 mins for a non-debug build with everything…
 
Anonymous
4-5 minutes could get me high, literally.
 
@bwoebi I don't know how long it takes with everything enabled on my notebook.
@samaYo ~4 minutes are what I get with my minimal configure, minimal as it runs PHPUnit with all its dependencies correctly.
 
Abe
@Danack grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/…
interface List...{
    public void add(int{AddableIndex} atOffset, T element);
    public T set(int{AddableIndex} atOffset, T element);
    // ...
}
other than it is shorter to write, there's difference is that it is specified in the interface and part of the signature. imperative vs declarative
cc @JoeWatkins ^
 
Anonymous
@kelunik What is your build? Is it on laptop?
 
8:11 PM
 
Anonymous
@kelunik I meant, what is your laptop spec? Are you on Mac?
 
Anonymous
@kelunik very good alternative to the Dell XPS 13
 
But I still think a 1080p display would have been better.. Anyway, as long as I'm at home, I use an external monitor.
Dell XPS is a good alternative, yes, but it doesn't have a docking station.
 
Anonymous
8:22 PM
Yeah, unless you do most of your work without external monitor, it does not matter much. As for the XPS, I only liked the fact that it has a very long battery life, its very light, and the design is awesome.
 
Anonymous
The moment I get a job, I'm buying it definitely.
 
ThW
8:38 PM
@samaYo I would never get a clamshell notebook again, convertibles are a lot more useful.
 
Anonymous
clamshell notebook?
 
@ThW convertibles still are too heavy… you always want to put them down because their weight… meh…
 
@ThW Most of them have crappy keyboards and / or are too heavy.
 
when I can hold a convertible just as lightly as my phone, maybe. But not today.
 
ThW
I use an external keyboard at work (so that picture is not up to date)
It is about 800g
 
8:46 PM
Yes, I said most of them. But I don't want to use the Surface while traveling without an external keyboard for work.
 
@ThW 300-400 g would sound more appealing
 
ThW
@bwoebi It is still a pc, I think that will take some years.
 
Anonymous
Maybe it's my utter lack of knowledge, but I am not convinced SP3 can be as good as a laptop with equivalent spec.
 
@ThW Does the surface run normal Windows now or still some RT thing?
 
ThW
@kelunik The type cover is not a bad keyboard. For me it is more comfortable then the mac desktop keyboards.
 
8:53 PM
Not a very high bar there.
 
ThW
@kelunik Standard Windows 8.1 or 10, the pro series always did.
@Danack :->
@kelunik Look at the last picture - it actually is my work machine.
 
@ThW Just switched rooms to test a Mac keyboard, ugh, they're bad..
But TBH, I thought my X1 keyboard was good, then I got used to my external mechanical keyboard...
 
I would appreciate anyone who has some spare time to review this answer and if they so choose upvote it:
1
A: How do I declare a 2d array in C++ using new?

Levi MorrisonThere are two general techniques that I would recommend for this in modern C++11 and above, one for compile time dimensions and one for run time. Compile time dimensions Use a std::array of std::array and then use new to put it on the heap: // the alias helps cut down on the noise: using grid ...

 
I honestly, genuinely hope something unpleasant happens to whoever came up with the idea of local loop unbundling, it has genuinely set the delivery of high-speed copper connections to remote locations back several decades. It actually makes me a little angry, I mean hindsight 20/20 and all, but the whole concept is so obviously shit that I don't understand why anyone thought it was a good idea, all it ever accomplished is to make work for people
 
@kelunik Is my keyboard really that bad? :-P You're just not used to them ^^
 
8:59 PM
Other feedback on it is also welcome.
 
</rant>
 
Anonymous
@DaveRandom Gotta do anything to make the economy going :D
 
Anonymous
not that I know anything about local loop unbundling :)
 
@bwoebi Mac keyboards are all too small and make me feel like a giant using a toy computer, and then I see the huge hulk of a thing in front of me and assume that a computer this large must be designed for a bigger giant than me, then I go cry in the corner for a while.
Maybe that's just me, though
 
@bwoebi Yes, key travel is way better on my external keyboard (obviously). To have a better test, I'd probably have to test it for a longer time.
 
ThW
9:03 PM
Have you seen the news for the LG mobile keyboard?
Looks interesting
 
@samaYo It is a very old (essentially commercially-driven) concept designed around a telecommunications infrastructure very different than the one we have today, and I reiterate that it may have seemed like a better idea if I didn't know what we have now, but it is seriously hindering the deployment of modern technology to the masses, especially in the less urban areas of western EU and southern US.
So err... yeh... #FirstWorldProblems
 
@ThW nope, do you have an article?
 
@DaveRandom You go live in a first world country already
 
@PeeHaa But... but... but... I like having the consumption and living in a castle and referring to everyone as "fair knave" :-(
 
9:08 PM
@ThW Yeah, that might be interesting as travel keyboard for tablets and phones. :-)
 
@DaveRandom and you're not scared off by these large keyboards? which need a giant to use ;-D
 
btw, not really related to that but reminded me of children's movies, everyone go watch Inside Out, it is awesome
 
@DaveRandom Yes Inside Out is cool
 
And watch the end credits because the as always, the "outtakes" are also awesome
@PeeHaa Genuinely, there are only two upcoming movies I care about atm, Finding Dory and The Incredibles 2
(I am a huge not-so-closet Pixar fan, btw)
 
First time I've heard about finding dory. /me googles
 
9:10 PM
summer '16 iirc
incredibles 2 2017 some time
 
Oh cool new finding nemo thing
 
Anonymous
Whenever a good movie gets released I spend so much time, thinking how I should watch it. I want to be as relaxed and comfortable as I can be, if not .. I can't watch it.
 
@tereško I understand, workbench is the best :|
 
@Sajad what happened?
 
Anonymous
@DaveRandom I would recommend filth in return.
 
ThW
9:12 PM
@kelunik It is always a compromise, but this is easier to adapt with convertible. I use this one at work: microsoft.com/hardware/en-us/b/… I just disconnect the type cover and put the sp3 in the dock.
 
I got used (workbench), and when I returned to phpmyadmin, I could not use it.
 
any reason in particular?
 
I like workbench UI !
also it is a software (not on web browser), I like this property too !
 
as you make more and more complex databases, you will also begin to notice other benefits
 
Abe
@DaveRandom ghostbusters? deadpool? :P
 
Anonymous
9:16 PM
Eh, using varchar(6) for gender field in mysql seems a waste of resource. I think I should go with a bit for type.
 
@samaYo enum?
 
@samaYo foregn key?
 
@samaYo Just ask @Andrea about that…
 
@samaYo I rarely go to the cinema but I did for Inside Out (was looking after children and needed sth to do) and I'm glad I did
 
Abe
is bit still a synonym of tinyint(1) in mysql? or is it an actual bit?
 
9:17 PM
@Abe afaik, the former.
 
@bwoebi I'd just ask why you need to record customer gender in the first place :p
 
@Andrea Because retargetting is awesome :P
 
statistics, data mining, spam
 
ThW
@samaYo I don't think size will be the issue, but a numeric value or an identifier might be easier to translate/localize.
 
Anonymous
@PeeHaa never used that before.
 
9:18 PM
@Andrea To know what gender to use? (the (s)he?)
 
Abe
@bwoebi maybe when the whole world had moved to postgresql, they will implement it :P
 
@samaYo there's more than two genders
 
@FlorianMargaine bits can hold two values. Oh, you edited it :p
 
@Andrea ^^
 
Anonymous
@FlorianMargaine I know, but I usually ... care less.
 
ThW
9:19 PM
think before requesting a firstname and a lastname, too :-)
 
well, I suppose you could use the Unit type for gender
 
@Abe Ghostbusters cautious anticipation, revivals after a long time like that, where I have a certain mental place for the originals can sometimes suck - to me, at least. Deadpool not really bothered. Not seen a decent superhero film for a long time.
 
@DaveRandom s/can sometimes/
 
Also not really my thing, will watch and enjoy but not as fanatic as some
 
Anonymous
@tereško How is that relevant? I still will have a gender field.
 
9:20 PM
@samaYo wrong number?
 
Abe
not even captain america? @DaveRandom i liked them a lot
 
@PeeHaa Well yeh, I was extremely happy to find I enjoyed the new Star Treks, I like that they not-so-subtly created a new timeline so Those People can't bitch about disparity with the originals as well
Although I believe that view is somewhat contentious in some circles
 
Abe
ah, and there is a new star trek movie coming too 2016 perhaps
 
@DaveRandom I got distracted by lens flairs
 
@Abe Actually not seen that, and always meant to because part of it was filmed in Manchester for some reason
 
9:22 PM
@DaveRandom WTF did they do that?
 
Anonymous
@DaveRandom Never been a Star Trek/Star Wars fan, but saw the new Star Trek movie and makes me want to watch all the rest.
 
Abe
@PeeHaa because it looks like early 1900 usa? :P
 
@Abe You can find the same thing in detroit? :P
 
@tereško I kind of expect Star Trek to have to many special effects, but I admit I was disappointed with the lack of the occasional planet surface set that was knocked together for $0.72 and then the scene was shot in Hi8. I assume they ran out of money a lot.
 
ThW
@samaYo Don't use that in the same sentence. :-)
 
Abe
9:24 PM
@PeeHaa not so sure :P
of all marvel movies captain america ones are my favorites despite the fact i'm not a fan of captain america
go watch them @DaveRandom :D
 
@PeeHaa No idea, I just know I was stopped walking down a street on the way to work one morning because they were filming it
 
Anonymous
Also it's true what they say about Benedict Cumberbatch s-media-cache-ak0.pinimg.com/736x/05/7e/30/…
 
Anonymous
@ThW not fan of both?
 
ThW
How many of the new Marvel Universe movies do now exists? (The connected ones)
@samaYo No just do not compare them, they are really different stories/concepts
 
@samaYo I've only seen him in the imitation game?
 
Anonymous
9:28 PM
@PeeHaa He is in Star Trek, sherlock (TV series) and also the Dragon on the Hobbit movies.
 
Oh right. He also does sherlock.
I hate * hobbit * though so I wouldn't know
Same as that lotr crap
 
ThW
@PeeHaa Have you read it?
 
No
 
Abe
@samaYo how about michael fassbender?
 
ThW
try, big difference
 
Anonymous
9:30 PM
The first was okay. Although Legolas was like Jet Li in it. @PeeHaa
 
I wonder how significant gains could be if e.g. $array = array_merge($array, $other_array); would be optimized to not duplicate $array and delete the original later, but just would directly operate on $array…
 
@ThW reading Hobbit is quite painful :(
 
Anonymous
@Abe assassins creed :D
 
I don't have the patience anymore to read non technical books for some reason
 
Abe
@samaYo he is basically in every movie :D
 
ThW
9:31 PM
@tereško I read the whole UK edition :-)
 
Abe
in some movies he even plays two roles xD
 
BTW I started with house of cards a while back. That's pretty cool
 
ThW
@tereško and yeah, I needed a dictionary
 
@ThW no, I got to something like 7th chapter and had to give up.
the book felt like filler aroung 5 sentences per chapter
 
Abe
@bwoebi i implemented that and similar cases in my neverending framework
 
9:32 PM
@PeeHaa [I guess it's a movie but…] how high did you pile your house of cards up already?
 
ThW
@tereško You never read Stephen King...
 
@ThW .. strange .. that wasn't my problem. Then again, I didn't need the dictionary for reading Paradise Lost either (btw, have you read it?)
 
@Abe how? taking by ref and manually pushing to it in a loop?
 
ThW
@tereško English is not my first language. :-)
 
Abe
@bwoebi implemented with classes
 
9:34 PM
were you trying to make an excuse? Ya know, you can see users country in user's profile.
 
@bwoebi series kevin spacey is actually pretty good
 
ThW
@tereško nope never read it
 
@Abe that doesn't sound very efficient…
 
Abe
for instance slice() doesn't actually copy the array till you tell it to do so or automatically before it gets modified
 
@ThW it really good. And many modern book often contain "shout-outs" for it.
for example: Pullman's "His Dark Materials" title comes from Paradise Lost
 
ThW
9:36 PM
@tereško just stating a fact, reading LoR that matters. But most of the books I read are English.
 
Abe
@bwoebi i did few tests so far but it depends
 
ThW
@tereško I have this one
And of course I read Neuromancer
 
well .. then again, the "old books" , that I have read, end with Milton, Nietzsche and Machiavelli .. oh, and Crowley (but that's quite recent)
@ThW from cyberpunk I really liked "Altered Carbon"
 
ThW
@tereško Yeah, that had some interesting concepts ("sending minds")
 
aha
btw, if you like sci-fi, I really recommend reading "Lost Fleet" series
 
9:42 PM
I once came across a package that would scan your PHP source and tell you what the minimum PHP version it supports. Does anyone know what I'm talking about? I can't find it in my bookmarks =o(
 
ThW
@tereško popped up in the recommendations on amazon, but I never started.
 
@crypticツ I know what you're talking about, but I can't remember the name. Just add 7+ as requirement to push users to PHP 7. :P
 
@ThW it's a really fun military sci-fi
 
liked it better than Old Man's War and better than Revelation Space (which I read after that)
 
Abe
9:46 PM
@bwoebi what do you mean anyway, slow because of classes overhead?
i'm planning reimplementing all this stuff in c, once i learned it :P
 
@Abe yeah … to an extent that the wins over array_merge are lost on moderately-sized arrays
@Abe lol
 
ThW
@tereško Have you tried something from Laurence Dahners?
 
> Modern – CompatInfo takes advantage of new features in PHP 5.3.0 or greater
 
Abe
@bwoebi i'll never give up! :D how hard can it be? :P
 
@kelunik Not good?
 
9:48 PM
@PeeHaa nah, just outdated^^
 
@ThW no, but I guess I should, since you mention it
 
@PeeHaa probably it thanks, it's definitely not this phpduck.com/minimum-php-version-script (see code snippet at bottom) >.<
 
ThW
positive stories, fun to read, he starts by change a single small fact
 
@PeeHaa Seems pretty useful, but I wouldn't advertise 5.3+ as modern ;-)
 
ThW
sometimes a little to heroic :-)
 
9:49 PM
@kelunik It's all just marketing (hehe)
 
Ah :P @bwoebi @kelunik. Meh who knows how long that readme has stated that. For all we know it's been there for 12+ years :P
 
But the extensions part is pretty interesting, it's actually pretty useful if libraries declare all their ext-deps, because I use --disable-all builds.
 
@crypticツ lol
To be fair. It's not that much different as composer does. I.e. download random crap from random crap places and execute it on your machine :)
 
@PeeHaa Composer tries HTTPS at least :P
 
9:53 PM
heheheh
 
Anonymous
@Sajad irrelphant
 
> 13 years ago
 
lol
 
ThW
@tereško ever read something from Stanislav Lem?
 
9:55 PM
no
I have mostly stuck with relatively recent literature
 
> Yasou
 
Yep.
 
@ThW older sci-fi tends to make me cringe
 
ThW
Yes, you have to consider the time. But it is interesting to compare the imagination to what actually happened.
And for example Matrix is a ripoff of Lems books
 

« first day (1777 days earlier)      last day (3171 days later) »