Tag Archives: PHP

What I find interesting in tech, May/June 2021

Here’s what I found interesting lately in tech, from cloud to coding and lots more.

Cloud: I’ve been doing lots of work on Azure recently. Some things I found useful were this listing of Virtual machine sizes Also disk types. This piece on how to expand your virtual hard disks on a Linux VM was good. If you want to run Websphere on Azure, read this: Run WebSphere Application Server on Azure Virtual Machines.  If you want to learn more about deploying applications in Red Hat, read this. Finally here’s some good stuff from IBM on
Cloud Architectures.

Coding: If you want to print coloured text in Python — and who wouldn’t? — this is good. If you want to turn your HTML into an RSS feed, read this.  This will help you set up VS Code to do PHP Development. For people wanting to learn more about machine learning, IBM can help you. If you love Prolog or Javascript — or both! — check out: Tau-Prolog

Raspberry Pi/IOT: This is a great guide on how to troubleshoot problems with a Pi. This is a cool project using an OLED to make a clicker counter. If you need to load an OS or anything else on a Flash card, check out balenaEtcher. Here’s some advice on getting started with Bluetooth Low Energy. If you want to connect a raw serial terminal to a bluetooth connection, read that. If you want to do a cool Raspberry Pi Pico project with a MIDI, see this.

Fun and cool: Not a real Captcha, but a real fun one! DOOM Captcha – Captchas don’t have to be boring. Also fun: Crappy robots, ranked!. As an old user of 3270s, this downloadable version of 3270 fonts is awesome. Speaking of cool, here’s kinda the source code for Eliza! Check it out.

Other: Here’s some help on how to control smart home devices using speakers and displays. Here’s a good reminder that robots have a way to go yet: Peanut the Waiter Robot Is Proof That Your Job Is Safe. Developers! Here’s What’s Hot/What’s Not in terms of skills. Finally, have you considered how to
write software that lasts 50 years?

(Image via Raspberry Pi)

Advertisement

29 IT links to things I am working on or interested in: AI, Python, Netscaler, automation and more

Things I am interested in or working on these days: AI, WebSphere setup, Python, Twitter programming, development in general, configuring Netscalers, cool things IBM is doing, automation, among other things.

  1. If you have the AI bug and think you want to do some Prolog programming, you need this: What Prolog implementation to choose? What’s fastest? Compatibility?
  2. Deep Learning is hot in AI. If you want more info, this is good: Deep Learning Tutorials — DeepLearning 0.1 documentation
  3. Sigh. This debate never goes away in AI: Why AlphaGo Is Not AI – IEEE Spectrum
  4. More on the hysteria that AI brings: The founder of Evernote made a great point about why AI (probably) won’t kill us all – Vox
  5. Ignore most AI hysteria, but do read this: What does it mean for an algorithm to be fair? | Math ∩ Programming
  6. Want to whip up a quick mobile app? Consider: Mobile App Builder – new service now available – Bluemix Blog
  7. For power users, there’s: How to create an insane multiple monitor setup with three, four, or more displays | PCWorld
  8. Need virtual images? Take a look at this: Images | VirtualBoxes – Free VirtualBox® Images
  9. For hardcore WAS users, this is helpful: Installing optional Java 7.x on WebSphere Application Server 8.5 (Application Integration Middleware Support Blog)
  10. A classic. Anyone tuning WAS needs this: Case study: Tuning WebSphere Application Server V7 and V8 for performance
  11. Want to learn Python? Write your own Twitter client? Or do both? Then there’s this: How To Build a Twitter “Hello World” Web App in Python | ProgrammableWeb
  12. More on programming Twitter: How To Use The Twitter API To Find Events | ProgrammableWeb
  13. Nice little project to try, here: Create a mobile-friendly to-do list app with PHP, jQuery Mobile, and Google Tasks
  14. Creating Simple Responsive HTML5 and PHP Contact Form | Future Tutorials
  15. Setting up a Linux system? Then you want to read this: Most secure way to partition linux? – Information Security Stack Exchange
  16. Want to learn Linux? This is essential! IBM developerWorks : Technical library concerning Learning Linux
  17. If you are doing performance work on Unix, you will likely use vmstat. Even if you know vmstat, this is good to review: What to look for in vmstat – UNIX vmstat command
  18. Wow! OS/2 is still alive! OS/2: Blue Lion to be the next distro of the 28-year-old – Yahoo Finance
  19. Talk about old tech! This makes OS/2 seem fresh! It’s Insane that New York’s Subway Still Runs on This 80-Year-Old Switchboard | Motherboard
  20. I was doing some work on Netscaler and found this useful in comparing the set up of one Netscaler config with another: Export Netscaler Config – NetScaler Application Delivery – Discussions. This is also useful:  Netscaler 9 Cheat Sheet.doc – netscaler9cheatsheet.pdf
  21. I thought this was a good development for everyone interested in Node: IBM Buys StrongLoop To Add Node.js API Development To Its Cloud Platform | TechCrunch
  22. Alot has changed with IBM’s OpenPOWER. Forbes gets you up to date, here: IBM’s OpenPOWER: A Lot Has Changed In Two Years – Forbes
  23. Cool stuff here: Access your Docker-based Raspberry Pi at home from the internet · Docker Pirates ARMed with explosive stuff
  24. I was using Perl scripts on Linux to send me messages to my mobile device via Pushover. This was good for that: pushover Archives – Perl Hacks
  25. I was also using WinSCP for that and this helped: Scripting and Task Automation :: WinSCP
  26. For all those trying to succeed in IT but feeling you are running into ceiling, you should read this: Tech’s Enduring Great-Man Myth or this When It Comes to Age Bias, Tech Companies Don’t Even Bother to Lie | Dan Lyons | LinkedIn
  27. Linus Torvalds is always interesting, and this is especially good: Linux at 25: Q&A With Linus Torvalds – IEEE Spectrum
  28. Very cool! Particle | Build your Internet of Things
  29. And finally some links to good stuff on UML online: Multi-layered web architecture UML package diagram example, web layer depends on business layer, which depends on data access layer and data transfer objects.

How to set up Kanboard (a visual task board inspired by Kanban) on the IBM Bluemix platform

It is very easy to set up Kanboard on Bluemix, IBM’s PaaS solution. (For those of you not familiar with Kanboard, it it a visual task board inspired by Kanban). I encourage you to visit the Kanboard site for more information. 
 
Meanwhile, to set up Kanboard in Bluemix, I took the following steps, some which are optional:
 
1) Download the kanboard code from here: http://kanboard.net/downloads
2) Unzip the kanboard folder.
3) (Optional) Copy the kanboard folder into a local test environment. I had a Xampp test environment and I put the kanboard there. (e.g., C:\xampp\htdocs\kanboard). I started Apache and then pointed my browser at http://localhost/kanboard to see it working. (One of the benefits of doing this is I can configure the Kanboard environment before I push it into Bluemix. In my case, I created some new users, changed the admin password, and added some default tasks. If I push this folder, these changes will also show up in Bluemix.)
4) I had a copy of the Cloud Foundary executable (cf.exe) to push the code into Bluemix: I put the cf.exe file in the Kanboard folder.
5) I created a manifest.yml file in the Kanboard folder. In my manifest.yml file I had the following 
 

applications:
– name: <my app name>
  memory: 256M
  instances: 1
  host: <my host name>
  buildpack: https://github.com/zendtech/zend-server-php-buildpack.git
 
You can make the name and host name anything, though the hostname is part of the URL for the site, so it must be acceptible as part of a URL. Also the hostname needs to be unique in Bluemix. I tend to make the app and host name the same.
 
Open a command window, and from the Kanboard folder, enter the following commands:
  1. cf api https://api.ng.bluemix.net
  2. cf login -u <your Bluemix login account>
  3. cf target -o <your Bluemix login account> -s dev
  4. cf push
Once you see that the health and status for the app is “OK”, you can either go to Bluemix to check it out, or go directly to  the url: http://<hostname>.mybluemix.net/
You should be able to login and proceed to use it. (The default userid and password is here).

Hack: Facebook’s version of PHP, now for everyone (#technical)

It’s not news that Facebook has been running a modified version of PHP for some time. What is news is that now so can you.

You can get a copy of it at this website:Hack. It installs on most OSs (or will, soon), and even runs in the Cloud (on Heroku).

According to this, Facebook Introduces ‘Hack,’ the Programming Language of the Future | Wired Enterprise | Wired.com, what you get is a high performing version of PHP with very little you have to change to get the performance gains.

It will be interesting to see if this helps to drive up usage in PHP. There are lots of new technologies to build web site with these days: this could make PHP a desirable option.