li

Franklin Templeton winds up $3bn of India funds after market turmoil

US investment group halts withdrawals in move that could rock asset management industry




li

India’s central bank offers mutual funds $6.6bn liquidity line

Authorities aiming to head off turmoil after Franklin Templeton fund freeze




li

India: the millions of working poor exposed by pandemic

More than 140m migrant workers have lost jobs since the lockdown began and now face destitution




li

How to Display Publish Dates as Time Since Posted

It’s common to present dates on the Web in a format such as "Published on September 12th, 2015", or "09/12/2015 09:41:23".

Each of these examples tells the full date and/or time of some kind of activity – be it a published article, or a reader comment, or perhaps an uploaded video.

Date formats like this might seem perfectly reasonable. After all, they’re informative and human-readable. Well yes, but “human-readable” doesn’t necessary mean users will readily be able to understand how recently the activity has occurred. The Web is a fast-moving place, and giving your content a sense of freshness could be the key to engaging with your audience.

I combined my ideas and practical solutions into an article which you are very welcome to read on SitePoint.

Read the article

See the Demo




li

Enabling CodeIgniter's Garbage Collector

My session driver of choice for CodeIgniter is database. A while ago, I noticed millions of rows in the corresponding database table. That means that garbage collector was not working. I checked config.php for sess_regenerate_destroy, but it was already set to false. It was really weird because the problem seemed to have come out of nowhere – not much ago things were working just fine.

After a short investigation, I found out this was and still is a common problem for those who had upgraded their CodeIgniter version from 2.x to 3.x. Turns out, the later possesses heavy changes for Sessions library. And most importantly – fundamental changes in dealing with garbage: CodeIgniter 3.x relies on PHP's native grabage collector. So, in order to get things working again, we need to configure PHP properly.

The Solution

Today there are three PHP-native settings for dealing with session garbage collector. CodeIgniter's Session library has already taken care of one of them – gc_maxlifetime – so there's no need for an extra touch here. The problem lies within the rest: session.gc_probability and/or session.gc_divisor. These two determine when the garbage collector is running. Here's what php.net says:

session.gc_divisor coupled with session.gc_probability defines the probability that the gc (garbage collection) process is started on every session initialization. The probability is calculated by using gc_probability/gc_divisor, e.g. 1/100 means there is a 1% chance that the GC process starts on each request.

In my case, using ini_get() revealed the following values: 0 and 1000. The equation 0/1000=0 meant there was no chance the garbage collector would even run.

Finally, I solved the problem by using the values officially stated as default and by putting the following lines of PHP code into config/config.php file:

ini_set( 'session.gc_probability',	1 );
ini_set( 'session.gc_divisor',		100 );

Theoretically, this means that the garbage collector usually runs once every 100th request. It's more than enough, but it is up to you whether that causes too many unnecessary hits to database. An alternative solution for heavy-traffic websites could be having a 0% probability on the production site and a Cronjob-based script which removes database rows of the expired sessions.




li

Nanowires and nanotubes--synthesis, properties, devices and energy applications od one-dimensional materials: symposium held April 9-13, 2012, San Francisco, California, U.S.A. / editors, Junichi Motohisa ... [et al.]

Hayden Library - TA418.9.N35 N396 2012




li

Polymer-carbon nanotube composites: preparation, properties and applications / edited by Tony McNally and Petra Pötschke

Hayden Library - TA418.9.N35 P65 2011




li

Nanopores for bioanalytical applications: proceedings of the international conference / edited by Joshua Edel, Tim Albrecht

Hayden Library - TA418.9.N35 I5737 2013




li

Silicon-germanium (SiGe) nanostructures: production, properties and applications in electronics / edited by Yasuhiro Shiraki and Noritaka Usami

Hayden Library - TA418.9.N35 S54 2011




li

Nanowires: properties, synthesis, and applications / Vincent Lefèvre, editor

Barker Library - TK7874.85.N365 2012




li

Radical abundance: how a revolution in nanotechnology will change civilization / K. Eric Drexler

Dewey Library - T174.7.D745 2013




li

Intelligent nanomaterials: processes, properties, and applications / edited by Ashutosh Tiwari ... [et al.]

Hayden Library - TA418.9.N35 I5685 2012




li

Nanocarbon materials and devices: symposium held April 9-13, 2012, San Francisco, California, U.S.A. / editors, Markus J. Buehler ... [et al.]

Hayden Library - TA418.9.N35 N2465 2013




li

Solution synthesis of inorganic films and nanostructured materials: symposium held April 9-13, 2012, San Francisco, California, U.S.A. / editors, Menka Jain ... [et al.]

Hayden Library - TA418.9.N35 S967 2012




li

Proceed with caution?: concept and application of the precautionary principle in nanobiotechnology / edited by Rainer Paslack, Johann S. Ach, Beate Lüttenberg, Klaus-Michael Weltring

Hayden Library - T174.7.P665 2012




li

Physics, chemistry and applications of nanostructures: proceedings of the International Conference Nanomeeting--2013: reviews and short notes: Minsk, Belarus, 28-31 May 2013 / editors, V.E. Borisenko, S.V. Gaponenko, V.S. Gurin, C.H. Kam

Barker Library - QC176.8.N35 N35 2013




li

Nanotech Conference & Expo 2012: Nanotechnology 2012: technical proceedings of the 2012 NSTI Nanotechnology Conference and Expo: June 18-21, 2012, Santa Clara, California, USA / NSTI Nanotech 2012 proceedings editors, Matthew Laudon, Bart Romanowicz

Barker Library - T174.7.N79 2012




li

Nanostructured metal oxides for advanced applications: symposium held April 1-5, 2013, San Francisco, California, U.S.A. / editors, Alberto Vomiero, Federico Rosei, Xiao Wei Sun, Juan Roman Morante

Hayden Library - TA418.9.N35 S9665 2013




li

Solution synthesis of inorganic functional materials -- films, nanoparticles and nanocomposites: symposium held April 1-5, 2013, San Francisco, California, U.S.A. / editors, Menka Jain, Quanxi Jia, Teresa Puig, Hiromitsu Kozuba

Hayden Library - TA418.9.N35 S656 2013




li

Nanocontacts--emerging materials and processing for ohmicity and rectification: April 9-13, 2012, San Francisco, California, USA / editors, A.A. Talin, M.S. Islam, C. Lavoie, K-N. Tu

Hayden Library - QC176.8.N35 N3256 2012




li

Carbon functional nanomaterials, graphene, and related 2d-layered systems: symposia held April 1-5, 2013, San Francisco, California U.S.A. / editors, Mauricio Terrones [and 14 others]

Hayden Library - TA418.9.N35 S972 2013




li

Nanoscale materials modification by photon, ion, and electron beams: April 9-13, 2012, San Francisco, California, USA / editors, C. Li

Hayden Library - TA418.9.N35 N357 2012




li

Titanium dioxide nanomaterials 2012: April 9-13, 2012, San Francisco, California, USA / editors, X. Chen, G. Tulloch, C. Li, J. T. Yates Jr

Hayden Library - TA418.9.N35 T58 2012




li

Semiconductor nanowires: optical and electronic characterization and applications: November 25-30, 2012, Boston, Massachusetts, USA / editors J. Arbiol, P.S. Lee, J. Piqueras, D.J. Sirbuly

Hayden Library - TK7874.85.S474 2012




li

Nanoimaging and nanospectroscopy: 27-29 August 2013, San Diego, California, United States / Prabhat Verma, Alexander Egner, editors ; sponsored and published by SPIE

Online Resource




li

Advanced fabrication technologies for micro/nano optics and photonics VII: 3-5 February 2014, San Francisco, California, United States / Georg von Freymann, Winston V. Schoenfeld, Raymond C. Rumpf, editors ; sponsored by SPIE ; cosponsored by Samsung Adva

Online Resource




li

Nanotechnology and sustainability / editors, L. Vayssieres, S. Mathur, N.T.K. Thanh, Y. Tachibana

Hayden Library - T174.7.N373295 2013




li

Nanoimaging and nanospectroscopy II: 17-19 August 2014, San Diego, California, United States / Prabhat Verma, Alexander Egner, editors ; sponsored and published by SPIE

Online Resource




li

Proceedings of the 13th International Conference of the European Society for Precision Engineering and Nanotechnology: May 27th-31st, 2013, Berlin, Germany / editors, R. Leach, P. Shore ; proceedings compilation, T. Horwood, D. Nyman, D. Phillips, N. Will

Barker Library - T174.7.I59 2013




li

Proceedings of the 14th International Conference of the European Society for Precision Engineering and Nanotechnology: June 2nd-6th, 2014, Dubrovnik, Croatia / editors, R. Leach ; proceedings compilation, N. Charlton, D. Nyman, D. Phillips

Barker Library - T174.7.I59 2014




li

Convergent nanotechnologies / edited by Stanislav Kolisnychenko

Hayden Library - T174.7.C668 2015




li

Commercializing nanomedicine: industrial applications, patents, and ethics / edited by Luca Escoffier, Mario Ganau, Julielynn Wong

Online Resource




li

Leading edge of micro-nano science and technology: selected peer reviewed papers from the 11th China International Nanoscience and Technology Symposium (CINST 2012), October 21-25, 2012, Kunming, China / edited by Hailin Cong, Bing Yu and Xing Lu

Hayden Library - T174.7.C459 2012




li

Enabling science and nanotechnology: 2010 International Conference on Enabling Science and Nanotechnology: ESciNano 2010: KLCC, Kuala Lumpur, Malaysia, 1-3 December 2010 / editors, A. M. Hashim ... [et al.]

Online Resource




li

Nanoscale materials and devices for electronics, photonics and solar energy / Anatoli Korkin, Stephen Goodnick, Robert Nemanich, editors

Online Resource




li

Magnetic nano- and microwires: design, synthesis, properties and applications / edited by Manuel Vázquez

Barker Library - TK7874.85




li

Applied Nanotechnology: The Conversion of Research Results to Products / Jeremy J. Ramsden, University of Buckingham, Buckingham, UK

Online Resource




li

MEMS and nanotechnology.: Proceedings of the 2015 Annual Conference on Experimental and Applied Mechanics / Barton C. Prorok, LaVern Starman, editors

Online Resource




li

Semiconductor nanowires - synthesis, properties and applications: April 21-25, 2014, San Francisco, California, USA / editors, Y. Zhu, S. Gradecak, Y. Gu, J. Spanier

Hayden Library - TK7874.85.M425 2014




li

CRC concise encyclopedia of nanotechnology / edited by Boris Ildusovich Kharisov, Oxana Vasilievna Kharissova, and Ubaldo Ortiz-Mendez

Online Resource




li

In-situ characterization of material synthesis and properties at the nanoscale with TEM: April 21-25 2014, San Francisco California, USA / editors, M. Chi

Hayden Library - TK7874.85.I55 2014




li

Nanoscience in food and agriculture. Shivendu Ranjan, Nandita Dasgupta, Eric Lichtfouse, editors

Online Resource




li

Environmental nanotechnology: applications and impacts of nanomaterials / Mark R. Wiesner, editor, Jean-Yves Bottero, editor

Hayden Library - T174.7.E58 2016




li

Nanovate: commercializing disruptive nanotechnologies / Mohab Anis, Ghada AlTaher, Wesam Sarhan, Mona Elsemary

Online Resource




li

Nanogenerators and piezotronics: April 6-10, 2015, San Francisco, California, USA / editors, Rusen Yang [and three others]

Hayden Library - T174.7.N347 2015




li

Semiconductor nanowires - growth, physics, devices and applications: November 30 - December 5, 2014, Boston, Massachusetts, USA / editors, G. Koblmueller

Hayden Library - TK7874.85.S473 2014




li

Exploiting bioinspired self-assembly for the design of functional and responsive materials: April 6-10, 2015, San Francisco, California, USA / editors, Alberto Saiani [and three others]

Hayden Library - T174.7.E965 2015




li

Nanophysics, Nanomaterials, Interface Studies, and Applications: Selected Proceedings of the 4th International Conference Nanotechnology and Nanomaterials (NANO2016), August 24-27, 2016, Lviv, Ukraine / Olena Fesenko, Leonid Yatsenko, editors

Online Resource




li

Nanoparticles / Raz Jelinek

Hayden Library - T174.7.J45 2015




li

Nanotechnology: synthesis to applications / edited by Sunipa Roy, Chandan Kumar Ghosh, and Chandan Kumar Sarkar

Hayden Library - T174.7.N345524 2018