Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Get a devDuck
Rubber duck debugging has never been so cute! Get your favorite coding language devDuckBuy Now
Search - "rpi"
Me: so, ifconfig, what is my gateway?
ifconfig: [ip address]
Me: nmap, what is this IP address?
nmap: it's a network switch with an open telnet port.
Me: what happens if I connect to it?
switch: WHAT IS THE PASSWORD?!?!
Me: is it blank?
switch: correct. what do you want to do?
Me: can I look at all the IP and MAC addresses on the network?
switch: WHAT IS THE ADMIN PASSWORD?!?!
Me: is it... admin?
switch: correct. Here's everyone that's connected to the network: [400+ IPs and MACs]
Me: ok python, would you filter through these and tell me what manufacturer each one belongs to?
[~50 manufacturer lookups later]
python: there's a bunch of apple product, a bunch of miscellaneous laptop and printer manufacturers, and some raspberry pis.
Me: raspberry pis?
python: yep. about 20 of them.
Me: What happens if I connect to one?
rpi: WHAT IS THE PASSWORD?!?!
rpi: correct. what do you want to do?
Me: can I make you do my bidding in the background when you aren't being used?
rpi: sure, sounds fine.
I love ignorant sysadmins.10
How has coding impacted your life...?
- Using Linux
- Valuing OpenSorce over cracked software
- Using more CLI than GUI programs
- Only playing games that run on Linux or Wine
- Hating Micro$oft
- Utilizing VMs and Servers
- Tinkering with Hardware (RPi, custom PC)
... Nah not that much. 🤗😅13
Got some new toys today! A Raspberry Pi 3 and a Arduino starter pack. Any suggestions on what I should do with it?26
Friend: what's that banana pi server that you bought
Me: it's a raspberry pi and I made it into a NAS
Friend: set it up so we can play COD Zombies
This is my desk right now, anyone else who really enjoys fiddling with arduino / rpi electronics stuff?
Like making a remote for the projectors in school or using an Ethernet switch and a raspberry pi to create a WiFi network :P34
That feeling you get when you run
$ php tvVolUp.php
And the god damn tv’s volume goes up a level 😆
Now to clean the shit out of the chaotic mess I just made and make it work from a Rpi which I’ll then add to my voice activated list for my google home.
Coz you know voice activated TV remote in PHP 😍5
Buses in Slovakia uses RPI 2 for they TVs apparently they don't manage it so good if they got Kernel panic.
The RPI loses power when bus turns off.
That's what you got bitches for shuting down RPI the dirty way(disconnecting the power source).9
Not really hacking, but my roommate says otherwise. So we share a router in the apartment and I’m the only one that really knows how to access it, so of course I change the password and tell no one (not like they’ll try to get in anyway).
Occasionally set roommate likes to get blackout and play music very loud at 2am. To be petty, on those occasions I set up an RPi Zero to connect to the WiFi, restart it, and sleep for a minute, and repeat. He’s still convinced we are getting DDOSd, and suspects nothing.
Reason I don’t just set parental controls - he gets more frustrated when the WiFi appears for 10secs, the music is just about to start and shuts off again. So he gives up quicker. Otherwise, he resets the router and I have to set up everything from the start.3
I have finally launched my own mirror. I would really appreciate if you guys that use Raspbian could start using my mirror so I can see if shit works :)
More distros are underway!
deb http://mirror.linux.pizza/raspbian/ jessie main contrib non-free rpi
deb-src http://mirror.linux.pizza/raspbian/ jessie main contrib non-free rpi
Server is hosted in southern Sweden26
Finally had some spare minutes to learn how to use my sense hat with the new rpi 3b+. Just running through some simple samples I found.
It is a blast for sure! Didn't know I could do menus like this. Kind of changes how I want to interact with the hat 🤔...
Time to learn more python! Best way I can think to spend time on a Friday night in a snow storm.10
My Pibook is coming to life slowly (my RPI laptop while its thick ) but it works will post photo toomorrow20
Building a web based recipe book for my mother in law.
My brother in law, sorced the hw (touch screen aio)
I build the website build in php symfony3.
Running on a rpi in the garage.
She loves it and keeps telling everyone about it every chance she gets.
Currently re writing it in Django (for fun)1
I'm about to change my setup to run pihole on this new RPi Zero W. Hopefully it has enough power to handle it.16
Finally i can say total bye bye to Microsoft today i finally successfully installed ubunto on Lenovo miix 3 830 yayyyy on other PC and Rpi i have arch but i cant get arch to work here (i will try it) so i installed ubuntu yayyyyyy
Why am I such an average ?
It's just a sad realisation. Nobody cares but I wanna send this out there, just to write thoughts.. I am 18 in 3rd year of high school (grammar school so nothing IT related, basically waste of time) and in IT I'm all self taught but I feel like I could be better if I just didn't [something]..
I feel like I wanna learn so many things but when I look at you, it seems like a common problem in the IT sphere so hey, average guy joining the club.
I also feel dumb when programming. I didn't manage to learn C++ in it's entirety because to really accomplish something, you've got so many ways to do it and finding the best one requires deep understanding of the tools you've got at your disposal with the language and I feel like I'm not capable of this(self learn, in school/Uni that's different story).. But many (most) of you are. I've tried many coding challenges and when I got it working, I just saw how someone did it in one line just by layering functions that I've never heard of..
Also, we've got kinda specific national competition here in many fields including IT for high schools.. And the winners always do sometimes like "AI driven Life simulation" or "Self flying drone made from ATMega from scratch with 3D simulation in C# to it" or "Game engine" or whatever shit and it's always from grammar schools and never IT related schools.. They are like me. Maybe someone helped them, I don't know, but they are just so far away from me while I'm here struggling to get the basic level of math for any kind of machine learning..
Yeah I've written Neural Network from scratch in C but meh, honestly it's pretty basic stuff .. I'd rather understand derivatives which we're going to learn next year and I'm too lazy to learn it from khan academy because I always learn something else.. Like processing (actually codetrain started teaching tensorflow so that might be the light for me...) Or VHDL (guys you can create your own chip / CPU from scratch and it's not even hard and OMFG it's so fucking cool , full adder done yay) or RPi or commodore 64 assembly or game development with Godot and just meh..
I mean, this sounds exactly like not knowing what to do and doing nothing in the end. That was me like 6-12 months ago. Now I'm managing to pick 2-3 things and focus them and actually feel the progress.
But I lost track of the original point.. I didn't do anything special, every time I'm programming something, everyone does it better and I feel dumb. I will probably never do anything special, everyone around says "He's still learning he's genius" but they have no idea.
I mean, have you seen one of the newest videos on Google's YouTube channel (I openly hate them, but I will keep that away for now), something like "Sarah story" ? It's about girl that apparently didn't care about IT but self learned tensorflow on high school. I think it may be bullshit (like ALL of their videos ) but it's probably just fancied, not complete lie.
And again, here I am. I now C but I'm incapable of learning to program good which most of you did and are now doing for living. I'm incapable to do anything cool, just understanding what everybody else did and replicating it. I'm incapable of being clever.
Sorry, just misusing devrant to vent a bit17
I have done crazy stuff before but this time im going to take it to another level.
I compiled custom ROM on PC, Server, tablet, Rpi.
But this time lets take it to another level. Lets compile Android on Android.
3 weeks of search, but now, I have a miniUPS with solar and dc input for my raspberry pi Zero with cam.
I have developed a little ble4 iOS app to monitor all voltages and relay states.
All this shit from China, about 50$ except rpi and cam.
What you think?9
If you didn't think NodeJS dependency hell was that bad, you should try sequentially parsing a graph that's stored as an array of nodes and their references, where processing of said nodes forces you to use some async functions that depend on other async functions.
What should have been 20 lines of code written in 30 minutes has turned into 3 hours of horror, reading about babel, realizing that it's just adding more problems without solving one, assessing the effort of modification of async libraries to include sync methods as well, trying out asyncwait, async, and everything else there is, trying to rethink the recursive algorithm, rewriting it several times, cursing and hating myself for not choosing to use Python or .NET Core, screaming senselessly at my wife in a language as familiar to her as Klingon, crying in the bathroom, re-assessing my life choices, thinking whether it was a mistake to dedicate 10 years to this career, maybe I'm just not cut out for it since I can't handle this simple task, watching noose tying tutorials on youtube, thinking about my naked empty RPI that won't connect to the server any time soon.
Seriously. Why is it SO BAD?! Or is it just me?5
Here it goes my second Rpi cluster 😎
Actually there are 3 Orange Pi PC, 1 Rpi3, 1 Rpi2 and an Odroid XU4.
I plan on using it as a workbench for many technologies.
For example DevStack, Ansible, Gluster, TahoeLAFS, Kubernetes, Docker Swarm and such.
Any additional suggestions?2
Lots of IPs tried accessing my Raspberry Pi's SSH. Dumb bots, trying to brute-force a key-auth-only SSH server...
On a relevant note, I love fail2ban!13
Why is chromecast so stupid?
So I'm on vacation, in another country, in a hotel. I took my chromecast and downloaded offline music to be able to use the TV for at least some entertainment.
Wifi is with login, chromecast doesn't support that. And it has isolation so I was prepared that it won't work through the hotel wifi. So I used another phone to create a Hotspot, but with no internet because roaming here is crazy expensive.
I thought that would work, but chromecast simply refuses to work if there is no internet access.
Why does it need internet if I'm streaming locally anyway?
So I temporarily activate data roaming, and hooray it works, so I quickly disconnect because I have no idea what this shit of a device will start sending to Google and how much I'm gonna pay for it. It works for 10 minutes then it crashes and needs internet again.
Most useless piece of crap I ever bought.
Should have brought my RPi instead but it's busy keeping my home alive and well while I'm gone. Should have ordered in bulk.13
So there are two teachers.
1. Linux/Unix teacher. He always challenged us with workshops, he teach with passion about linux, and other related linux topics (like RPi, IOT, nginx, django) so you could find what you liked more. Since then I started to love linux, specially debian, and created some lOT projects.
2. Distributed systems teacher. She is the smartest person I know, she knows a lot in almost every field of computer science, and its real life application. She genuinely wanted us to learn and is very supportive. She is a big inspiration, and thanks to her I know I want to specialize in this field.1
There's a side project that I wanted to finish for some time now:
I built a pipboy (from Fallout 3) for a close friend - 3D printed and colored the parts, made a preliminary setup.
But to this day, it's still missing a power supply and all the proper wiring. (Jumper cables ARE not.)
Apart from that, I probably want to replace the RPi in there for a slimmer version.
Development is all done, implementation needed.2
Sort of follow up to: https://devrant.com/rants/1351833/...
Now I can turn on/off my PC over the Internet. A little hacky but it works like a charm.
I'm using an Arduino IDE compatible ESP-12E with on board WiFi and a homemade optocoupler (LED + photoresistor).
Hopefully more projects like these are coming 🤗4
Installed kali on my RPI:
1. Changed the default passwd
2. Did update && upgrade
Now im unable to login with my new passwd and have no idea why :/13
Going to mine MAGI on my Rpi zero.
If you going to ask if its cool.
Is it good or profitable.
Ahhhh yeah kinda.
Is it normal.
Just found BerryBoot for Rpi.
Now i can have my favorite Arch and ParrotOS at the Rpi at the same time.
What is something I can complete in a week (let's say 30-40 hours) as a newbie (I made an android app, played around with engines like unity and unreal here and there, tried some c#, and I always mess around with the linux command line, my RPi, etc etc)? I'll start working in a dual-studying job ('applied CS') in 2 weeks so I'll have enough learning-without-doing to do. I just want to learn something by doing something useful (e.g. a small android app that I can put ads in or sell, or maybe provide something for free that people like. I don't want to write my own engine( that'd take very long anyways) or make a compiler because I feel that'd be kind of useless and even though it'd probably be fun, I would lack initiative.5
Do you use personal assistants for home automation? If yes, what's your setup?
I'm thinking about setting up a RPi/similar with Jasper and bundling it up with Home Assistant, however, I'm not sure about the audio hardware yet.3
I’m going to fly tomorrow and was wondering if I can bring my raspberry pi in my hand luggage. As known sometimes people in security checks are definitely not that awake and I don’t want my rPi in a garbage bin thinking it’s a bomb or something.
Otherwise I’ll just copy everything I need on a VM and go with it , but I wanted my sensors live ahah15
Contemplation for new system, and the backup solution to rule all backup solutions.
Laptop. Two SSDs installed. Want two distros, because distro hopping, one on each SSD.
LVM based installations, because I like the partition sizing flexibility (I start small and increase as needed). I want these drives to remain separate so I can pull one out and boot from the other.
Create necessary volumes on each drive for the OS. Create one volume on each with the same size, use mdraid to create a RAID 1 out of them, and use it for the /home of both distros. Will keep home directories of each OS installation separate however (/home/os1/user, /home/os2/user, etc). If a drive is removed and later replaced, the RAID 1 will need to be rebuilt.
Create another bigger volume on both drives, and RAID 1 that as well. Same caveat in regards to temporary drive removal. Use rsnapshot to be taking frequent incremental backups of the /home RAID & /root LVMs of both rives and keep them locally, because RAID is not a backup, and I like having access to files immediately if I accidentally just rm -rf'd them. Will only keep these snapshots around for a week at the most.
Every day, have a raspberry pi at home use rsnapshot to backup the most recent rsnapshot directory on the laptop (hourly.0) to a pair of locally attached USB disks (in raid 1), and keep these around for long time, up to several months.
FINALLY, have a remote server doing the same thing to the rpi, backing up its latest rsnapshot directory (daily.0) and keeping those backups around for a year or so.
I might go one step further and have two remote backup locations, just in case my house, my laptop, and one of the remote datacenters blow up at the same time.
Yeah, I want my data to stick around.6
Today I made some lights turn on and off with Gpio on my Rpi and some php, really happy and I'm going to work on it cause the landing site is really ugly. Would it be appropriate to add "mechanical engineer" and additional to web developer to my resume now? 😂😂1
9 pm - let me just quickly setup up a media center/NAS in my RPI, then it's off to bed!
3 am - shit, i have to get up in 3 hours ><
Start coding so late. I'm 29 and I have so much shit to learn... Next life I'm going to buy a rpi with my first 5 bucks.3
Finally found a use for my rpi 2 after more than a year xD
Small testing env for client server scripts and OS portability, later project buy a rpi zero W and try to use it as something probably illegal :/
Why does noone implement autoupdater, especialy on linux side? Is there a reason i dont get? Sure, most system stuff is better in apt, but if i install servers, i do not want to wait for these stupid linux release timings! If it were hard, id understand. But most of this is possible with something like GitHub API and 20 Minutes of time. I mean, yeah backwards compatibility and what not, but then handle that internaly.
Example: I use dnsmasq on a raspberry pi. RPI is running raspbian. Raspian is debian 8. Debian 8 has a version of dnsmasq with a pretty annoying bug, which prevents me from using dnssec, as i cant open any cloudflare pages. Why, o why isnt this updated at MY will? Then, if it isnt, why is it so impossible hard to compile this myself, no docs for that, no binaries, NOTHING? Dear server devs, please add atleast basic autoupdate functionality without having to rely on the base os.
Or, give me easily deployable binaries, if you cant write something integrated.12
That moment you work out how to get Google Home to make webhook calls, setup a Rpi to accept incoming https requests, and can’t think of anything to actually make it do
Ideas welcome 😂😂8
The best experience I had as a student was attending a few masters degree classes at a computational arts course, it was awesome being the only developer in the middle of a lot of art graduated students who were learning to code. Awesome exchange experience, final projects were art exhibitions with interactive art. We used Arduinos, Rpi, Openframeworks, Processing. I miss that and I still think that my dream job will look like that.
Bored at the office. Company is done for. I'm spending my last days here, doing nothing, waiting for my new position to start. There's only that much you can read on devRant, and SO MUCH MORE you could do writing code. But I just can't decide what to do and as a result sit here doing nothing. Help me out please! Answer with the most points will be the thing I'll start with on Monday, while today I think I'll just crack open a cold one.
My initial variants:
1. Learn Electron by playing with Electron React+Redux basic boilerplate, in order to make a simple personal blogging app.
2. Complete some of the 20 courses that I bought on Udemy 6 months ago.
3. Write the back-end logic for my Raspberry PI controlled systems at home (to control it remotely I'll make a hosted API that RPI will access to get input for it to decide what to do).
4. Solve problem 51 on projecteuler.net with an algorithm that runs less than 20 seconds.
Other suggestions are welcome.1
TL;DR: New(-ish) dev looking for advice to improve workflow and new languages. Hopefully worth a read though :)
I want to learn more, technically-applicable languages.
My setup is barebones (to a Linux diehard's eyes), with a gaming laptop that I do a lot of workstation stuff on, an RPi 3 B that I do some Linux-y stuff on, and a less-powerful Development Laptop (that I call a devtop) that I occasionally do work away from home on.
I'm sure most will cringe and weep at my workflow, as I use Windows 10 on both systems and the standard NOOBS software on the pi, and I use Brackets as my text editor, as well as the XAMPP AMP stack for testing.
My biggest questions are what could I do to improve my workflow, and what languages should I learn/apply myself to for real-world application (such as Node.js for live-updating server-side applications or C# for Windows applications)?
Thank you for taking the time to read this, any feedback is helpful! I'm just a high school student with a lot of enthusiasm for development!9
So i kind of fucked up...
I am currently living out of town and only have my laptop and rpi with me. Wanting to try something new, i decided to challenge myself to only use linux until i get back home, but i also wanted a new distro. (Oh and btw my only internet connection is provided by my phone and tablet, which is used as a hotspot, and because i already used all of my monthly data on the tablet now i only have my phone and an unlimited 128kbps connection which turns into a decent connection only after 11pm)
I downloaded the distro image last night and was planning to install it today, so i shutdown the laptop immediately after the download finished). If only i remembered that i had already wiped the old linux partition containing GRUB.
So now i need to wait until 11 pm so i can download another image on my rpi and flash it to my usb drive. Fuck me...
I guess i'll relax until then.1
Do NEVER give Linux-Mashines similar hostnames!
Had it often enough: forgetting I SSHed into my Laptop (ArchLFK) or RPi (HomePI) and tried to execute commands for my PC (HomeLx).
It drives you crazy when your commands do not work as desired or changes are not visible. Then you realize you're on the wrong mashine. 😰
Its like searching for your Smartphone while having it in your hand.2
I didn't see a post for it but a decent book bundle for Raspberry Pi and Arduino is on Humble Bundle at the moment.
HUMBLE BOOK BUNDLE:
DIY ELECTRONICS BY WILEY
Get Learning Python with Raspberry Pi, Electronics For Dummies, and more!
Just got my new RPi 3+ and about to set up Pi-hole
Soo excited 😀😀
Farewell ads you will not be missed
do you think that the new 300Mbit network interface of RPi 3B+ will be useful?
Personally I doubt....
it still need to share the bus with everything else.6
Src: RPi FAQ
what is the sense of this?
option #1: stop production of pi2 and sell only pi3
option #2: sell pi2 fast as a pi3 but without WiFi/BLE etc... if there are tecnical reasons that makes this not possible see Option #12
So ive been messing around with my Google Home.. because having a voice activated weather station is cool and all, but as a developer it needs to be useful no?... and Raspberry Pi, cause you know, we cool kids have those sitting around doing nothing useful.
But back on track, getting these two to actually work together, and that almighty moment you can say "Hey Google, Deploy Project -X- to the Pi" and the Rpi just kicks into gear and pulls down the latest master branch from Gitlab for the correct project is mind boggling.
No more ssh + sudo git pull !!!
Disclaimer: i didn't pay for that Google Home, but its in my house, listening to my TV, so i may as well use the damn thing.2
So, I am getting bored with my personal projects right now. I'm thinking about dragging out my Arduino and Raspberry Pi's and tinker with them for a while.
I need some inspiration, though. Just wondering what my fellow tinkerers are (have been) working on.6
I recently made my first open source project and would appreciate any feedback I can get for it.
It's a pretty small program to kind of permanently change the cpu governor of a raspberry pi (so it's kind of niche but I struggled a few times with it).
I am thinking a little bit about buying Raspberry Pi, but I am not sure what to run on it. I am a webdeveloper, so I was thinking about server, but I would appreciate if you gave me some ideas.3
So I had an epiphany. I have always thought of linux as a big ugly slow monstrosity. It occurred to me the only time I had used Linux was on rPis and similar devices. Then I threw vanilla Ubuntu onto a flash drive and booted my workstation to it.
My next point what is the most seamless dual boot solution. 😁
Edit - typos8
Is there anyone who successfully booted gentoo in aarch64 mode on the rpi 3? I can't get it to work. It gets onto the rainbow square then it shuts down like there is no kernel I guess. Sorry for asking here but there must be someone here who's kind enough to help.3
Aside from DevRant, what resources are available to pitch an idea in the hopes of recruiting a few developers for a side-project?4
Anyone have experience with non ARM Single board computers like the LattePanda for a price of around 80$ - 100$? The Board should be a server with a bit more power but it should save electricity. We have already six RPi and two Banana Pis...
I'm currently do some freelancing, and the job that I am doing at the moment requires interfacing with a Bluetooth device, but the company wants a Bluetooth repeater, to help extend or amplify the signal.
Is there anything like that out there or a possible Arduino or RPI implementation that I could use?2
Anyone here who has managed to build a small laptop with a Raspberry Pi? I would love to use my iPad via USB connection as a screen for it but not finding the right apps for my needs3
Building atom on an RPI 2 with this fuckstickle of a package manager is a bloody nightmare. Works without issue on Raspbian Jessie, implodes into a spectacular clusterfuckeroni on Raspbian Stretch.
Been on it since yesterday, 10/10 weekend saved.
Has somebody some good ideas for a new Raspberry Pi Project?
Or something whats really useful?
(Something without buying stuff just with the rpi)9