Have you ever written a piece of software just for your own personal use? What was it and why?
No, but I want to make an Android keyboard for personal use, since the only good ones are proprietary.
Don't mean to steal your thread, but since I'm here: do any android devs have any tips on getting my feet wet? I know how to write applications, I just don't know how to start writing android applications
a lot of small conky scripts/programs; script moving firefox cache and data to ramdisk and making copies from time to time (it was very useful when i had old hdd drive); script downloading youtube playlists and converting them to mp3; function plotter; overally - small scripts, nothing more.
I was always thinking about writing my own communicator (on protocol that few of my friends are still using), but never managed to just sit down and write it.
It takes a directory (or whatever files you pipe into it) of /hr/ celebs jpg files, detects the largest face, crops around it, and saves it in the perfect resolution for my 1920 x 1080 screen.
All in Perl.
yeah. I have code that turns my lights on and plays music with the sunrise, sets off alarms if a window opens in an unoccupied room or turns off HVAC if occupied. it pulls stock, commodity, forex, and shipping data and then runs multilayered predictive analytics for the win.
also, for sex reasons, I GPS track the movements of OP's mother. I overlay a biometrics signal from her iPhone 5s to gauge her fear factor, which is set to alert me when it drops to a nominal level. I tend to visit her when she is least expecting it.
I made torrentflix for myself and put the code on github and people seem to like it.
I made it because i liked the idea of popcorntime mainly streaming tv show torrents, But it was buggy bloated and only has one provider. I decided to make it a cli app because i'm comfortable with the terminal and cli apps tend to get things done faster.
Link for the curious:
I wrote my own packet spy because the ones out there didn't have the specific features I wanted at the time. I used WinPCap, so it was pretty much a watered down version of Wireshark with some of my own features added.
I made a script that downloads all images from Paheal given any number of tags and tracks those you've deleted as to not re-download them. Also saves their tags, planning on building off of that.
I also made a daemon that auto plays Neopets. Kek.
Super productive, right?
I made a simple 24kb image viewer to replace Windows Photo Viewer. Nothing special, but it also supports animated gifs and it's much faster.
It also doesn't choke on huge directories.
>Nothing special, but it also supports animated gifs and it's much faster.
>It also doesn't choke on huge directories
I need this in my life.
I would download and use this.
I trust a /g/ anon more than a random site.
Nothing that serves an important function, but every once and a while I'll make something for myself.
>According to a friend, if you click on the first link (that isn't in parenthesis) on any wikipedia page, you will eventually end up at the page for Philosophy
>try it myself a few times, keep ending up at Philosophy
>wrote a python script to follow links and find pages that don't lead to Philosophy
>there are pages that don't (infinite loops like Telecommunications and Constitutional Monarchy) but the vast majority of pages with links seem to lead to Philosophy.
things like that.
Made my own fap script that fetches videos from xvideos based on parameter or none(random videos from random tags(except the gay tags))
Also made my 4chan thread image downloader, but anyone can make that.
I write my notes in a language I invented, that is parsed in Haskell and translates to HTML and TeX, with a daemon that watches my notes folder and auto-compiles when changes are done.
Also all the code for my phd, but that's work...
Anyway, here's the application:
Feel free to decompile it and look at the absolute mess of code. I should have rewritten it a long time ago, but it just works.
It looks neat, but I have been really unable to use it.
I was using it over ssh to stream from my seedbox to my main - was connected through putty and selecting the source with arrows took 5-6 presses to scroll down once. I'm guessing it had trouble with non-ascii characters maybe? I'm not sure
I managed to get it streaming but it only worked for 4-5 seconds before having torrentflix crashing.
All of my software was programmed by me. If you have any software on your computer that wasn't made completely by you, it is a trojan and needs you be zeroed from your disk space.
Use the list of SMS gateways, use it all the time in my code - used to be on wikipedia but now this gent has the list on his site.
It lets you get threads (and some other things) in the JSON format. You're requesting a lot less information when you use it and it's a hell of a lot cleaner.
Yes. I'm not telling.
It's a piece of shit that I want to design nicely. I didn't plan it out and I'm wrestling with fixing all of the shit choices I made.
It's still useful though.
The majority of my programming is for personal projects.
Loads of scripts to automate various tasks (generate data/tables, convert formats, backups, stress testing, etc).
In terms of bigger projects, when I played Lineage 2 some 6-7 years ago I wrote a packet sniffer/injector to keep track of XP and drops per hour, alert me of hostile players before they could see me, automate rudimentary tasks like auto shop items, auto cast buffs, etc (not a full fledged bot though).
And right now I'm working on a little x86 real mode OS based around a Forth shell.
I made an SVG image generator to watch pretty wallpapers in the dark at night. Its really peaceful.
Also programs to rip off all dilbert and garfield comics from the website.
Also a program that ciphered all the characters in a file with different random numbers. My attempt at encryption, it turned out well, just the file used for unlocking the ciphered was bigger than the ciphered file, so it was kinda unpractical
Lots of scripts for various things and a few larger programs. Working on a shitty IDE for an esoteric language I'm working on that I doubt will get much use outside of my own for my amusement.
A script for when PDF/eBook -> .txt adds unnecessary newlines so that
filename = sys.argv
origText = (open(filename,'r')).read()
print "Invalid filename:", filename
print "No filename given"
fixed = re.sub('(.\n)', ' ', origText)
newFileName = re.sub('(\.)','Fixed.',filename)
fixedFile = open(newFileName, 'w')
print filename, "fixed, written to:", newFileName
Oh and also a program to remote shutdown pc when i am gone from my room with the pc on.
it has a nice little application on my phone so i just tap on my phone and my pc shuts down.
I made all the above in C
The last program that I wrote was a routing daemon that runs on my router. It snoops on DNS traffic and manipulates the routing table based on the domains queried from within my LAN. I'm using it to redirect certain websites and services transparently through a VPS.
Literally all you have to be able do is import an http library, access the api, and then save the data requested to files.
The place would be a ghost town compared to how it is now.
I make vst synthesizers with C++
No. It's really a mess. I used it in an incomplete state for several months and I later realized some of my bad decisions when I started finishing the rest of it.
I'll be done with it soon. Then I can just worry about adding features and eliminating any bugs I find.
A bitcoin ticker that displays more choices for coins and updates faster than anything else I've ever found. Could be overhauled and redone, I wanted to make it an android app at one point in time, but time and school and shit ... some day.
Probably, it was only ~100 lines for the complete program.
Also, for this thread, I forget to mention my super simple music player. I was tired of the BloatTech music players, and I made this simple one which is pretty much point'n'shoot. Uses naudio.
And now the most important features of any project: bitmap fonts & the icon
I really suck at programing; everything I write is just for me.
Robot the crawls the Internet for softcore porn images
Downloaders/rippers for manga sites
Minecraft server manager and RSS thing
Copy files in a playlist to a folder while making sure my car stereo can play them
I tried to write something that would look at pictures of Magic the Gathering Cards and recognize what they were, but my programs does suck, and it got less and less accurate as I went on.
I made a shitty text editor and used a font made from my handwriting, and there's about 6 or 7 examples of each letter in the alphabet and common symbols, (ie. +, ?, !, ', ", etc.) I used it to forge a paper as my own handwriting in school and the dumb bitch didn't think twice.
I "wrote" a hero training dojo game with the warcraft iii engine back in the day. Had a spawner system for monsters, a "dojo" to fight them in, and shops to buy upgrades and such for your hero.
Spent dozens of hours fucking around in the scripting engine getting it just right, retuning the leveling system and removing level caps etc.
Had a goal to redo the map itself, with 12 dojos for multiplayer - you'd each train, then you'd have randomly determined 1v1 duels, big co-op bosses, free for alls, etc.
As I worked I saw the wc3 community switch from the golden age to dota etc. before disappearing entirely. Finally just gave up.
>Forgery - the action of forging or producing a copy of a document, signature, banknote, or work of art.
>Plagiarism - the practice of taking someone else's work or ideas and passing them off as one's own.
Please explain how the fuck I plagiarized my own handwriting and program. I was forging a handwritten document (as in forging the handwriting as it was an assignment that had to be handwritten, not the contents of the essay) using a computer, but it was my own handwriting and my own program, nobody else's ideas were involved.
Each word has an added \n after it, so the last word in a paragraph would be something like "word.\n\n" This only removes one of the newlines because in regex the . operator doesn't grab newlines.
>tfw wc3edit spawned a generation of amateur code monkeys as well as two multimillion game genres
>all the "learn to code" efforts in the world won't match the raw creative drive of a bunch of teenagers at the turn of the century
* 4chan bulk downloader
* movement based video capture tool
* sudoku solver
* various content scrapers
* color pattern led headband for edm fun
Thats about it for applications i've written that i've never shared with anyone else.
Everyone should know a language. Its pretty fucking practical stuff.
>mpv playlist manager
uploaded to github
>manga download and reader
uploaded to mediafire and made one thread on/a/
>kvm pcie-passthrough python scripts
workable but incomplete, not uploaded, although my sister uses them too
>automatic bind mounting scripts for ftp folders
>mascot generator for appchan
uploaded to pastebin
>tons of win32 programs written over the space of 10 years, including a working 16bit per channel painter with anti-aliasing
lost in a hard disk failure
I'm actually going to start working on a project for myself tomorrow. Basically it's going to take files that I torrent, and either symbolically link or make copies with names that home theater programs like Plex or Kodi can scrape. I hope that by the end of it I can just toss all my shit into folders and have it sorted and updated in the background.
My biggest hurdle is that I'm not the greatest coder, and I'm not exactly sure how to implement my plan. I made a rudimentary shell script that makes links, but it only works if the files are in order. I'm better with C/C++ than I am with shell scripting, but I don't know how efficient it'll be if I'm just using system() constantly.
I work in radio and television engineering, and half the data that the FCC mandates or may need on an application is nearly impossible to do yourself without making some mistake along the way, so I've coded ~25 programs to assist in that, some strictly numerical, some graphical (they've got a real hard-on for graphs, especially being able to interpret in Google Earth, though they want their fair share of individual polar graphs as well)
Wouldn't the fact that most casinos play exclusively play multi-deck use continuous shuffling shoe games, that the few single and double-deck games are monitored very closely and typically pay out different odds for a blackjack, all the stories of people making money counting cards, including a bunch of geniuses from MIT who ran the math back and forth, that even being suspected of counting is grounds to be ejected and possibly blacklisted already kinda confirm that for you?
Do it in python. Imagine c++ without the memory hassle and the ease of execution that bash scripts give you.
There's nothing wrong with system, but you should be using fork() and then execve in the child process.
A smallish script to control minecraft servers.
300 lines bash but it's needlessly complicated because Mojang a shit that doesn't supply an API.
I have wanted to add a watchdog for a long time but I don't see a way to do so without shitting all over the server console because a server can crash without taking the java process down.
>Mojang a shit that doesn't supply an API.
Still? Jesus, billions from Microsoft and millions from a bunch of kids and spergs buying merch, and they're still fucking useless.
Thanks. I did a little bit of Python on Code Academy and I think I can figure out how to get by with it.
Not hard so much as annoying and gross. You're still doing the same shit you did on command line, just sticking your output somewhere else and also handling a bunch of layout shit at the same time.
Quite a few.
One takes audio from the sound card's line-in and runs it through some FFT and other analysis to approximate beat detection. Then it outputs pulses of varying strength on the parallel port using PWM. The goal isn't proper beat detection with BPM meter and all that, and it doesn't do that. It's supposed to give you something that's perceptually more pleasing than just feeding an amplified audio signal into a light like those shitty "blink your Christmas lights to music" circuits do.
Another uses any of the parallel cables that came with old GameBoy Color GameSharks, GameDownloaders, and the custom XBOO cable design to boot code on a GBA from a modern Windows. The guy who designed the XBOO cable only had it working in DOS due to timings, and the other cables just didn't work. Mine gets around the timing issues some with an autodetect routine, and by first sending a small program that implements a less timing-sensitive protocol.
I wrote a bot that crawls bloomberg' site each day and vomits the ratios from a list of tickers i have to an excel file to do pretty graphs, etc.
Otherwise i would have to pay the jews at my brokerage firm to give me the data on a neat way
I wrote a screen capture application that captures a screenshot and has the option to upload it to imgur. I still use it to this day.
I made a little baby CLI weather app that prints you a ASCII animation of the weather. I got it to do forecasts as well, which looked nice. Shit was cool, fit right in with htop and screenfetch aesthetically speaking