[07-MAR-2016] Current status of BLF upgrade process

777 posts / 0 new
Last post
HKJ
HKJ's picture
Offline
Last seen: 1 day 15 hours ago
Joined: 05/24/2011 - 12:23
Posts: 7372
Location: Copenhagen, Denmark
sb56637 wrote:
I’m now testing another improvement to the email notification system so that it will only send notification emails to users that haven’t been active during the past 10 minutes.

It do not sound very practical, that way I will always miss an answer if people post just after I have left the computer.

My website with reviews of many chargers and batteries (More than 1000): https://lygte-info.dk/

Sirius9
Sirius9's picture
Offline
Last seen: 1 day 27 min ago
Joined: 03/04/2012 - 19:23
Posts: 4627
Location: South Europe

OMG, email notification works again, best news from blf in a long time, i’ve been like blind without this function Steve


HKJ wrote:
sb56637 wrote:
I’m now testing another improvement to the email notification system so that it will only send notification emails to users that haven’t been active during the past 10 minutes.

It do not sound very practical, that way I will always miss an answer if people post just after I have left the computer.


+1
I usually have 2-3 BLF tabs open in my browser keeping them for later reading or as a reminder, it does look like I am online but I am actually doing something else not related to BLF, and my browser is running all the time (except when I sleep) which means I will miss like 60-70% of replies, hmmm Flat Stare

Edit:
Wait, what does the “active” means? active like logged in / online or like scrolling pages, posting comments which means there are log files with informations on which pages I visited, which comments I read, what button and when I clicked… that is kinda disturbing.

 

Bort
Bort's picture
Offline
Last seen: 6 days 11 hours ago
Joined: 06/01/2012 - 17:15
Posts: 7471
Location: Holding the proverbial flashlight

Sirius9 wrote:
OMG, email notification works again, best news from blf in a long time, i’ve been like blind without this function Steve


I find it annoying, i turned it off right away
My subscriptions is far superior

The Journal of Alternative Facts TM

"It is critical that there is a credible academic source for the growing and important discipline of alternative facts. This field of study will just keep winning, and we knew that all the best people would want to be on board. There is a real risk in the world today that people might be getting their information about science from actual scientists"

 

DavidEF
DavidEF's picture
Offline
Last seen: 2 weeks 14 hours ago
Joined: 06/05/2014 - 06:00
Posts: 7699
Location: Salisbury, North Carolina, USA

Sirius9 wrote:

Edit:
Wait, what does the “active” means? active like logged in / online or like scrolling pages, posting comments which means there are log files with informations on which pages I visited, which comments I read, what button and when I clicked… that is kinda disturbing.

Tracking your “active” status doesn’t require logging your actual activity. The site has already been keeping track of “active” status since before the upgrade. It shows up on all your posts, under your avatar, as “Last Seen…”

The Cycle of Goodness: “No one prospers without rendering benefit to others”
- The YKK Philosophy

Sirius9
Sirius9's picture
Offline
Last seen: 1 day 27 min ago
Joined: 03/04/2012 - 19:23
Posts: 4627
Location: South Europe

Bort wrote:
Sirius9 wrote:
OMG, email notification works again, best news from blf in a long time, i’ve been like blind without this function Steve


I find it annoying, i turned it off right away
My subscriptions is far superior

I find it more than useful, I lost track on 90% of interesting topics while notification wasn’t working, it should been no1 on a “to fix” list. If there are no updates in some particular topic/thread for several hours it “falls” down to page 2-3, a day or two without update and that thread will be lost on god know which page and if OP decides to change title (which happens quite frequently) it might be lost forever if there were no email notifications.

DavidEF wrote:
Tracking your “active” status doesn’t require logging your actual activity.

Yes but, information is available, it’s like a hole in a wall to a neighbour apartment, only curiosity is what stands between your eye and that hole…

P.S. is there a way to turn off this “no notification for last 10 active minutes” “featre”?

 

ToyKeeper
ToyKeeper's picture
Offline
Last seen: 1 day 23 hours ago
Joined: 01/12/2013 - 14:40
Posts: 10648
Location: (469219) 2016 HO3

Sirius9 wrote:
Wait, what does the “active” means? active like logged in / online or like scrolling pages, posting comments which means there are log files with informations on which pages I visited, which comments I read, what button and when I clicked… that is kinda disturbing.

BLF mostly uses “Web 1.0” tech, meaning you send a request for a page, the server sends back the requested page, and then no further interaction happens until you request another page. If you don’t click anything, no data is transferred either way. “Active” time just means the last time a page was requested by your logged-in account.

Unlike, say, facebook, which has javascript running all the time to chat back and forth between server and client whenever a page is open.

So, the BLF server has no idea whether you have a bunch of tabs open. All it knows is which pages you requested and when. I would assume this is logged in a standard apache access log, with a log rotation system deleting anything older than a given length of time. It probably has a list of requests from the past week, but not from, say, six months ago. And it likely does not track on a per-user basis, but rather a per-IP-address basis. That’s default on most web servers. IP addresses do not correlate 1-to-1 with users, so it would take some non-trivial effort to figure out who did what based only on the data in the logs.

Note, “Web 1.0” is often a good thing. I prefer that all sites be built this way unless they have specific and significant reasons to do otherwise. Like, use “Web 2.0” for full-fledged interactive applications like Google Maps and Google Docs, but use “Web 1.0” for forums and blogs since they work fine with older technology.

sb56637
sb56637's picture
Offline
Last seen: 8 hours 19 min ago
Joined: 01/08/2010 - 09:29
Posts: 6994
Location: The Light

Right, the site has no idea whether you have it loaded in a browser window or tab.

sb56637 wrote:
Update: 02-MAR-2016 I’m now testing another improvement to the email notification system so that it will only send notification emails to users that haven’t been active during the past 10 minutes. (I can easily adjust the time if needed. Note that “active” is defined as clicking links or posting, not just having a browser tab open.) I hope this will drastically reduce the amount of notification emails for heavy users during the hours that they are active.

I can disable the 10 minute waiting period if most prefer it that way, but I’m surprised that I’m the only one who wants this feature. I find it very annoying after a day of browsing and posting to receive a plethora of email notifications for updated threads that I’ve already viewed because I saw them under “My Subscriptions” or in the “Recent Posts” list.

Budget Light Forum ...where Frugal meets with Flashlight!

sb56637
sb56637's picture
Offline
Last seen: 8 hours 19 min ago
Joined: 01/08/2010 - 09:29
Posts: 6994
Location: The Light
ToyKeeper wrote:
I would assume this is logged in a standard apache access log, with a log rotation system deleting anything older than a given length of time. It probably has a list of requests from the past week, but not from, say, six months ago.

I actually don’t have the Nginx access log enabled, just the error log. And in any case Drupal can’t even see those logs, and instead keeps its own access log (normally as a table in the database, but can optionally use the syslog) which is retained for 2 days.

Budget Light Forum ...where Frugal meets with Flashlight!

sb56637
sb56637's picture
Offline
Last seen: 8 hours 19 min ago
Joined: 01/08/2010 - 09:29
Posts: 6994
Location: The Light

Sirius9 wrote:

I find it more than useful, I lost track on 90% of interesting topics while notification wasn’t working, it should been no1 on a “to fix” list.

I can assure you that putting it as #1 on the todo list would have much easier said than done. Innocent It took me a good solid 20 hours almost non-stop to re-implement the notifications system, as it is custom designed and coded by yours truly. And let’s just say that it’s a good thing I don’t write code for a living, because I’m AWFUL at it! Silly The most irritating part is that it was working flawlessly with the old site engine, but with this upgrade they went and broke most of the APIs and data structures I had come to know and hate from the old version.

Quote:

If there are no updates in some particular topic/thread for several hours it “falls” down to page 2-3, a day or two without update and that thread will be lost on god know which page and if OP decides to change title (which happens quite frequently) it might be lost forever if there were no email notifications.

In my personal case it’s actually much easier to lose track of something in my email inbox. Regardless of the status of the email notifications system, you might try using the My Subscriptions page a bit more to keep track of posts you don’t want to lose track of.

Quote:
P.S. is there a way to turn off this “no notification for last 10 active minutes” “featre”?

I’d be glad to if the majority prefers it that way. First I’m going to try to add it as an option, except that I’m running into a bug with the site engine that is preventing me from doing it in the easy and straightforward way I had planned.

Budget Light Forum ...where Frugal meets with Flashlight!

raccoon city
raccoon city's picture
Online
Last seen: 19 sec ago
Joined: 10/06/2010 - 02:35
Posts: 15528
Location: रॅकून सिटी Palm Desert CA USA

sb56637 wrote:
I can disable the 10 minute waiting period if most prefer it that way, but I’m surprised that I’m the only one who wants this feature. I find it very annoying after a day of browsing and posting to receive a plethora of email notifications for updated threads that I’ve already viewed because I saw them under “My Subscriptions” or in the “Recent Posts” list.

Apparently we all surf the site differently.  Smile

Do we need a poll to determine what most people prefer?

ToyKeeper
ToyKeeper's picture
Offline
Last seen: 1 day 23 hours ago
Joined: 01/12/2013 - 14:40
Posts: 10648
Location: (469219) 2016 HO3

sb56637 wrote:
In my personal case it’s actually much easier to lose track of something in my email inbox.

Same here. My inbox is about to hit six digits…

I might actually turn off email notifications, since I mostly use the My Subscriptions page. Wonderful page, that.

keengeorge
Offline
Last seen: 1 month 2 weeks ago
Joined: 04/26/2014 - 01:04
Posts: 1819
Location: Australia

G'Day SB,  smile

 

I suggest that while we are logged into the site, only 1 email notification per thread be sent.  wink

From memory, I believe you may have mentioned this feature/option already?.

As you mentioned, it is very annoying to get numerous email notifications per thread while logged in.

 

Best Regards,

George

sb56637
sb56637's picture
Offline
Last seen: 8 hours 19 min ago
Joined: 01/08/2010 - 09:29
Posts: 6994
Location: The Light

raccoon city wrote:
Do we need a poll to determine what most people prefer?

I think that pretty much everyone who has an opinion already posted it here. So far it appears that most people want to receive notifications all the time, so I’ll revert it to the old behavior tomorrow unless I can figure out how to make it optional.

Budget Light Forum ...where Frugal meets with Flashlight!

Sirius9
Sirius9's picture
Offline
Last seen: 1 day 27 min ago
Joined: 03/04/2012 - 19:23
Posts: 4627
Location: South Europe

I forgot to say, thanks for all the effort in rejuvenating this place (mostly under the hood) to keep the pace with time and running smooth Big Smile
I am aware of “My Subscriptions” page, I just never got used to use it that much, it’s something like last resort when I can’t find some thread and I am sure I posted in it.

 

DavidEF
DavidEF's picture
Offline
Last seen: 2 weeks 14 hours ago
Joined: 06/05/2014 - 06:00
Posts: 7699
Location: Salisbury, North Carolina, USA

ToyKeeper wrote:
sb56637 wrote:
In my personal case it’s actually much easier to lose track of something in my email inbox.

Same here. My inbox is about to hit six digits…

I might actually turn off email notifications, since I mostly use the My Subscriptions page. Wonderful page, that.


Pfft… I’ve been on six digits for YEARS in my inbox! Silly

The Cycle of Goodness: “No one prospers without rendering benefit to others”
- The YKK Philosophy

J-Dub74
J-Dub74's picture
Offline
Last seen: 5 months 3 weeks ago
Joined: 03/14/2015 - 17:17
Posts: 2231
Location: Michigan

I don’t think polls would help poor SB here. He could make a change that 80% think is great then would quickly be notified that the other 20% are furious at the change and the dislikes tend to be much louder than the likes. You’re doing a great job SB! Thank you.

Bort
Bort's picture
Offline
Last seen: 6 days 11 hours ago
Joined: 06/01/2012 - 17:15
Posts: 7471
Location: Holding the proverbial flashlight

raccoon city wrote:

Do we need a poll to determine what most people prefer?


You can make a poll asking if a poll is justified

The Journal of Alternative Facts TM

"It is critical that there is a credible academic source for the growing and important discipline of alternative facts. This field of study will just keep winning, and we knew that all the best people would want to be on board. There is a real risk in the world today that people might be getting their information about science from actual scientists"

 

onetrickpony
onetrickpony's picture
Offline
Last seen: 2 years 9 months ago
Joined: 03/17/2014 - 22:22
Posts: 388
Location: NH

I think there should be a referendum to decide the number of options the poll should include. Any number may be nominated, however the highest number currently voted for will become number one on the list of potential options. The numbers after that will be shifted reverse chronologically to accommodate this. Each member may then go back and edit their post to reflect what number they actually voted for.

keengeorge
Offline
Last seen: 1 month 2 weeks ago
Joined: 04/26/2014 - 01:04
Posts: 1819
Location: Australia

onetrickpony wrote:
I think there should be a referendum to decide the number of options the poll should include. Any number may be nominated, however the highest number currently voted for will become number one on the list of potential options. The numbers after that will be shifted reverse chronologically to accommodate this. Each member may then go back and edit their post to reflect what number they actually voted for.

+1,000  undecided wink

sb56637
sb56637's picture
Offline
Last seen: 8 hours 19 min ago
Joined: 01/08/2010 - 09:29
Posts: 6994
Location: The Light

Update: 03-MAR-2016

  • Added a user account option under “Subscriptions” for “Send me new post notifications by email even while I am logged on” to disable the 10 minute delay after last seen time before receiving new post notification emails. In other words, this option will restore the classic BLF email notifications behavior.

I already enabled this option for the three users in this thread that requested notifications all the time.

Budget Light Forum ...where Frugal meets with Flashlight!

J-Dub74
J-Dub74's picture
Offline
Last seen: 5 months 3 weeks ago
Joined: 03/14/2015 - 17:17
Posts: 2231
Location: Michigan

sb56637 wrote:
Update: 03-MAR-2016
  • Added a user account option under “Subscriptions” for “Send me new post notifications by email even while I am logged on” to disable the 10 minute delay after last seen time before receiving new post notification emails. In other words, this option will restore the classic BLF email notifications behavior.

I already enabled this option for the three users in this thread that requested notifications all the time.


Okay now you’re just showing off. Wink
I want and option that makes the glowing tailcap of my X6 to blink once every 10 seconds when someone responds to one of my posts and a double blink each time a new PM comes in.
HKJ
HKJ's picture
Offline
Last seen: 1 day 15 hours ago
Joined: 05/24/2011 - 12:23
Posts: 7372
Location: Copenhagen, Denmark

sb56637 wrote:
Update: 03-MAR-2016
  • Added a user account option under “Subscriptions” for “Send me new post notifications by email even while I am logged on” to disable the 10 minute delay after last seen time before receiving new post notification emails. In other words, this option will restore the classic BLF email notifications behavior.

I already enabled this option for the three users in this thread that requested notifications all the time.

Thanks.

My website with reviews of many chargers and batteries (More than 1000): https://lygte-info.dk/

Bort
Bort's picture
Offline
Last seen: 6 days 11 hours ago
Joined: 06/01/2012 - 17:15
Posts: 7471
Location: Holding the proverbial flashlight

J-Dub74 wrote:
sb56637 wrote:
Update: 03-MAR-2016
  • Added a user account option under “Subscriptions” for “Send me new post notifications by email even while I am logged on” to disable the 10 minute delay after last seen time before receiving new post notification emails. In other words, this option will restore the classic BLF email notifications behavior.

I already enabled this option for the three users in this thread that requested notifications all the time.


Okay now you’re just showing off. Wink
I want and option that makes the glowing tailcap of my X6 to blink once every 10 seconds when someone responds to one of my posts and a double blink each time a new PM comes in.

I’m sure Toykeeper could program that once you install wifi in your flashlight

The Journal of Alternative Facts TM

"It is critical that there is a credible academic source for the growing and important discipline of alternative facts. This field of study will just keep winning, and we knew that all the best people would want to be on board. There is a real risk in the world today that people might be getting their information about science from actual scientists"

 

Halo...
Halo...'s picture
Offline
Last seen: 4 years 7 months ago
Joined: 12/15/2011 - 02:39
Posts: 3304
Location: Halo island

I know it’s a joke but there are some very cheap small wifi modules that could fit in larger lights. Of course beyond the cool factor it doesn’t seem very useful. Plus there is the issue of battery life and I think the aluminum body of our lights might reduce the signal.

J-Dub74
J-Dub74's picture
Offline
Last seen: 5 months 3 weeks ago
Joined: 03/14/2015 - 17:17
Posts: 2231
Location: Michigan

Halo and Bort,

As I was typing my message which was indeed originally intended as a joke aimed at SB, I started laughing because everything each of you said went through my head in the time between brain and screen.

I am certain that Toykeeper could (and probably will) make that happen from the programming end and yes, even now this “could” be a reality though Halo I think you are correct in saying that it is not practical beyond the “cool” factor at this time based on current hardware, at least within the “budget” category. It won’t take long though for the hardware to make my joke a reality to become available.

Anyone care to place a wager on whether or not this will happen in the next 5 years? Wink I’m not a betting man, but I predict my joke will be in some of our BLF lights within the aforementioned timeframe… Hat

Halo...
Halo...'s picture
Offline
Last seen: 4 years 7 months ago
Joined: 12/15/2011 - 02:39
Posts: 3304
Location: Halo island

5 years is quite awhile. I’ll bet someone builds one within that time. You could seriously do one now. Don’t even need serious coding like ToyKeeper and others do. You could likely get by with some arduino level stuff. A SRK type light would probably be easiest since it has room and 4×18650s. And I think the cost would be more in time / effort than price. The extremely popular ESP8266 wifi modules start at like $2. All that’s stopping someone is the will to do it. Hat

Bort
Bort's picture
Offline
Last seen: 6 days 11 hours ago
Joined: 06/01/2012 - 17:15
Posts: 7471
Location: Holding the proverbial flashlight

There is that asgard bluetooth light, not sure if it can do this if modified but its probably could if you had a desire to go modding crazy.

The Journal of Alternative Facts TM

"It is critical that there is a credible academic source for the growing and important discipline of alternative facts. This field of study will just keep winning, and we knew that all the best people would want to be on board. There is a real risk in the world today that people might be getting their information about science from actual scientists"

 

Halo...
Halo...'s picture
Offline
Last seen: 4 years 7 months ago
Joined: 12/15/2011 - 02:39
Posts: 3304
Location: Halo island

Do they still sell that asgard bluetooth thing? Big Smile Wasn’t that a flop? And I recall it being flaky.

J-Dub74
J-Dub74's picture
Offline
Last seen: 5 months 3 weeks ago
Joined: 03/14/2015 - 17:17
Posts: 2231
Location: Michigan

Have I mentioned recently that I love this forum? Big Smile Beer

Sorry SB, I didn’t mean to hijack your thread. Seems to be a theme around here… Innocent

ToyKeeper
ToyKeeper's picture
Offline
Last seen: 1 day 23 hours ago
Joined: 01/12/2013 - 14:40
Posts: 10648
Location: (469219) 2016 HO3

Was going to mention the Flex Asgard, but I’m too late. It probably would have been more popular if they started with an EDC-sized design first.

I don’t really want network communication protocols in my flashlight though. I mean, if I want network-driven lights there are already lightbulbs which can do it… Or, you know, cell phones.

Besides, in 5 years SB will probably have BLF developed to the point where it’s self-aware. Smile

Halo… wrote:
serious coding like ToyKeeper …

Lol. I do this to avoid serious coding. I’m not really a specialist of any type, more of a generalist, and I like variety in what I do. Can’t quite say I’m “ten miles wide and one inch deep”, but maybe half a mile wide and a couple feet deep? I dunno. I seem to be pretty okay at a lot of things but awkwardly unexceptional at all of them.

Anyway, I’m glad SB is getting so many options working. I’m also glad people tolerate my ramblings. Sometimes it takes me a while to realize I’m thinking out loud.

Pages