« first day (3389 days earlier)      last day (1775 days later) » 

02:18
R11, I need advice. I'm receiving help for interviewing, part of the interview prep is basically rehearsing stuff to say. I've never been good at marketing (i.e. bragging about) myself to a stranger. It always makes me uncomfortable. Any tips on over coming this?
I need to come up with an "elevator speech," which is basically bragging about myself in five minutes (the time it would take to "market" myself in an elevator)
What's the position for?
Nothing specific right now.
BRB, changing hats
I want to know I can ace the first and second interview before I start job hunting again. But I'll be aiming for PHP web dev.
[Corporate Drone] Welcome to R11, Inc. So as you know we've asked you to come in for an in person interview for the position of software engineer in our engineering firm, I'm sure you've already done some research on what we do so we can skip over that for now, why don't you tell me a bit about yourself, what's the appeal of software engineering to you?
02:26
I enjoy solving puzzles and there's always a puzzle to be solved while programming.
I was going to say something about it being a passion since I was a child, but I dunno if that's too much
[Corporate Drone] Yes, our developers often mention puzzles. Can you tell me about a puzzle you've solved recently and how you went about it?
And this is where I get rambly trying to summarize something ...
[Corporate Drone] Well, why don't you start off telling me how you first identified the issue that had the puzzle attached?
Recently I needed to learn how to scrape a web page and all I know when I started is that it could be done by curling. I googled for some examples, modified what I found to suit my need, and scraped a page ..... that sounds unimpressive typing it out now
I suppose I should review the script before an interview if I'm going to use it as an example
[Corporate Drone] Tell me a bit more about that, scraping a web page, that sounds like a solution to a problem. Let's back up a bit, explain to me simply, what the problem was, what you did to research and how you ended up settling on scraping the pages.
(To disable roleplay function, press 1 followed by the hash key)
02:35
I was assisting with rewriting a chat bot, the part I was assigned was querying a site, and displaying the results. The original chat bot used an API, but the API was made private. It was suggested to me that I just scrape the page, insert the search query, and scrape the results. The only problem was, I had never scraped a page before.
[Corporate Drone] So you were faced with a situation where something you were relying on got cut off, and you had to find another way. Did you consider any other possibilities other than scraping?
It was possible to reach out to the website owner to receive an API key, but given the nature of the project, being a chat bot for a PHP chatroom, the project owner figured we wouldn't be approved for a key, so he suggested scraping it. I couldn't think of anything else at the time because it was an area I'm unfamiliar with
[Corporate Drone] So you had settled on scraping a webpage, but didn't know how. Now you've told me you managed it, so how did you go about learning?
I looked up the curling functions in the PHP manual and read up on them. I also happened across a simple example to curl a page, so I used that and modified it (1# I forget exactly what I modified without the script in front of me, in bed right now)
[Corporate Drone] We asked you to come in for this interview and you bring a sleeping bag? That doesn't seem very professional... can't believe I didn't notice you in it until now.
02:44
But I set some constants, fed some data into the script, it curled a page and wrote the contents to a file
/me changes hats
I think giving yourself some prep, if it's not a technical interview, try to pre-plan some examples that you can give.
Take what I say with a grain of salt, I've not had a proper interview in more than a dozen years.
I was advised to use examples from my resume, the web scraping one isn't on there
Are the examples on your resumé what you'd consider represents you best?
But it was a simple enough puzzle that I did recently. Other stuff on my resume is embellished because I paid someone to do it for me.
Yes
In an interview would you be more confident talking about them than a scraper?
02:48
However, only one or two of them are programming related, the rest were either sys/web admin-y, or I just happened to be the best candidate to solve
What's your level of experience like if you don't mind me asking?
Past beginner stage, maybe intermediate, but I struggle with algorithms and don't have much experience with design patterns.
Most of my programming experience from my last job was modifying someone else's code, either a predecessor, or code that was bought (e.g. PHP CMS)
From what I've seen, algorithms rarely come up in most jobs. I'm quite useless at them as I studied Software Engineering rather than computer science, but it means I'd get laughed out the room if I applied to somewhere like Google.
But design patterns, those be hella important
I don't have a lot of experience writing my own OOP code which is why I've been jumping on projects to help expand that, like the chat bot but my attention got diverted.... then started working on PHP docs, lol
Sounds like you need a pet project
02:56
There are a couple of things I want to build, but they're mobile apps and likely won't have any PHP code, at least from the app part. I may end up needing to interact with an API at some point, but I don't know yet.
May I be so impolite as to ask your age range?
and how long have you been coding for?
Professionally or in general?
In general
02:59
I read Mac Programming For Dummies when I was ten-ish. It used C and something called ResEdit.
I think one of my problems with personal projects is I'm hyped to start them, then I get distracted with something, and whatever I was working on gets put on hold
The benefit to personal projects is you don't have to convince someone else to accept your PRs.
and you're going to want to re-write it... a lot
Or I get stuck and I spend a few days or so trying to figure it out, make little to no progress, then get distracted (e.g. cleaning my apartment, I seem to be unable to balance keeping my apartment cleaned and focusing on a project)
/me looks around... yeah, cleaning... that lol
My problem is I get distracted from cleaning by programming
I end up having to alternate days, like clean one day, work on a project the next day.... or I alternate weeks, lol
I also get hung up on doing things "correctly" when making classes and stuff, I either have to force myself to move past it or I continue to beat myself over it until I lose interest
/me shifty eyes as he re-writes code to make it better for the 6th time this week
It sounds like you need a project where you get motivation to progress, that usually means something you actually use, or other people will use.
03:09
I repeat to myself to just start and rewrite it later if I need to, but it doesn't always work
Yeah
Truth is, once you get into a proper software dev job, you'll be forced to absorb so much new information and skills, anything you had before will seem trivial.
Although naturally the issue is getting to that part
Are you EU or US?
I could repurpose one of my mobile app ideas as a web page. Though I still plan to make it an app at some point.
US, but I want to move to the EU or UK
But I figure getting a job abroad will be a hell of a lot easier once I gain a job here
Look for jobs away from major cities would be my advice if I had any. The salary differences are enormous.
So much more competitive
Yeah. I live in a rural-ish area currently and the cost of living is so low. My rent used to be like 25% of my income? Which, from some other r11ers have said, is unheard of where they are
I miss living near a major city though... but that'll have to wait I guess
I can't type on my phone
I need to think about sleep soon, it's gone 3am and I've been up trying to re-write components to allow better in-memory caching without needing to go through a hydration process for their more complex DI components >.<
03:20
Yeah, I think it's time for bed, lol. Thanks for the advice, gives me some stuff to mull over
You're welcome. Keep at it, I'm sure there's many a person in here who would be happy to play a mock interview
Spoken communication is harder for me than written
Just ask someone to jump on skype or something :-) get practice
Fair enough
I have a friend who is helping me, but he's not a developer so isn't able to ask me industry specific questions
But maybe I can feed some to him and he can point out where I'm a bumbling idiot
The benefits of being friends with a room full of techies
Talking into the mirror can help too.
03:25
Yeah, that's been suggested to me too, but stuck on what to say or rehearse.
I suppose I just need to google developer interview questions
Before I had my sit down with Derick for phpinternals I went through about 5 or 6 drafts, spent 4 or 5 hours practicing... all for nowt as it turns out as the RFC was rejected miserably, but still :p
Lol
Drowsiness is setting in, hope you figure out your issue, or get to bed soon, either way, goodnight
Goodnight
03:49
Hello
Hello ..
Can someone help me on this stackoverflow.com/questions/59912705/…
What's going on in your code?
Are you trying to upload an image and save it in the database?
Yes I am trying to upload image on database from localStorage.
You should just store the name of the file.
Imagine that you have uploaded a lot of images. Your database will grow.
I also want to save the image in server.
04:05
That's fairly easy to do. Did you look at other answers on Stack Overflow?
Yes but I didn't find how to save it form localStorage.
Can you please help me on this?
You don't need to save it in local storage first. Do you know how file uploads work?
Yes, but can I save image from different page?
I want to take image from product page and save it when user click on place order button in checkout page.
04:24
What are you building?
@Tiffany There are two kinds of technical interviews, in my experience. There are the so called "elites" (the FAAMG), which I doubt you're applying for. Then there are the "startups", which is pretty much everyone else. The key difference between them is that one wants you to hit the ground running at whatever tech stack they're using and the other expects you to be a good generalist.
So if you're applying for a position where they expect you to hit the ground running you want to focus on demonstrating your technical prowess in that particular technology stack. Focus on your existing strengths here. Know what you don't know so you can steer clear of it.
Also, passionate people don't say "I'm passionate about X", they demonstrate it through their work and reputation. It's subtle. Someone that's spent their life interested in astronomy doesn't say "I'm passionate about astronomy". But they do light up when the subject comes up. You do hear the extra pep in their voice when they talk about it. They tend to go on and on when it's the topic of conversation. Note that key difference so you don't come off as disingenuous.
I'm trying to build ecommerce website.
Ohh
I'm guessing you are trying to add products to your inventory to display to your customers.
@Tiffany Also, the key thing to remember during an interview is that people want to know "Can I work with this person?". Don't oversell here! It only serves to hurt you in the long run. You want to demonstrate that you are a good communicator, you take direction well when given, and you know how to deal with defeat. Without these characteristics it is highly improbable that you will be easy to work with.
You also have to make sure that you don't appear better than whoever is hiring you lol They might feel threatened by you and not hire you.
04:31
I wouldn't concern myself with that. You don't want to work for someone like that anyway.
I just want take image and text from user when they place an order.
Get your code up on GitHub. Show them that you can do the work. Get your colleagues to recommend you in your linked profile. Be confident in your skills. That goes a long way.
 
6 hours later…
10:56
jellow
 
5 hours later…
15:45
Hey
$fp = fopen("_test1.dat", "r+b");
var_dump(filesize("_test1.dat"));	//int(46)
var_dump(fseek($fp, SEEK_END)); 	//int(0)
var_dump(ftell($fp));			//int(2)
Can someone please help me understand this behaviour?
For some reason, fseek($fp, SEEK_END) always goes to the position "2" for me.
Okay, apparently it works correctly with a "0" offset.
Hm.
16:26
SEEK_END const value is 2 :)
The syntax for fseek is (resource, how much to seek, from where to seek), and the from where part is either the beginning of the file, current position or end.
 
4 hours later…
20:11
user image
2
The elePHPant in the original blue :) You can't find these anymore
 
2 hours later…
22:11
@Sherif F13 is also rare these days. :)
@Tpojka I still have the IBM keyboards with F17 on them
IBM was known to go a little nuts with the function keys
Until they figured out you could extend function keys with SHIFT
22:49
Who's computer is that?
No idea, I found that picture on the Internet
I been searching ebay/etsy/etc... trying to find someone that wants to sell one of the original elephpant plush, but no luck so far.
Only so few people have them anymore and the ones that do usually don't want to sell them.
Maybe you are just one cheapskate? :( ( :P )
My first computer was an Apple 2?
23:05
Mine was Pentium 1 133MHz back in '96.
23:52
Mine was a Packard Bell Eexecutive 486 SX
They had the super secure key lock.
Basically all it did was turn off the PS circuit via an override capacitor.
But it was SHEXY!

« first day (3389 days earlier)      last day (1775 days later) »