Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Practical /prog/ramming

Name: Anonymous 2009-06-24 0:09

What are some practical things to program? I am in the midst of making an RPG, but I am just curious as to what /prog/ does in their spare time.

You can post practical or impractical programming, I don't care.

Name: Anonymous 2009-06-24 0:15

Command line tools, algorithms, Source conversions.

Name: Anonymous 2009-06-24 0:57

a LISP interpreter

Name: Anonymous 2009-06-24 1:19

SICP interpreter

Name: Anonymous 2009-06-24 1:19

Conways game of dicks

Name: Anonymous 2009-06-24 1:25

Text editor

Name: Anonymous 2009-06-24 1:32

Judging from the blogs maintained by our regulars, recent /prog/ projects seem to be:

1. A Bézier curve plotter.
2. Some type of Javascript/Sepples hybrid monstrosity, I don't know.1
3. Heavy drinking.
4. Quietly sulking over being banned.

__________________________________
1 I don't like it either, but he posts frequently. Technically, that makes him a regular.

Name: Anonymous 2009-06-24 1:41

>>7
I need a list of blongs

Chris Done, Taro and XARN excruded

Name: Anonymous 2009-06-24 1:55

>>8
The only other person in >>7's list is invisible.

Other blogs by #sicp regulars that I'm aware of:

http://storlek.livejournal.com/
http://terras.rotahall.org/
http://steve.k-thx.com/

They're pretty dead, though.

Name: Anonymous 2009-06-24 3:15

I'm writing a spaced repetition flash card program, since the programs I know of don't allow for easy card generation from source data. Doing it in Common Lisp, but I'm considering a future port to Emacs Lisp, so it can run in Emacs without an inferior Lisp and so it can piggyback on Emacs graphics support.

Next up is a rogulike that improves your arithmetic skills.

Name: Anonymous 2009-06-24 3:29

i'm not working on anything :( am i a failure?

Name: Joey 2009-06-24 3:35

Hacking tools. Mostly so I can pwn this one Gibson. Man, if I pull it off I bet Freak and Cereal will stop treating me like a kid for good!

Name: Anonymous 2009-06-24 3:43

>>11
Most people are below average. I wouldn't worry about it.

Name: Anonymous 2009-06-24 4:02

>>13
I wouldn't say most, it's only about half.

Name: FrozenVoid 2009-06-24 4:13

>>12 obviously, Games, File utils,encryption,compression,databases,mini http servers,greasemonkey scripts,
Anything you feel like in the moment that sounds that it has perspectives.



______________________________________
http://xs135.xs.to/xs135/09042/av922.jpg
orbis terrarum delenda est

Name: Anonymous 2009-06-24 4:13

>>14
Let's say you have 3 possibilities. A (above average), B (at average), C (below average). The distribution in a typical population will look like:
B,B,B,A,B,C,C,B,B,B,A,B,B,B,B...

Even though this respects a gaussian distribution, it is easily seen that below average, C, is represented 2 times on 15, which is definitely not ``about half''. Ergo your wrong bitch.

Name: Anonymous 2009-06-24 5:23

>>16
Actually, because quality of a person is a continuous variable:
Pr(at average) = 0
Pr(above average) = 0.5
Pr(below average) = 0.5


A typical representative sample might look like:
A,C,C,C,A,C,A,A,C,A,C,C,A,A,C,A,A,C,A,C,...

Name: Anonymous 2009-06-24 7:37

os

Name: Anonymous 2009-06-24 11:15

Music stuff, PSP games. Perl curses stuff. Userland automount.

Name: Anonymous 2009-06-24 11:17

Buy a GP2X and port some open source game to it.

Name: Anonymous 2009-06-24 11:30

Making lambdabot work.

Name: Anonymous 2009-06-24 11:51

>>21
This is what haskell programmers actually think

Name: Anonymous 2009-06-24 12:49

GP2X programming is fun, I recommend that. The newer versions of it might be a better choice, though.

Firefox extensions would be a good choice, because they can prove so useful (and thus it feels like you're actually doing something worthwhile), if it weren't for XPCOM, Sepples and all the other nasty stuff that generally gets involved.

>>17
That depends on your definition of `at average'. If you mean `within one standard deviation from the mean', then about 68% of the people fall meet this definition. Of course, you could take it literally, in which case you would be technically correct but missing the point.

Name: Anonymous 2013-04-22 22:26

aye

Name: Anonymous 2013-04-23 13:54



Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop


Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop


Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop

Name: Anonymous 2013-04-23 14:02



Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop


Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop


Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop

Name: Anonymous 2013-04-23 14:11



Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop


Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop


Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop

Name: Anonymous 2013-04-23 14:23



Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop


Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop


Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop

Name: Anonymous 2013-04-23 14:39



Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop


Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop


Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop

Name: Abacus Data Systems 2013-05-02 0:19

You check out this company's software product and you tell me? : http://www.abacusdata.com

Name: Anonymous 2013-05-02 0:50

Goddamnit I've been writing a database/tool to help correlate info between modules used by my company's softare and the test vectors that -should- test them.

Yes this is in my own time. And I'm a dev guy, not a fucking QA pleb. Fuck if I know why I thought this would be fun to do. It really kinda was for a while to just do something different, but cannot sustain 16 hour programming days.

Name: nvisio 2013-05-02 0:57

naww..


function pointmat = microShift(pointmat, locA)
pointmat(:,1) = pointmat(:,1) .- locA(1);
pointmat(:,2) = pointmat(:,2) .- locA(2);
pointmat(:,3) = pointmat(:,3) .- locA(3);
endfunction;

function out = funky2dx(pointmat, iSize)
x = pointmat(:,1) ./ pointmat(:,2);
y = pointmat(:,3) ./ pointmat(:,2);
z = [x,y];
z = round(z .* (iSize(1) / 2) .+ (iSize(1) / 2));
outx(1:iSize(1), 1:iSize(2)) = 0;
outy = outx;
outz = outy;
aplus = (z(:,1) .- 1) .* iSize(1) .+ z(:,2);
ty = round(length(aplus) / 3);
outx(aplus(1:ty)) = 1;
outy(aplus(ty:ty*2)) = 1;
outz(aplus(ty*2:end)) = 1;
out(:,:,1) = outx;
out(:,:,2) = outy;
out(:,:,3) = outz;
endfunction;

%% autopilotx.m

locA = [0, -2, 0];
locB = [0, 2, 0];
iSize = [500, 500];
AtoB = locB .- locA;
BtoA = -AtoB;
AtoX = AtoB ./ 2;
pointmat = [];
pointmat(1, :) = AtoX;
pointmat = microShift(pointmat, locA);
figure(1);
hold off;
plot(pointmat(:,1) ./ pointmat(:,2), pointmat(:,3) ./ pointmat(:,2), 'r+');
hold on;
plot([-1,1],[1,-1], 'w.');
stepAng = pi / 180 .* [0, 0.4, 0];  %%[-0.3, -0.2, -0.15];
rox = [1, 0, 0; 0, cos(stepAng(1)), sin(stepAng(1)); 0, -sin(stepAng(1)), cos(stepAng(1))];
roy = [cos(-stepAng(2)), sin(-stepAng(2)), 0; -sin(-stepAng(2)), cos(-stepAng(2)), 0; 0, 0, 1];
roz = [cos(stepAng(3)), 0, sin(stepAng(3)); 0, 1, 0; -sin(stepAng(3)), 0, cos(stepAng(3))];
tic
imgmat(1:iSize(1), 1:iSize(2), 1:3) = 0;
figure(3);
for(iter = 1:1600)
  pointmat(iter, :) = AtoX;
  pointmat = microShift(pointmat, AtoB);
  pointmat = pointmat * rox';
  pointmat = pointmat * roy';
  pointmat = pointmat * roz';
  pointmat = microShift(pointmat, BtoA);
  frmat = pointmat;
  endfor;
imgmat = imgmat .* 0.975 .+ funky2dx(pointmat, iSize);
toc;
imshow(imgmat);

Name: Anonymous 2013-05-02 1:11

part II


function out = funky2dz(pointmat, iSize)
x = pointmat(:,1) ./ pointmat(:,2);
y = pointmat(:,3) ./ pointmat(:,2);
z = [x,y];
zn = pointmat(:,2);
z = round(z .* (iSize(1) / 2) .+ (iSize(1) / 2));
outx(1:iSize(1), 1:iSize(2)) = 0;
outy = outx;
outz = outy;
aplus = (z(:,1) .- 1) .* iSize(1) .+ z(:,2);
ty = round(length(aplus) / 3);
outx(aplus(1:ty)) = 0.6 ./ zn(1:ty);
outy(aplus(ty:ty*2)) = 0.5 ./ zn(ty:ty*2);
outz(aplus(ty*2:end)) = 0.7 ./ zn(ty*2:end);
out(:,:,1) = outx;
out(:,:,2) = outy;
out(:,:,3) = outz;
endfunction;


%%autopilotz

stepAng = pi / 180 .* [0.15, -0.12, -0.03];  %%[0.3, 1.2, 2.15];
rox = [1, 0, 0; 0, cos(stepAng(1)), sin(stepAng(1)); 0, -sin(stepAng(1)), cos(stepAng(1))];
roy = [cos(-stepAng(2)), sin(-stepAng(2)), 0; -sin(-stepAng(2)), cos(-stepAng(2)), 0; 0, 0, 1];
roz = [cos(stepAng(3)), 0, sin(stepAng(3)); 0, 1, 0; -sin(stepAng(3)), 0, cos(stepAng(3))];
tic
figure(3);
for(iter = 1:150)
  pointmat = microShift(pointmat, AtoB);
  pointmat = pointmat * rox';
  pointmat = pointmat * roy';
  pointmat = pointmat * roz';
  pointmat = microShift(pointmat, BtoA);
  frmat = pointmat;
  imgmat = imgmat .* 0.9975 .+ funky2dz(pointmat, iSize) .* 0.4;
  endfor;
toc;
imshow(imgmat);

Name: Anonymous 2013-05-02 4:22

Is this supposed to be Octave/Matlab ?

Name: Anonymous 2013-05-02 8:00

yup

Don't change these.
Name: Email:
Entire Thread Thread List