[Sharing]Your personal projects[Inspiration] (82)

1 Name: #!/usr/bin/anonymous : 2014-11-08 13:20 ID:p3iUEkWT

What are your (current) hobby projects? What languages or libraries are you using? How usable or complete is it? What makes what you're doing novel or great?
No need to be smug or anything, or get all angry at other people for using <thing you hate>. Just share what you're up to. Add a URL if it's public too, if you want.

I'll start. I'm writing a stack-based language in Racket for use in embedded devices. It's already got Hindley-Milner style type inference, it just needs to actually produce output.
I'm also planning a modal text editor that feels like vim and a music-making program somehow.

But enough about me. Let's get some actual content on the front page of /code/.

33 Name: #!/usr/bin/anonymous : 2016-01-21 07:54 ID:oDNaTNvK

>>30
listening to A Tribe Called Quest.

34 Name: #!/usr/bin/anonymous : 2016-01-25 06:31 ID:I+1GTLWo

I have a really good new project will tell when its finished

35 Name: #!/usr/bin/anonymous : 2016-01-25 17:56 ID:Jhm78O2X

>>34
Damn - that's exactly what I was thinking. I hope we're not scooping each other.

36 Name: #!/usr/bin/anonymous : 2016-01-25 19:32 ID:mZEiSE6L

>>34,35
I'm going to have to sue you both for infringement of my IP rights.

37 Name: #!/usr/bin/anonymous : 2016-02-17 22:13 ID:G718lmfP

I'm fucking fed up of Arch whimsically breaking my shit so I'm moving to GuixSD.

38 Name: #!/usr/bin/anonymous : 2016-02-18 22:47 ID:bca5S2+Y

why not Debian or something rather than an OS that is in beta?

39 Name: #!/usr/bin/anonymous : 2016-02-20 21:24 ID:G718lmfP

>>38

A given Linux distro has two variables that matter to me: init/services management and the package manager.
dmd is a novelty for the former, and guix's package manager has no apparent downsides. The fact it is beta is not a problem; the whole installation is defined by a single script so if something goes wrong I can just nuke it and start again. So it gets ten thumbs up out of ten.

Of the OSes I've used, Arch's package management is not the shittiest, and yet it is still too shitty; a while ago it also moved from sysvinit (functionally, a pile of scripts haphazardly cobbled together) to systemd, and now feels too much like a black box that I have to believe is doing what I think it just told me it was doing.

40 Name: #!/usr/bin/anonymous : 2016-02-21 22:13 ID:bca5S2+Y

it seems strange to complain about breakages and then move to something that is currently in development. if you want stability without systemd (out of the box) plus solid package management then I would suggest Void Linux, heck even running Gentoo on stable isn't the worst idea.

41 Name: #!/usr/bin/anonymous : 2016-02-22 20:28 ID:G718lmfP

>>40
Arch doesn't tell me it's not stable. Guix does. That's the difference. There's also no nice way of reverting to a known good setup if an arch upgrade breaks.
Funny thing is though, I can't install it over wifi (it complains about not having nonfree wireless drivers, and the router is all the way downstairs) and Void or Alpine were my next choices anyway... the packages aren't always up-to-date (or even existent) on either but I can still run them as a minimal base.

42 Name: #!/usr/bin/anonymous : 2016-02-23 02:21 ID:Heaven

> There's also no nice way of reverting to a known good setup if an arch upgrade breaks.
dd if=/path/to/backup of=/dev/sda

43 Name: #!/usr/bin/anonymous : 2016-02-23 19:25 ID:Heaven

>nice way

44 Name: #!/usr/bin/anonymous : 2016-02-29 00:48 ID:Heaven

>>43
it takes literally 2 seconds to do it, and works perfectly every time. how is that not nice?

45 Name: #!/usr/bin/anonymous : 2016-03-07 01:42 ID:Heaven

>>37
did you get GuixSD running successfully? What's your hardware? Installation broke for me and I couldn't be bothered figuring out how to fix it.

46 Name: #!/usr/bin/anonymous : 2016-03-08 19:31 ID:fAwdaL+w

>>44
It requires a spare hard disk of at least equal size for every snapshot you want, and takes minutes on spinning rust. It's also not something you can version control or share to a different machine over a network without significant pain. The only way you could make it shittier is if you archived it by emailing it to yourself as "dissk backup (3) - Copy (2).zip".

>>45
I'm on wireless, and it refused to load iwl3945 because it's non-free. I'm still looking at Alpine and/or Void or FreeBSD but haven't given proper time to anything else yet.

47 Name: #!/usr/bin/anonymous : 2016-03-08 19:31 ID:Heaven

>>45,46
I didn't really re-read >>41 before sending that so apologies for repeating myself

48 Name: #!/usr/bin/anonymous : 2016-03-08 20:06 ID:Heaven

>>45-47
Anyway, it ran OK as far as I can tell, but I'm just using guix standalone to replace dead pacman at the moment.

49 Name: #!/usr/bin/anonymous : 2016-03-14 07:03 ID:Heaven

>>46
if you're that kind of person, sudo git init /, and then realize what a shitty idea putting your entire hard drive in a version control system is.

50 Name: #!/usr/bin/anonymous : 2016-03-19 14:44 ID:Heaven

>>49
You really don't get what Nix and Guix are for, do you?

51 Name: #!/usr/bin/anonymous : 2016-03-19 14:46 ID:fAwdaL+w

>>49
By which I mean, when I say "something you can version control" I mean the single configuration file that describes the state of your entire system.
http://www.gnu.org/software/guix/manual/guix.html#Using-the-Configuration-System

52 Name: #!/usr/bin/anonymous : 2016-03-20 03:41 ID:Heaven

>>50-51
tbh it looks like something people on /prog/ would masturbate over, and I don't see why I should care. I can back up and restore any *nix system with dd, and have no need to add more moving parts that break as soon as you actually need to restore a backup.

53 Name: #!/usr/bin/anonymous : 2016-03-20 15:20 ID:Heaven

>>52
That's great for you, and I'm sure your total lack of experience with nix and guix gives you license to shout your opinions on them as loudly as you want with the other over-opinionated folks on /prog/.
It's actually got fewer moving parts than most other distros, though. I'm curious, how does [code]dd[/code] fare when you want to set up the same system on a different machine with a smaller disk?

54 Name: #!/usr/bin/anonymous : 2016-04-09 19:03 ID:Heaven

I tried installing GuixSD on an EEE PC netbook and it did a kernel panic every time.

55 Name: #!/usr/bin/anonymous : 2016-04-23 12:46 ID:q8GDnajj

After all this pain I am running Void on my netbook, and not really bothering with any backup/reproducibility plans.

56 Post deleted.

57 Post deleted.

58 Post deleted.

59 Name: #!/usr/bin/anonymous : 2016-05-12 14:54 ID:jsOwY6GT

60 Name: Hell666 : 2016-05-12 18:56 ID:aDfFkpsz

hello everyone

61 Name: #!/usr/bin/anonymous : 2016-07-14 06:43 ID:4ybVfbAa

A wiki

62 Name: #!/usr/bin/anonymous : 2016-07-25 02:40 ID:I+0J1suI

an irc bot in ruby. It's almost done, but right now I'm tired of writing it. The first days were really fun but now the final feature it lacks kinda requires another rewrite of some major components.
Anyway the bot is supposed to be general purpose, easy to configure, and also easy to manage and enhance once it's running.
Then I want to write a packet capture program with batteries included. Something with slightly more features for interactive traffic analysis.
Other futures I might take some time in the future is an interactive debugger for ruby, an Interactive Fiction Z-machine compiler, a BBS engine... maybe a MUD engine.
I have a bunch of ideas.

63 Name: #!/usr/bin/anonymous : 2016-08-14 06:25 ID:Ar0frgQ5

I'm working on a roguelike. It's really tedious, but enjoyable. I kinda burned myself out on my last project because I didn't realize what a large undertaking it would be, but after some rest I'm comfortable with how long this might take. Tackling problems in small bites makes it pleasant, and stops me from feeling like I'm being crushed by how much there is or could be to add.

Right now I have maybe half of a barebones level generator written along with a placeholder UI. You can push an @ around the screen. After I'm done with levels, I'll get around to player/non-player-characters.

64 Name: #!/usr/bin/anonymous : 2016-08-16 21:08 ID:hHP9KTOC

Writing a crash triage tool so I can fuzz at a larger scale.
Want to be able to have all my crashes end up in elasticsearch, so I can have pretty graphs of crashes by type. Writing my tool in python and using lldb's python API. Does most of what I need it to do, just need to get some more useful tests and set up how it gets called.
Was inspired by Ben Nagy's talk from Infiltrate 2015.

65 Name: #!/usr/bin/anonymous : 2016-08-25 11:46 ID:4ybVfbAa

I enjoy hearing about your projects

66 Name: #!/usr/bin/anonymous : 2016-08-26 21:23 ID:CIBpMTtj

>>63
What language/libraries are you using? I've been wanting to make a roguelike for a while, but getting it to display nicely would seem to require something like curses or conio.

67 Name: #!/usr/bin/anonymous : 2016-08-29 02:23 ID:Ar0frgQ5

>>66
I'm using Racket Lisp. There's not really any need for a curses library if your language has a GUI library, unless you deliberately want to limit yourself to terminal-only play. It took me a little while to get used to basic OOP for frames and windows, but I don't need much except for displaying arbitrary characters/text, and that's very easy to do.

68 Name: #!/usr/bin/anonymous : 2016-10-17 21:00 ID:Qum8m4HS

>>67
Racket's GUI stuff is the best I've ever used.
It's also got the standard ncurses bindings somewhere (or maybe not and I had to generate it for myself) or at least some ansi terminal library, if you ever wanted to go curses again. Have fun!

Meanwhile I'm the guy who tried to set up GuixSD. I'm running NixOS very happily now.
I've been laying groundwork and writing the necessary libraries to write a Game Boy Advance game in very-type-safe Haskell.

69 Name: #!/usr/bin/anonymous : 2016-10-18 18:36 ID:Qum8m4HS

>>64
That's pretty cool. Sounds like you have some pretty beefy machines if you're at the stage of using elasticsearch and writing tools to help fuzz things. What kind of programs are you testing?

70 Post deleted.

71 Name: #!/usr/bin/anonymous : 2016-10-29 17:24 ID:Ar0frgQ5

>>68
Yes, despite having never done any OOP or GUI work in my life I was able to get it up and running in about an hour. That's also due in part to the very nice documentation they have on their object/class-system and how the GUI system uses it.

72 Name: #!/usr/bin/anonymous : 2016-10-30 12:36 ID:+d2Zo5b2

I am writing a music program where the UI is an AKAI APC MINI and the instruments are the Korg volca beats/bass/keys.
I am using ChucK as the backend for IO and scheduling, via a protocol over OSC/UDP. Low-latency scheduling and input polling are very fiddly to get right, and ChucK does it perfectly.

73 Name: #!/usr/bin/anonymous : 2016-10-30 16:24 ID:/XKYs9lR

#include <stdio.h>

void main( int argc, char *argv[] )
{
printf("    ∧_∧   / ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄\n");
printf("    ( ´∀`) < "); puts(argv[1]);
printf("     /    |  \________\n");
printf("  /     .|\n");
printf("   /\"⌒ ヽ |.イ |\n");
printf(" __ |  .ノ || ||__\n");
printf("    ノく_つ ∪ ∪   \\n");
printf("__((_________\\n");
printf(" ̄ ̄ ̄ヽつ ̄ ̄ ̄ ̄ ̄ ̄ ̄ | |\n");
printf(" _____________| |\n");
printf("  ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄| |\n");
}

74 Name: #!/usr/bin/anonymous : 2016-11-02 14:39 ID:Ar0frgQ5

I've been so busy with classes that I haven't had any time for my project. It really sucks. I miss working on it, and I feel like my programming skills might atrophy if I don't use them.

75 Name: #!/usr/bin/anonymous : 2016-11-02 19:06 ID:CCbly2Ll

>>74
don't worry, they wont!

76 Name: #!/usr/bin/anonymous : 2016-11-02 20:16 ID:jdDDUZ5G

>>74
Nah, all you lose is what the hell you were doing on that project more than a week ago.

77 Post deleted.

78 Name: #!/usr/bin/anonymous : 2016-11-13 15:36 ID:cfTgRxUb

Just playing with making a very dumb sorta-BBcode-to-HTML converter in flex, just for the hack of it.

79 Name: #!/usr/bin/anonymous : 2016-12-14 08:16 ID:FM/xpue5

I really want to sit down and give Perl 6 a spin but I simply don't have the time.

80 Name: #!/usr/bin/anonymous : 2017-03-30 20:02 ID:zsYtzRP0

I'm >>72 and I originally started it in Haskell. I've since restarted the project in Guile because there's a bit too much boilerplate in Haskell to get what I want.
I've simplified all the code heavily (I'll figure out the SLOC difference later but it's got to be <5%), and made it so that the whole thing is a library rather than a program, and a "setup" (which instruments are plugged in where, what UI pieces you want to see, etc) is a simple program you write. You should be able to live-code the thing in the REPL if you want, too, because that's hot these days.

81 Name: #!/usr/bin/anonymous : 2017-05-07 17:12 ID:ed9UcoP8

>>63
I swear I could have written this post, since I also started a roguelike after dumping my previous, over-scoped project.

I'm working in love2d, since I'm most familiar with scripting shit, and honestly, I'm really enjoying it. It's just free enough to not feel like I need to switch to a heavier-duty engine to get basic shit done, and the rotLove library for 437 display is flexible enough to be used full time, after you tweak it a bit.

82 Name: #!/usr/bin/anonymous : 2017-08-27 13:05 ID:P34EKj1y

I have been shaving yaks:
I am making a game in Pico-8, but it got to a certain size and the dynamicity of Lua meant I couldn't comfortably refactor it without scrapping it and starting again.
So in order to avoid that problem and to work in a language I am more comfortable with, I decided to write a typed DSL for Lua and a pico8 API on top of that, so I woudn't have t actually manually write any lua at all.
So, in order to do that, I taught myself Idris so I could use dependent types and because it's basically a more user-friendly Haskell.

Anyway I'm coming out of that valley and actually managing to write some proper code for the game using my DSL. It's pretty neat.

Name: Link:
Leave these fields empty (spam trap):
More options...
Verification: