« first day (983 days earlier)      last day (4053 days later) » 

12:08 AM
:( It's snowing outside again
Supposed to be a foot of snow by Sunday afternoon
 
12:22 AM
sounds like wisconsin lol
We got an ice storm this week
was awful
It was like 75 degrees this time last year
 
yeah...
We're on course for a record snowfall
Max of 13.4cm fell sometime during April of 2000
Weeee
 
12:37 AM
o:
 
:/ validating things in JS before validating the same things in PHP is annoying
and potentially buggy
 
 
1 hour later…
1:47 AM
 
heh, pretty much
It's those mountains I tell ya
 
I think for Wisconsin its the lakes
but I know nothing about the weather so I could be entirely wrong.
 
Cheese
But I lived there.
 
2:51 AM
@JohnMcDonald What registration form / PHP stuff are you working on? AO?
 
:/ nah. Something else. It's for a board game geek tool
 
haha right on
 
I try to record all of my plays on boardgamegeek.com and so do many of my friends. The thing is: it's tedious, and there's no relationship between players. So if I record a game with Landon, he'll have no record of it and will have to duplicate the play in his profile
So, I'm trying to make something that simplifies the process
but mostly just to learn
 
Does board game geek have an API/web services you can tie into?
 
It does, :)
 
2:57 AM
Awesome. Sounds like a neat project then.
 
Only for reading though, not for writing
 
so I'll have to use regular old posts
meh
 
So if you've got to manually put it all in the posts what is this app doing to make your life easier?
 
it'll post to everyone's account
and I hope to make the data entry system slicker
but mostly so that me, and Landon, and Rav and Mike don't all have to type the same information in
One player can do it and send it to everyone
 
3:04 AM
How do you do this without write access?
 
Stored passwords. Users will have to register and provide their BGG user/pass
so the system will be able to effectively log in as everyone and submit data
:/ not great
 
The merging of plays will be complex
if I do that
We'll see, this is probably just an other learning experience. And I'm ok with that
 
Sounds good to me
 
3:20 AM
yeah... it's taking longer than I'd hoped
:/
 
Sometimes that's how it goes
 
I've spent like 16 hours on the registration page. Lots of research and stuff
But! It's one sexy registration page
lol
 
Sure. Any integrations with BGG at this point?
Hey. As long as its sexy who cares? :P
 
I can grab your profile info, but that's it so far. And on top of that, as soon as you type your bgg name in to the registration form, it runs off and verifies it, AND it will fill in your name for you
Sexy, right?
 
Ooooo
The nerd inside me might be a little turned on by this bit of sexiness
I will not lie
 
3:23 AM
Only like 200 lines of jQuery in my registration form
heh
 
lol sounds about right
 
All for something you'd see once
I'll send you a link in a bit
 
sounds good
 
once it sorta does something other than print a PHP exception
 
haha righto
 
3:52 AM
I think I'm losing my mind. Anyone have solid experience with HTML5 and/or Microsofts MVC4 template? I feel like nothing is rendering like it should
hmm
seems to be related to floating elements
should have known
 
ah, fun
 
It's really obnoxious actually
Their top menu lines up nice, sure. But when the container class ends up having no height.... its frustrating :(
 
4:09 AM
Yay, sorta working: bggp.jcpmcdonald.com/register
@ToddersLegrande eh, fun
 
padding-left is your friend :P
Nice
Took someones name off the home page. Worked like a charm
Didn't hit the button obviously
 
heh, doesn't matter, I'll just wipe the db
 
asdf's first name is "a"
 
Sounds about right
 
4:12 AM
My username is jcpmcdonald
Works like a charm
 
awesome
So I don't know how you plan on logging in as specific users... and granted this may not leave your circle of friends if you guys even use it
But maybe instead, have some sort of messaging system when people create plays that include other members. Those members get notified and they can "confirm" they were there, type in their password as a one time use thing, and then it does your magic
I'm just trying to think of ideas around storing BGG passwords in your db
 
yeah... pretty much. But to answer the question, if my database has a 2-way encrypted version of their pass, I can use curl to log in to bgg and get a cookie that I can use with a post
There are other ways, like sending emails to all involved parties and getting them to type their password on demand, which I've thought about doing
well... I'm off to slaughter some noobs in BF3. ttyl
 
Have fun
 
:) always do
 
4:45 AM
WHAAAAAAT?
I clearly have not used VS2012... like at all
Change a start tag from h3 to h2 - the end tag is also automatically updated to h2!!!! :O
 
 
4 hours later…
9:01 AM
@ToddersLegrande!
Is there a way to run something on a timed basis on your hosting provider?
Like, every hour, process and modify an SQL db, without any user interaction?
 
 
3 hours later…
11:42 AM
So I've been thinking about solutions myself.
What about a service like this: siteuptime.com
It'll browse a page once every 30/60 minutes depending on configuration.
Then I could just have an update.aspx page that would be the test destination for the uptime service.
They have a list of IP's they'll be testing from, so I could just ignore any other IP's accessing the update.aspx page.
 
 
5 hours later…
4:24 PM
Better yet. I found a free Web Scheduler that allows me to specify interval more precisely and what hourly minute as well.
This place needs more people than me.
 
@William'MindWorX'Mariager It's called a Cron Job
Although most games like Travian don't really use cron jobs to do stuff, they simply write stuff to the db like:
Barracks will be finished @ 14:53:01
if you log on after 14:53:01, it just calculates how long it's been around for and does all the work on sign-in
I can access my cron jobs from CPanel, and you can use the wget command to retrieve/run a php page like so: wget -O - http://example.com
 
4:44 PM
@JohnMcDonald Yeah
That was my initial thought, but it's supposed to be like, you have 24 hours to do everything, then it'll calculate everything. So it might be a large calculation. Depending on the amount of players as well.
 
ahh
So yeah, a cron job battle? Technically it could either be a cron job, or a "first person that logs on after time X" job
but cron job would probably make it simpler and more organized
 
 
1 hour later…
6:04 PM
@William'MindWorX'Mariager yeah since I went with Windows hosting I don't get cron jobs but I know what @JohnMcDonald is talking about.
I think SQL server has some scheduled task functionality but I don't know what the host provides to us. You could investigate that and see if it fits your needs
 
Well, it would just be a scheduled task in windows, no?
 
Well
If we had access to the server we could do that
 
Do you have a control panel or access to the command line?
 
I'm installing the remote IIS manager to see what we have there
otherwise the scheduled tasks thing I have in my control panel is very limited
Host provides several defaults
Check website availability could work
Check the availability of a secured page that just runs a script
 
Yeah... That looks good
That's all you need
Just get it to "check" if a php page is there or not
 
6:13 PM
@William'MindWorX'Mariager so if that works for you we will unfortunately need to coordinate making those changes to the system. What would obiously work best for now if you go this route is just to manually visit the page yourself. Once you've got something you like we can schedule it.
 
6:30 PM
 
6:49 PM
@ToddersLegrande Thanks a lot for checking up on it. I'll just use the web scheduler site I found for now. If I need a more permanent solution, I'll let you know.
 
Sounds good
 
As an alternative I found this guide: codeproject.com/Articles/12117/…
It's actually really clever. It does rely on a single page load to initialize it after server reboot though.
 
Oh neat
Good old callbacks
 
Good day
 
6:58 PM
what's going on?
oh wait, I can read previous messages myself
gotta love history
 
lol
We weren't just plotting against you. THAT's for sure...
walks away slowly at first... then takes off running!
 
that's good to know
wait
what is...
OH YOU!!!!
I'LL GET YOU YET TODDERSLEGRANDE
YOU WON'T ESCAPE ME TWICE
 
7:21 PM
my PSU is making weird noises
I sure hope it ain't thinking about failing me
 
actually they're more annoying than weird
loud clicks
REALLY loud clicks
 
Sure its not the HDD?
Those are notorious for clicks just before death
 
last time I got near the case it sounded like it was the PSU; it was louder as I got closer to the fan
the HDD is on the other side of the case so I don't think it's the culprit here
googling the thing got me to some other guy who apparently had the same problem and was because of the fan being a bit loose
he fixed it by pushing the fan with a pencil or something
but I can't get anything inside my psu lol
 
you should definitely do that while the fan is spinning
I imagine he did it through the crack because....
Rule number 1 about trying to repair a PSU: You don't try to repair a PSU.
Rule number 2 about trying to repair a PUSE: YOU DON'T TRY TO REPAIR A PSU.
 
7:28 PM
I'm kinda scared to insert anything in it lol I'll try to take a look and see if I can somehow push the fan from the outside
wondering if it's still covered by warranty
I have to send my video card to tech service anyway
might as well send them both
(when I'll actually get off my chair and send them, I've been trying to send the damn video card since July last year)
(integrated video proved to be enough for me so far)
in other news, got that torch working 100% :D
can be equipped and also has a nice (for now) fire light effect
 
I like the icon
 
found it by googling "free torch icon"; it was the first result I think
it's free for non-commercial use so it's fine atm
 
7:48 PM
stupid 9gag another pokemon post forcing me to reconsider making pokemon mmorpg
and now with totaly broken grindfest code, since i remade it to be more like diablo if i stop i cant ever return since i wouldnt know what i was doing :)
 
add a comment somewhere: "Hello future me, in case you're wondering what the hell is happening here, you were trying to do this: ..."
 
@BogdanMarginean why is the torch upside down? :)
 
that was the only decent icon I managed to find :( it would've looked a bit weird flipped vertically, because the fire would've seemed to descend towards the base lol
 
0
Q: How can i earn enough reputation to comment?

user1895420I often find that i can answer a question partially, can help steer people in the right direction or provide a link with more information. These things however are almost never good enough for a full answer and are better posted as comments. However, i don't have enough reputation to comment. ...

 
8:07 PM
I'm changing random stuff like pitch and tempo on this flare ignition sound I found but I have no idea what I'm doing really
still it seems to sound more and more like a torch starting to burn lol
 
8:32 PM
@ToddersLegrande if I remember correctly at least one of your accounts should have more than 200 rep, to get than 100 rep bonus.
 
@Gajoo I wasn't sure. That's why I didn't give a number
 
@ToddersLegrande 9gag.com/gag/7091279
not sure if it applies to your cat too
 
It completely does
 
@ToddersLegrande just the other day, I asked for $5/hour and my employer simply refused, so I'm not going to participate in their next project...
 
Ummm..... $5/hour in addition to what you make now?
Or are you not paid now? If thats the case I wouldn't really consider it an employer
 
8:37 PM
almost $2/hour
actually almost $2.75
just letting you know how low programmer wages are in Iran...
 
Whats the average annual cost of living in Iran? in USD if possible
 
let me see...
it really depends how you want to live. I think you manage living for a month with about $300
but for a decent life I guess you'll need more than $700 total family income.
 
That's crazy.
I get paid more than that monthly just to attend school.
 
If I did my math correct....
 
I get ~USD1000/month for attending school.
 
8:47 PM
hmm
 
well, Rial value just fallen about 1/3.7 compared to last year,
 
that's part if the reason
 
9:02 PM
G'night you weird lovely people. <3
 
nite
damn, $3 per hour is insane
@Gajoo is there no way to get a better job?
 
@BogdanMarginean actually there are lots of jobs for me, but for now I'm going to do some freelancer projects
 
@Gajoo freelance projects are great, and you'll certainly land some that will earn you more than 3$ per hour. In case things go well, you can go with full time freelancing.
Nah, let me rewrite that
 
also there are some plans to start developing games with a bunch of friends for windows store
 
9:11 PM
For a programmer, it's hard not to get something above $15 per hour
I don't even move a muscle for under $20 on big and/or important looking projects
in the freelancing side of things, $3 is typical for data entry
 
@BogdanMarginean not in Iran, I mean average wages here are about $8 per hour
 
and manual web scraping
@Gajoo was referring to global freelancing job marketplaces
like oDesk and freelancer.com
 
recently I've finished a project for something about $3k after a year of working...
but I wrote code only 1 hour per week averagely..
 
that's equal to about 1000 hours of work at your main job
I'd say it's a nice thing you did
 
@BogdanMarginean yep... :D
 
9:15 PM
does the company you work for have any branches in other countries?
perhaps you can get transferred to... say, the UK
and then try to get to join a bigger and more important company
like Microsoft
 
BBL
 
10:03 PM
@BogdanMarginean the thing is I live in Iran, and it means we are under sanctions.
so there is no company here in Iran that has a branch outside (or wise versa.)
 
that I did not know :(
 
though I might be able to develop applications and sell them via WindowsStore, steam or other online distribution mechanisms.
and that's what I'm counting on.
 
app marketplaces are a bit tough on Romanians
as a Romanian I cannot sell any apps on android's store
but I can give them away for free and use microtransactions
I think advertising works too, as long as it's not google's services
 
well I can't directly sell stuff saying I live in Iran.
 
10:08 PM
I need to have a bank account outside Iran (preferably US) and use that.
 
yeah I guess I could also open up a bank account somewhere else too
no idea how to start doing just that though
so far it was not necessary for me to sell my apps
 
but still there are all sorts of backdoors in legal stuff.
 
this pic...
sums up Dink Smallwood perfectly
 
 
2 hours later…
11:50 PM
hah! Just saw this when I loaded the SCII editor:
 

« first day (983 days earlier)      last day (4053 days later) »