[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
Have you ever written a piece of software just for your own personal
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 139
Thread images: 9
File: 0017 - n3gFOPZ.jpg (26 KB, 500x326) Image search: [Google]
0017 - n3gFOPZ.jpg
26 KB, 500x326
Have you ever written a piece of software just for your own personal use? What was it and why?
>>
>>47066702
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
>>
>>47066702
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.
>>
>>47066702

an auto yew chopper for runescape
>>
>>47066702
Lots of scripts on for my home server. My server texts my phone the top new joke from a website I datamine. Stupid stuff like that.
>>
Scripts for my job, Only I use them.
>>
>>47066702
Wallpaper maker.

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.
>>
>>47066800
how do you send msgs to phone?
>>
>>47066868
>when it drops to a nominal level. I tend to visit her when she is least expecting it.
kek'd
>>
>>47066774
Ha. I used AutoIt for all my runescape shenanigans. Then those fags ruined everything with random events and world turning.
>>
yes to detect and cut out opening themes of shows i download
>>
>2^11-33
>not writing your own software for everything
>>
>>47066702
I wrote a program that repeated lines from the movie "The Dark Knight Rises" over and over again.
>>
not really, just game autoclicker with AHK
>>
Thought that pic was an upskirt, only find out it's cleavage.
Kind of bummed to be honest.
>>
File: Kazam_screencast_00000.webm (2 MB, 732x575) Image search: [Google]
Kazam_screencast_00000.webm
2 MB, 732x575
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:

github.com/ItzBlitz98/torrentflix
>>
Yes, to make a triggerbot for a game.

I made it using pixel colors on the screen instead of hooking through s DLL and pointers and all that other memory bullshit.
>>
>>47066930
So you wrote it just for you?
>>
a blackjack simulator to see if counting cards really puts the odds in your favor
>>
>>47066874
Check your phone provider. Your phone probably has a mailing address like [email protected] used for texting. It's how sms spam bots work.
>>
>>47066835

This
>>
>>47066702
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.
>>
Computing algorithms for scientific computation.

I don't think it really counts though.
>>
>>47067025
cool
>>
>>47067019
can't seem to find it on their site. Do all providers have this?
>>
>>47066702
I do this at work. Makes life so much easier when you automate whatever you can.
>>
>>47067054
What provider do you have?
>>
>>47067077
Telenor. It's in Europe
>>
thinking about some sort of global limiter to get around the conundrum of watching tv at night without my gp3's going in to standby mode due to the low volume
>>
>>47067083
Snoneger oppdaget.
>>
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?
>>
>>47066868

u salt e
>>
>>47067083
########@mobilpost.no

or

########@gsm-tekst.telemax.no

http://www.opentextingonline.com/emailtotext.aspx
>>
>>47066769
let me get that youtube playlist converter pleaseease
>>
invoicing system

for.. making invoices, obviously
and keeping them all organized etc
>>
>>47067014
>a blackjack simulator to see if counting cards really puts the odds in your favor

Did it work?
>>
>>47066726
>I know how to write applications, I just don't know how to start writing android applications
Anon, i...
>>
https://github.com/axujen/mpdrandom
https://github.com/axujen/mpd-voice
>>
Simulators for orbital physics. A computer game. some calculators. A clock, an internet connexion status monitor. A little chatbot.
>>
File: iv.png (913 KB, 658x568) Image search: [Google]
iv.png
913 KB, 658x568
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.
>>
>>47067014
>implying it doesn't

How could it not?
>>
>>47067228
>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.

Plz give.
>>
>>47067250

I can't. I'm afraid you'll decompile it and see my .net spaghetti bbom monstrosity.
>>
>>47067265
>not posting source code
get the fuck out of this board
also
>.NET
>>
>>47066702
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.
>>
Plenty of PHP scripts and an IR app for my phone so I can interact with my Arduino.
>>
>>47067280
>>.NET

Stay mad.
>>
>>47066702
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:

https://mega.co.nz/#!EsVlgazb!CSU3r63xhQISyHufkaLF9CoYRDCr5w2OCn4QGeDqs5M

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.
>>
An easy editor that I made customized to pretty much my own use, our school has a really shItty system for notes
>>
>>47067411
xvideos is like 480p max, low fps, bad audio q. KEK
>>
I wrote a BBS in Common Lisp once.
>>
>>47066726
the AOSP one is great. what are you talking about.
>>
>>47067446
>doesn't let me use arrow keys to navigate next/previous
i like it otherwise
>>
>>47066985
>>47066985
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.
>>
>>47066993
Posting my source code cuz fuck it...

http://pastebin.com/vXRr5miP
>>
>>47067726
coolio
>>
>>47067411
d-d-did you use the 4chan rest api, anon?
or are you like all of those plebians who have to scrape the page in their downloader?
>>
>>47067666

ctrl + left and ctrl + right
>>
>>47066702
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.
>>
A default sound device switch utility because Windows fails to do it properly for some reason.
>>
>>47067736
im a plebian, also, wut u mean by the rest api?
>>47067481
i would use the place wihtout mother or pornsocket, but mpv wouldn't read the video
>>
>>47066726
Do you know Java?
If yes, Google.
If no, Google.
>>
>>47066874

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.

http://martinfitzpatrick.name/list-of-email-to-sms-gateways/
>>
>>47067875
https://github.com/4chan/4chan-API

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.
>>
>>47066702
this picture makes me insanely jealous.
>>
>>47066702
>>47066774

a full-fledged runescape bot better than all public ones combined
>>
>>47067954
I wonder if hot lesbians get horny over themselves being able to look from that angle every day.
>>
>>47068112
you don't need to be homosexual to be a narcissist (sexually)

i, uh... knew a guy like that once
>>
>>47068147
patrickbateman.jpg

>>47068112
Some do. But that goes for anybody as that guy said ^
>>
>>47066702
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.
>>
>>47066702
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.
>>
>>47066702
I once wrote a shitty program in Java that separated long text files into separate, 2000-character text files to make posting long shit on 4chan easier. That's about it, though.
>>
>>47066855
>All in Perl.
Not impressive.

Now, if you told me you also regularly maintain the code at yearly intervals I would be impressed.
>>
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
>>
I wrote a quick hack to cheat this flash game that was part of a competition. Won $100.
>>
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
all
the
text
looks
like
this

import re
import sys

try:
filename = sys.argv[1]
origText = (open(filename,'r')).read()
except IOError:
print "Invalid filename:", filename
sys.exit(0)
except Exception:
print "No filename given"
sys.exit(0)

fixed = re.sub('(.\n)', ' ', origText)
newFileName = re.sub('(\.)','Fixed.',filename)
fixedFile = open(newFileName, 'w')
fixedFile.write(fixed)
print filename, "fixed, written to:", newFileName
>>
>>47067411
>Also made my 4chan thread image downloader, but anyone can make that.
/g/ should be gated for only those who have written a 4chan image crawler, keep the tards out.
>>
>>47069484
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
>>
>>47066702
I made a script to download /d/
>>
>>47066702
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.
>>
>>47069534

Yeah but then you would cry because you can't post on /g/
>>
>>47069521
But what about actual newlines.
>>
>>47069534
>>47069600
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.
>>
>>47069657
>Http library
Nope nope nope
Do it with plain sockets. I did it, it was a nice learning experience, i had to make the http request work which was the hardest part actually.
>>
>>47068923
>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.

Aren't we all, my man?
>>
>>47069687
Post image viewer source.
I wish to add regular left-right arrow key movements. None of this ctrl-left junk.
>>
I make vst synthesizers with C++
>>
>>47069687
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.
>>
>>47066985
Why do you type so slowly?
>>
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.
>>
once wrote a shopbot using watir and ruby, automatically bought stuff from the supreme store
>>
>>47069687
Yeah, just give us the code.
What, you hate SHARING?
SHARING IS CARING, ANON
>>
>>47067228
It seems like I did that in a C# book once.
>>
File: play.png (22 KB, 468x300) Image search: [Google]
play.png
22 KB, 468x300
>>47070594

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.
>>
File: search.gif (94 KB, 591x304) Image search: [Google]
search.gif
94 KB, 591x304
And way past due, I just added a search to it.
>>
File: play2.png (18 KB, 468x300) Image search: [Google]
play2.png
18 KB, 468x300
And now the most important features of any project: bitmap fonts & the icon
>>
>>47066702
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.
>>
>>47066999
I shit myself laughing at this (though I was on the toilet). Nice get by the way brah.
>>
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.
>>
>>47071924
>I used it to forge a paper as my own handwriting in school and the dumb bitch didn't think twice.

That's plagiarism, not forgery.
>>
>>47070813
Hi Austin
>>
>>47071984

My true name is Ramses Mogadishu Caesar, but you can call me by my slave name, if you must.
>>
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.
>>
>>47072016
man you just bummed me out. i miss the wc3 custom game scene
>>
>>47071951
>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.
>>
>>47066702
wrote a script today to save my dad a bunch of work, like about 10 hours a month
>>
>>47072035
>as in forging the handwriting as it was an assignment that had to be handwritten, not the contents of the essay

My mistake, but that's a retarded idea.
>>
personal 4chan text browser in python, for organizing and dissecting threads based on the conversations.
>>
>>47069610
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.
>>
>>47072053
if it had to be handwritten, it was probably a high school essay, so who really cares as long as it isn't plagiarized
>>
>>47072052
I remember you.

You said you already wrote it.
>>
>>47072028
>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
>>
>>47072116
The former were mostly white people with actual interest.
The latter is mostly women and niggers. Of course they weren't going to do anything of any value.
>>
>>47066702
* 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.
>>
>>47066702
>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
not uploaded
>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 wrote a small application that allows me to download music from Spotify.
>>
>>47066702
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.

Any advice?
>>
>>47066985
Wow this is really cool.
>>
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)
>>
>>47067014
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?
>>
>>47072239
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.
>>
>>47070813
>>47071216
>>47071461
Is it hard incorporating GUI's into your programs? I'm in my second year of CS and all my programming assignments are still command prompt programs.
>>
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.
>>
>>47072405
>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.

>>47072333
Thanks. I did a little bit of Python on Code Academy and I think I can figure out how to get by with it.
>>
>>47072348
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.
>>
>>47066702
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
>>
>>47070813
>>47071216
>>47071461
P-post music player pls
I'm excited to see something you've made
>>
File: 1426585135266.gif (3 MB, 435x245) Image search: [Google]
1426585135266.gif
3 MB, 435x245
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.
>>
>>47070813
>>47071216
>>47071461
>>47072809
Same, I'd like to see this
>>
>>47072809
Seriously? How much of a fucking faggot can you be?

This is literally the easiest software application to make.

hol-e

fucking

shit
>>
>>47073008
>>
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
>>
>>47072333
This. Python is perfect for this sort of shit, especially for a beginner
>>
Porn downloader.
Gigabytes bro.
Gigabytes of images, categorized.
Thread replies: 139
Thread images: 9

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.