Category: Uncategorized

Web Profiler in Drupal 8

Profiling your site is extremely useful not only for debugging and performance testing but also for learning about how your site handles requests. Symfony 2 comes with a bundle (like a Drupal module but for Symfony) called WebProfiler Bundle which collects information about each request made to your application and allows you to visualize it in the browser. Drupal 8 doesn’t include the Web Profiler bundle in core. However, there already is a contrib module for it. Make sure to install any dependencies before enabling the module. The module will render a fixed bar at the bottom of each page for users with the View webprofiler toolbar permission. The bar provides a summary of the collected data from the profiler. By clicking on any of the items, you …

Original Article Can Be Found Here:

Web Profiler in Drupal 8


Also published on Medium.

Stephen Hawking: ‘Transcendence looks at the implications of artificial intelligence – but are we taking AI seriously enough?’

With the Hollywood blockbuster Transcendence playing in cinemas, with Johnny Depp and Morgan Freeman showcasing clashing visions for the future of humanity, it’s tempting to dismiss the notion of highly intelligent machines as mere science fiction. But this would be a mistake, and potentially our worst mistake in history. Artificial-intelligence (AI) research is now progressing rapidly. Recent landmarks such as self-driving cars, a computer winning at Jeopardy! and the digital personal assistants Siri, Google Now and Cortana are merely symptoms of an IT arms race fuelled by unprecedented investments and building on an increasingly mature theoretical foundation. Such achievements will probably pale against what the coming decades will bring.The potential benefits are huge; everything that civilisation has to offer is a product of human…

Original Article Can Be Found Here:

Stephen Hawking: ‘Transcendence looks at the implications of artificial intelligence – but are we taking AI seriously enough?’ – Science – News – The…

Redesigning the Country Selector – Labs – Baymard Institute

Dependencies jQuery & dash; This is a jQuery plugin so you’ll (obviously) need jQuery included. Auto-complete – You’ll need some kind of an auto-complete plugin. There’s an adapter written for the jQuery UI Autocomplete plugin but you can also use your own. Installation Be sure to include the dependencies and then the selectToAutocomplete plugin. Now you simply need to call the ‘.selectToAutocomplete’ function on a jQuery selection once the DOM is ready. For example, to turn all select elements with a class of turn-to-ac, you’d simply need to call: jQuery(function() jQuery(‘select.turn-to-ac’).selectToAutocomplete();); If you just want to use the default configuration and the jQuery UI Autocomplete plugin then this is it. Otherwise, check below too see how you can …

See original article taken from here:

Redesigning the Country Selector – Labs – Baymard Institute

© 2025 Paul Parisi

Theme by Anders NorénUp ↑