« first day (2322 days earlier)      last day (2612 days later) » 

1:15 AM
@Eugene you have the wrong guy.
 
2:13 AM
morn
 
 
1 hour later…
3:24 AM
mail chimp just fucked me up big time
 
mornin
 
3:51 AM
moingggg
o//
 
mroning
 
4:09 AM
How you doin men! @Valentincognito
 
@Akshay I have been fighting with html emails for 3 days so not so good ahaha and you ?
 
Hahah... I'm doing well !
 
html email is the devil
 
Yes ^ agree
At some point we never get idea what to do :p
 
I thought mail chimp would be good but it's not
 
4:12 AM
It is good @Valentincognito I am using it working like a charm
 
but do you send your template trough their website ?
 
But yes there are some fucking things comes up
Yes some templates from their end and some customized from my end
 
but
It's weird because I feel like when I export the template as HTML or if I send emails through their website the result is different
 
but?
 
I mean the code they generate is slightly different
It doesn't change anything on most mail clients
but it's broken on 2 webmail client ours customers use
 
4:16 AM
Yes I faced this issue before
 
what did you do ?
 
So I do create my own templates When I need more customization but most time I have user their templates !@Valentincognito
 
if I have to create my own template I have no use a such website ^^
 
Some time their code is totally different then our expectations! :p ^_^
Yes but it's a less chance where you need to create your own
 
I used a very simple template and yet it is broken
 
4:19 AM
Although they are giving track record and all
 
I mean look
this is a fill diff check between what they send trough their website and their html export
what they don't include all those inline style in the export .. i don't get it
 
@Valentincognito Ha! I use diffchecker.com as well
Does anyone have any tips on determining the country of an IP without using a 3rd party service? I am making an app for distribution and I really don't want to rely on a 3rd party API that might not exist tomorrow.
 
Hello I need to insert a image into database and display it when I need. Here is my code kindly say some solution. stackoverflow.com/q/42406975/7608708
 
@udhay Wait so you want to put a picture into a database?
Like... the actual picture?
 
Yes @Alesana
Like actual picture
 
4:29 AM
morning
 
Lol the closest you can get to an "actual" picture would be a base64 picture
 
I guess technically you could use LONGBLOB or something to put in a file if you had the right charset?
Maybe?
Morning Linus
 
o/
 
\o
 
I have used longbob in database
 
4:32 AM
Of course, that wouldn't be logical. @udhay You should use PHP to upload a picture into a folder and then store the path to the picture in your DB
 
stackoverflow.com/q/42406975/7608708 can you please check this
 
Sorry links have to be posted at least 3 times for me to click them
You gotta do it again
 
0
Q: Saving and retrieving photos in MySql

UdhayakkrishnaI would like to get picture from user and insert into the database. The user should upload the file in the below input field. Also I would like to display the image from database when I require. <label>Photo</label> <input type="file" name="photo" required> <?php mysql_connect("loc...

 
lol
 
¯_(ツ)_/¯
opppsss I broke my hand lol
 
4:34 AM
lol
Now I am wondering if you could store a PNG into a longblob and display it directly
 
5:01 AM
lol @Jimbo :P
 
morning Fabor o/
 
5:16 AM
youtu.be/DwKPFT-RioU if anyone has 20 minutes to spare that's a pretty interesting video
 
Hey Linus
 
Wes
5:57 AM
mornings
 
6:15 AM
Mornings
 
6:41 AM
 
morning
 
@Ekin Yo!
 
and related to this: why does the FIG still get to call their proposals PHP Standard Recommendations. The naming is misleading. They are not an official body. If they want to make proposals they should RFC them.
 
6:56 AM
@Gordon it says "This topic request can no longer be responded to." and doesn't have the dismiss thingy.. that means it's already dismissed?
 
yes. thanks.
 
7:18 AM
hoi @Fabor
 
@Gordon I suspect some cause of a lot of sub-par interviews might stem from schooling - they teach computer science in schools, not software development. If someone is trying to come up with a consistent way to evaluate candidates it's natural to look back on how they've been evaluated and crib questions.
 
guys if i have a multiple dynamic dropdowns displaying the same datas, is it possible to put validation that won't let the user to submit/insert if there are chosen datas that are the same from the dropdowns?
 
7:37 AM
@Gordon I read that yesterday
in the time it took that guy to write that blog post, he could have learned how to write down algorithms and memorized a few of the most common ...
"sorry, I don't know that algorithm, but here is a diagram of one I do know, and here is how you might improve it" that'll get you the job ... being a dick about who conducts the interview will just invite those companies to ignore you, as he stated ...
I also saw the tweet from dhh, and I saw @Sara tweeting that she uses the manual ... I'd be shocked if Sara really doesn't know how to respond to those questions properly ... of course she does ...
 
I think he has a fair point when he says that their process is wasting both of their times.
> If she would have started her email with "We're looking for an algorithm expert," we would never have gotten any further and would not have wasted our time. Clearly, I'm not an expert in algorithms. There is no point in giving me binary-tree-traversing questions; I don't know those answers and will never be interested in learning them. I'm trying to be an expert in something else, like object-oriented design, for example.
 
I just refute that asking you to draw an algorithm on a whiteboard has anything to do with the algorithm, and anything to do with their looking for an expert in that area ... it has everything to do with fundamentals and communication skills
if you go for a job as a physicist, you will be asked questions about fundamental physics, go for a job as a physician, and you'll be asked fundamental questions about physiology and biology ... to be annoyed or surprised at being asked questions about fundamental computer science when you go for a job as a computer scientist is barking mad ... I don't understand the rebellion ...
 
Anyone know a way i can make sure my while loop doesnt overwrite my generated < table >?
 
@JoeWatkins I would be very surprised if a physicist had to whiteboard newton's laws of motion during an interview.
 
@JoeWatkins yes, when you apply for a job as a computer scientist, you better have the algo knowledge. that's just not what a developer/programmer is most of the time. it's that discrepancy you often witness with people coming fresh from university. they know all the algos, but they dont know how to code.
 
7:52 AM
@PaulCrovella you'd be asked about fundamentals in your field of physics, maybe not the fundamentals of physics ...
@Gordon again, I don't think it's about knowing all the algos, it's about being able to communicate what you know ... an algorithm isn't some strange thing that you will never use, you design them all the time in the normal course of being a computer programmer, and should the need arise to communicate them, on a whiteboard is how you may do it ...
all programmers are engaged in computer science at some level, I think ... they may not be pushing the field forward, but rely on it they must ...
 
@JoeWatkins being able to communicate and knowing a particular algo is two different things. If I dont get the job because I dont know how to do a bubble sort by heart, I am not assessed for my comm skills.
 
sure it is, but as I already said "I don't know that algorithm, but here is a sorting one I do know and here's a beautiful diagram of it" will get you the job ...
 
@JoeWatkins I dont know how comp sci is taught at other universities, but my studies stressed proving algorithms through math. There was no practical programming beyond the main java course.
 
do you really not know how bubble sort works, I mean you could learn this in two minutes
 
I've learned it a ton of times, and I forget it because I have no use for it.
 
7:59 AM
@Gordon depends. In monkey coding universities, they don't teach about that. In my university (engineer school), they literally spend 2 years learning about them then nothing.
 
@JoeWatkins what @PaulCrovella said
 
^
Also, imagine that instead of asking algorithm questions, they ask questions about matrices
 
I don't understand how you could forget how that works
 
@JoeWatkins do you remember everything you were taught at school?
 
I don't remember school, and never finished
 
8:02 AM
I remember some things from school, just enough to know "oh, I know I should this theorem, I just have to find the formula online"
 
I have forgotten how much more complex algos work, but what would it say about me if tomorrow I had a job interview and tonight, I didn't brush up on what I understand even if I don't remember the fine detail of it ...
 
I know how and when to use a tool, I don't know how to create the tool
 
Gordon your avatar looks different...
 
An interviewer asking to whiteboard bubble sort is simply wrong. If they want to judge your communication skills on something like that they should ask you directly to pick a simple algo that you know and present it, or an architecture, or damn near anything related.
asking for bubble sort specifically when they're after something else is just playing games
 
an interviewer asking me to whiteboard siphash, or djb2, that's not fair ... but asking you to whiteboard probably the simplest algo that exists in CS, I mean they couldn't make it much easier for you ...
 
8:08 AM
it's still nothing more than a trivia question
bubble sort has zero use or impact on anything we do. it's fundamental to nothing but basic academic exercises.
 
have any one used es6 with core php ?
 
please stop calling it "core php". there is no "core php" - it's just "php"
 
@Linus it didnt change
 
we're not going to agree here ... I think it's reasonable, and you lot don't ...
 
@PaulCrovella vanilla php
 
8:12 AM
of course @PaulCrovella ,i have set up webpack with bable and i have a form with few field now i want to write validation in es6
 
@Gordon fuck you php
 
any idea any one i searched for it but didn't get proper idea !
 
morgewn
 
8:14 AM
morning PeeHaa sir..
 
Hello
 
@Linus I have the delft blue G since the day I joined
might be some gravatar hickup
 
:)
 
8:16 AM
@Gordon :)
 
@Trucy out of curiosity: why does the website linked in your profile link to some dude while you keep referring to yourself as a girl? and sorry, if missing something obvious or trespassing on personal details.
 
haha
 
@Gordon are you assuming my gender? More seriously, IRL I look, dress, and have the voice of a guy. In the average workplace, it's easier if I get referred as a dude
(plus I don't mind and totally understand, as I haven't started hormonal transition)
I know I could also reference myself as a girl in the workplace, but it'll just lead to confusion (and they wouldn't understand it at my current job)
 
how can i import table as model in mysql workbench?
 
how long do you have to put up with that before you can start hormone therapy ?
 
8:23 AM
@JoeWatkins as soon as I have lost some weigh
 
@Trucy I see. Thanks for clarifying.
 
oh ... what does weight have to do with it?
 
(bear with me, lot of terms to translate)
 
my new site is live \o/
 
@Trucy there is a bear with you? Isn't that dangerous?
 
8:25 AM
lol
 
Hormones decides where the fat goes. With testosterone, it goes in some parts of your body, and with oestrogen, in other parts (ie, boobs)
But it decides where the NEW fat goes
 
moaning
 
oic
\o
 
I currently have some extra fat (I weigh around 100kg), so if I want to have a women body, I have to lose my "man fat" beforehand
@Gordon You're welcome. I'm more than happy to explain my point of view when it comes to transgenderism
 
lol
 
8:27 AM
wow, what a topic on a thursday morning
 
:P
 
And operation "lose weigh" officially began yesterday as I've bought a training cycle \o/
 
@Trucy Hope it doesn't end up like me buying running shoes :P
 
@PeeHaa :D well the thing with a training cycle is that I can watch videos while training
(and I think I have more motivation than you in this case :D)
 
s/this/every
 
8:33 AM
boobs are pretty good motivation imo
 
@JoeWatkins Exactly this :D
 
The hardest thing to change will be the voice
 
so that doesn't change with hormones ?
 
(and my official gender)
@JoeWatkins nope, because the throat develops more with testosterone
 
8:35 AM
so how do you change it ?
 
FtM (Female to Male) see their voice changing because the testosterone develops the throat and adam apple
@JoeWatkins speech therapy
And a thing to know also: testosterone is more powerful than oestrogenes
If I want to transistion faster, I also have to take anti-testosterone
 
and what does that do ?
 
(but it can lead to depression as testosterone and oestrogenes are a natural anti-depression thing and less erections)
@JoeWatkins it shuts down testosterone production, so the oestrogenes can "express themselves" easily
 
I see
 
In France, to get oestrogens, I have to be monitored by a doctor and have a psychiatrist certificate that I'm sound and decided about transitionning
 
8:40 AM
it's the same in the uk, you have to have lived as your target gender for two years
 
!!version
 
"express themselves" in quotes makes me think of the flair scene in office space.. and a bunch of oestrogenes flipping everyone off
 
I watched a thing about teenagers who wanted to transition ... rough for them being at school still ... and having to live at school as target gender ... while going through puberty ...
 
Yup :/
Teenagers are assholes to each other
And people don't respect transgenders
maybe because they feel insecure
"if this dude is a girl, am I manly enough to be a dude? Better punch her to prove my manliness"
 
8:45 AM
@Trucy probably more likely because they are teenagers :P
I used to be a proper dick and look how I turned out
 
@PeeHaa I was speaking about adults also :D
 
:P
 
@PeeHaa an improper dick?
 
:D
 
o/
 
8:47 AM
Hi guys im having problem in moving uploaded file function
 
yo
 
i just follow the instruction on how to move the file but still not working
 
Random question on the day. How hard would it be for somebody like me to find a full remote php job with decent pay?
cc @JoeWatkins perhaps
 
hi everybody
I am definding function in a static method
when I call again my static methods
 
8:50 AM
    $upload = $_POST['upload'];
$cancel = $_POST['cancel'];

$phName = $_FILES['userfile']['name'];
$tmpName = $_FILES['userfile']['tmp_name'];
$phSize = $_FILES['userfile']['size'];
$uploadDir ="/srv/www/htdocs/joomla/Documentation_Control_Center/Records/Automotive Parts/Files/";
$filePath = $uploadDir . $phName;

if ($upload == 'Upload')
{
	if ($code == '' || $name == '' || $originator == '' || $datesubmitted == '' || $revno == '' || $dept == '' || $issue == '' || $classification == '' || $effectivedate == '' || $dateprocessed == '' || $dateapproved == '' || $dateissued == '' || $model ==
if youre willing to help guys, i posted my source code in ehre
 
it get me Cannot redeclare it again
 
@PeeHaa May this helps :D
 
in case you wanted to hehe
 
debug your code
 
i know the error occurs in$result = move_uploaded_file($tmpName, $filePath))
but idk how to fix it
 
8:52 AM
@Akshay Did look at that but it also shows partially remote mixed with full making it hard to find stuff
 
Morning
 
PHP should provide some native abstraction for file uploads.
it's too complicated for people
 
Finally getting around to sorting out my site. So.. Apache, Laravel, throw in a bit of angular on the front end, yes?
 
@Sean and PHP 5.4
 
I've never before wanted to kick someone from here so badly.
 
8:54 AM
:P
For my sake I hope you don't hold grudges
 
@PeeHaa probably not that hard
@Gordon but but ... it already does ...
 
(also looking for remote opportunities, but I think I'm less experienced than the PeeHaa)
 
complicated would be reading standard input and joining all the chunks and whatever ...
 
@JoeWatkins It..does?
 
yeah $_FILES and muf
 
8:56 AM
@JoeWatkins not good enough
 
Oh right
Yeah
Yeah, got code over here which performs zero file validation.
Uploads to a public directory too. \o/
 
@Gordon nothing ever is ...
 
whenever I see questions about file uploads in php, I see loads of boilerplate code added around $_FILES and muf. And usually it's broken. I feel this could be better.
 
@Gordon it can be, but why native?
 
@PaulCrovella why not?
 
8:59 AM
because a userland lib is easier to code, iterate on, and maintain
 
ThW
could still be made into an extension later
 
what @ThW says
 
ThW
@Gordon but I would start with a userland implementation as well
 
better is pretty subjective
all you can say for sure is that is will be different
 
mornes 11!
 
9:04 AM
\o
 
o/
 
\o
 
o/
 
@ThW yup
 
\o
 
9:04 AM
hi all
 
\o
 
0/
 
@Sean how did you do that canvas thing in nessworthy.me
 
if anyone feels like chiming in on this discussion it would be really nice. I want to get a conversation going but so far I got nothing.. :P
 
@Saitama If you fancy trawling through the JS the file is here
It's just 6 shapes which respond to the mouse's relative position on the page
renderLogo is where it gets drawn
 
9:10 AM
@Saitama nice
 
0
Q: Magento 2: Paypal Payment Authorize Now and Capture later

Ankit ShahI have requirement that need to "Authorize" Paypal payment for now. Capture/Process after X days. On Magento side it's storing info info sales_order_payment sales_payment_transaction I think need to use API, may be one of the Method https://github.com/paypal/PayPal-PHP-SDK/tree/master/sampl...

 
I get a lot of nice comments about it, it didn't take a lot of time to make either, so thanks ^^ Makes my day
 
@ThW then again, there seems to be some abstractions on packagist already
 
9:36 AM
why is it usually broken the $_FILES @Gordon
@sean can you share your code? :D
 
@EarvinNillCastillo various reasons. just search SO for file upload code using vanilla php instead of some 3rd party upload lib
 
hello i have a https issue ...plz help
 
@Gordon aight. thanks. but i use php core what is vanilla php
 
@EarvinNillCastillo the same
 
9:40 AM
hello i have a https issue ...plz help
 
@AmanKumar ask one more time and get kicked
 
@AmanKumar Start by writing proper sentences
 
Computer software, and sometimes also other computing-related systems like computer hardware or algorithms, are called vanilla when not customized from their original form, meaning that they are used without any customizations or updates applied to them. Vanilla software has become a widespread de facto industry standard, widely used by businesses and individuals. The term comes from the traditional standard flavor of ice cream, vanilla. According to Eric S. Raymond's The New Hacker's Dictionary, "vanilla" means more "default" than "ordinary". Examples of how to use "vanilla" in a sentence: As...
 
Hello sir
I have an issue with ssl.. Need some help
 
@PaulCrovella I didn't though
Well at least not outright
 
I was hoping to start an infinite loop :(
 
:D
 
@AmanKumar if you want help with an issue, you should start describing an issue. A blanket statement like "my XYZ doesn't work. Halp me" won't result in a solution. It never did. Never. Anywhere on this planet.
 
My domain is not showing https: & secure lock
 
9:52 AM
contact your hosting provider ?
 

« first day (2322 days earlier)      last day (2612 days later) »