Show Posts

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.

Messages - Nao
2356
Features / Re: Safari 7 on Mac OS X 10.9
« on November 2nd, 2013, 08:14 PM »
Hmm... Far from perfect, in fact: there's an unexplainable large empty area on the left of posts, and 'Nao' sticks right next to the status icons, when there should be a few pixels between them. Other than that, it looks good.

I've temporarily disabled flexbox on iOS 7. Can you guys test in both Weaving and Wireless..? Thanks.
2357
Off-topic / Re: Bitcointalk.org $11k bounty for new forum software
« on November 2nd, 2013, 09:37 AM »
Quote from bitcoinz on May 2nd, 2012, 09:39 AM
They are currently using SMF 1.xxx and are looking for something similar yet better (this?)
Bounty is 2200BTC = $11,000USD

Offer:
https://bitcointalk.org/index.php?topic=50617.0
As of today -- valued to $450K. Lol. And apparently, exchanging it for real money is now doable these days. Maybe I should have taken the job... :lol:
2358
Other software / Re: Arantor back on SMF Team!
« on November 1st, 2013, 11:51 PM »
FWIW, I split this topic into three. The other topics are 'git hiccups' (everything about my not knowing git merging well enough, and misunderstanding something because of that), and 'feline hiccups' (the flame war about her, obviously.)
In the Off-topic board, of course.
2359
Features / Re: New revs
« on November 1st, 2013, 09:52 PM »
rev 2298
 6 files changed, 33 insertions(+), 37 deletions(-), 1.72KiB

- Duplicate text in profiles. (Profile.template.php)

* Tweaked debug junk to prevent styled non-links in ViewQuery, and incorrectly styled links in page bottoms. (Subs-Template.php, ViewQuery.php, index.css)

* Reverted html tag's height tweak from the 24 Oct commit, because it created other issues (as I expected), and instead modified sidebar animation to always restore overflow after animating. (script.js, index.css, sections.css)

! And another fix (hopefully the last one) for the sidebar opener code, preventing it to trigger when an HTML tag is located inside an anchor. (script.js)
2360
Features / Re: Safari 7 on Mac OS X 10.9
« on November 1st, 2013, 01:29 PM »
I'm still unable to figure out why the two overlap. They both use display: inline, and no floats, so they should remain in the flow.

Can you switch to the Weaving skin manually from your iOS simulator, and see if there are any similar problems in there..?
2361
Features / Re: Support for PECL Memcached
« on October 31st, 2013, 06:51 PM »
Quote from Pandos on October 31st, 2013, 03:47 PM
OK, removing then makes sense.
I didn't technically remove it, as it wasn't in the codebase to begin with... ;)
It *is* in the SMF 2.1/ElkArte codebases (from a SMF 2.1 commit by Spuds), which is where I went to 'check' went I hit a bump during the caching rewrite. I was surprised that he'd do that even if no documentation existed for it.
So I figured, I'd probably better use the Memcached:: object, but then I tested memcached locally, and found it didn't really help performance (not as memcache vs no-cache, but as memcache vs file-based cache). So, it really wasn't worth much of my attention, in the end. I was even tempted to remove all caching except for the file cache. But keeping it all doesn't cost anything, so, whatever...

I noticed today, though, that SMF 2.1 also gives the ability to choose the cache library for use, so you can stick to file cache even if APC is present. Interesting.
Quote
Fun fact that SMF will approve all modifications? OK, no more words to say... :)
Sorry..?
Quote
Dunno if memcached is ported to windows. Don't think so.
memcached (the server) is, but php_memcached (the extension) isn't. php_memcache is, though, and it's what I've been using for my tests.
2362
Features / Re: New revs
« on October 31st, 2013, 03:01 PM »
rev 2297
 6 files changed, 58 insertions(+), 14 deletions(-), 4.28 KiB

! Fixed another bug in the privacy/contact list system not being inclusive enough. Phew... (Class-System.php)

+ Added privacy list icons. This is a tentative version, but it's good enough for now. Adds 500+ bytes to the CSS file. Gotta live with it... (Profile.template.php, index.member.css, contacts.png * 2)

+ ...But I'm not the kind of guy who'll give up against adversity. Chrome and Safari 6+ support CSS filters (not the IE ones!), so for them, I've replaced the privacy icon sprite with a single icon which gets colorized on the fly, saving... Approximately 500 bytes. So, you get the privacy list icons for free. (index.member.css, privacy.gif)
2363
Features / Re: New revs
« on October 31st, 2013, 08:27 AM »
rev 2296
 8 files changed, 78 insertions(+), 44 deletions(-), 11.20 KiB (okay, so that's totally unrelated to changes, or something...)

+ Added better membergroup support to privacy lists. Admins can use any group; members can use any groups they're in, as well as post-based groups they're in, or used to be in (i.e. less posts). Until now, they could only select from groups they were in. (Class-System.php)

+ Privacy selector is now more generic. Needs a bit more work, but I'm getting close... (script.js)

! Contact list privacy was not inclusive enough. (Class-System.php)

* Renamed some 'contacts' strings to 'list', to harmonize with 'group'. (Post.php, Security.php, index.language.php)

* More bits on the privacy system. (Thoughts.template.php, index.template.php)
2364
Off-topic / Re: feline hiccups
« on October 30th, 2013, 06:40 PM »
I could use one right now.
2365
Off-topic / Re: feline hiccups
« on October 30th, 2013, 01:26 PM »
On Google.
2366
Off-topic / Re: feline hiccups
« on October 30th, 2013, 12:43 PM »
Why the heck are we on page 3...?!
Last time I checked, we were on page 1... :-/
2367
Off-topic / Re: feline hiccups
« on October 30th, 2013, 09:06 AM »
If only they could spend the same energy they've been spending here, to comment on the Wedge-related topics I've been waiting for feedback on... :lol:
2368
Features / Re: Support for PECL Memcached
« on October 30th, 2013, 12:06 AM »
So, in my commit, I removed any reference to memcached_*, because... Well, I didn't see much of a point in making one more library available, when -- fun fact -- opcode caching may be great for performance, but key/value caching really doesn't matter. Wedge/SMF don't do enough cache requests to see a difference (at most a dozen on regular pages). At least on my setup...
2369
Features / Re: New revs
« on October 29th, 2013, 11:22 PM »
rev 2295
 6 files changed, 128 insertions(+), 111 deletions(-), 4.07 KiB (I'm assuming SVN would have given me twice that size :P)

* Several caching improvements, mostly around Memcached. I only needed to ensure that wedge.org could clean the user cache correctly for an upcoming site update, and I ended up rewriting plenty of things. Silly me... (ManageServer.php, Subs-Admin.php, Subs-Cache.php, ManageSettings.language.php)

  ! Fixed a dirty bug where Memcached just didn't work in Wedge (AFAIK it also won't work well in SMF).
  * Improved code for Memcached path (more specifically, the Memcache extension), by turning $memcached into a static.
  * Fall back to file-based cache if the Memcached server is currently down.
  * Added support for Zend shared-memory caching (zend_shm_*).
  * Calling clean_cache on the regular file cache will now attempt to clear the cache for APC, XCache, Memcached and Zend.
  * Admin page won't show the Memcached text input if it's not available in the first place.
  * Improved wording of admin page's help text. Seriously, it was messed up, especially when it came to Memcached.
  * More accurate detection of accelerators in admin page.
  * Various commenazi, and spacinazi.

@ Note: XCache documentation is non-existent, so it's possible this won't work for it. As for Zend, they don't have a (documented) way to clean their old cache system, and I don't have access to any of these cache APIs anyway (except APC which I need to test), so I don't know if it'll succeed removing Zend's key/value cache, but it's worth a try.

@ I'm too lazy to update smfinfo.php... I don't think it even has a chance of making its way into a final package, anyway. Also too lazy to look into the Memcached extension for now (right now, Wedge uses the Memcache extension, which does the same job, but is older or something.)
2370
To be clear, my question was only motivated by my writing a query for privacy requests.
Technically, I want users to be able to choose a membergroup to which they can give exclusive access to a topic or something, but the question was, if I'm a regular user, what groups should I be able to pick..? I quickly eliminated 'all groups' because it means being able to view some groups that may not be supposed to be viewable. I then decided to simply load all groups that the user belongs to. However, what about post-based groups..? Does the admin want anyone to be able to see the number of post-based groups available, and how many posts they require? Isn't this... a surprise, maybe..? So, for now, I decided to give them access to any post-based groups that they're in, and that they were in at some point. This should work, I think...