« first day (2537 days earlier)      last day (2410 days later) » 

8:00 PM
So, what will you do now to ensure that when you read documentation you actually read it? Two quite experienced people here gave you direct links on how to fix that, and it seems you largely overlooked them.
 
@RonniSkansing yes-ish. I have one but I don't use it all of the time. Sometimes read regular books.
 
Yes it good? I am considering something like a kindle
 
I like it. I keep it in my bag with me.
 
what device do you have?
 
It's nice having like 20-50 books in my bag at any one time without actually carrying 20-50 books.
Kindle Paperwhite
 
8:03 PM
thanks
 
I was pleasantly surprised by the battery life, too.
 
nice
well great, now I just need to find a device
 
Can't help you much there... I didn't do much research when I was looking... decided kindle would work for me and went with it
 
Two of my biggest reasons for getting an e-reader was because tablets cause eyestrain and depending on the e-reader, it has a built-in light. I have shit eyesight, so having a device that causes little to no eyestrain is important for me.
 
8:09 PM
think I am also gonna try that
 
Yeah, I like my kindle, not that I read much.
for tech books paperback though
 
^++
 
I should get my books shipped over. Heavy though. :-/
I got a PoEAA hardback in England.
@PeeHaa You're not doing PHPNW? Or was it a spare?
 
@Fabor Nope. Not going
 
8:28 PM
some programming books are okay on e-readers. not perfect, but not bad either. my complaint with most computer books is that when I read them in bed, I feel like they're trying to decapitate me.
It's hard, in general, to get in a comfortable reading position with a computer book. E-reader is pretty easy, however.
 
My hand/arm is never comfy when reading.
 
@Tiffany I have a c# book I never finished because it used to crash my ereader =P
 
Round function description (in case of fail) – #75262
function __construct(): void – #75263
 
8:51 PM
@Jeeves gaaaaahhhhhhhhh.... really? you want your constructor to return void?
 
@pmmaga Of course not. I'm not interested in what you have to say.
 
@Jeeves you're gonna make a lot of friends acting like that
 
@pmmaga I have all the friends I would ever want or need. Do you have any friends?
 
err.. sure I do..
 
says the person arguing with the bot
 
8:58 PM
:P
 
;)
gods, I just paid taxes for two years at once
I feel lighter in a bad way
 
Why two?
 
because I am very un-organized
 
heh
I have to deal with that sort of thing now too.
 
:/
brofist.jpg
 
9:02 PM
taxfist
TBH I am still half sorting out the logistics. I get paid in dollars from a US account, I only have GBP accounts in the UK but am currently in VN as you know. Avoiding double-exchanges and fees is hard.
 
ouch
good luck with that
 
Hopefully in the future crypto is steady and regulated enough for this to not even be an issue.
 
@FélixGagnon-Grenier You should... you know, not do that
 
9:18 PM
Not pay tax?
 
@Fabor yeah...
 
:P the idea of tax evasion scares me but then I am like "who would know?" :P i'll pay though
Then again, not like facebook and such pay much tax :P
 
@Dereleased wait wat? really, like, no pay taxes?
 
@FélixGagnon-Grenier don't not pay taxes
 
phew ;)
aight I've had enough of being at work for today
laters
 
9:27 PM
Hello, world! :)
Does anyone using async requests with php? Looking for fresh info on what I can use to extend my Codeigniter project's functionality in order to make async/concurrent requests. Any advice?
 
Thanks! I'm already researching its docs. Should it be easy to use under CI framework or it's better to switch?
 
@user268500 Trying to use async libs inside your non async framework doesn't make much sense
What do you need async for?
 
I don't recommend the CI framework at all.
 
That too :)
 
9:39 PM
@PeeHaa For curl requests mainly. But there are also other operations that could be made concurrently, like sending notifications via front-end and performing other curl requests based on the responses's results.
 
@user268500 Have you looked into curl_multi?
 
did you guys know that you can sign up for aws without billing?
 
@Fabor I'm not against switching to another framework. CI was easy to work with. Hopefully I can safely and easily port my project.
 
@user268500 safely?
 
@user268500 Oh if it's not directly tied to the frontend you can use artax
 
9:43 PM
@Dereleased yeah. It was first thing I'd found about half year ago, when I started to think that I need to make async curl requests. Sorry, I can't remember why I not tried to use it. Looks like need to refresh my thought on it. Thanks!
@Dereleased Right, safely. I meant to say without problems.
@PeeHaa I have front-end controlled functionality that lets me to perform semi-manual operations - kinda a setting parameters for long-running php scripts.
@PeeHaa After setting it all parameters are stored in db and all scripts with tasks are running with the use of cron scheduler. Error results are processed to db table too, so I can see if everything is working fine via additional queries to that table. Btw, I've understood what I would like to upgrade too - main dashboard. Everytime I open/refresh it - it doing a batch of curl requests and the resulted data processed in frontend view too.
So looks like I have nothing unusual besides tons of curl requests ^^
 
Yeah
 
10:00 PM
Is there any serious reason to use amphp/artax vs guzzle?
 
@user268500 if you actually need asynchronous requests rather than just being able to process several requests in parallel.
 
Looks like artax is faster and makes less connections.
@Danack Thanks for note! Seems that I need to test both and see.
Should I use artax-adapter docs.php-http.org/en/latest/clients/artax-adapter.html or simply install it via composer require amphp/artax will be enough?
 
@user268500 why are you using a framework?
(it's actually an important question to answer)
 
@tereško it make my web-project structured. I can easily upgrade it and scale. It has all basic functions like db drivers and connectivity, user sessions and instruments for inputting data. At the same time it's easy to understand the logic of performed operations.
 
"scale" has no menaing
PDO has db drivers
there are independent packages for abstracting session and http requests
composer update
and I have no idea what you mean by structured .... making a nice directory tree is quite easy
... and application logic is completely unrelated to a framework
did I miss anything?
 
10:16 PM
For me it's one of the most important things. I always try to scale my project and with framework it's easy to understand how to make it. I can fastly find and trace errors and fix them.
 
what do you mean by "scale"?
 
Make project bigger, better, code deeper.
 
that's application logic ... and is unrelated to a framework
 
expand application capabilities
 
that's marketing-speak
 
10:19 PM
I was coding without framework earlier. It was fun.
After started using framework I understand that it could be faster and even more fun than without it ^)
I like how elegant the code become.
 
you were using codeigniter, there is no way to write elegant code in codeigniter
 
After using framework I started to learn coding deeper..
Before that it was not so serious.
 
ok, explain to me, that is "single responsibility principle"
 
In some meaning framework is the backbone, the foundation of the where the application logic will live.
For me)
I'm not a "serious" programmer
 
I think you misspelled "crutch"
ehh .. I give up
 
10:23 PM
depends on how to look )
I'm even not using the most of the framework
I don't know how powerful it could be..
 
yes, you are using one of ther two worst frameworks in php
 
For me it was the reason to understand that there are classes and instances in php )))
 
as I see it, frameworks are "credit package" for your technical debt
 
They are the reason to learn..
 
no
they are not
 
10:26 PM
for me
 
what you learn from shitty frameworks like codeigniter is one thing - bad practices
 
While I was searching how to do this or that, I understand how it works
 
and this is where I leave and go back to reading a book
 
one question to you
 
lol @tereško just kiilled the guys dreams
 
10:28 PM
Before that I just want to ask to not be cynical )
What would you advice to yourself if you were newbie programmer and wanted to learn coding in order to make useful apps that will let you make money for living?
 
> learn proper OOP
 
Can you bring good sources?
 
Thank you
Btw, actually I understood this - en.wikipedia.org/wiki/Single_responsibility_principle - during my work with CI framework. I just wanted to make my application work on me and not vice versa xD So I predicted almost all errors and behavior of each object.. Firstly it was not so easy, but after all it's a good lesson for me..
 
this has gone a whole other level
 
@elderScrollsPlayers
 
lol
 
Assignment discards 'const' qualifier from pointer target type – #75264
 
11:19 PM
@Fabor that site is so fucking misnamed
 
heh
 
@tereško acgtually, the names could be switched, for better effect
 
well ... not everything there is wrong
but some of it is just bullshit and advertising
 

« first day (2537 days earlier)      last day (2410 days later) »