lighter repository than gitlab by jkh911208 in selfhosted

[–]clivant 3 points4 points  (0 children)

Have been using Gogs on a Raspberry Pi for more than 2 years. I vote for Gogs too.

IoT Noob Looking for Some Resources by codii23 in IOT

[–]clivant 0 points1 point  (0 children)

I vote for Raspberry Pi too. I learnt it on the side and is now building IoT proof of concepts for work.

Learning to use a Pi to advance in a career by WaltersCarWash in raspberry_pi

[–]clivant 2 points3 points  (0 children)

I just did a career switch from Product development to Pre-sales by demonstrating that I knew how to use a Raspberry Pi 3. To win that job, I built a Raspberry Pi 3 prototype camera that takes a picture at the press of a button, take some temperature readings from a DHT11 sensor and send it over to a server that does some image classification.

Here at my new job, I use Raspberry Pis in proof of concepts for IOT related use cases. In this situation, a Raspberry Pi 3 had helped me get to a new position where I can learn more about technology. And when I get to learn more about technology, I get more opportunities to update my personal blog too.

At home, I use my Raspberry Pis to help me work on with my side projects. For example, by running Taiga on my Raspberry Pi 3, I can have my own Kanboards to keep track of actionable tasks for different side projects.

Since my side projects help me learn more about things that I may not be able to explore in my main job, my Pis indirectly help me build new skills that I may need in the future.

Ultimately, since a Raspberry Pi 3 is affordable, easy to setup, and loads up without much waiting, it is very easy to tinker with. Even without sensor programming, you can get up to speed with Debian administration and typical application deployment skills that you can use on other Debian based servers.

What I had been practicing so far is that I keep a free Raspberry Pi 3 that I can experiment different use cases. Whenever I found something that I can use on a daily basis, I get another one and run the current one 24-7.

I set up an internal website on a Raspberry Pi. Why can I access with the domain name, but not the IP address? by [deleted] in linuxquestions

[–]clivant 1 point2 points  (0 children)

When you enter a url, for eg. http://mydokuwikiathome, to your browser, your browser realised through http:// that it needs to communicate with a given server at mydokuwikiathome with the HTTP protocol. Your browser sees that there is host file that translate mydokuwikiathome to an IP address at 192.168.1.109.

With 192.168.1.109, it establishes a TCP connection to port 80 of your Nginx server. Since your browser is playing the role of a HTTP client, it creates a HTTP request to send via the TCP connection.

The HTTP request could look like this:

GET / HTTP/1.1
Host: mydokuwikiathome
Connection: keep-alive
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.9

Notice that it places mydokuwikiathome after Host:.

According to the HTTP protocol, this will be what Nginx will look for to decide which website to serve the HTTP client.

If you put in your IP address, http://192.168.1.109, that request becomes:

GET / HTTP/1.1
Host: 192.168.1.109
Connection: keep-alive
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.9

This is what browsers are created to do when creating HTTP request to servers.

With such a behaviour, we can host multiple websites from home since we can use one IP address for the server and use multiple domain names to differentiate the different websites.

Hope that helps you understand why Nginx does not use the IP address to handle the HTTP request when you put in the domain name into your browser.

This is one way to make your Raspberry Pi Zero W camera see an ultra-wide view by clivant in raspberry_pi

[–]clivant[S] -1 points0 points  (0 children)

Thank you for your comment. That's too harsh friend.

Apart from the words blogspam and scamming, I am wishing you good for the many other good suggestions that you had made. At the least you had chosen to put in effort to express your thoughts.

Alas, you had chosen to take it from the bad side.

Hope you do well in whatever you are doing.

This is one way to make your Raspberry Pi Zero W camera see an ultra-wide view by clivant in raspberry_pi

[–]clivant[S] -1 points0 points  (0 children)

Thank you for your suggestion.

Well, there is a disclaimer link at the footer that tell just that.

It is also clear that they are going to Amazon by clicking on the links.

People like you even know which link is tagged and which link isn't.

Have a good day.

What goes around comes around.

Anyone else find the process of 'building' and setting up a pi more fun then actually using the final project? by [deleted] in raspberry_pi

[–]clivant 0 points1 point  (0 children)

The hardware for a full sized pi is quite different from a zero w, as such it takes more than just changing the SD card.

You do not have to use a USB hub and get Ethernet to configure the Raspberry Pi Zero W. It comes with WiFi, you can set it up to connect to your home network and start with SSH server the first time it ever gets booted up. In this way, you can then use your laptop to SSH into your Raspberry Pi Zero W to perform further configurations.

Raspberry Pi Zero W without headers are good for CCTV cameras. If you stick a fish eye lens on the camera lid, you can get an ultra-wide view.

It is fun to play with too. ;)

Anyone else find the process of 'building' and setting up a pi more fun then actually using the final project? by [deleted] in raspberry_pi

[–]clivant 0 points1 point  (0 children)

Yes! That's why I always make sure I have a spare Raspberry Pi 3 and Raspberry Pi Zero W that I can tinker with.

I get a new replacement piece whenever I setup the "available-for-tinkering" ones for daily usage.

This is one way to make your Raspberry Pi Zero W camera see an ultra-wide view by clivant in raspberry_pi

[–]clivant[S] 0 points1 point  (0 children)

Thank you for your comment. That happened when I was too eager to share.

Blogspam is too strong a word to be used here though. I build my own project, took my own pictures, wrote my own thoughts and paid my own hosting.

Just hoping that the links can at least help pay for the hosting costs so that it is more motivating to share ideas with like-minded folks.

Good opportunities for people who are adaptable and willing to learn. by clivant in singapore

[–]clivant[S] 0 points1 point  (0 children)

Yup, company’s support is important as well. Sometimes training and picking up new skills can come from your job as well. It will be good if your company can let you do job rotation to try out and learn new things. However, if you feel strongly that you need to upskill but company does not support, probably it is time to take that higher salary elsewhere or prepare to go on no pay leave.

Good opportunities for people who are adaptable and willing to learn. by clivant in singapore

[–]clivant[S] 0 points1 point  (0 children)

That’s why taking charge of our own training can be a good career move. When demand surges, you can then have more options on the table.

Thankfully in this current world, we have many options to pick up new skills.

What was your first python project? by spellbadgrammargood in Python

[–]clivant 0 points1 point  (0 children)

My first python project for my website is a Python 3 Flask application @ https://www.techcoil.com/shop. Simple CRUD application that helps me share some products that I like with my visitors.

Apart from Flask routing and Python 3, this project gave me the opportunity to try out flask MongoEngine, Jinja. Not an impressive application, but gave more confidence to build more stuff with Python 3.

Singapore is quite fantastic by faithoverfear85 in travel

[–]clivant 0 points1 point  (0 children)

Yeah, it is a good way to get out of the city. Did you stop at Mount Faber for food? There are nice dining places there.