Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
unixbeard
Dec 29, 2004

tef posted:

On the other hand I am yet to see a scratch programmer argue about tabs vs spaces

Same, prolly cause ive never seen a scratch programmer.

Admittedly the people I was teaching were in a demographic (mid to late 20s, usually with a degree in something), but another plus of processing is its a tool/language that is actually used in production environments and you can get paid real money for knowing it, and also its not a big leap to get into java once the basics are down.

Adbot
ADBOT LOVES YOU

movax
Aug 30, 2008


Yes forgot to mention it here, you guys should totally fill that up with some awesome project logs. Software, hardware, whatever!

Carthag Tuek
Oct 15, 2005

Tider skal komme,
tider skal henrulle,
slægt skal følge slægters gang



Because I'm a giant sperg, it's always annoyed me that you can't edit Date Added in iTunes. Especially since I lost some of that info in '03 when my library got corrupted and I had to readd everything.

So I've been hacking away at titl to make it let me set Date Added. Got it working last night, so I'm preparing a list of the stuff I need to change up. Preparing a list of items to change currently, which is the boring part.


Test song showing date added January 24, 2000.

Orzo
Sep 3, 2004

IT! IT is confusing! Say your goddamn pronouns!
This is virtually impossible to show via a screenshot, but this is what I'm working on: frame interpolation for my engine.

https://www.youtube.com/watch?v=x36EYpUv1HI&hd=1

A blog post here explains what's going on.

Tres Burritos
Sep 3, 2009

I got interested in L-Systems a while back and finally had a go at programming them. It was actually a lot of fun.

https://www.youtube.com/watch?v=w48XQM-4J5w

edit: Add a couple of lines, change a couple of lines and now I have a Dragon Curve creator. This poo poo is neat.

https://www.youtube.com/watch?v=j0smpD-cD_Y

Tres Burritos fucked around with this message at 08:14 on Aug 20, 2013

jmoney
May 15, 2003

what might have been
I haven't posted in this thread before, but I've been following it for almost as long as it's been around. There's a boring but familiar story about not finishing what you start and lack of motivation, but the point is I decided enough was enough and here is the result:



It's called Don't Forget The Batteries!

I wanted to prove to myself I could finish a project and so I picked my simplest idea to do first. Basically, since having kids, I found that I was buying lots of rechargeable batteries for all the stuff we had but then not keeping track of where they ended up. I needed a battery tracker, so here it is.

I realize it's not as impressive as most of the projects in the thread, but reading this thread was one of the things that helped inspire me to get off my rear end. Feels good to be a part of it, so thanks and on to the next project.

Shalinor
Jun 10, 2002

Can I buy you a rootbeer?

Tres Burritos posted:

I got interested in L-Systems a while back and finally had a go at programming them. It was actually a lot of fun.

https://www.youtube.com/watch?v=w48XQM-4J5w

edit: Add a couple of lines, change a couple of lines and now I have a Dragon Curve creator. This poo poo is neat.

https://www.youtube.com/watch?v=j0smpD-cD_Y
L-systems are super neat. They're what we use to model plant growth in Idyllon (every single plant visible grows in real-time, each from a seed, smoothly, etc).

Try adding a command that can drop a sequence of differently-colored nodes, and pretend it's a leaf. Then, for branches, add a concept of lifetimes, where the branches disappear after so long. That's more or less all you need to turn an l-system into a plant. After that, just make it possible per l-system to customize the color of the main nodes, and the color/shape of the "leaves," and you've got different species too.

https://www.youtube.com/watch?v=SOsJ8DAhYQo

Shalinor fucked around with this message at 20:22 on Aug 22, 2013

Tres Burritos
Sep 3, 2009

Shalinor posted:

L-systems are super neat. They're what we use to model plant growth in Idyllon (every single plant visible grows in real-time, each from a seed, smoothly, etc).

Try adding a command that can drop a sequence of differently-colored nodes, and pretend it's a leaf. Then, for branches, add a concept of lifetimes, where the branches disappear after so long. That's more or less all you need to turn an l-system into a plant. After that, just make it possible per l-system to customize the color of the main nodes, and the color/shape of the "leaves," and you've got different species too.


I think once I clean my code up I'm going to take a shot at creating an L-System that creates 2d floorplans. I figure that could be within the scope of my abilities and then I could make little 2d dudes to walk around them (maybe).

Also I'm seeing how it could be hard as hell to create an L-System that does anything that is useful / pretty. At the same time it's like 4 symbols 2 constants and 2 rules will get you the dragon curve so I don't know what.

KoRMaK
Jul 31, 2012



L-systems are a thing I definately need to get into and utilize soon. This blog got me hip to them: http://procworld.blogspot.com/search/label/L-System

Tres Burritos
Sep 3, 2009

KoRMaK posted:

L-systems are a thing I definately need to get into and utilize soon. This blog got me hip to them: http://procworld.blogspot.com/search/label/L-System

:aaa: That is loving amazing. This dude is amazing.

mmm11105
Apr 27, 2010
Got a few things to show off from the past few weeks

I finally got a proper portfolio/personal site up at http://mlht.ca (Still a little rough around the edges, needs a modern browser to view)

Also make SKIP, a simple way to send messages to a pebble smartwatch from the internet http://skip.mlht.ca

And all the discussion here about L-System led me to throw this together yesterday http://mlht.ca/l-system-playground

Nothing overly impressive

Shalinor
Jun 10, 2002

Can I buy you a rootbeer?
Video... Monday?

https://www.youtube.com/watch?v=8TKPdqR79lM

That's Hot Tin Roof: The Cat That Wore A Fedora, and I can finally start talking about it and posting screenshot saturdays again. Yay :3:

Doh004
Apr 22, 2007

Mmmmm Donuts...
When can we expect to be allowed to shove money at you for the game? Looks great :)

clandestine cactus
Feb 5, 2009

Hot Rope Guy

Shalinor posted:

Video... Monday?

https://www.youtube.com/watch?v=8TKPdqR79lM

That's Hot Tin Roof: The Cat That Wore A Fedora, and I can finally start talking about it and posting screenshot saturdays again. Yay :3:

You even got an RPS article!

LP0 ON FIRE
Jan 25, 2006

beep boop
That looks incredible!!! Shalinor, may I ask how many people went into the art/making maps buildings, etc?

Shalinor
Jun 10, 2002

Can I buy you a rootbeer?

Doh004 posted:

When can we expect to be allowed to shove money at you for the game? Looks great :)
You're welcome to toss money into the Kickstarter, of course. Once that's above its goal, we'll add some PayPal/Humble Store pre-order links to catch the folks that would rather just buy it.

LP0 ON FIRE posted:

That looks incredible!!! Shalinor, may I ask how many people went into the art/making maps buildings, etc?
It's a team of 7, including myself. 3 are artists (2 3D artists, 1 2D/Promotional/Concept artist).

... and hopefully, the RPS article is the first of many. EDIT: Ah, here's the Q&A, and I think we'll have a few LP's hitting youtube as well.

Shalinor fucked around with this message at 17:12 on Aug 26, 2013

Tres Burritos
Sep 3, 2009

mmm11105 posted:

Got a few things to show off from the past few weeks

I finally got a proper portfolio/personal site up at http://mlht.ca (Still a little rough around the edges, needs a modern browser to view)

Also make SKIP, a simple way to send messages to a pebble smartwatch from the internet http://skip.mlht.ca

And all the discussion here about L-System led me to throw this together yesterday http://mlht.ca/l-system-playground

Nothing overly impressive

:argh: You bastard, making stuff way better than mine!

Anyways I got a system set up that'll let me scale and shift around anything I draw on screen properly, and I added in the "stack" rules for L-systems. I also made it so it's possible to have drawing angles that aren't increments of 90 degrees.

https://www.youtube.com/watch?v=Xn4BUAwvbys

Watch the FPS drop as the strings get bigger and bigger! I think I can fix that though.

mmm11105
Apr 27, 2010

Tres Burritos posted:

:argh: You bastard, making stuff way better than mine!

Anyways I got a system set up that'll let me scale and shift around anything I draw on screen properly, and I added in the "stack" rules for L-systems. I also made it so it's possible to have drawing angles that aren't increments of 90 degrees.

https://www.youtube.com/watch?v=Xn4BUAwvbys

Watch the FPS drop as the strings get bigger and bigger! I think I can fix that though.

I see we stole our examples from the same wikipedia article

Dolex
May 5, 2001

I made an L-System generator in Processing JS that draws semi-transparent polygons instead of just lines. It has controls! Press "s" to save.

http://creative-co.de/labs/colorful_system/

Only registered members can see post attachments!

Bahama.Llama
Aug 17, 2006

Scary Money
I discovered LaTeX in this thread thanks to the beaglesnes, and holy poo poo... it is awesome. I've found myself making documents for projects at work and they are in a much nicer format even without using the fancy templates. If you haven't taken a stab, don't be afraid of the initial work - It really is easier than MS Word.

Also, I made this thread a heart:


Also kind of wild:

Volte
Oct 4, 2004

woosh woosh

Bahama.Llama posted:

I discovered LaTeX in this thread thanks to the beaglesnes, and holy poo poo... it is awesome. I've found myself making documents for projects at work and they are in a much nicer format even without using the fancy templates. If you haven't taken a stab, don't be afraid of the initial work - It really is easier than MS Word.
Just for the love of god get some kind of non-standard template, or at least change the default font to Palatino. A bog-standard LaTeX document looks even more amateurish (at least in my eyes) than a default Times New Roman Word document.

Bahama.Llama
Aug 17, 2006

Scary Money
You're absolutely right. The thing that tipped me off to this was someone looking over my shoulder and going "Oh, looks like a white paper". That is when I knew I had to mix it up immediately.

Polio Vax Scene
Apr 5, 2009



For some reason I have become interested in HLSL and raw DirectX. I must be a glutton for punishment.

This is the result of about ten hours of cursing and fumbling. At least shaders are pretty fun to mess around with.


I wish there were better tutorials/samples out there.

AntiPseudonym
Apr 1, 2007
I EAT BABIES

:dukedog:

Shalinor posted:

Video... Monday?

https://www.youtube.com/watch?v=8TKPdqR79lM

That's Hot Tin Roof: The Cat That Wore A Fedora, and I can finally start talking about it and posting screenshot saturdays again. Yay :3:

Looks amazing! I love all the squash and stretching you've got in the animation. Also how your cat calls you boss. :3:

One little thing though, would it be possible to put a little delay on the cat moving after you, sort like Tails in Sonic? It just looks a little weird how the cat jumps at the same time you do.

Shalinor
Jun 10, 2002

Can I buy you a rootbeer?

AntiPseudonym posted:

One little thing though, would it be possible to put a little delay on the cat moving after you, sort like Tails in Sonic? It just looks a little weird how the cat jumps at the same time you do.
Heh, of course. What's there is placeholder. I had better follow code working, but it jerked around in an ugly way. I just need more time to make it smooth.

hendersa
Sep 17, 2006

Bahama.Llama posted:

I discovered LaTeX in this thread thanks to the beaglesnes, and holy poo poo... it is awesome. I've found myself making documents for projects at work and they are in a much nicer format even without using the fancy templates. If you haven't taken a stab, don't be afraid of the initial work - It really is easier than MS Word.

BeagleSNES: Making the world a better place. But maybe not in the way that you might expect. Still, if it got you using LaTeX and getting past the initial learning curve... awesome!

Holy smokes have I been busy. All sorts of things in the pipeline related to my projects. I received a mail from an old professor of mine (who I had classes with over a decade ago) that said that he's interested in working with my BeagleBone Black Android OS image, so I'm kinda excited about that. I suspect that it will end up being utilized as a part of the computer science course curriculum at my undergraduate alma mater. I also had some of the other faculty there mail me to ask me if I would be interested in being a professor there when I finish my PhD. :3:

I have been busy writing material on my BBB projects and research. There's an article of mine that Linux Magazine should be running in their next issue (on the stands around September 15th, I think).



I drew those drat diagrams myself using xFig, the worst vector drawing tool ever. Writing magazine articles is a very odd experience when you're used to writing research papers. You can expect editorial feedback like "dumb this down a bit more", "you don't need this many references", "you need to add more pictures", "leave the formatting to us", and "seriously, use shorter words". Still, the editors know what they are doing, so I am just follow their lead. I have no idea why they would request that you use xFig to draw diagrams, though. That software is awful.

Lots more stuff on the code and project side of things, but nothing to show just yet. Stay tuned!

nuvan
Mar 29, 2008

And the gentle call of the feral 3am "Everything is going so well you can't help but panic."
Nice to see that the BBB project is opening so many doors for you hendersa. One thing I can't remember, though. Did you start the project specifically for school, or was it just for fun?

hendersa
Sep 17, 2006

nuvan posted:

Nice to see that the BBB project is opening so many doors for you hendersa. One thing I can't remember, though. Did you start the project specifically for school, or was it just for fun?

BeagleSNES started as a graduate class project for the BeagleBoard-xM. The BeagleBone Black came out right about the time that I did my initial BeagleSNES OSS release, and shortly after that I received a few mails from people asking me to port BeagleSNES to the BBB. One gentleman put his money where his mouth is and Paypal'd me enough money to actually buy a BBB, guilting me into doing the port. That's what lead to the BeagleSNES on the BBB. I've been screwing around with the BBB since.

This past summer semester that just ended, I had a graduate course on mobile technology. For that class, I got Android running on the BBB with the 3.8 Linux kernel as a class project. It was awesome. I got it working in the first three weeks of class, I demonstrated it to the professor, and I showed him the web page that I put up for it and he said "Welp... you get an 'A'. You're done." And that was it. No final project report, no homework, no deliverables... nothing. You sometimes hear urban legends about some student somewhere doing something really good and the professor just giving an instant 'A' or whatever for the course, but it actually happened to me!

To be fair, it was not trivial work, and I did teach a few of the lectures and a lab in the class, so I didn't get off completely scott free. I still attended class, but I spent almost the entire time answering broken-English mails about the Android image that I released.

The BBB port of BeagleSNES was for fun. The BB-xM version of it was technically for class, but that was more of an excuse to spend my time hacking on an ARM SNES emulator system. The Android stuff though... that has felt like pure work from start to end. The sheer amount of mail I've gotten about that thing has been incredible. There hasn't been much "fun" involved. On the bright side, I've had hardware manufacturers asking, "hey, will our peripherals work with your BBB Android image?" Then they send me boxes of engineering samples of LCDs and stuff to test with. My desk looks like ground zero where a Radio Shack has blown up.

Doh004
Apr 22, 2007

Mmmmm Donuts...

Shalinor posted:

You're welcome to toss money into the Kickstarter, of course. Once that's above its goal, we'll add some PayPal/Humble Store pre-order links to catch the folks that would rather just buy it.

Threw you guys some money!

seiken
Feb 7, 2005

hah ha ha

hendersa posted:

To be fair, it was not trivial work, and I did teach a few of the lectures and a lab in the class, so I didn't get off completely scott free. I still attended class, but I spent almost the entire time answering broken-English mails about the Android image that I released.

The BBB port of BeagleSNES was for fun. The BB-xM version of it was technically for class, but that was more of an excuse to spend my time hacking on an ARM SNES emulator system. The Android stuff though... that has felt like pure work from start to end. The sheer amount of mail I've gotten about that thing has been incredible. There hasn't been much "fun" involved. On the bright side, I've had hardware manufacturers asking, "hey, will our peripherals work with your BBB Android image?" Then they send me boxes of engineering samples of LCDs and stuff to test with. My desk looks like ground zero where a Radio Shack has blown up.

Sorry, this isn't an effort-post, just wanted to say you own. Word? Word. KICK IT

Orzo
Sep 3, 2004

IT! IT is confusing! Say your goddamn pronouns!
making some dragon thing

https://www.youtube.com/watch?v=YlerJOdIN1I&hd=1

Harik
Sep 9, 2001

From the hard streets of Moscow
First dog to touch the stars


Plaster Town Cop


I generally work on embedded hardware, but an OLED display is technically a screen, right?

64x48 pre-rendered glyphs, 4-bit greyscale so I can have anti-aliasing. Part of the build process is taking the image below and packing it into the format the display expects so the firmware can simply set the start column and blit it out. The fun part was mostly getting all the right magic numbers to the right register values so the display would turn on, and then figuring out the truly bizarre GDDR->display mapping they had used. 4-dot wide columns when addressing, and the left edge is actually column 28 instead of 0.

a cyberpunk goose
May 21, 2007


:pcgaming: you've invented a TIME MACHIIINE :pcgaming:

That typeface is great, what is the model of the display you are using?

Harik
Sep 9, 2001

From the hard streets of Moscow
First dog to touch the stars


Plaster Town Cop

Mido posted:

:pcgaming: you've invented a TIME MACHIIINE :pcgaming:

That typeface is great, what is the model of the display you are using?

http://www.newhavendisplay.com/nhd31225664ucy2-p-3537.html

The current numbers are actually freemono, 4-bit bitmaps. Right now they're just raw, but I'll probably implement basic RLE to crush the size enormously.

Here's (lovely) video of the different functions in operation. It's an alarm/sensor thing with a physical key-lock to prevent tampering with settings. Beyond that I can't really get into the actual use. Left is the (faked) signal it's detecting, right is the current warning point. In maintenance mode, it's got minimum trippoint, max trippoint, locked trippoint (0 is unlocked) and the temporary "change the fake signal level".

http://www.youtube.com/watch?v=lH64A81S2Ak

Edit: Fixed display link, it's the 3.12" model

Harik fucked around with this message at 21:18 on Aug 30, 2013

Ethereal
Mar 8, 2003
A fantasy football drafter.

* Scrapes stats for the last few years automatically and persists them into JSON files for later use. (Moving this to RethinkDB soonish)
* Let's you do all sorts of transformations on the data through standard Javascript. Found some great sleeper players with this.
* Scrapes injury/arrest reports and 'whos back' sites to make sure the data is in good shape.
* Does value based drafting ( http://subscribers.footballguys.com/2012/12bryant_vbd.php )
* Auto completes player names in the command line
* ExpressJS based web server to produce visualizations on certain sets of data.

Things to do:
* NLP on the internet to find out who is getting injured/leaving the team week by week and finding strong replacement candidates.
* Machine Learning on the last 10 years worth of NFL data to find some useful pieces of information. (How important are certain QBs to the team. RBs that run well no matter who else is on the team etc.)
* Do some work analyzing each NFL draft and seeing how players fare in their first year. This would be super useful for finding cheap players at the end of a draft.
* Nate Silver style analysis on teams and players using all of the preseason information available.
* More visualizations
* Better CLI
* Open sourcing

This year's draft grade: A-

Only registered members can see post attachments!

Orzo
Sep 3, 2004

IT! IT is confusing! Say your goddamn pronouns!
Screenshot Saturday! I added another enemy. Overall it was pretty fun making this one.

It's tenatively called the Lurker, but I'm probably going to change that. Screenshots:

Bursting out of the ground / Hitting the enemy / A big ol' gif


The last video in the series:
https://www.youtube.com/watch?v=iUbC7vxtTwY&hd=1

I wrote a blog post that shows all of the stages of development, and at the end I have a ink to the source code, in case anyone's interested in how my engine works.

ambushsabre
Sep 1, 2009

It's...it's not shutting down!

Ethereal posted:

A fantasy football drafter.

* Scrapes stats for the last few years automatically and persists them into JSON files for later use. (Moving this to RethinkDB soonish)
* Let's you do all sorts of transformations on the data through standard Javascript. Found some great sleeper players with this.
* Scrapes injury/arrest reports and 'whos back' sites to make sure the data is in good shape.
* Does value based drafting ( http://subscribers.footballguys.com/2012/12bryant_vbd.php )
* Auto completes player names in the command line
* ExpressJS based web server to produce visualizations on certain sets of data.

Things to do:
* NLP on the internet to find out who is getting injured/leaving the team week by week and finding strong replacement candidates.
* Machine Learning on the last 10 years worth of NFL data to find some useful pieces of information. (How important are certain QBs to the team. RBs that run well no matter who else is on the team etc.)
* Do some work analyzing each NFL draft and seeing how players fare in their first year. This would be super useful for finding cheap players at the end of a draft.
* Nate Silver style analysis on teams and players using all of the preseason information available.
* More visualizations
* Better CLI
* Open sourcing

This year's draft grade: A-

This sounds and looks so complex it's wonderful, great work dude.

Sharktopus
Aug 9, 2006

Just updated my janky animated gif game of life ticker with a new and improved pure javascript one

At this point i'm not really sure if I can make it considerably faster without changing the data structure for storing the board

http://sharktopus.com

view source for code or check here https://github.com/limnick/gol if interested



edit: forgot to mention you can interact by dragging the mouse around to set squares to alive

Sharktopus fucked around with this message at 21:53 on Sep 1, 2013

go play outside Skyler
Nov 7, 2005


Xylobot is now a virtuoso. Thank you all for your support and feedback. I have a few other videos up my sleeves, so make sure to subscribe!

https://www.youtube.com/watch?v=cpeOZfV-MII&hd=1

Adbot
ADBOT LOVES YOU

ynohtna
Feb 16, 2007

backwoods compatible
Illegal Hen
drat, did I miss the L-system love-in? I did a half-day hack at a Music Hack Day a few years back which produced a server-side L-system/context-free-grammar for generating 2 channel techno/electro loop variations seeded by input words.

http://techno-is-the-word.appspot.com/

You're gonna need to use Chrome for this, thanks to the non-standard nature of the Web Audio spec at the time. I did code a small update which adds Safari compatibility and changes the browser URL so good words can be bookmarked but have yet to get around to deploying it. Curse of the speed hack: once the deadline is over all energy has been spent.

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply