This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
8566
Features / Re: New revs
« on June 28th, 2011, 11:58 AM »
rev 818
(10 files, 14kb)
* Replaced zoomedia's "rel" hack with actual class names[1]. Still not used for now, but it'll be better in the long run anyway. (Aeva-Embed.php, Aeva-Gallery.php, Aeva-Subs-Vital.php, Subs-Media.php) Media.template.php)
* Moved media details to the sidebar in case the browser is Safari Mobile. It can't cope with the width anyway. (Aeva-Gallery.php)
* Moved some media action bools to proper context variables. Added bonus: action bar won't show up at all if you can't do anything. (Aeva-Gallery.php, Media.template.php)
! Search was broken. (Search2.php)
! Hardcoded language string. (zoomedia.js)
* Some layout improvements in media homepage and media item pages. (Media.template.php)
- Removed shortcut keys from media strings, as they're no longer valid. (Media.language.php)
* Improved vertical alignment in error log. (Errors.template.php)
- No need for an id in auto-generated shims. (zoomedia.js)
(10 files, 14kb)
* Replaced zoomedia's "rel" hack with actual class names[1]. Still not used for now, but it'll be better in the long run anyway. (Aeva-Embed.php, Aeva-Gallery.php, Aeva-Subs-Vital.php, Subs-Media.php) Media.template.php)
* Moved media details to the sidebar in case the browser is Safari Mobile. It can't cope with the width anyway. (Aeva-Gallery.php)
* Moved some media action bools to proper context variables. Added bonus: action bar won't show up at all if you can't do anything. (Aeva-Gallery.php, Media.template.php)
! Search was broken. (Search2.php)
! Hardcoded language string. (zoomedia.js)
* Some layout improvements in media homepage and media item pages. (Media.template.php)
- Removed shortcut keys from media strings, as they're no longer valid. (Media.language.php)
* Improved vertical alignment in error log. (Errors.template.php)
- No need for an id in auto-generated shims. (zoomedia.js)
| 1. | That's because they don't validate in the new html5 validator... |
8567
Development blog / Re: « Just when I think I'm back in... »
« on June 28th, 2011, 10:58 AM »
Were I living in Paris (a couple of miles north from my house), I could have a 100 Mbps fiber connection. Wicked eh. In Japan, I've heard most people are on insane speeds. Net speeds are one of the areas where no one in the world can be treated fairly -- you can hardly know in advance whether the place you'll move to next will have decent speeds.
8568
Development blog / Re: « Just when I think I'm back in... »
« on June 28th, 2011, 09:29 AM »
Ah AH!
I just had a tech guy from my ISP visit my place. They wanted to look into my line speed because they thought it was suspiciously bad -- I'd always been limited to around 5Mbps (at best) since I moved in.
Well, after looking at my phone connectivity, he pointed out a capacitator that didn't need to be there, he removed it in under a minute and... voilà! My Net speed is now at 8.3Mbps! That's over 850 KB/s in real conditions.
Shouldn't have I got this connection problem yesterday, I'd never have asked for a tech to come over -- and I'd still be 300 KB/s below my new limit (actually, I'd be at half the current speed, because I was limited to 410 KB/s these last few months and never cared to ask why.)
At last something good came out of these problems :)
I just had a tech guy from my ISP visit my place. They wanted to look into my line speed because they thought it was suspiciously bad -- I'd always been limited to around 5Mbps (at best) since I moved in.
Well, after looking at my phone connectivity, he pointed out a capacitator that didn't need to be there, he removed it in under a minute and... voilà! My Net speed is now at 8.3Mbps! That's over 850 KB/s in real conditions.
Shouldn't have I got this connection problem yesterday, I'd never have asked for a tech to come over -- and I'd still be 300 KB/s below my new limit (actually, I'd be at half the current speed, because I was limited to 410 KB/s these last few months and never cared to ask why.)
At last something good came out of these problems :)
8569
Off-topic / Re: Unknown's thoughts on Wedge
« on June 28th, 2011, 08:29 AM »
Always thought you'd be my age. Youngsters usually don't value privacy. :P
Then again I've had several lives before the current one. I'm younger than you when it comes to php.
Then again I've had several lives before the current one. I'm younger than you when it comes to php.
8570
Off-topic / Re: Unknown's thoughts on Wedge
« on June 28th, 2011, 07:49 AM »
How old are you, Unknown?
If you're younger than Pete is, does that mean you were one of those Dragooon-like wizkids back when you started SMF?
I hate those fucking wizkids, they always end up being faster and better than me :niark:
If you're younger than Pete is, does that mean you were one of those Dragooon-like wizkids back when you started SMF?
I hate those fucking wizkids, they always end up being faster and better than me :niark:
8571
Development blog / Re: « Just when I think I'm back in... »
« on June 28th, 2011, 06:35 AM »
Arial is superbly dull and has few features that make it stand. Its main point is readability. But I recently fell in love with Arial normal 14px. Cleartype does wonders but it's also one of the rare fonts that look great in non-antialiased.
It simply took me 15 years of growing up to appreciate it. Back in the day, Tahoma and verdana were the new Arial Black.
Oh. And what bold is choosing Arial to replace Segoe. Usually people do the opposite.
It simply took me 15 years of growing up to appreciate it. Back in the day, Tahoma and verdana were the new Arial Black.
Posted: June 28th, 2011, 06:33 AM
Oh. And what bold is choosing Arial to replace Segoe. Usually people do the opposite.
8572
Development blog / Re: « Just when I think I'm back in... »
« on June 28th, 2011, 12:08 AM »
Actually, I hadn't tested Search in a while, and the errors were due to not removing a line of code from a deprecated feature. Thanks! Fixed now.
8573
Development blog / Re: « Just when I think I'm back in... »
« on June 27th, 2011, 09:13 PM »
This comment thread is going in a direction I wasn't expecting :P
By the way -- for those who have access to the demo... Today I (finally) updated the website with the new design (mostly font change from Segoe UI to Arial. A bold move of which I'm very happy.)
Feel free to share your opinions. Also, you may (or may not) get some page crashes or errors or whatever. This is normal -- I didn't update the database yet -- it needs to be re-created with the new features. I don't know at what point the 'old' demo is compatible with the DB changes.
By the way -- for those who have access to the demo... Today I (finally) updated the website with the new design (mostly font change from Segoe UI to Arial. A bold move of which I'm very happy.)
Feel free to share your opinions. Also, you may (or may not) get some page crashes or errors or whatever. This is normal -- I didn't update the database yet -- it needs to be re-created with the new features. I don't know at what point the 'old' demo is compatible with the DB changes.
8574
Development blog / « Just when I think I'm back in... »
« on June 27th, 2011, 04:46 PM »
The last few days were interesting, to say the least.
I don't exactly know what's going on in the irony department up there, but it feels like someone's determined to make me waste my time. Apart from the usual real-life issues (including but not exclusively, my driving license, of which you can see a picture on my Facebook page because, yes, I'm that shallow), and from the PC apocalypse I told you about in my last post, I also faced two new problems this week-end.
First of all -- the new computer I bought has the Intel P67 bug with the SATA interface. Meaning half of my SATA ports are not usable. One of them was being used by a hard drive so I just moved it to a safe port, but it now means all 4 of my safe ports are taken (plus my only eSata port), and I can't add any other hard drive. Thankfully I didn't exactly plan to do that either, as I already have USB3 ports which will come in handy in the future.
The only question then, is whether or not I should bring back my computer to the shop. I mean they're not supposed to sell me a buggy motherboard when Intel recognized the bug and everyone recalled their motherboards months ago already. I'm definitely unlucky these days.
Also in the let's have fun category, my ISP apparently decided to go play with my Interwebs cables, and overnight my download rate went from about 4 Mbps to under 10 Kbps. Yes, I'm talking about bits per seconds, not bytes. See, I've been on the Internet since March 1996, at which time I had a trusted 28.8 Kbps US Robotics modem. Anyone remember these? They were the top modem makers at the time. But they still ran at 3 kilobytes a second. It wasn't funny. Well, my bandwidth was one third of that for nearly 48 hours. Back in '96, web pages were just a few kilobytes of HTML, possibly a few images, later a CSS file or two, but jQuery couldn't have even existed at the time. Even the first versions, which were very light and quick to load, would take many seconds to load on an old modem. This is one of the reason why I spent so much time working on reducing the footprint of both jQuery and general JavaScript code in Wedge, when I could just have stopped worrying and dropped the compressor. I was adamant that Wedge SHOULD be faster than SMF in every possible way, and most of the work had to be done on the final output. It took me weeks just to get to the point where, comparing stock copies of Wedge and SMF, I concluded that Wedge felt faster to load than SMF. It's a personal feeling, see, it can hardly be calculated with a stopwatch. But even reaching that point was hopeless to begin with, because we'd decided on including jQuery. So we got the best of both worlds. But I still have to fight myself to determine what version of jQuery we'll ship with in the end. I mean, we started Wedge with 1.4.4, then switched to 1.5.2 with absolutely no benefit to us, and then to 1.6 where I reported a handful of annoying bugs, and once again I don't see any benefits... I guess I'm waiting for 1.7 to determine whether it's worth upgrading. But right now, as it is, I'm actually tempted to go back to 1.4.4, and save the extra 5-6 KB that 1.6.1 uses. 5 to 6 KB may not be much to you, but it's worth a lot to others.
And somehow, after my horrible Sunday experience, I can't help but wonder: won't somebody please think of the analog modems? These days, it's all about working from home and avoid commuting. So, people can go live anywhere they want. What happens to those who happen to find a heavenly place with no DSL lines around? What happens when all of the web is optimized for broadband? Will analog users end up as the digital man's stoneman? Be viewed as disabled, maybe? WAI-ARIA to the rescue, or no future for losers?
We need to stop wasting resources. Just because a font looks cool doesn't mean you should force your user's browser to download it every time they come to your website. Interestingly, that's exactly what I did a few weeks ago. I went for PT Sans as the default header-type font in Wedge, but decided against specifically calling it from Google Fonts, as fast as the service is. I just don't see the point in doing that when you can simply tell your users to download the font and install them by themselves. Then they no longer have to download it again -- and the font can start popping up everywhere.
Install a font and save a tree!
Find your raison d'être!
To arms, my brothers!
I don't exactly know what's going on in the irony department up there, but it feels like someone's determined to make me waste my time. Apart from the usual real-life issues (including but not exclusively, my driving license, of which you can see a picture on my Facebook page because, yes, I'm that shallow), and from the PC apocalypse I told you about in my last post, I also faced two new problems this week-end.
First of all -- the new computer I bought has the Intel P67 bug with the SATA interface. Meaning half of my SATA ports are not usable. One of them was being used by a hard drive so I just moved it to a safe port, but it now means all 4 of my safe ports are taken (plus my only eSata port), and I can't add any other hard drive. Thankfully I didn't exactly plan to do that either, as I already have USB3 ports which will come in handy in the future.
The only question then, is whether or not I should bring back my computer to the shop. I mean they're not supposed to sell me a buggy motherboard when Intel recognized the bug and everyone recalled their motherboards months ago already. I'm definitely unlucky these days.
Also in the let's have fun category, my ISP apparently decided to go play with my Interwebs cables, and overnight my download rate went from about 4 Mbps to under 10 Kbps. Yes, I'm talking about bits per seconds, not bytes. See, I've been on the Internet since March 1996, at which time I had a trusted 28.8 Kbps US Robotics modem. Anyone remember these? They were the top modem makers at the time. But they still ran at 3 kilobytes a second. It wasn't funny. Well, my bandwidth was one third of that for nearly 48 hours. Back in '96, web pages were just a few kilobytes of HTML, possibly a few images, later a CSS file or two, but jQuery couldn't have even existed at the time. Even the first versions, which were very light and quick to load, would take many seconds to load on an old modem. This is one of the reason why I spent so much time working on reducing the footprint of both jQuery and general JavaScript code in Wedge, when I could just have stopped worrying and dropped the compressor. I was adamant that Wedge SHOULD be faster than SMF in every possible way, and most of the work had to be done on the final output. It took me weeks just to get to the point where, comparing stock copies of Wedge and SMF, I concluded that Wedge felt faster to load than SMF. It's a personal feeling, see, it can hardly be calculated with a stopwatch. But even reaching that point was hopeless to begin with, because we'd decided on including jQuery. So we got the best of both worlds. But I still have to fight myself to determine what version of jQuery we'll ship with in the end. I mean, we started Wedge with 1.4.4, then switched to 1.5.2 with absolutely no benefit to us, and then to 1.6 where I reported a handful of annoying bugs, and once again I don't see any benefits... I guess I'm waiting for 1.7 to determine whether it's worth upgrading. But right now, as it is, I'm actually tempted to go back to 1.4.4, and save the extra 5-6 KB that 1.6.1 uses. 5 to 6 KB may not be much to you, but it's worth a lot to others.
And somehow, after my horrible Sunday experience, I can't help but wonder: won't somebody please think of the analog modems? These days, it's all about working from home and avoid commuting. So, people can go live anywhere they want. What happens to those who happen to find a heavenly place with no DSL lines around? What happens when all of the web is optimized for broadband? Will analog users end up as the digital man's stoneman? Be viewed as disabled, maybe? WAI-ARIA to the rescue, or no future for losers?
We need to stop wasting resources. Just because a font looks cool doesn't mean you should force your user's browser to download it every time they come to your website. Interestingly, that's exactly what I did a few weeks ago. I went for PT Sans as the default header-type font in Wedge, but decided against specifically calling it from Google Fonts, as fast as the service is. I just don't see the point in doing that when you can simply tell your users to download the font and install them by themselves. Then they no longer have to download it again -- and the font can start popping up everywhere.
Install a font and save a tree!
Find your raison d'être!
To arms, my brothers!
8575
Off-topic / Re: Unknown's thoughts on Wedge
« on June 26th, 2011, 09:03 PM »
We aren't focusing on Stylings. I just offer them as an easy alternative for non modders who want to have different themes for their users without making it a hassle to maintain.
8576
Features / Re: New revs
« on June 26th, 2011, 08:20 PM »
rev 817
(5 files +1, 9kb)
+ Added support for IE 10 in the PHP code, and used it to provide real gradients for it. (Class-CSS.php, Load.php, index.ie10.css)
! Pretty URLs were broken. Again. (ManageSettings.php, Subs.php, Admin.template.php)
(5 files +1, 9kb)
+ Added support for IE 10 in the PHP code, and used it to provide real gradients for it. (Class-CSS.php, Load.php, index.ie10.css)
! Pretty URLs were broken. Again. (ManageSettings.php, Subs.php, Admin.template.php)
8577
Features / Re: New revs
« on June 26th, 2011, 05:55 PM »
rev 816
(8 files, 18kb)
! Given that IE9 still doesn't support CSS gradients, rewrote gradient_background() to add proper support for it, and redirect to the rgba version in case of a solid color. (Class-CSS.php, Subs-Cache.php)
* Moved 'column' div to the sidebar block definition (should help with hooking), and reworked sidebar indentation to match this and save a few bytes. (index.template.php, BoardIndexInfoCenter.template.php, Calendar.template.php, GenericMenu.template.php)
- Removed some hardcoded Pretty URL code that wasn't actually needed. Documented a function. (Subs-Boards.php, Subs-PrettyUrls.php)
(8 files, 18kb)
! Given that IE9 still doesn't support CSS gradients, rewrote gradient_background() to add proper support for it, and redirect to the rgba version in case of a solid color. (Class-CSS.php, Subs-Cache.php)
* Moved 'column' div to the sidebar block definition (should help with hooking), and reworked sidebar indentation to match this and save a few bytes. (index.template.php, BoardIndexInfoCenter.template.php, Calendar.template.php, GenericMenu.template.php)
- Removed some hardcoded Pretty URL code that wasn't actually needed. Documented a function. (Subs-Boards.php, Subs-PrettyUrls.php)
8578
Features / Re: Possible Features For Integration
« on June 26th, 2011, 12:32 PM »
Aeva can be used as a download system btw.
Overall go read the feature list boards ;)
Overall go read the feature list boards ;)
8579
Off-topic / Re: PHP IDE for windows
« on June 26th, 2011, 07:52 AM »
It has 8 too (clone view in tab context menu).
8580
Other software / Re: I can hardly wait
« on June 26th, 2011, 01:14 AM »
No, I'm not into football. I don't watch much sport in general.