RSSAmplifier

Blog

Kristian Polso

polso.infoRSS feed ↗39 posts

Latest posts

Do I even want to be a coder anymore?

I keep reading more and more about how AI will revolutionize coding, how you simply have to know and use AI agents for people to consider you for a developer job, and how using it is already the new normal for most programmers. Pondering these articles......

I built my own CDN with Varnish and Nginx

I have previously used tons of different commercial CDN services, mostly BlazingCDN and Bunny lately. But having been frustrated with them for a multitude of reasons, I finally decided to bite the bullet and try and build my own tiny CDN service. Here s......

PHP-RAG: Open source PHP-based LLM solution

I have released an open source RAG-based solution on Github, called PHP-RAG. With it, you can build an AI assistant (or a "chatbot") using common web frameworks and tools, like PHP, Elasticsearch or Solr. It connects with several LLM APIs, like OpenAI......

I released my first game - Deep Space Survivor

I have just released my first ever video game on Itch.io! In Deep Space Survivor, you try to survive the numerous enemy space ships that are trying to get you, blowing them up with unique weapons and powerups. Influenced by Vampire Survivors and Magic......

I taught AI to play Flappy Bird using Genetic algorithms

I taught a game AI to play Flappy Bird, the hit mobile game from couple of years ago. Do you think it can beat it? Check the progress and result in the Youtube video. Brainwave: https://github.com/zefman/Brainwave Gitlab:......

Raspberry Pi E-Ink photo frame: video and full source code

I made an e-ink photo frame using a Raspberry Pi and Waveshare s e-ink display that shows data from my Home Assistant server. Here s a Youtube video I made of it and the full source code is available on Gitlab. The display is from Waveshare, 7.5 inch......

Launching Pino: a Drupal 8 Distribution for Member Management

Last week I published Pino: a Member Management web app built as a custom Drupal 8 distribution. With Pino, you can manage members and their metadata, send email notifications to the members and more. I have been thinking about this doing this project......

Big List of Ecommerce Conversion Tips

I run several ecommerce shops and whether I like it or not, most of my days are spent getting the conversion rates up. I have gathered here the most important conversion tips that I know. These tips are in no particular order (except maybe no. 1 being......

Datasets of BTC-USD history data from 4 major Bitcoin exchanges

Download the datasets (ZIP file, 8MB). For a while, I had been building a neural network that could predict the arbitrage opportunities in various Bitcoin exchanges. Unfortunately I have no time currently for this project, so I have now decided to......

Predicting the winner of a Dota 2 match using neural networks

https://dota.polso.info Since The International is coming up soon, I made this small little site that tries to predict the winning team of a Dota match, based on the hero picks. I wanted to make a simple machine learning project, so I came up with......

Blockchain, GDPR, Migrate API... Videos from DrupalCamp Nordics 2017 are live!

I have just finished editing the session videos from the very first DrupalCamp Nordics. DrupalCamp Nordics 2017 was held in Helsinki, on 11th to 12th of May 2017. The event was a great success, with over 120 participants from more than 10 different......

How to install Drupal 8 (and Composer) on Windows 10 Bash

Microsoft released Windows 10 Anniversary Update on August 2nd 2016, and this update included a much awaited "Windows Subsystem for Linux", which allows the user to run bash and command line Linux applications. It uses Ubuntu 14.04 as the base and as......

My first thoughts on Drupal 8 development

So on my summer holiday I decided to finally take a look at custom module development for Drupal 8. During this time I made some interesting findings, and thought sharing them would probably help others too. Note that I was determined to build a REST......

Crawling the top 15,000 Drupal websites: 2016 edition

This is an update to last year s blog post. The source was the same as last time, 1,000,000 websites from Alexa, dumped on 4th of January 2016. Out of those websites, I was able to recognize 217,000 websites as five of the most popular CMS s. I used......

My talk on Drupal security in Drupal Days Milan

So I just came back from European Drupal Days in Milan. I had great fun at the event, it was well organized and filled with interesting talks. I ll be sure to attend it next year too! Image by Josef Dabernig Below are the slides for my talk about......

Integrating Twitter feed to your Drupal site

Twitter API can be a major PITA sometimes, but luckily there are modules for Drupal that makes integrating it to your website easy. Twitter module (this tutorial uses 7.x-5.8 version) Oauth module (this tutorial uses 7.x-3.2 version) A Twitter......

Crawling the top 15,000 Drupal websites

The source was the top 1,000,000 websites from Alexa, dumped on 13th of November 2014. So the data should be reasonably up-to-date. Out of those websites, I was able to recognize 171,010 websites as three of the most popular CMS s. For this task, I......

Detect-CMS: Open Source PHP Library for detecting CMS on sites

I released on Github a open source library written in PHP for detecting various CMS s. I felt like there wasn t really any open source tool for this so I made this. Currently it only detects Drupal, WordPress and Joomla! websites. I am working on other......

DrupalCon Amsterdam 2014 Youtube videos by Track

Turbocharging Drupal syndication with Node.JS The recipe for success: How BBC Good Food used Drupal Sell Anything to Anyone, Anywhere (Commerce Without Borders) Website Success from the Platform Up Getting the Technical Win: How to Position Drupal to......

DrupalCon Amsterdam: The aftermath & sessions by track

So DrupalCon Amsterdam is finally over. The whole week was really action-packed, from start to finish. Some big news were dropped during the event. Drupal 8.0.0 beta 1 was released during the main event. This is the first beta release for Drupal 8 and......

My road to DrupalCon Amsterdam

My first trip to a DrupalCon is just about to start! The yearly DrupalCon Europe is held in Amsterdam from 29th of September to 3rd of October 2014. There are a lot of sessions to be seen, wide array of sprints, social events and much more. I am......

How to create Drupal Commerce products programmatically

Sometimes you just need to get your hands dirty and start adding Drupal Commerce products programmatically. Luckily that is not that hard of an thing to do. Create a Product entity: // Product $product = commerce_product_new( product );......

How to make language switcher links link to frontpage in Drupal 7

Drupal has a block called "Language Switcher", which displays links to different language versions of the current page/node. If the node does not have translated version on the specified language, the block will not display a link for it. This can cause......

Password protect your Drupal site with Shield-module

From time to time, there might arise a situation where you want to password protect your Drupal site. Maybe the site is under development, or you just want it to be available to a selection of users. This is usually done with something called "HTTP......

Fix Drupal Registry with Registry Rebuild

It has happened to all of us. You mistakenly remove a module directory or migrate your site and forget to include some necessary modules. This causes your Drupal site only to show the WSOD and perhaps the following error: Fatal error: Class......

How to keep product category active when viewing a product in Drupal Commerce

If you have your product categories-vocabulary in a menu, Drupal Commerce can t by default activate the active-trail when viewing a product node. This can be bad UX, since user has to remember from which category he came to the current product. Answer......

Allow classes and ids in the new CKEditor

One of the first things I usually need to do when installing a new Drupal site, is to change the settings in the new (version>4) CKEditor so that I can type classes and ids and not have them strip out. To do this, do the following: Go to......

How to use Facebook Connect in Drupal

Let s face it, everybody and their mother are using Facebook nowadays. So having Facebook Connect as an login option would be really beneficial on your Drupal site. Some of the reasons for this are: Users don t need to register on your website. Users......

Free Themes Showcase: October 2011

It s that time of the month again! October has been pretty quiet, I have to admit, but at least we got some free themes out of it! Touch is a great looking Drupal 7 theme. The theme is not dependent on any core theme or module. Its very light......

Free Themes Showcase: September 2011

September is gone (sorry for bit late article!) and the free themes are here. Plenty of base themes have been released, but they are not showcased on this series. This series is all about free themes. Impressive dark theme, available in 3......

How to setup CKEditor with IMCE

One of the most important part of a CMS is the content editor. In this tutorial, we will show to setup CKEditor for this task and IMCE for handling file uploads. CKEditor is a WYSIWYG editor. It is the most popular and widely-used editor......

Free Themes Showcase: August 2011

Autum is looming and it is time to wrap up some themes! Adodis Flyer theme is mainly developed for the corporate companies for incorporating their Features,Management and their services provided globally. This awesome and spectacular theme......

Drupal 7 Useful Theme Snippets

Theming a Drupal 7 site can be quite tricky at times. Drupal has a powerful engine for themes and tons of different settings in it. Here s a couple of different code snippets to ease your theme development. function......

Free Themes Showcase: July 2011

The summer is here and so are new, fresh themes. Here s the best of the free themes available this month. Corporate Clean for Drupal by More than Themes is based on the homonymous PSD template, which was designed and published by Zsolt Kacso.......

8 Tips for Optimizing Drupal

At times, Drupal can be quite a resource hog. Especially if you have hundreds or thousands of visitors on your website. That is why optimizing your Drupal site is an important task. Here s some basic optimizing tips for those who need it. Go to......

Comparison of Lightbox-modules for Drupal 7

Drupal has many modules available for displaying Lightbox-type content. Unfortunately for Drupal 7, there is only a few. Here s some of them reviewed. Lightbox is a JavaScript application, that is used to show large images or other content in modal......

Free Themes Showcase: June 2011

Here we start a new series, in which we showcase some of the new, free, community-supported Drupal 7 themes. At first, we have 4 themes from June 2011. Urban Solice is a professionally designed, well-organized, Drupal 7 base theme. Urban Solice s......

How to configure Pathauto with Transliteration

In this article we are going to build a system, which generates automatically URL aliases for new nodes and also transliterates them, So for example, our node "Test-äöü" would become "http://www.example.com/test-aou" . Pathauto-module (this......

How to convert your Drupal 6 theme to a Drupal 7 theme

When migrating your Drupal 6 to Drupal 7, one of the most important issues is the theme. Luckily, the base of the themes in Drupal 7 haven t changed that much, so the conversion is pretty straight-forward. Here are some tips for converting your theme,......