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

Pages: 1-4041-8081-

Daily programming thread

Name: Anonymous 2013-07-08 11:19

Seeing as how mods don't care about this board since most of the top posts are just porn spam, what are you working on, /prog/?

At the very moment I'm at work, doing Android code and shit. Kinda boring.

Otherwise I'm currently writing a C++ abstraction library for the PIC32 family of microprocessors, with the goal to make them easier than they are now (instead of writing hardware registers) and harder than babby mode Arduino. I plan on publishing it for everyone once I'm done, since PIC32s are cheap (~$10), a shitload of pins, 80mhz CPU...all around more powerful than Arduino.

Name: Anonymous 2013-07-08 11:21

rewriting c++ in python

Name: Anonymous 2013-07-08 11:25

rewriting Xorg in javascript

Name: Anonymous 2013-07-08 11:53

rewriting javascript in ASM

Name: Anonymous 2013-07-08 11:54

rewriting ruby scripts in python

Name: Anonymous 2013-07-08 11:57

rewriting python in Visual LISP++

Name: Anonymous 2013-07-08 12:12

I made an android app using Android Studio (better than Eclipse at least). Java made it an awful experience.

Name: Anonymous 2013-07-08 12:20

Project Euler

Name: Anonymous 2013-07-08 12:24

>>7
Java makes everything an awful experience.
Nothing reminds me more about it every time than when I see those javadoc framed web page shits, every time.

Name: Anonymous 2013-07-08 12:25

>>1
Do you use any particular PIC32 dev board or do you use a simulator of some sort.

Name: Anonymous 2013-07-08 12:36

>>10
I have a custom board... it was designed by the guy at the lab I'm working in (2nd job, not the Android job) but the code would function on any PIC32 with minimal modifications

Name: Anonymous 2013-07-08 13:15

I have a custom beard... it was designed by the guy at the salon I'm working in (2nd job, not the blowjobs job)

Name: Anonymous 2013-07-08 13:20

>>1
At work I'm doing some service optimization.

At home, I'm the operator with my pocket calculator.  When I press a special key it plays a little melody.

Name: Anonymous 2013-07-08 13:23

>>13
JA TVOJ SLUGA JA TVOJ RABOTNIK

Name: Anonymous 2013-07-08 13:35

>>1 Please post here when you release it.

Name: Anonymous 2013-07-08 13:37

>>14
top kek

Name: Anonymous 2013-07-08 13:40

>>1
rewriting my anus in my anus

Name: Anonymous 2013-07-08 13:42

Making a platformer game in Lua. Done with making the basic controlls and level design, right now I'm trying to figure out what would be the best way to controll the camera in the scene.

What does /prog/ think? Player in the center, camera following the player with a slight delay (most games), or only change the camera position when player collides with the edges of the screen? I might post the source code when I'm done.

Name: Anonymous 2013-07-08 14:06

only change the camera position when player collides with the edges of the screen

This sounds terrible.

Name: lovro 2013-07-08 14:13

>>19
What about this concept then?
http://sketchtoy.com/43644647

Name: Anonymous 2013-07-08 14:20

I'm writing a nigger simulator. It can steal using torrent, DoS random servers for no reason, randomly change it's memory to get `high', and it spreads like a virus.

Once this is complete, I'll begin work on the kike simulator. It will steal money out of bank accounts and send it to Al Qaeda, to keep the aid to Israel flowing.

Name: Anonymous 2013-07-08 14:22

>>18
Better idea: write a lewd loli\shota kidnapping game. /jp/ promised to do it, but those lazy fucks can't do anything right.

Name: Anonymous 2013-07-08 14:22

>>20
It seems more like the camera locks to some object of relevance when player is inside the circle, and behaves normally(following the player) when outside the circle.
It is horrible to run somewhere you can't see, unless that is the point of the game.

Name: Anonymous 2013-07-08 14:30

>>23
Well, the problem is that you controll the player trough these action buttons that pop up next to an object when you click/touch it. So maybe the player would be in the center while not doing anything, but when an object is selected, the camera pans itself onto the object?
http://sketchtoy.com/43650245

Name: Anonymous 2013-07-08 14:40

>>24
It sounds very interesting.

Name: Anonymous 2013-07-08 14:50

>>25
I'll take a swing at the camera thing right now
http://i.imgur.com/HBFN56N.png - a screenshot of the project

Note: Don't laugh at my inferior graphic skillz, I'm going to hire some graphic designer or just ask /gd/ to do some of the graphics.

Name: Anonymous 2013-07-08 15:12

>>26
It looks good.

Name: Anonymous 2013-07-08 15:32

>>26
Sorry, i laughed before reading your note.

Name: Anonymous 2013-07-08 15:47

>>15
will do under the hopes this thread still exists. I'll probably have a working alpha out by the end of this month on github, and end of September a beta out with support for things like ultrasonic sensors, phototransistors, servos, speed encoders, etc

Name: Anonymous 2013-07-08 15:53

>>28
Va te faire enculer espèce de connard

Name: Anonymous 2013-07-08 16:01

Rape planning app. You can catalog your rapes and share good places with other rapists. It will eventually have a radio peripheral to scan for police in your area. It has a quick share feature, that uploads videos to the cloud and doesn't save them to the device, to remove evidence.

It also has Facebook integration.

Name: ANGRAY FEMINASTY 2013-07-08 16:10

>>31
RAPE IS NOT FUNNY.

Name: Anonymous 2013-07-08 16:11

I am a normal girl.
I have a best friend who always do kindness to me.
We were in girls High school. [I'm a asian. So not good at English.]
She invited me her home. So I go to her house.
There was her young brother, and Alzheimered grandma in.
We eat and chat.....
When I got tired, she said "I think you should take a nap." I never distrust her.
So I take a nap in her parents room. [She take me there.]
I lie down, and she lie down next to me. [I don't know Why she lie down next to me in that moment.]
That was the disaster.
I close my eyes, but suddenly she forced deep kiss to me. I was so frightened. I kick and struggled, but she was stronger then me. She use her power to bind me. So I could'nt resistance.
She whisper me that I resistance to her, she will gonna kill me.[She try to Breake my neck that moment.] I was bowed down with fear.
AND SHE RAPE ME.


I can't explanation this very clearly.
She threat me a year, and still even now.
I have to graduat high school to go university.
But I am so scared, I can't tell my family.


I was tell my class teacher in charge.
But She said, THAT IS VERY NOLMAL ADOLESCENCE IN YOUR AGE, JUST TRY TO MAKE UP WITH HER.
So I just give up. She said me "Just try to tell others, nobody can't help you. No one believe you. You don't have any proof. And I'm very model student in school anyway."
she said to me "You keep continue to come school? Are you stupid[She always use badwords to me, so I will not write that on here]?"
And also said that "You are never be free. When you go to a university or society. I can find you whenever I want, So I will rape you again and again, just looking forward to seeing you."

Name: Anonymous 2013-07-08 16:24

Nikita Sadkov waited. The lights above him blinked and sparked out of the air. There were Jews in the Internet. He didn’t see them, but had expected them now for years. His warnings to /prog/ were not listenend to and now it was too late. Far too late for now, anyway.
Nikita was a mudjaheedin for fourteen years. When he was young he watched the shitposts and he said to dad “I want to be on the shitposts daddy.”
Dad said “No! You will BE KILL BY JEWS”
There was a time when he believed him. Then as he got oldered he stopped. But now in the BBS station base of the world4ch he knew there were Jews.
“This is ANDRU” the radio crackered. “You must fight the jews!”
So Nikita gotted his palsma rifle and blew up the wall.
“HE GOING TO KILL US” said the Jews
“I will shoot at him” said the JIDF and he fired the rocket missiles. Nikita plasmaed at him and tried to blew him up. But then the ceiling fell and they were trapped and not able to kill.
“No! I must kill the Jews” he shouted
The radio said “No, Nikita. You are the Jews”
And then Nikita was a kike

Name: Anonymous 2013-07-08 18:07

>>34
Funnier than the original

Name: Anonymous 2013-07-08 18:09

Consider this: A pack of wild Niggers.
Savage, slavering Niggers nearing your white home. Trampling your white lawn. Raping your white daughter.
And you can't do shit since they're savages. The Nigger leader grabs your wife and fucks her with his shaman stick.
The primal Niggers finally dominate your household. They watch barbaric shows on TV and you are forced to be their slave.
Such is the downfall of White Man.

Name: Anonymous 2013-07-08 18:19

HOW TO BE A WORTHLESS, VILE, AMERICAN YARD-APE!!!!
Slink around, shuffling your feet and bobbing your neck like the lazy retard you are.
Walk down the middle of the street because you don't know what a sidewalk is for.
Hang out at carwashes and mini-marts because everybody knows these are the best places to be a dope, I mean dope.
If you're a nigger bitch, shit three nigger babies into the world before 17 years of age. This assures that welfare money will support you, so your nigger men have more time to commit crimes.
And give REAL honest black people a bad name.
Oh yes, make sure each nigger baby has a different father.
Bastardize the English language in the name of nigger culture.
Make sure that several terms have multiple meanings and others have ambiguous meanings and that only 50% of nigger words are even complete words. Real niggers will know what you're trying to say.
As a culture, make sure there are always more blacks in prison than in college at any given time.
Hang out in packs of 10 to 15 and make sure everyone acts as annoying as possible. This helps to promote nigger individuality.
Always talk loud enough so everyone in the 'hood can fucking hear you, and if they are niggers, they will know what your saying, bro.
Wear clothes that are 10 sizes too big, making sure the pants hang off your ass.
Park at least 5 junk cars in your yard while being careful not to use the driveway. It's OK to abandon them in the street as long as it's in front of someone else's crib.
Exaggerate every motion, every tonal inflection and grab your dick a lot.
Do drugs, sell drugs, make drugs. Okay, don't REALLY do this, but it IS what niggers do.
Turn your backyard into a junk yard. If you don't have a backyard, turn your mother's into a junk yard.
Travel around leaching off relatives, friends, salvation armies.
Drink cheap wine and malt liquor every day, forgetting that "malt liquor" is just fortified cheap beer.
If you're a nigger buck: fuck anything that moves, no matter how ugly she is. After two 40oz, even the ugliest, fattest nigger bitch will look good.
Be charitable and covet fat, ugly white chicks. After all, they're niggers too. They can't help being so undesirable to white men that they have to fraternize with black dudes on a 20/20 trip. And white ho's are a special trophy too, especially the not so ugly ones.
Spray paint everything in sight with scribbles that mean nothing to white people but mean things to fellow niggers (except niggers from another hood who will probably go after you for tresspassing on their turf).
Use the term "motherfucker" in every sentence. It's one of the most versatile words in the nigger language, being a noun, verb, adjective and complete mini-sentence in event you run out of thoughts.
Stop in the middle of the street, blocking all traffic to converse with fellow niggers and have complete disregard for everyone else.
Overcharge customers at Taco Bell and pocket the difference.
Drive your car while slouched so low that you can barely see over the wheel (gangsta drivin').
Get a job under affirmative action. Then sit around all day pretending that you earned the position and that the other co-workers respect you. Whenever you fuck up, scream "racism!" & hope you get enough Generation X liberals in the jury.
Never, I mean NEVER, take any responsibility for your actions. Always blame others including Asians, Latinos, Mexicans, and especially Whites for your sorry ass stupid lives.
Be sure to get a dog, tie it up in the cold and mud and neglect it until it dies. Then start all over again. Cash must be used because you long ago fucked up your credit and checking account.
Cram 5 generations into a two room government apartment and still be able to neglect your kids.

 Then you too can be a true nigger, and anyone who finds any fault with anything you do is automatically a racist. They don't dislike what you do and wish you would do something better with your life, nor do they wish you would realize that other people exist and should be treated with respect. No, they're just racists who hate you because of the color of your skin, and everything bad in your life is their fault. You nigger.

Name: Anonymous 2013-07-08 18:39

Consider this: A pack of wild clients.
Savage, slavering middle-class clients nearing your web design business. Contacting you by email. Offering you out to lunch.
And you can't do shit since they're customers. The most socially competent, functional one grabs his daughter and introduces her to your graphic designers' cousin.
The primal clients finally destroy your workflow. They watch respectable movies and you are forced to be their guru on 90s' action movies and cheesy romance films.
Such is the downfall of freelance web development.

Name: Anonymous 2013-07-08 19:58

When I use an editor, I don't want eight extra KILOBYTES of worthless help screens and cursor positioning code! I just want an EDitor!!
Not a "viitor". Not a "emacsitor". Those aren't even WORDS!!!!
ED! ED! ED IS THE STANDARD!!!

Name: Anonymous 2013-07-08 21:55

daily programming thread
Android code
talking about hardware

/prog/'s finished.

Name: Anonymous 2013-07-08 21:58

>>40
and nothing of value was lost

Name: Anonymous 2013-07-08 22:12

>>40
It's not just refu/g/ees.  We were always like this, but there are some among us who felt as if it was not worth attempting to post anything but shit.

*grabs dick*

Name: Anonymous 2013-07-08 22:41

I know!
let's invade /g/ and shitpost everywhere with our superior memes!
they be mad!!

Name: Anonymous 2013-07-08 22:56

>>43
Shut up and check my dubs.

Name: Anonymous 2013-07-08 23:02

>>43
We could do it, but it would take a dedicated team of at least 4 people with nothing else to do all day. And it would end when we get banned. Of course in our case we get banned from our own board. Oh, politics.

Name: Anonymous 2013-07-08 23:16

>>1
NICE. I am waiting on this thing to come out to make mini tablets and laptops:
http://www.minnowboard.org/

>>18
I'd make the camera a separate entity, but that that when the focus/player moves, the camera gains acceleration, as if it was being pulled by the focus/player with a string. Then when there is a sudden stop, the camera has enough momentum to span to the other direction, reach the end of the length it can pass, and recoil/bounce back to the center, just like a camera attached to a string. Obviously, the camera does not get 100% to the center, but enough for it to be near the proximity of the focus to be visible. It makes the camera nice and dynamic, a better experience than a static camera.

Name: Anonymous 2013-07-08 23:25

It seems a lot of you are new. On /prog/ it is customary to not post anything programming, mathematics, cryptography, or biology related unless it completely blows your mind. Please keep your work and hobby tasks to yourselves where I can readily find it on the daily programming thread in /g/. Thanks yous.

Name: Anonymous 2013-07-09 8:55

(null)

Name: Anonymouth 2013-07-09 12:33

>>47
thuck my anuth

Name: Anonymous 2013-07-09 12:49

>>47
Yeah, fuck off.  I'm not new and I like programming posts.

Name: Anonymous 2013-07-09 23:42

bump in appreciation of the /g/'s banished programmers.

Name: Anonymous 2013-07-09 23:47

>>51
no
we don't want the /g/ros here!
get out /g/ros and go be e/g/in elsewhere!

Name: Anonymous 2013-07-09 23:52

>>51,52
Come on, be serious.  Not even the /g/rodiest interloper would bump a thread started today.  In fact, I doubt the OP is nothing more than a dissatisfied regular displaying a well-played and most subtle mockery of our inbred cousin-board.  I would only be assured of my suspicions if the post were about writing a Ruby framework for programming RESTful webapps on a Rasberry Pi.

Name: Anonymous 2013-07-10 0:05

>>53
Yes I bought a Raspberry Pi! It was cheap and small and I needed a low-power computer to run my fucking mail server! I don't receive that much mail but that's the only social network I have!

Now what? Are you going to mock me all my life because I once bought the same device than hacker kikes and /g/ros?

Name: Anonymous 2013-07-10 0:05

>>52
but...where will the /g/ros be e/g/in?

Name: Anonymous 2013-07-10 0:27

>>54
No, I won't.  I did the same thing you did, except I bought a used Sheevaplug about a year before your device went on the market, and I use it for the same thing you do (and also as a nice persistent IRC connection). The difference between you and the ``hacker kikes and /g/ros'' (at least, I assume) is that you bought the damn thing for a purpose, instead of buying for the sake of owning and trying to tack a use on later.

Name: Anonymous 2013-07-10 0:34

>>54,56
enjoy your proprietary spywares, faggots, while I host dozens of hidden service websites and blogs and mail servers and IRC on my cubieboard

Name: 57 2013-07-10 0:42

ah fuck, sheevaplug doesn't have closed source bits. I hate being wrong, so fuck you.

Name: Anonymous 2013-07-10 0:42

>>57
First off, there is a board for this sort of discussion, and it is either /tech/ or /comp/, but certainly not /prog/. Secondly, I doubt you've vetted the machine code for the compiler you used for your stage 1 install with a trusted hex editor or other displayer, and thirdly, I doubt you've physically inspected your components (especially your SD card/reader combo) to ensure it has not been tampered with.

When all that is said and done, how much did you pay for however many last X miles of fiber you own?  Do you personally inspect it for tampering monthly, or more frequently than that?

Name: Anonymous 2013-07-10 0:59

I'm new and I'm going to do everything in my power to piss you off and shit up this stupid fucking place.

eat my little dick

Name: Anonymous 2013-07-10 1:02

wait the /g/ daily programming thread is alive and well. Was this a ruse?

https://boards.4chan.org/g/res/35179419

Name: Anonymous 2013-07-10 1:03

>>59
I actually have done all those things (and more), so suck my anus you little cunt. It's thanks to people like me who actually waste their time checking their software that people like you can just get away with just "trusting". Finally, making sure that the computer you are using is actually obeying you and not foreign interests sounds like something that is quite /prog/-relevant since programming is all about control and abstract bullshite you'll never understand.

Name: Anonymous 2013-07-10 1:04

>>60
You aren't the first. They always move on after a month or two.

Name: Anonymous 2013-07-10 1:05

>>59
https://images.4chan.org/g/src/1373432529751.jpg

Are you being serious?  The air we breath,  the water we drink.  Will it ever stop?

Name: Anonymous 2013-07-10 1:05

>>63
That's what you said about Nikita and look what happened.

Name: Anonymous 2013-07-10 1:05

>>62
Then would you mind answering my original question?  Furthermore, on what machine did you evaluate the source of your compiler?  It seems to my small and untutored mind that it is impossible to trust any inspection performed on an untrusted platform, could you provide an example to the contrary, since you claim to have done so?

Name: Anonymous 2013-07-10 1:09

>>64
You seem to have accidentally pasted a url into your post.  I'm not on a machine with a display server installed, so I can't tell if it's relevant to the discussion or not, but I can almost guarantee that by the time I am at a machine capable of displaying such an image, it will have expired.  Could you describe the image in detail so that I can respond to it appropriately?  Perhaps it will explain your otherwise nonsensical text, to which the respective answers are `Always' and `Define `it' first'.

Name: Anonymous 2013-07-10 1:09

>>66
LLLLLLLEEEEEEEEEELLLLLLLLLLL
LE FAGSHIT XDDDDDDDDDDDDD

Name: Anonymous 2013-07-10 1:11

>>63
Actually I've been around here since January 2013 and hang out here every day.

you'll know by the fact that i don't bow down to your stupid manners and not sage every fucking thread i post in, nerd

Name: Anonymous 2013-07-10 1:14

>>67
It's a photography of a cat dressed in high-school uniform. The cat doesn't look amused. i don't think it's relevant to anything.

Name: Anonymous 2013-07-10 1:16

>>69
LLLLLLLLLLLELLLLLLLLLLLLL
LE PROG RESISTANCE FACE
LE VELVET UNDER/G/ROUND
FUCKING NERDS XXXXXXXXXDDDDDDDDDDDDDDDDDDDDDDDDDD

Name: Anonymous 2013-07-10 1:17

>>69
Did we talk on IRC?

Name: Anonymous 2013-07-10 1:18

>>70
Very puzzling.  I wish posters would take a bit more time to make sure what they write is coherent.

Name: Anonymous 2013-07-10 1:21

>>66
I did it using a MS-DOS 286 shitbox a few years ago (on a very very old machine that didn't even have an ethernet port). I kept the binaries and source around ever since. Sure, it's possible that the jews/NSA/goyim/judean-liberation-front had infiltrated even the software back then (i.e. tampered with the installation floppy of MS-DOS from 20 years ago) and made it look kosher so I wouldn't suspect anything, but making a spyware that would remain backwards compatible for twenty years and that would magically recognize tcc's source and binary (a program that didn't exist back then) sounds pretty damn unlikely. I bet you never thought anyone would call a MS-DOS computer "trusted" in any context, would you?

Also, here's a trusted machine that is quite unlikely to have been targeted by the magical omnipresent virus: http://bellard.org/jslinux/

Name: Anonymous 2013-07-10 1:35

>>74
Do you believe your own stories, French moron?

Name: Anonymous 2013-07-10 2:26

>>74
Write your own minimal C compiler in assembly for the purpose of building TCC. Use TCC to build a larger, feature compiler. Your compiler chain is now trustworthy.

Name: Anonymous 2013-07-10 3:03

>>76
Or start with an unoptimized C compiler binary that is less than 1KB, and review the correspondence between the commented assembly and the binary file.

Name: >>77 2013-07-10 3:12

The operating system might not be trusted though. You would need to have the verified compiler run as a boot CD. That's nice because you can verify the compiler on the cd, and it'll be read only so no computer could mess with it. You still have the bios to worry about though.

Name: Anonymous 2013-07-10 3:43

>>78
What can the BIOS do? Store information about the user to be recovered later by an agent of conspiracy?

Name: Anonymous 2013-07-10 4:15

>>79
It's supposed to pass control to an operating system. I don't know enough about it to verify this, but I can't prove that it wouldn't be possible to have the bios run the operating system in an emulator and keep control of the processor. So if it could keep control after the process has booted, it could log execution to some region of a mass storage device it doesn't let the operating system know about, or maybe leak data over your ethernet connection. I mean, if you have something running above your operating system, you are compromised. The only question is, is there enough resources in BIOS to encode all of that.

These are fun. I miss windows 9x
https://en.wikipedia.org/wiki/BIOS#Virus_attacks

Name: Anonymous 2013-07-10 4:23

Name: sage 2013-07-10 7:08

PROGRAMMING MY [sup][a][b][i][o]ANUS!!![/a][/b][/i][/o][sup]

Name: Anonymous 2013-07-10 8:16

>>78
All meaningless unless you can verify the platform that was used to write the CD in the first place. Since every CD must have been written by some machine that existed before the CD was written, this reduces to having to verify, at some point in time, a machine not booted from a CD.

(Of course, any other form of write-once media suffers the same constraints as a CD).

For CDs specifically there's also the irritating issue of having to verify that the CD was actually finalized, otherwise the mythical bogeyman attack could take the form of a Puppy Linux liveCD and write out update information until the CD is completely filled, but I think this can be done by visual inspecting that the relevant part of the CD has been burned, so doesn't require trusting anything besides eyes and that the standard accurately describes the CD and all readers of it that have been used.

Name: IHBT Jr. !MP3.y//1zY!2ZynX7j99hoa3yc 2013-07-10 8:40

Name: Anonymous 2013-07-13 13:51

This is a Jew Thread !!!

Name: Anonymous 2013-07-13 15:31

[sup][a][b][i]ANUS!!![/a][/b][/i][sup]

Name: Anonymous 2013-07-13 15:31

[a]ANUS!!![/a]

Name: Anonymous 2013-07-13 17:41

[# ][code][u][i][o][b][aa][m][sup][sub][rem][spoiler][math] HA HA HA I HAVE MASTERED Le BBCODE [/math][/spoiler][/rem][/sub][/sup][/m][/aa][/b][/o][/i][/u][/code][/# ]

Name: Anonymous 2013-07-13 19:15

shitler was a fine man

Name: Anonymous 2013-07-13 19:16

hgdfogwerpjgrewnoi

Name: Anonymous 2013-07-13 19:16

gre

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