160 karma · joined May 15, 2018
Get one off amazon that has a fan. - "Acrylic case for raspberry pi 4"
edit - well it might not matter actually, I'd rather not spread false concern.
I'm weary of this "electron" thing though. Do I have to download a 500mb package to run this?
- Bought the most basic kit that included a power supply and heat sinks
- Bought a $10 acrylic case with a fan so cooling also is not an issue for me
There was an update that made a small improvement in idle temp. https://www.cnx-software.com/2019/06/29/new-raspberry-pi-4-v...
There was a firmware update, so make sure you applied that. Might help bring the temps down a bit.
Agreed, its not efficient.
>The way it is implemented, you’ll also have quite a few false positives
Yes. The filter is only for a handful of swearwords, I wouldn't bother making it larger since people can easily circumvent it with various characters.
>Also, is it common idiom in Go to both defer f.Close() and manually call f.Close()? Seems noisy to me (and would, in many other systems, give an error when the deferred code tries to close an already closed file)
Honestly, I don't know. This was just based on some file io tutorials I referenced. Might be able to not have that defer statement at all. I haven't tried.
>Other issue: from glancing at the code, the 403 page doesn’t seem to return a 403 status code.
Good catch.
There is only one way to do this and that is through the meta tag <meta http-equiv="refresh" content="2"> where 2 is the number of seconds to wait before refreshing.
Also, have you actually used the BlackBerry gestures? Upon getting a BlackBerry, the very first thing it does is a 1 minute tutorial explaining how to use the gestures. There are only a few. They really aren't complicated. They just take a brief explanation and the reward is you get a more functional interface.
1: BlackBerry hub is a lot nicer to view messages
2: Smart use of Bezel gestures makes it much easier to actually interact with the phone:
-If you want to access the hub while using an app, you take your thumb from the bottom of the screen and swipe up and to the right. The interface is very forgiving of where you swipe, you can do it without even looking, yet you wont accidentally do it either. If you don't want to fully enter the hub and just take a peak without leaving your app, just do a partial swipe.
-If you want to view all your running apps, you swipe up from the bottom of the screen to the middle of the screen, and voila , you get a tile arrangement of your running apps (easier to view than a Rolodex), as well as phone and camera access. And you are also less likely to lose track of what windows you have open. I find lots of peoples android phones have like 30 windows open - this is a fault of its interface.
-If you want to access your apps, swipe up from bottom bezel (shows running apps), and then swipe left, now you can view all your other apps.
-Every app is expected to have its settings menu accessible by swiping down from the top bezel.
There are no silly little cumbersome function buttons at the bottom like Android has (the back/home/apps buttons). Smart use of bezel gestures make this unnecessary.
Everything can be accessed easily in a simple, comfortable gesture with your thumb. As a result, it is a lot faster to use day in day out. And it is not as cluttered as Android.
I am sad the whole world chose Android. It's a crappy interface.
cd website
cp * /var/www/html
Yearly maintenance required: apt-get update, apt-get upgrade
View traffic stats: goaccess -f /var/log/nginx/access.log
I'd say its just as easy and seamless to do it yourself on a cheap VPS for a static website. HTTPS isn't that much extra work either.
Its use in every situation (ie, browsing a website dedicated to reviews on salt shakers), might not be necessary and could cause an affect similar to the overuse of antibacterial soap. :p
It will also prevent older computers from accessing the web as ssl standards evolve, which is kind of a shame.
http://wiby.me is a search engine that indexes pages like the ones you miss. Full disclosure though, I made it.
I made this for two reasons:
1, I am kind of bored of the current web, I think its too commercialized, full of click bait, and bloated cookie-cutter pages.
2, I'm nostalgic for the magic of the early web and I wanted to see if I could recapture some of that.
The index is still pretty small, it's not meant to answer specific technical questions like Google can, it's more of an escape. Hopefully you will get relevant search results, and this will improve as the index grows.
Lastly if you happen to know any lightweight websites, feel free to submit them. Thanks for checking it out :)