The Yes, This Big Header Banner
No stickies found.
Random Comment
Comment #3880
hehe, wouldn't that be awesome to write though? :D

Sorry for lack of content

at 14:52 - 17th, October 2022
Life has been quite something recently. Getting the house ready for the triumphant return of Ale and Leandro, trying to catch up with work. Certain things have had to take a back seat. I'm not willing to let the site die just yet but I realize it must seem pretty dead.

We'll see how things go once we get into a rhythm with the lil guy. Hopefully I will have some more free time to deal with things.


Similar posts

patco2000 has joined the site
Everyone say hi to patco2000.
Site is back up and running
Iweb didn't just replace the affected table but the whole database. something i had asked...
bobsquish has joined the site
Everyone say hi to bobsquish.

My Quebec trip 2012
(media inside)
ljmckeown has joined the site
Everyone say hi to ljmckeown.
wasabi has joined the site
Everyone say hi to wasabi.

andrew andrew
News comment 1 | User comment 1361 | 2:03 - 15th, Nov 2022

how dare you get busy with having a kid!

andrew andrew
News comment 2 | User comment 1361 | 2:05 - 15th, Nov 2022

planning to come up to mtl anytime soon? i'll likely come back for the holidays this year, and again in the spring/early summer. would love to get together with everyone!

Alex Alex
News comment 3 | User comment 4954 | 13:16 - 16th, Nov 2022

Probably in the summer. We're having a big family reunion sometime then. The actual thing is supposed to be happening on that island we used to go to outside of quebec city, what the hell was it called again? Drawing a complete blank...

Mom, dad and christophe are currently visiting eric catherine and damien in bromont. They just had their first snow so it's basically a lot of pictures of white stuff right now.

If the timing doesn't line up, you're always welcome to come down. We've got space in the house for guests. Either the guest room / office or the huuuge J couch that turns into a queen bed.

Alex Alex
News comment 4 | User comment 4954 | 13:17 - 16th, Nov 2022

But Ale wants to come up to montreal, seems kind of irked that I keep saying there are better places to visit. Almost like I'm holding out on her or something. But yea, we'll definitely be back.

Alex Alex
News comment 5 | User comment 4954 | 13:18 - 16th, Nov 2022

Ile D'orleans

andrew andrew
News comment 6 | User comment 1361 | 9:01 - 17th, Nov 2022

definitely want to come back to skb again, bit of a trek from japan, but from montreal I can make it down fairly easily :)

i've seen pics of snow from mtl as well, very much do not want

Alex Alex
News comment 7 | User comment 4954 | 12:40 - 17th, Nov 2022

I'd love to come to japan. Always been a dream of mine. Even had plans the last time when I went to Thailand with Pat and Sue.

andrew andrew
News comment 8 | User comment 1361 | 1:02 - 18th, Nov 2022

it's a gorgeous country, highly recommend it! My parents are here now actually, we visited Kyoto and Nara as well as around Tokyo. So many more places to go! Not sure how much longer i'll be here work-wise, but I will definitely come back again many more times!

andrew andrew
News comment 9 | User comment 1361 | 14:37 - 22nd, Dec 2022

in mtl now, weird seeing this much snow!

Alex Alex
News comment 10 | User comment 4954 | 19:23 - 25th, Jan 2023

How was it being back home?

Where do you consider home now?

I've been busy, got a programming itch and started coding a HR / pay stubs / keeping track of payments to employees site on an internal server. It makes me think I should retire this version of the site, start a fresh with the new code i'm learning and just set up an archive subdomain for this so that it's still searchable if anything.

Alex Alex
News comment 11 | User comment 4954 | 19:24 - 25th, Jan 2023

But it's somewhat slow going since I can only code in evenings when baby sleeping and Attack on titan is a big distraction. Highly recommend if you haven't seen it by the way.

Alex Alex
News comment 12 | User comment 4954 | 13:55 - 21st, Feb 2023

I've hit a road block in my coding. The programming is there but I can't figure out the logic on how to do it correctly and it's frustrating me.

I've got a page that I choose which employees to submit the hours, simply check the box next to the employee name and choose a start date. Then I continue to the next section. Based on the checked boxes it prints one giant form with all the names I've checked.

Each employee has a bunch of drop downs for each day's start and end hour and minute and same thing for vacation time in case they're taking vacation, plus some other info like loan payments, additional funds they're receiving and notes for the week, etc.

All in all, it's it's 56 drop downs per employee per week so the amount of info adds up rather quick. Each drop down has to have a unique identifier, so I'm using their employee id, the date and if it's a work or vacation hour/minute + start or end. Otherwise the last employees info overwrites all the other info.

Ok, so far so good.

Now to capture all the info and automate it, I've started using foreach loops and I think I've got the concept but am having trouble sorting through the info.

Alex Alex
News comment 13 | User comment 4954 | 13:59 - 21st, Feb 2023

A possible solution would be array_keys() which I'll need to look into.

Regardless, that's not so much the problem. The problem is that I think I'm over complicating things with the way I'm doing it. I'm basically exploding the keys of the array and then I want to use the info in the key to populate an sql statement and finally take the value's of said keys and do some date() comparisons to get the hours worked. After that basic arithmetic and bob's your uncle, I've got what I need entered into a DB and printing out how much they're supposed to earn for that week.

Problem is I'm having trouble going from one employee to another.

Again, I think I'm overthinking this because I believe all the info is there.

Really I think the problem is that I'm so tired when I sit down at the pc to start programming that I'm brain dead and can't think straight.

It's work related, but a pet project, so I don't want to do it at work but might have to in the end.

Join the conversation

Don't have a username? Register Now
Can't remeber your login? Find Password