Posts by Maximilian Batz
20888
20.888 is the total number of Raspberry Pi we (pi3g e.K.) sold last year (2019). Thank you to all our customers, resellers and partners.
WeiterlesenStupid business mistakes #4 :: Spamming your user with messages about your awesomeness
People need to know how awesome they are for making the right choice and being your customer. You, in turn, should be awesome, and take care of the trust they place in you responsibly. Which brings us to today’s stupid business mistake: spamming your users with messages they do not want. This is one of…
WeiterlesenStupid business mistakes #3 :: Assuming things will work forever (The value of monitoring)
Things work, and there is no mistake about that! But, due to the universe constantly increasing in entropy, they do not work forever. They need to be supplied with your attention, knowledge and energy, so that they can continue to work. You know how it is, our bodies are pretty amazing – but at some…
WeiterlesenDealing with NIL in JSON::Any in Crystal Lang
One of the challenges when developing with Crystal is that it is not as forgiving about data types as, say, Python or Ruby. nil will keep you occupied. The following error message: cast from Nil to String failed, at /usr/share/crystal/src/json/any.cr:220:5:220 can be solved by: # cast to string, THEN check if it is nil if…
WeiterlesenChromium exit code -5
While running Chromium with chromium-browser –display=:0 https://www.picockpit.com will allow you to start Chromium from an SSH connection (and it will output to the main display in the X Server), this will fail when you try to run it with subprocess.Popen in Python: “command”: [“chromium-browser”, “–display=:0”, “https://picockpit.com”] (this is part of the JSON format I have…
Weiterlesensecure command execution with Python: subprocess.Popen
Security is important for me while developing the picockpit-client. The following applies to Linux systems (but probably is applicable to all Unix like systems, including macOS) Python allows to run external commands using the subprocess module. import subprocess In the upcoming version of PiCockpit, users will be able to create their own buttons (simply editing…
WeiterlesenStupid business mistakes #2: trying to cheat people (a new kind of spammer)
A bait and switch site, which was supposed to show me some information about Python code. “Click allow if you are not a bot”. Abusing the Captcha to display notifications (probably spam advertising?) is definitely a clever idea. (From the technical and machination point of view) Why does the person who is behind this not…
WeiterlesenStupid business mistakes #1 being too greedy
I used to subscribe to a newsletter service ( a service which would allow me to send e-Mails to my customers ). The guy behind this had a convincing sign up, and a compelling video explaining his product. The user interface was so-so (a stupid business mistake I’m going to come to in a future…
WeiterlesenTermiShell: a web-based shell for the Raspberry Pi (development notes)
Introduction In the course of development of PiCockpit, I am going to add a web-based Terminal called TermiShell. TermiShell icon, by: Stephanie Harvey via unsplash.com TermiShell is going to allow you to log into your Raspberry Pi using PiCockpit.com (and the picockpit-client) – no additional application required on either side. This should be very comfortable,…
WeiterlesenUse PiCan GPS with an external antenna
the PiCan GPS uses this chip: https://cdn-shop.adafruit.com/datasheets/GlobalTop-FGPMMOPA6H-Datasheet-V0A.pdf it has a Built-in 15X15X2.5mm ceramic patch antenna on the top of module and Automatic antenna switching function An external antenna can be attached to the PiCan 2 GPS. Page 17 of the Datasheet has recommended specs for this external antenna. The antenna should be switched to automatically,…
Weiterlesen