Thread: What are you programming today?

  1. #1
    Lurking whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    9,612

    What are you programming today?

    Quote Originally Posted by Epy View Post
    Along those lines, this forum needs a "what are you programming right now" thread. Every other forum on the internet usually has a "what are you doing today" type thread. Start the thread, I'm sure someone would sticky it.
    Wish granted!

    Please discuss any projects you want to share with the friendly people at Cboard. I wish I were doing something right now, but I'm not, but I should.

  2. #2
    Make Fortran great again
    Join Date
    Sep 2009
    Posts
    1,413
    Guess I'll start then. As I mentioned in the thread where I said the above quote, I'm working on a program to help automate the 3D modelling of piping systems. I started to go into detail on the Tech Board here: Thoughts on automated 3D modelling of piping systems

    One of the many things I do at my job is 2D/3D CAD drawings, and every time I have to make proposal drawings it takes 1-2 days of solid, uninterrupted work; it's a monumental pain. The 3D model needed to produce the end drawings is based on a set of standards governed by our company and also ASME/ANSI standards. So, I can take advantage of that and automate the making of each piece given basic information (e.g. to make a tee, I only need to know the pipe size and schedule).

    After months of off and on thinking, I finally whipped something out. What I have now allows me to write small/quick script files that produce a model that's 95% complete.

    Here's an example segment from my script:
    Code:
    6	6,1,3,YP
    	tee,r,YP
    	rfwn
    	chv,w
    	rfwn
    	2
    	rfwn
    	fp,36.6875
    	rfwn
    	*
    	rfwn
    	bv
    	rfwn
    	tee,r,YP
    which corresponds to the bottom horizontal pipe run in the produced model below:

    What are you programming today?-sdfs-jpg

    The above model would take me only a few hours since I already have a library of many of those components (valves, tees, elbows), but in comparison it'd take 5-10 minutes to write the script instead. Huge time savings.
    Last edited by Epy; 12-13-2014 at 04:54 PM.

  3. #3
    Registered User MutantJohn's Avatar
    Join Date
    Feb 2013
    Posts
    2,665
    I'm going to either do some meshing in CUDA or I'm going to learn sockets with Java.

  4. #4
    Registered User Alpo's Avatar
    Join Date
    Apr 2014
    Posts
    877
    I've been working on a "profile creator/selector" for this maze game that I've been adding on to for a while now. After that I need to make transparency bitmasks for the player characters bitmaps, so that I can add some of the backgrounds I've made in (below I'm playing/lost as Bob the Tomato from Veggie-Tales, it's a version to give to my niece).

    The main mechanic of the game is that you choose a difficulty (after you create a profile), and you have a certain number of off-steps you can make before you die, based on that difficulty. Each level you solve starts a new maze (generated by algorithm). The challenge is how many levels you complete before you die.

    On the version below, my Brother in Law wants me to add a winning condition, and use that to unlock the other characters (and harder difficulties). I was thinking that the 3rd or 4rth level would add a timer, and if you beat that it shows a "you've won" screen with the character you've unlocked, which is why I need a profile to save to.

    What are you programming today?-bobmaze-png
    Last edited by Alpo; 12-13-2014 at 06:12 PM.
    WndProc = (2[b] || !(2[b])) ? SufferNobly : TakeArms;

  5. #5
    Registered User
    Join Date
    Jun 2011
    Posts
    4,513
    I use spreadsheets to track financial information and bill payment details. The data I log is thorough, which leads to some redundancy between spreadsheets, and some information has to be manually entered in several places.

    So I'm writing a program with GTK to enter and keep track of this information much more easily. If all goes well, I plan on adding additional features, such as data plotting.

    I spent the past two weeks planning this program, and started coding today. I have a feeling this one might take a while.

  6. #6
    Registered User
    Join Date
    Jun 2011
    Posts
    4,513
    Quote Originally Posted by Alpo
    ...below I'm playing/lost as Bob the Tomato from Veggie-Tales...
    I don't know Veggie-Tales, but it kind of reminds me of Meatwad

  7. #7
    Registered User Alpo's Avatar
    Join Date
    Apr 2014
    Posts
    877
    Quote Originally Posted by Matticus View Post
    I don't know Veggie-Tales, but it kind of reminds me of Meatwad
    Oh wow, I never noticed it before, but you are right. Bob is like a less cool version of Meatwad. Because Meatwad makes the money see, and Meatwad get's the honey's G :P.
    WndProc = (2[b] || !(2[b])) ? SufferNobly : TakeArms;

  8. #8
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Well, I've been working on some projects for some time, though I'm not working on them today. Not right now.
    Anyway...

    One project is to take recorded gameplay, slice & dice it, append intro & outro, effects, upload to youtube and add description, add it to a youtube playlist and make them public/private with a single click of a button. You have no idea how much time this has saved. The manual process was just ridiculous. Find proper times, slice, append, write scripts, encode, mux audio, upload, add description and tags, add to playlist, and so on. Not to mention the mistakes that are done in the process!

    Then there's my utility to grab all new streaming titles @ crunchyroll.com and add them to my google calendar for reminders when they stream.

    As a consequence of those two, I've had to implement oauth authentication, networking and talking to google. Add the ability to cancel these operations at any time and you've got a pretty complex design which I'm constantly trying to make better, get rid of complexity and simplify into a useful bunch of utility classes. Among them, especially a class that abstracts an asynchronous result has made me lose many nights of sleep because it's just so difficult to implement and the choices of doing things and which ones are good and not and whatnot and making a decision what to support and what not... I still haven't been able to figure that out, so I just took exactly what I needed and made as simple implementation I could as possible.

    Finally I've been tinkering with a distributed system for sending notifications and messages to other people over the internet for those people who hide from skype. Mostly just for the networking experience.

    Oh and yesterday, I wrote a statistics class to help out making benchmarks. Sampling, calculate mean, median, standard deviation, confidence intervals, etc.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  9. #9
    Registered User
    Join Date
    Jun 2005
    Posts
    6,815
    I've been programming in LaTeX today. Implementing some enhanced functionality for a friend that standard class files do not offer.
    Right 98% of the time, and don't care about the other 3%.

    If I seem grumpy or unhelpful in reply to you, or tell you you need to demonstrate more effort before you can expect help, it is likely you deserve it. Suck it up, Buttercup, and read this, this, and this before posting again.

  10. #10
    Master Apprentice phantomotap's Avatar
    Join Date
    Jan 2008
    Posts
    5,108
    O_o

    I love pixel art. I haven't found a single editor for "Android" that even half of the features I want, and I surely don't want to switch between five or six different applications to edit one spite.

    I am working on a sprite editor for "Android".

    Soma
    “Salem Was Wrong!” -- Pedant Necromancer
    “Four isn't random!” -- Gibbering Mouther

  11. #11
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    I tend to give up on a project if I work solely on it. So I'm involved in a few personal projects. Some of which have a few years on them. I'm not listing those currently on hold.

    1. Map Editor for strategy games development (C# and C++) (image: http://i.imgur.com/JgpgH.jpg)
    A visual map editor capable of exporting to a SQLite database or my own binary format (with accompanying C++ DLL for read/write access to the file) for anyone wishing to develop hex-based or square-based strategy games. It's a lot more advanced than in that screenshot, but that's what I have on imgur. I didn't actually work on it today. But this week I made a few fixes to the random map generator. Coastlines were too jagged and disconnected.

    2. A math teaching tool for kids up to the 9th grade (C#, Lua) (No image. See below)
    A classroom aiding tool teachers can use that explores some methods for math teaching up to and including basic algebra. Making it small enough to fit a raspberry pi and use it here in Angola as a cheap teaching aid that teachers or schools can use without getting on a computer-class budget. I'm currently working on the application engine and as such there's nothing to show as an image.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  12. #12
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,981
    Adding EMV support to our products. (US products of course.)

    gg

  13. #13
    Make Fortran great again
    Join Date
    Sep 2009
    Posts
    1,413
    This is shaping up to be a great thread. Seeing what others are doing gets my brain going and thinking about stuff I can program, as it's just a hobby for me.

    Next step for my 3D piping program is to spit out a bill of material with total lengths of pipe, valves, fittings, etc. to assist fabricators in the estimating process. I also want to add in the weld gaps and pipe gaskets into the 3d model, maybe even the nuts and bolts for the flanges. Also working on the branch piping (small stuff that comes off the main piping, like drain valves).

  14. #14
    Registered User MutantJohn's Avatar
    Join Date
    Feb 2013
    Posts
    2,665
    So much practicality in this thread. It's almost a little scary.

  15. #15
    Registered User
    Join Date
    Dec 2014
    Posts
    1
    Great discussion, I would like to share that currently i am developing an android application which will work as like what's app.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Programming language - Which one should people learn today?
    By Christopher2222 in forum A Brief History of Cprogramming.com
    Replies: 25
    Last Post: 09-25-2008, 08:17 AM
  2. I'm 30 today
    By Salem in forum A Brief History of Cprogramming.com
    Replies: 8
    Last Post: 05-16-2008, 06:36 AM
  3. Programming today...
    By robid1 in forum C Programming
    Replies: 4
    Last Post: 05-23-2003, 05:39 AM
  4. What are you doing today?
    By Carlos in forum A Brief History of Cprogramming.com
    Replies: 10
    Last Post: 01-23-2002, 06:57 PM
  5. Today is...
    By Betazep in forum A Brief History of Cprogramming.com
    Replies: 6
    Last Post: 10-06-2001, 02:50 PM