Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
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?
python: sure.
[~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?!?!
Me: raspberry?
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.8 -
Testing a raspberry pi 4 as a computer driving our 4k dashboards' screen. Temperatures are constantly 80-90C.
Me: STEP ASIDE! MAKE WAY FOR A HOTFIX!
Rpi: aaahhh, 42C -- now we're talkin!8 -
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?23
-
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 -
Between plague and smoke, spending way too much time indoors. Localised co2 got pretty high in the office my husband and I share and opening the windows is dicey during giant spider season even before the wildfires.
So as a result, I'm starting a little indoor garden in each room. The succulent are going to be hydro, and the prayer and snake plant will get soil so I have some place to dump my coffee grinds other than the rose garden. In the next month or so we also want to set up some living moss panels to help control the nitrogen balance.
And of course, obligatory rpi sensor suite and irrigation is inbound as well. That'll be a shared project. 😸48 -
When your raspberry pi is bombarded with /phpmyadmin URL attempts in all its forms and possible paths and versions 😅
Like seriously? Who in there right mind uses phpmyadmin AND has it accessible to the public.
- there's no databases on this Rpi but you keep looking.11 -
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 -
When you set an alias for vi and completely forget about it
# alias vi=nano
God damn, I was so confused for a minute 🤦♂️15 -
2020 dev goal.
To build a 10 inch laptop using a RPi 4 (4GB), so far I've come to the conclusion that it will be self powered with a solar power battery pack, a HDMI screen and a full size 104 key keyboard with trackpad or just a mouse if it's to large.
The case I'm currently staring at a pile of lego going 🤔🤔🤔 this could probably work.1 -
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 Sweden25 -
Sometimes I want to slap myself.
I’ve been making progress with my voice activated TV remote project - coz you got to use a Google Home and a Raspberry pi for something right? Right??
Anyway, when the API you have written suddenly stops working and you’ve spent hours trying to solve it, it is really soul crushing when you realise you’re using a class variable incorrectly
I’ll just go cry now, while I control my tv 😥😎
Class TVAPI{
Private $tvIP = “192.xxx”;
Private $args = $this->decodeArgs($_GET);
Function of tvVolume(){
exec(“python tvRemote.py {$tvIP} {$this->args}”);
}
}2 -
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
-
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 -
First year at university, prepared to set up multiple electronics.
rPi, arduino Ethernet shield, laptop, and desktop.
Brand new netgear switch to satisfy my internet surfing needs....
After setting up my devices, I realized none of them have internet. Hm. The feed port on my switch wasn't blinking either. So I tell the front desk, and a short 7 days later the port is back on. Yay, problem solved.
One morning I arise to see the port dark and inactive. Furious I use my laptop to share an internet connection while my actual port is "broken".
Support ticket is reopened and this time I get an email saying the port was disabled due to a security issue.
Me: what's the issue?
IT: there was more than two devices connected to the port
(OnLy TwO dEvIcEs PeR port???)
Me: oh okay I will only connect two.
The next day the port is disabled, again.
Me: can you tell me why it was disabled?
IT: a switch was detected being used, security error.
Me: how do I connect more than one device to the port without a switch???
IT: ...
IT: Please only connect one device.
🤔10 -
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.1 -
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 -
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 -
!rant
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!
https://humblebundle.com/books/... -
Ordered a Raspberry pi.
Excited to work on it.
Also ordered heat sink with it so as to make it 24/7
Till now I've thought to use as a cached DNS server+VPN client [and from it I'll share the incoming college WiFi to LAN (yes my college is finally getting WiFi for us in hostels)]+mopidy server with iris client
Give some more ideas.
Also, will the RPi be aple to work 24/7 without burning up if heat sink is installed?22 -
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 -
Got my first soldering project working. Looks trash and horribly done but it does power the RPI from my 3d printers power supply using a buck converter to drop the voltage
Thankfully I got 2 pack of the usb c breakout boards. The first attempt is horribly mangled 😅😅😅 did i mention i suck. Lol9 -
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!12 -
Hey there 👋
I am more or less throwing any burden (WhatsApp, Facebook, Google etc.) out of my life. Of course I will continue using the Google account for YouTube and some games that need it.
That's what it looks like right now:
Raspberry Pi 3B+
✅ webserver
- forum - complete (atm just for me)
- blog - no ideas and just installed october cms and nothing done yet
- nextcloud - complete and filled with my porn... eeh... data
✅ mailserver
(missing spamassassin, clam or sth. like this but it's working 😂)
✅ matrix-synapse
(as an additional alternative to messengers)
______________
Raspberry Pi 2
✅ catches dust
(any ideas?)
Of course, many more configurations and the like are necessary before everything is ready... but what then or what else is there?
At the moment I still use WhatsApp. Just wanna take time before sending everyone a message about changing the messenger and that it should be important for thinking about the own privacy, which alternatives there are bla...
Edit: For passwords I'm using Myki - didn't hear anything bad about it yet and it's very easy to use (Firefox add-on, Android app).
I love my passwords with 200 characters 😂
Maybe someone's knowing more about them?
Hope I didn't forget a thing... thanks in advance aaaaaaand... I'm gone. ☺23 -
RPi 4 is hard to get your hands on it seems.
Really debating buying it though, 4 GB is enticing, but I just don't see a place for it. I have a surplus of machines which are much more powerful and accessible (Display ports - not mini HDMI)
And let's not forget the sub-2GHz clock speed. My desktop goes to 5, and my server isn't far behind. And my laptop isn't far behind that. And my other laptop isn't far behind that. But this new Pi would be far far behind that.
Not to mention the ARM architecture. There have been leaps and bounds made since the Pi first came out in terms of support for ARM (Most certainly fueled by the Android craze) but it still isn't x64, is it?
If I were 13 again and I didn't have all of the toys that I do now, I would be elated at the launch of the Pi 4. But as it stands, I don't see a use for it. Maybe nostalgia.19 -
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 -
Fuck, fucking cock sucking stupid ass prick of a little black box, why, why the fuck do you not fucking boot any more, all you have to do is fucking boot but no, that's to much for you to fucking do!
Ah well, good thing it's only a Rpi!
It had a good life, now to wipe the card and start again! Irant no longer accepts keyboard input always on corrupt boot eject and reimage this old girl. rpi fuck it1 -
Finally made good use of my RPi and setup pi-hole on it. After a painful 4hour long dist-upgrade and picking the right filters it is working like a charm. Why didn't I make this work earlier.
I've also wrote a little script which queries the api and displays different info on the AMOLED screen that was lying around unused for some time.
In case you are interested (from left to right and bottom), the traffic in the last 10 minutes with the max value on a graph, the most active clients query and blocked ratio as lines relative to the top one, and an overview of the total queries/ blocked queries and total clients.
At least I've finally spent a weekend useful not just playing games and watching anime.5 -
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.1 -
Oh Lordy, time to yank out those old RPI's and throw vsCode on them!
https://code.visualstudio.com/docs/...5 -
Warning long rambling story cause sleep deprivation
I never really bothered with ssh outside of using putty to remote into my servers and rpi's from my desktop to run updates, install something, or whatever else.
But today I was on a call with my cousin bored cause she was just rambling, so I opened vscode to clean my install of unnecessary extensions I installed and haven't used more than once or twice.
I saw Remote - SSH and as I was bored listening to a teenager complain about high school just like I used to (lol) and responding when she asked me something. I scrolled through the page, then the documentation just casually skimming the text
I setup an ssh key on an rpi I threw manjaro arm following the instructions on their tips and tricks page
I then moved the key to my desktop using winscp (cause lazy)
leading to having a minor hicup of rsa not being an accepted keytype (thanks 'your favorite search engine' for the help)
Finally, I was able to connect using the private key
at this point my cousin went to bed cause she has school tomorrow. But I was still doing stuff with ssh, I created a new ssh connection in VSCode, but had to go to the documentation to figure out how to make it use my fancy new key file, not hard took 30 seconds of looking to get it working.
Now that I was in, I moved to my development folder, created a folder for PiHole, created a compose yml, created a pihole-data folder.
I opened the yml and pasted in a compose from dockerhub.
at this point I thought 'i can't just run this from terminal can I'. and Obviously it worked cause there's literally no reason it wouldn't I'm just stupid to think it might not.
So I created folders and files on a remote system, launched a docker container, checked for package updates after on a linux machine. All from VS-Code on a windows machine.
I know this is simple for some people, i know some people are like 'where's the interesting part'. but ehhh I thought it was cool to get it setup, I now really regret not getting into ssh sooner, and I'm definitely going to uninstall vscode on all my smaller graphical VM's in favor of doing this. and this will definitely help with my headless vm's.
I also will have to thank my cousin, might not have done this if I wasn't stuck at my computer on messenger call with her lol
I'm gonna go to bed now, But I feel accomplished for the first time in a while even if it's for something so simple as setting up anssh key for the first time3 -
!rant
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 -
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 -
i wrote a website, a server in go, a small os in c, a game in js, a game and server and web scraper and other desktop apps in java, mobile apps with flutter, a website with php also, implemented aes in go, wrote a parser in java. done sysadmin stuff on my vps and pihole/openvpn/nextcloud on my rpi. learn about c vulnerabilities and used metasploit. attempted to write an interpreted language. did some led displays with arduino. currently learning tensorflow.
i have never...
- written a driver
- made a game with a game engine
- created a file encoding
- implemented an oauth2 server
- made an api
- worked with vr
what am i missing? i want to be a very well rounded dev.13 -
And this is how it starts. I bought a Raspberry Pi 3 B+, quite some time ago. Plain board, just the board and a case. Why? Well, I have no idea. I always wanted one for some reason... and finally got one.
I got a good sd card for it, and flashed raspbian and... now what? What should I do with this?
*Looks up "Cool RPi projects"*
*Nah, I already have a NAS... No, wouldn't really use a media center... play games?*
*Well, let me just install sshd and come back to it later.*
Today, I run pi-hole, jekyll, node, gitd, a ton of other things that ends with d... I am even considering buying an extra one (maybe two).
Now I'm really afraid of what would happen if I give in to the urge of buying sensors and add-on boards.2 -
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 -
*thinks about making an led project with sound analyzer*
ah that’s just some basic math and there is probably an RPI compatible sound analyzer library on npm…
> starts project in node
> realizes the ws2811 adapter library doesn’t have everything you need
> forks and implements those changes
> compile for node
> realized there is no good sound analyzer in node
> starts to rewrite an c++ solution in node
Wait what the fuck am I doing here?
> starts the project from scratch in c++1 -
!rant
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. -
Anyone recalls my raspberry's hotfix for overheating problem?
Frankly I am considering it as a long-term solution. I currently have a proper rpi fan applied but it's just too freaking noisy! I thought my work lappy is noisy when at 90C. But this tiny rpi fan is just.. Painfully loud! Especially when rpi is suppised to be tiny and invisible.
Soo.. Yeah.. 3"" fan for an rpi it is!9 -
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
-
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 wanted to reinstall my RPi today.
Instead I lay in my bed, because I'm too hungover for this shit.3 -
Just got my new RPi 3+ and about to set up Pi-hole
Soo excited 😀😀
Farewell ads you will not be missed -
I used to be a big security guy, not allowing stuff like most of the social media, not bringing my phone anywhere, carrying a RPi tablet for privacy reasons. Very Stallman stuff.
Recently I noticed that I don't care so much.. I see these things as opportunities, for instance Microsoft products could be benefitial for job opportunities, I have some workout sessions on my phone.
I could restrict myself... but is it worth it just to decline some capitalist/politician's row in a dataset for analysis?
But then again I feel as a society I think we should either do this or request this data to be distributed to us as well.
Should you be playing a game of cards, when the enemy can see your hand? What do u think?4 -
## Learning k8s
Okay, that's kind of obvious, I just have no idea why I didn't think of it..
I've made a cluster out of a rpi, a i7 PC and a dell xps lappy. Lappy is a master and the other two are worker nodes.
I've noticed that the rpi tends to hardly ever run any of my pods. It's only got 3 of them assigned and neither of them work. They all say: "Back-off restarting failed container" as a sole message in pod's description and the log only says 'standard_init_linux.go:211: exec user process caused "exec format error"' - also the only entry.
Tried running the same image locally on the XPS, via docker run -- works flawlessly (apart from being detached from the cluster of other instances).
Tried to redeploy k8s.yaml -- still raspberry keeps failing.
wtf...
And then it came to me. Wait.. You idiot.. Now ssh to that rpi and run that container manually. Et voila! "docker: no matching manifest for linux/arm/v7 in the manifest list entries."
IDK whether it's lack of sleep or what, but I have missed the obvious -- while docker IS cross-platform, it's not a VM and it does not change the instructions' set supported by the node's cpu. Effectively meaning that the dockerized app is not guaranteed to work on any platform there is!
Shit. I'll have to assemble my own image I guess. It sucks, since I'll have to use CentOS, which is oh-so-heavy compared to Alpine :( Since one of the dependencies does not run well there..
Shit.
Learning k8s is sometimes so frustrating :)2 -
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 -
RPi or any other alternative? I need at least 2GB of RAM and getting two RPis is not an option lol
I like OrangePi but not sure how good it is tbh3 -
To be honest the exact bug I don't remember. I do recall that it had something stupid I had been trying to fix to get nodejs working on a raspberry pi. I finally figured it out and managed to get a simple rest server going. After hours of trying to fix what might now seem insignificant, I was not only relieved that I got it working, but also thrilled that I kept at it and managed to fix it.
selfConfidence++; -
I spent 4 months in a programming mentorship offered by my workplace to get back to programming after 4 years I graduated with a CS degree.
Back in 2014, what I studied in my first programming class was not easy to digest. I would just try enough to pass the courses because I was more interested in the theory. It followed until I graduated because I never actually wrote code for myself for example I wrote a lot of code for my vision class but never took a personal initiative. I did however have a very strong grip on advanced computer science concepts in areas such as computer architecture, systems programming and computer vision. I have an excellent understanding of machine learning and deep learning. I also spent time working with embedded systems and volunteering at a makerspace, teaching Arduino and RPi stuff. I used to teach people older than me.
My first job as a programmer sucked big time. It was a bootstrapped startup whose founder was making big claims to secure funding. I had no direction, mentorship and leadership to validate my programming practices. I burnt out in just 2 months. It was horrible. I experienced the worst physical and emotional pain to date. Additionally, I was gaslighted and told that it is me who is bad at my job not the people working with me. I thought I was a big failure and that I wasn't cut out for software engineering.
I spent the next 6 months recovering from the burn out. I had a condition where the stress and anxiety would cause my neck to deform and some vertebrae were damaged. Nobody could figure out why this was happening. I did find a neurophyscian who helped me out of the mental hell hole I was in and I started making recovery. I had to take a mild anti anxiety for the next 3 years until I went to my current doctor.
I worked as an implementation engineer at a local startup run by a very old engineer. He taught me how to work and carry myself professionally while I learnt very little technically. A year into my job, seeing no growth technically, I decided to make a switch to my favourite local software consultancy. I got the job 4 months prior to my father's death. I joined the company as an implementation analyst and needed some technical experience. It was right up my alley. My parents who saw me at my lowest, struggling with genetic depression and anxiety for the last 6 years, were finally relieved. It was hard for them as I am the only son.
After my father passed away, I was told by his colleagues that he was very happy with me and my sisters. He died a day before I became permanent and landed a huge client. The only regret I have is not driving fast enough to the hospital the night he passed away. Last year, I started seeing a new doctor in hopes of getting rid of the one medicine that I was taking. To my surprise, he saw major problems and prescribed me new medication.
I finally got a diagnosis for my condition after 8 years of struggle. The new doctor told me a few months back that I have Recurrent Depressive Disorder. The most likely cause is my genetics from my father's side as my father recovered from Schizophrenia when I was little. And, now it's been 5 months on the new medication. I can finally relax knowing my condition and work on it with professional help.
After working at my current role for 1 and a half years, my teamlead and HR offered me a 2 month mentorship opportunity to learn programming from scratch in Python and Scrapy from a personal mentor specially assigned to me. I am still in my management focused role but will be spending 4 hours daily of for the mentorship. I feel extremely lucky and grateful for the opportunity. It felt unworldly when I pushed my code to a PR for the very first time and got feedback on it. It is incomparable to anything.
So we had Eid holidays a few months back and because I am not that social, I began going through cs61a from Berkeley and logged into HackerRank after 5 years. The medicines help but I constantly feel this feeling that I am not enough or that I am an imposter even though I was and am always considered a brilliant and intellectual mind by my professors and people around me. I just can't shake the feeling.
Anyway, so now, I have successfully completed 2 months worth of backend training in Django with another awesome mentor at work. I am in absolute love with Django and Python. And, I constantly feel like discussing and sharing about my progress with people. So, if you are still reading, thank you for staying with me.
TLDR: Smart enough for high level computer science concepts in college, did well in theory but never really wrote code without help. Struggled with clinical depression for the past 8 years. Father passed away one day before being permanent at my dream software consultancy and being assigned one of the biggest consultancy. Getting back to programming after 4 years with the help of change in medicine, a formal diagnosis and a technical mentorship.3 -
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 -
!rant
TL;DR: New(-ish) dev looking for advice to improve workflow and new languages. Hopefully worth a read though :)
Newbie developer here, I took a web applications development class this year since I could take that at another campus rather than do general education courses at my home school, and I have learned and earned a CIW Certification for HTML5, CSS3, and JavaScript, though I know the certificates do squat if I can't apply myself to them, and I have learned PHP and MySQL.
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!6 -
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 :/
Feelsgood2 -
may do an extreme rpi project…
is a self driving go kart or self flying drone cooler?
and for the drone, i think it would be easier, what do you guys think?
please answer - also for the drone, is there a way i could get it to connect from anywhere (within reason)? i know if it were a cell phone, i could get a signal from anywhere, but i don't want to pay for a monthly plan.question java raspberry pi testing dart golang python rpi opencl fuck fuck fuck fuck fuck fuck fuck fuck fuck4 -
>finally gets around to installing vsftpd on home server RPi
>doesn't work
hmm.mp2
>configurating
>confusing as fuck template documentation
>man page isn't much better
>gets it working
>goes to log in
User: pi
Password: a
(What? It's a home file/command server isolated from the Internet. Sue me.)
nope.avi
>why
>tries again
nope.svg
>FUCK
>sees small raw-command log in bottom-right of phone FTP client
hmm.flac
>tries again, watches log
PASS *****
>the fuck
>goes to change user pass over SSH
# passwd
"Current password?"
about half a second later
"passwd: auth token manipulation denied"
>the delay tho
>WAIT A SECOND
one time i got past some parental software bullshit on a tablet by abusing the delay between opening a banned app and the redirect to the normal software at like age 7. (Doing so let me enable remote wipe through Google. bye bye software!)
>*inner 7 year old has autistic screech*
# nano temp
a
abcdefghi
abcdefghi
^O Y ^X
# passwd < temp
>fucking works
>logs in to FTP server successfully
>does the one file download that was needed
why and how did that fucking work -
Src: RPi FAQ
me: *wtf!?!*
what is the sense of this?
my option:
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 #11 -
Goal for 2019
- finish project I started in Q4 2018 and launch website with it
- maybe find some non invasive way to monetize this and earn some money
If I got time and power left :
- learn more autodesk fusion,
- design robotic arm using above tool
- print it in 3d
- program it with ROS arduino/rpi
- put it on some wheels
- make it driving around my flat
- make it pick up stuff for me -
Ideas I've had over the years that could pan out and be useful:
SMS-DB: Stands for SMS-Data Burst. Used to allow those with low cell signal or no data plan to transfer data between a phone and some client via the standard SMS text space. Would be slow, but would act kinda like dial-up over SMS (as mobile lines are compressed on all service levels, even LTE, so traditional dial-up wouldn't work!) I have a general idea on how packets would be laid out, but that's about it so far...
everything2PNG: Allows one to transpose any file's data into a PNG with a 3 byte per pixel (full color RGB), which allows for a "compression" of sorts (about 91, 93% on preliminary tests) AND allowing further, more efficient compression of the resulting file. (Plus... it's just kinda cool to see files transposed as PNGs.) I actually have a simple transposer to go to PNG, but can't yet go back. Large files (around 600MB) use upwards of 4GB with efficient paging and other optimizations via NumPy so far, so it's not *viable* yet, but it's coming along nicely.
RPi-GPIO Interconnection Bus: A master/slave or round robin method to allow for Raspberry Pis to communicate using GPIO, which can help free up network bandwidth in RPi cloud computing clusters. At most, this'd allow for 4 bits used for pushing to the GPIO "bus", and 4 bits used for pulling from the "bus". 8 pins total are usually unused minimum, so either 3 or 4 pins for upload, 3 or 4 for download, and potentially 1 or 2 for commands, general non-data communication, etc. I made a version of this concept using Round Robin for a client, but it was horribly slow. (I also don't have distribution rights for the code, so i'm working from scratch.) Definitely doable. -
If you would have a cluster made of 10 RPi, what would you do? I'm looking for fun project to make and I'm willing to learn new things.7
-
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 -
Hey remote workers.
What would be your advice for someone with experience that's interested in exploring remote work.
I'd like to target this question to remote workers that live outside USA/EU/UK. Say South America, South Asia.
A little introduction.
I'm a full stack engineer, did one project in embedded systems with QT/C++/RPI can do backend in Python, Node, Java, C#. I have some experience with React Native (just 2 apps)
I currently I do full stack with Node, React, postgres and caching with couchdb.
I gather requirements, write the projects, proposals and then I do the implementation. (Really full stack, I kinda like it though, when I'm bored with code I pick up an issue and contact the client to socialize/get answers. I found out that nondevs like to feel they talk to a human not a robot)
I'm making about 600usd/month (dev in a poor country) working 30hrs /week. I'd like to ramp up my income, working remote part time to fill up about 50hr week.
What can I expect?
Where do I start?
Are there part time opportunities for working remote?
What kind of roles are in demand?9 -
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.2
-
"Google Voice Kit - Install this image on your RPi 3B+ (or Zero depending on the kit version), pop this Hat on the GPIO pins, and press the button! It's that easy!!!"
how did this happen google -
So... I have 5 Raspberry Pi Zeros (no Wifi), one RPI Zero with wifi and one RPI 2 b+. I want to do home automation stuff with them. Any ideas?
I was thinking openhab, my only problem is that the rpi zeros dont have wireless connections.5 -
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 -
!rant
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 -
About a month ago my grandfather gave me the okay to work on a pi-hole and attach it to the router
So I did that yesterday, and he yells at me for it (because having a civil conversation is impossible with him) and says that we don't need "extra stuff" and says that I'll break the router.
I tried to explain how the process works but I was just shut down and interrupted.
He could have at least told me he changed his mind so I wouldn't have wasted over two hours of my day building and troubleshooting the device.
Mind you, he literally worked in hardware for 50 years and has had ham radio as a hobby for over sixty. -
Alright! I'm starting to like DietPI.
I liked Raspbian before, but setting up a headless system really was a PITA.
And with DietPI... it seems as if it was made for headless setups.
Finally, I'll have my proxy hub.5 -
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 -
someone brought something to school today, a "ac receiver" or "av receiver" or something? he pointed it at the board and turn it off, and i heard he opened someone's email with it? does anyone know what this could be?question python opencl rpi raspberry pi testing fuck fuck fuck fuck fuck fuck fuck fuck fuck dart java golang6
-
Fine then, keep your secrets.
```
root@RPi3b:/home/pi# vsftpd
500 OOPS: run two copies of vsftpd for IPv4 and IPv6
root@RPi3b:/home/pi# vsftpd --help
500 OOPS: unrecognise option: --help
root@RPi3b:/home/pi# vsftpd -?
500 OOPS: unrecognise option: -?
```3 -
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).
https://github.com/DavidM42/...9 -
Hey people!
I need your brains!
I have this project, maybe you can help me with some ideea on how to implement it.
So, I need to read a lot of rfids. A lot. 100+ (It should work with any number of readers).
Next to the reader should be some leds to indicate a status.
Think of it as a matrix or readers. it should support x * y rows / columns
So, let's call it a node (the reader plus the leds).
Now, I have no ideea on how to link all those nodes to a raspberry pi.
For few it would be kinda easy, but when it goes to 100, I don't really know how to link all those together.
I was thinking about a cheap arduino to read the rfid and deal with the leds.
But I don't know how to link (in a bidirectional method) 100 arduinos to a rpi.
So, if you have any ideeas, that would be great.
Thanks!6 -
been looking to integrate some sort of new thing with a raspberry pi because I'm bored. I was thinking about trying out LoRa transceivers but it would be a waste of money because I don't know what I would use it for. I have some knowledge of servers and such but I don't have any ideas on what to use a RPI for. any ideas?4
-
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.2
-
And so again I'm here asking for your opinions.
My old router (linksys EA6400) had a meltdown yesterday and decided to lose wifi connectivity every 4-5 seconds for 4-5 seconds each time. So it was like 5 ICMP packets pass and then 5 fail, and this pattern held up through the whole day.
Did a hard reset hoping it will help. Little did I know.. Do you even imagine how fun it was setting it up with randomly not working wifi? :D And this router can only be set up over wifi. I had to count seconds in my head predicting when it will start losing packets. Because when it does - the setup fails :)
yayy!!
So I guess it's time to start looking for a new one. I barely use ethernet ports (one for RPi). But I do need a good wifi. AC is a must. AX is not since none of my devices support it. I'd also like it to have open-source firmware, maybe accessible via shell (100% dd-wrt/open-wrt compatible). A USB port would be a plus (for the RPi).
Do you have any suggestions worth looking at?
What do you think about WRT3200ACM MU-MIMO?
Also I came across something called MESH ROUTERS (wtf is that?). http://linuxgizmos.com/low-cost-802.... Is it worth looking at?
What would YOU suggest?4 -
making a self driving go kart controlled with a rpi, should i use python, java, dart, or something else? python seems like the obvious choice.
i plan on making it have google maps integrated, with netflix and music player, with a touchscreen.
i was thinking c++, but a gui with c++ didn't seem ideal.
what would you use?
also is an rpi too slow to make the go kart be *relatively* safe?question dart golang python testing fuck fuck fuck fuck fuck fuck fuck fuck fuck rpi java opencl raspberry pi self driving3 -
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? -
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
-
going to redecorate my room with a plasma/glowing/physics theme to the best i can afford. i've a lubbeen plasma ball, some lasers, a smart mirror. gonna try to get (or make) tesla coils. gonna glue my rpi to the wall and put the wires alongside it. what else would you guys add?
i want to add a projector maybe. is there anything else you guys would add? maybe a cool lamp? also, any ways to add in another rpi/arduino other than the smart mirror that you guys can think of?1 -
Aside from DevRant, what resources are available to pitch an idea in the hopes of recruiting a few developers for a side-project?4
-
Hi everyone, I have a question about VPN and hosting.
I have rpi which runs ubuntu where I have several things running like nextcloud, transmission, minidlna, samba etc.
I want to use a VPN due to torrenting via transmission on the pi. I had used private internet access(PIA) before and I'm thinking to go back to them as I had issue only once with them.
Question is if I had installed their client and connected to VPN, would I still be able to access to my services over the internet? As per my understanding only the outgoing and incoming generated from outgoing should follow the VPN tunnel, therefore interacting with my pi with it's public IP should still be possible, am I right?
I'm a newb when it comes to web stuff so any help is appreciated, also you can recommend other VPN providers if you think PIA sucks for any reason.2 -
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 -
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. -
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 think I finally reached a point where I Have to completely reinstall my RPi.
Running Raspbian, I was under the impression their kernel releases worked the same way a pure Debian release worked - That the kernel was somewhere in the system repository.
Turns out it was, but in a different pool. And also turns out the new kernel and initramfs won't fit into my /boot as, for some reason, it is under 50 MBs in size. I dunno why, but I don't have any unallocated space left to grow the partition...
I have no idea why the boot is so small (Probably because, when I was setting the system up, I wasn't really that good with Linux yet, and just went with defaults).
What do you guys think - Is it better to run the native Raspbian system (Formerly RaspberryPi OS), or go with a pureblood Debian for Arm? (Yes, I already checked, my HW revision [3B+] is already compatible])1