And I'm going to hijack yours to remind everyone here that this is a literal child. They're just messing around with some simple projects. Either be extra nice and encouraging, or don't interact at all.
ohrules ยท 7 points ยท Posted at 08:44:53 on August 30, 2017 ยท (Permalink)
Colopty ยท 4413 points ยท Posted at 14:04:06 on August 29, 2017 ยท (Permalink)
That kid/college student must've gone for years afterwards thinking that this is what programmers do all day. Dude must be in awe at pretty much any program he sees after that.
Zulban ยท 2170 points ยท Posted at 15:21:56 on August 29, 2017 ยท (Permalink)
They still have a much clearer idea of what programmers do than most people.
Colopty ยท 1287 points ยท Posted at 15:58:13 on August 29, 2017 ยท (Permalink)
What, you mean programmers aren't free on demand tech support/makers of your brilliant app idea?
Zulban ยท 513 points ยท Posted at 16:01:28 on August 29, 2017 ยท (Permalink)
My online social network includes a lot of people from entrepreneurship events and such. I just updated my employment status to "unemployed".
How RIGHT you are.
rocklou ยท 346 points ยท Posted at 16:05:32 on August 29, 2017 ยท (Permalink)
I have an app idea, I'll pm you the details
Colopty ยท 369 points ยท Posted at 16:28:36 on August 29, 2017 ยท (Permalink)
Look at this guy, didn't even demand that you sign an NDA before giving you any details about his idea. You don't get that kind of luxury often these days.
rocklou ยท 249 points ยท Posted at 16:53:54 on August 29, 2017 ยท (Permalink)
I'm a generous guy. I'll even give him a 50% cut of the profit for doing all the work.
Colopty ยท 134 points ยท Posted at 16:56:00 on August 29, 2017 ยท (Permalink)
Better deal than anything I've ever gotten in a group assignment, where do I sign up?
rocklou ยท 90 points ยท Posted at 17:13:21 on August 29, 2017 ยท (Permalink)
Alright. Listen here, and keep this to yourself. I have like lawyer and stuff on my payroll
It will be like reddit, but in moba form. Two teams will battle by posting links and get one creep per upvote, and now and then strong internet trolls will spawn and then they fight the troll.
And here, here's the genius. We put ads in, that people have to watch, and showing off an ad will give like 10 creeps or so!
If you're interested, send me a playable demo with source code by tomorrow, so I can see you have the right spirit. I am willing to give you up to 30% of the income if you do a good job here!
And if you share this PM with anyone I will put lawyerman on you!
oceancow ยท 2 points ยท Posted at 22:35:35 on August 29, 2017 ยท (Permalink)
PM me the details too. We can work something out.
rocklou ยท 1 points ยท Posted at 07:04:33 on August 30, 2017 ยท (Permalink)
Are you willing to take only 5% of the profit?
oceancow ยท 1 points ยท Posted at 13:26:54 on August 30, 2017 ยท (Permalink)
If I do 5% of the work
rocklou ยท 1 points ยท Posted at 13:59:14 on August 30, 2017 ยท (Permalink)
Don't be absurd
oceancow ยท 1 points ยท Posted at 14:42:29 on August 30, 2017 ยท (Permalink)
Fine, 10% of the work..
rocklou ยท 1 points ยท Posted at 14:46:30 on August 30, 2017 ยท (Permalink)
Deal
oceancow ยท 1 points ยท Posted at 18:32:34 on August 30, 2017 ยท (Permalink)
PM me.
MMEnter ยท 1 points ยท Posted at 01:36:04 on August 30, 2017 ยท (Permalink)
He set profits that could mean after his salary and the salary for the consultant firm that his cat owns. Leaving you with all the work and nothing to show for. Dose that sound more like your group projects?
[deleted] ยท 3 points ยท Posted at 23:45:54 on August 29, 2017 ยท (Permalink)
[deleted]
rocklou ยท 1 points ยท Posted at 06:45:05 on August 30, 2017 ยท (Permalink)
Lots of reasons, hypothetically. To ensure that the programmer isn't just going to cut and run on the other parts of the team, licenses, to buy in like on any startup...but mostly because people are greedy.
worldDev ยท 2 points ยท Posted at 22:54:00 on August 29, 2017 ยท (Permalink)
I've worked with dozens of startups and this is something I have never seen. I don't know a single dev who is dumb enough to spend money on a job building something they don't even know what it is. I think I've only actually even seen 1 programmer make a single capital contribution outside of a discounted rate unless they were co-founding with all programmers. What area are you in that you see this happening?
Programmers, artists, writers, and other specialised content creators are always treated like this. On top of that, 90% of people expect us to work for free, because, "this is what you love to do anyway, right?" Dude, I like to eat and pay bills, too.
[deleted] ยท 1 points ยท Posted at 22:03:41 on August 29, 2017 ยท (Permalink)
I'm sorry but what does programming have to do with art?
Programming is ike the no1 profession guaranteed to land you a good job, while art is definitely not.
cATSup24 ยท 3 points ยท Posted at 22:40:17 on August 29, 2017 ยท (Permalink)
That's completely aside from the point. The point is that, unlike those who are in entrepreneurial, administrative, and other office jobs, programmers and artists are both seen as people who are doing what they love and don't put in all that much effort (or love putting that extra effort in), and therefore aren't of high value due to a "low work factor."
On top of that, freelance workers have a greater need for word-of-mouth references and entries in their portfolios, which those on the outside see and think "the exposure my project will give them will guarantee them more work in the future, which is as good as money!"
So they either think that the possibility of money in the future due to "the exposure" is payment enough, and a future return on an investment is economically the same or better than an immediate return of an equal or lesser amount; or that the "work" they do is simply a labor of love that is inherently worth less, coming up with the "innovative/revolutionary idea" was the main hard work and the implementing is simply typing on a keyboard/moving the Artistry ToolTM across a canvas and could be done by anyone with the programming/artistic know-how inherently required by the profession and guidance by the right leader (a.k.a themselves).
[deleted] ยท 4 points ยท Posted at 23:22:32 on August 29, 2017 ยท (Permalink)
OK I get it, sorry I missed the point.
I can verify what you are saying though. I am starting university next semester in computer science and people are already asking me to build their website, format their pc, even fix their TV lol.
This hits close to home. I represent an app in part of my legal practice and I've repeatedly advised them to stop demanding an NDA to even discuss the app. I said there's no reason at all to do it, it makes you look like an asshole, and everyone thinks you're shady for keeping these on file. Ugh.
Colopty ยท 29 points ยท Posted at 18:40:33 on August 29, 2017 ยท (Permalink)
I represent an app
At this point I thought you were about to sneakingly pitch an app idea.
Also good for the lulz. Every single time a large company makes any kind of announcement, there are a million Indians and Filipinos ready to offer their help.
Chevron CEO is stepping down (totally fake news).
Hi my name is Suresh Kumar, I would please like to apply for CEO. I have many year experience in field. Please do the needful. Thank
i once had a neighbor pitch me his app idea in that "this would be really cool, and i'm hoping you volunteer for this so i can sit back and collect moneys" kind of phrasing. the look on his face was priceless after i told him it was a minimum 200 hour project and that good devs can cost $125/hr or more.
he offered me a case of beer and some tamales, i said no.
Zulban ยท 2 points ยท Posted at 13:40:02 on August 30, 2017 ยท (Permalink)
Beer and tamales, nice.
I think what's lacking here is people can't assess investment versus risk. To them, investing one hour of their "creative" time to develop their app entirely is a really good investment - there is a small chance it would be decent if developed and they'd benefit greatly from that small chance.
The reason the other 10,000 people with that idea have not developed it, however, is because if it costs 22,500$ suddenly the risk outweighs the likelihood of the investment paying off.
They're excited because to them, it's a no brainer that this is worth a short, until they hear the price.
Tainnor ยท 4 points ยท Posted at 22:20:09 on August 29, 2017 ยท (Permalink)
This honestly happened to me once at a friend's birthday party. Weird guy starts talking about his great game idea: "I noticed that there are few games about being a kangaroo. I want to develop a game where you live through different stages of your kangaroo life." And he was totally serious about it. He wouldn't understand why gamers wouldn't get excited about that. Never mind that he also never programmed, did some design work, managed a project or even had a more concrete idea about the design or concept of that game. "I'll just hire someone to do that". Yeah right, and what are you going to do?
Colopty ยท 7 points ยท Posted at 23:08:37 on August 29, 2017 ยท (Permalink)
Yeah right, and what are you going to do?
Well, if he actually plans on paying the people who make it a reasonable amount of money, that might be all he needs to do. Of course, he needs to be pretty rich to commission such a work in which various people need to be involved in to do all the jobs he wouldn't do. Dev, designer and management time isn't cheap.
Tainnor ยท 3 points ยท Posted at 00:35:51 on August 30, 2017 ยท (Permalink)
I'm not saying you can't sponsor an idea without being the developer yourself, but please give me something better than "some game about kangaroos and some other guy can figure out the rest".
Colopty ยท 2 points ยท Posted at 01:06:49 on August 30, 2017 ยท (Permalink)
Seems like something he would have to hire a game designer for, so if he chooses to spend the additional money that not planning his project himself will cost him, that's not really your job as a developer either.
[deleted] ยท 3 points ยท Posted at 01:12:31 on August 30, 2017 ยท (Permalink)
Right, it's conceivable, this basically makes his title "Producer" as all he does is front the money and provide a very rough goal.
But let's be honest, there is almost no way that's going to happen. I wasn't there, but even I'm 99.99% sure the guy was just delusional.
Colopty ยท 2 points ยท Posted at 01:46:05 on August 30, 2017 ยท (Permalink)
Oh yeah, there's pretty much no way these kind of people would consider being a producer, just pointing out that it's an actual role that is possible to have on a game development team.
People are always confused when I tell them I'm not good with computers. I tell them that asking me to fix their computer is like asking a physicist to fix their car.
I usually can fix their computer, I just can't be fucked.
It actually gets sort of annoying having a skill or item that everyone needs and only you have. When I had a truck, I was always hauling shit for my friends. I would hate to be a mechanic.
Kebble ยท 2 points ยท Posted at 21:57:44 on August 29, 2017 ยท (Permalink)
dude i'm offering you 10% of my app's earnings, do you really wanna be the guy who said no to 10% of the next facebook???
erishun ยท 2 points ยท Posted at 03:06:05 on August 30, 2017 ยท (Permalink)
makers of your brilliant app idea
Here's a real life conversation I had with a friend of a friend a few weeks back.
Before I tell you my amazing idea, I need you to sign an NDA!
Whatever.
OK. Do you have an NDA I can use?
You want me to provide you with your own NDA?
What? Ummm ok nevermind. Here's my app idea: It's like Facebook, but for...
When I was little, I thought video games had a frame for every different combination of events, and just showed the corresponding image at the time it was played. I had mad respect for whoever had to pre-render each picture. I was a pretty smart dumb kid.
Little me actually tried to make a game this way by drawing shapes on PowerPoint slides and making the shapes into hyperlinks to other-frames. Sadly, the world was not ready for my abstract 30 second rail-shooter.
I made a game when I was 13 in visual basic that essentially was just this. I setup a shitton of image boxes overlapped for that wolfenstein psuedo 3d feel, then each position you could move had its own subroutine that filled in the matching image boxes for the walls/floors etc. I got as far as a couple rooms, a couple tunnels, an interactive sliding door and a gun you could pickup. Every sound was me making noises into a microphone including when you walked or when you bumped into a wall.
I really wish I did, this was around the time that Zip disks were popular so it got backed up onto a zip disk.. which pretty much corrupted it immediately.
Gackt ยท 4 points ยท Posted at 19:54:49 on August 29, 2017 ยท (Permalink)
Did this but in HTML. Had a room with tiles and if you clicked on an adjacent tile, you loaded a page with an image of the same room but the guy was standing on the tile you just clicked on. Needless to say, there were many files... 1x1.html, 1x2.html etc etc.
Kinda cute tbh, didnโt know any other way to do it.
Honestly if you showed that in your portfolio, they'd probably hire you on work ethic with tedious tasks alone. Guess who's in charge of building microtools for their real, i mean, implementation developers?
Omg I have found my people! I thought I was the only kid that did this. I spent so many hours making awkward PowerPoint games, to the point where I was trying to figure out how I could 'post' them online lol.
My teachers would make powerpoint "jeopardy" games that were surprisingly functional. The trick is to grey out the boxes after they are chosen, and include a hyperlink back to the main slide.
MMEnter ยท 3 points ยท Posted at 01:42:11 on August 30, 2017 ยท (Permalink)
I am surprised over and over again how powerful PowerPoint can be. I recently started using it to edit (Cut, trim, join, add pictures) videos and it work great!
kaibee ยท 6 points ยท Posted at 02:36:29 on August 30, 2017 ยท (Permalink)
I'm assuming that PowerPoint, like Excel, and Word, allows full VB scripting. So it's actually turing complete in that way.
Echleon ยท 1 points ยท Posted at 16:18:32 on August 30, 2017 ยท (Permalink)
I saw a video by some professor sometime about how Powerpoint was Turing complete. It may have been another program but i'm pretty sure it was power point.
MMEnter ยท 1 points ยท Posted at 18:16:13 on August 30, 2017 ยท (Permalink)
Its power point That's what the other comment links too
PowerPoint game makers represent! I made a bunch of mazes, which were "pick a door" slides separated by short mini game puzzles. I also made a quasi-FPS by hyperlinking shapes that jumped around the screen. They were all pretty terrible and ugly, but I now know a lot about obscure PowerPoint animation and shape drawing tools.
My style of PowerPoint game was an "obstacle course" where you moved the cursor from one point to another trying to avoid obstacles- hyperlinks to the previous slide triggered on mouseover
I was smart enough to know games didn't work like this.
I was not smart enough however to not think that Mapquest worked like this, and almost broke my head trying to make a Mapquest for my school.
xMcNerdx ยท 38 points ยท Posted at 18:45:48 on August 29, 2017 ยท (Permalink)
Yup I thought the same thing. I thought games worked by having someone set up every possible viewing angle from every point in the 3D/2D space in game. I thought someone had to "walk" around in game capturing everything someone could do until they found everything.
I feel like the old fixed-camera Resident Evil games could have gotten away with that.
iktnl ยท 2 points ยท Posted at 19:01:04 on August 29, 2017 ยท (Permalink)
Wow, I thought the same thing, that the CD had all the possible images and you'd just play through them like a movie. Didn't help it was TOCA Touring Car Championship and I didn't even understand how to properly start a race.
My mind was blown when I saw some behind-the-scenes or whatever of Disney animation; how they would have multiple transparent layers with art that they moved around (something like that). I then inferred that to be true for video games as well.
I mean, that's pretty much what sprites are, but rather than following the thought to the conclusion that a computer/console could composite these layers together on its own, I just thought that video game animation had to be such hard work, to arrange every possible combination of sprite in every possible way and grouping.
Like, I would sit down and do poor estimates of how many combinations that could be and my mind boggled at the numbers.
stouset ยท 64 points ยท Posted at 18:02:52 on August 29, 2017 ยท (Permalink)
You'd waste your life rendering the first frame of a Call of Duty game.
c3534l ยท 5 points ยท Posted at 19:14:15 on August 29, 2017 ยท (Permalink)
If you convert the manhours involved in making a single AAA game, it probably actually is close to your entire life already.
meee39 ยท 8 points ยท Posted at 17:48:52 on August 29, 2017 ยท (Permalink)
I'm indifferent, but some people would dispute you using the word "waste".
To be fair, you would indeed have to spend a lifetime building Call of Duty if you had to build everything yourself. (Starting with Unreal Engine doesn't count; to get full credit for "building everything yourself" you start with a Linux computer and that's it.)
I actually wrote code like this for call of duty when I was a freshman in highschool. I wrote a page in php that would generate a COD script(like Java, not sure what it was but we called it COD script) for modded lobby hosts to use. They could customize the 10 classes that users get using my php page. There was an if/else chain for each possible option and combination(gun, skin, attachments, secondary, etc). Then I copied that big chunk 10 times for each class. I was proud at the time but recall it was thousands of lines that we're not really needed. I believe people used it though because the output wasn't as ugly and they didn't see the php code behind the simple webpage.
Even though I wasn't really good at coding I managed to make some neat mods that we're actually used by others on Xbox. Best example I have is a forge mode where I could move items, clone them, and rotate them while flying around on the map. https://youtu.be/K8WZmOw0qPg?t=67
It's honestly pretty dang fun. Pretty much the only way I can get any enjoyment out of front end development-- haven't experimented much with Elm yet though, so it might still win me over.
In 5th grade I decide to try and write a math quiz for the second graders on a PET in BASIC.
I also didn't know how to use variables well and hard coded 20 different addition problems. The whole time it felt so wrong to me but I didn't know what else to do.
That was my first "code smell".
The ascii animated pig face that said "good job" if they got it correct was pretty sweet though.
[deleted] ยท 49 points ยท Posted at 20:02:36 on August 29, 2017 ยท (Permalink)
Like storing tiff files on a directory on the root of c when using a sandboxed iis environment to serve them as jpegs? Such security fail, such slow, but hey, cache it and it will seem fast for 99% of users.
I created a copy of MasterMind in VB when I was in school. I was just learning the basics of OOP and GUI code, so I didn't know who data structures or the shapes really worked. I ended up creating a different shape object for every color possibility on every peg on the board (a total of 288 objects) and declaring them all by name. Then I wrote a custom method for each row to swap the colors of the circles when you clicked on them. That simple game of MasertMind ended up being over 1,000 lines of code.
KyleGG ยท 2 points ยท Posted at 19:01:14 on August 29, 2017 ยท (Permalink)
I mean this is a great acceleration method for more complex mathematical equations. Some programmers do 'do' this all day.
duckdon ยท 1 points ยท Posted at 17:52:59 on August 29, 2017 ยท (Permalink)
I thought that that was what game devs did for every pixel once.
baggyzed ยท 1 points ยท Posted at 12:58:19 on August 30, 2017 ยท (Permalink)
You can't blame him/her. This is how they teach arithmetic to kids. By example. I'm surprised they didn't create some "apple" object to hold the number 1, and then use that as "apple + apple + apple +...".
[deleted] ยท -5 points ยท Posted at 16:56:36 on August 29, 2017 ยท (Permalink)
Heh, when I was about nine or ten (late 90's) I would check this book out from my library, keep it for as many renewals as I was allowed, turn it in, wait a day, and check it out again. It was kinda frustrating because the code in the back was for Turbo BASIC (I think?) but I had GWBasic and didn't quite understand how to translate the lines that didn't work.
Finally bought it a couple years ago for nostalgia, since the library no longer had a copy. There were a few others as well, but I can no longer remember the titles. Lots of simple games from a single page of code, I loved it.
I remember my proudest achievement from this era was a flappy-bird style game where you'd fly a spaceship through a randomly-generated cave. It even had a throttle, hull integrity, and particle physics when your ship exploded. I still have the executable, though the original code has long been lost.
EDIT: Found some of those old books! Down at the bottom in the 80's section, looks like the publisher released the PDFs for free. My favorite was the Spacegames book; the "Death Valley" program on pg23 inspired my cave-flyer game. Time to pull out QB64 and get to re-writing some of these!
Rgeneb1 ยท 7 points ยท Posted at 19:11:53 on August 29, 2017 ยท (Permalink)
What a unexpected surprise seeing those again.I had the Write Your Own Adventure Programs book. I was inspired to be the next Scott Adams after playing The Count text adventure on my VIC-20. Never happened. I could say the invention of graphics killed my dreams but the truth is it was just easier to play games than write them. Thanks for the memories!
I checked out this same book in the 80s and even though I haven't thought about it since then, I immediately knew what your link was before I clicked it.
Yagloe ยท 3 points ยท Posted at 20:38:57 on August 29, 2017 ยท (Permalink)
Dear Lord! My best friend and I ordered that book from Troll in the fifth grade -- 1980somthing, I think. It was still in print in the late 90s?
Not sure. My library had it at least until the early 2000s, and you can still buy used copies, but I think 1984 edition was the only edition one ever printed.
Tarzoon ยท 2 points ยท Posted at 19:41:55 on August 29, 2017 ยท (Permalink)
I have the book "Spacegames", but my copy is in Swedish.
Spacebros!
ndizzIe ยท 2 points ยท Posted at 04:14:26 on August 30, 2017 ยท (Permalink)
Micro Adventure is the title of a series of books for young adult readers, published by Scholastic, Inc. during the 1980s. Created by Eileen Buckholtz and Ruth Glick, the YA series combined adventure stories with computer activities.
The books are noted for the inclusion of short BASIC type-in programs related to the plot of the story that the reader could type into their computers, and also for the use of second-person narration (rather like the Choose Your Own Adventure series, though unlike those, Micro Adventure storylines could not be influenced by the decisions of the reader).
Unfortunately the code has been long lost, to my knowledge. It may be deep in a backup folder somewhere but I haven't seen it in probably fifteen years.
I meant to upload the executable yesterday, I'll try to remember to do that later today.
That reminds me of the House of the Dead PC demo. It was the full game, but with a 2 minute timer at the top of the screen and the game would end when it ran out. You could just use a memory editor to freeze it.
[deleted] ยท 12 points ยท Posted at 18:16:59 on August 29, 2017 ยท (Permalink)
My first "games" were made in Powerpoint. They used the slide transitions to fake movement and hyperlinks on invisible boxes to move your character. It worked interestingly well
Having this thought was part of what made some of the early 3D games seem so amazing to me as a kid.
I thought that for every angle from every position in every level there was an image file, sitting in an impossibly large list of images. Then the game would just pick the right image based on where you were looking.
3d games are what finally led me to this idea that there has got to be some thing that somehow puts the pictures together as you go.
[deleted] ยท 3 points ยท Posted at 18:19:38 on August 29, 2017 ยท (Permalink)
are you me
funny that years later I'm now doing SDE
[deleted] ยท 3 points ยท Posted at 22:03:47 on August 29, 2017 ยท (Permalink)
I've seen games on Scratch that do exactly this. I remember thinking, "holy shit, did they make a whole 3D engine?" and being really confused for a minute when I checked the source
-Xephyr- ยท 97 points ยท Posted at 15:18:14 on August 29, 2017 ยท (Permalink)
I thought programmers just touched a disk and the game would be transferred from their thoughts. So I cut out a foam video game disk, visualized the game, and stuck it in my console. Let's just say my parents were not happy.
I tried to make the same. With graphics. In HTML. The 4 movement arrows on the web page were links to the corresponding page. I got bored of it very, very quickly.
As I remember, it was a toss-up between using powerpoint and HTML.
SirVer51 ยท 71 points ยท Posted at 16:05:49 on August 29, 2017 ยท (Permalink)
I love you for this. Just sharing it makes you a god among humankind.
[deleted] ยท 1 points ยท Posted at 12:45:08 on August 31, 2017 ยท (Permalink)
Well shit. Thanks to the current top comment on that video, I'm now trying to get PowerPoint to play Pong. Wish me luck.
Edit: buuuuuut upon further inspection, PowerPoint 2016 for Mac has jack shit in the way of support concerning animations, triggers, and the developer tab. Since I already have a Office 365 subscription, is it possible to get a different version that has some more support, like a 2013 or 2011 version?
I don't know; been using Linux as my daily driver for several years now (so no MS Office products for me), and even before that, I dropped Office before 365 was even a something (still not sure what it is). If you own 2011, I'm fairly confident that you own the license for life, so there's that.
I did the same thing! Only it was a maze to navigate through. I made a version like that with HTML, and earlier in my life I made one with ascii room graphics. The ascii one read in which ascii graphic to display by reading in the map from a text file.
I made a tic-tac-toe "AI" which all it was was a massive nested if blocks for every condition, programmed in visual basic. It was glorious. I'm still proud.
aiij ยท 50 points ยท Posted at 18:25:40 on August 29, 2017 ยท (Permalink)
Good job! Now do the same for Chess!
MadXl ยท 5 points ยท Posted at 09:31:54 on August 30, 2017 ยท (Permalink)
Now do the same for Chess Go!
-Xephyr- ยท 22 points ยท Posted at 17:21:16 on August 29, 2017 ยท (Permalink)
I did. It's an AI after all. It should be smarter than me.
Roko'sBasilisk
Rgeneb1 ยท 7 points ยท Posted at 19:15:53 on August 29, 2017 ยท (Permalink)
That reminds me I need to go buy a lottery ticket.
Bythmark ยท 10 points ยท Posted at 20:31:59 on August 29, 2017 ยท (Permalink)
I did this too! It was in PASCAL for my horrible high school programming class. I see a lot of people have been asking you for it. I'm not sure I still have it, but I will try to dig it up.
edit: looks unlikely for anytime soon. The ancient flash drive is missing. Old e-mails don't have it, and I don't have access to ye olde university e-mail anymore. I'm certain I have it somewhere, and when I find it, I'll link it.
God I hope that I don't have it. Because if I do then that means it somehow managed to survive trip off of the high school library computer, onto a laptop, and then through two other laptops, and a desktop. All surviving through an unfortunate accident with partitions, and at least a dozen different windows Installs through it all.
-Xephyr- ยท 2 points ยท Posted at 10:29:20 on August 30, 2017 ยท (Permalink)
Great! I'm working on recreating it because I lost the original, but I remember the level layout. It's probably not as impressive as people invisioned, but I thought it was great. Little do people know, I made it when I was 7.
I made a command line Naughts & Crosses (Tic-Tac-Toe) game in a computing class. I hardcoded every board-state that was a win, rather than get it to recognise 3 characters in a row in any position.
No, not at all, but it looked rather silly as one long If with 7 OR's in a line.
Not a terrible bit of code, but a bad practice.
bartekko ยท 15 points ยท Posted at 15:40:26 on August 29, 2017 ยท (Permalink)
Same. I distinctly remember thinking about it while playing GTA IV. I also distinctly remember that it was the Diamonds In The Rough mission and I was driving along the road where Maisonette 9 was located but there my memory may be deceiving me.
I don't think I was seriously pondering that question at the time because by then I did know some coding (C-BOT from Colobot, pluggo pluggo ma bois) but more importantly i knew some glitches that would never have happened if people were drawing things themselves, like clipping outside the Seattle cirtuit in Gran Turismo 3. Huge shame it was fixed in GT4
HDZDID ยท 13 points ยท Posted at 17:02:24 on August 29, 2017 ยท (Permalink)
I used to make hidden object games in power point using the hyper link feature to take players to other premade slides with a couple of adjustments that depended on what item the player pressed
-Xephyr- ยท 2 points ยท Posted at 17:02:48 on August 29, 2017 ยท (Permalink)
When I was a kid, I thought this was how they made videogames, like Spyro. Like, someone had to do every possible movement to render the frame first or something.
-Xephyr- ยท 3 points ยท Posted at 17:25:35 on August 29, 2017 ยท (Permalink)
According to the responses I got, most people did!
[deleted] ยท 4 points ยท Posted at 19:50:30 on August 29, 2017 ยท (Permalink)
[deleted]
-Xephyr- ยท 2 points ยท Posted at 19:53:39 on August 29, 2017 ยท (Permalink)
O snap. Is this more hardcore, or less hardcore than my original comment?
Probably more.
[deleted] ยท 2 points ยท Posted at 20:09:33 on August 29, 2017 ยท (Permalink)
[deleted]
-Xephyr- ยท 2 points ยท Posted at 20:11:10 on August 29, 2017 ยท (Permalink)
What the heck dude, give us a download link! I'm working on recreating mine so people can see what I was really talking about also.
[deleted] ยท 3 points ยท Posted at 20:23:39 on August 29, 2017 ยท (Permalink)
[deleted]
-Xephyr- ยท 2 points ยท Posted at 20:25:25 on August 29, 2017 ยท (Permalink)
Ye!!!
[deleted] ยท 3 points ยท Posted at 20:54:37 on August 29, 2017 ยท (Permalink)
[deleted]
-Xephyr- ยท 1 points ยท Posted at 23:38:07 on August 29, 2017 ยท (Permalink)
Oh no... I did that too a while ago. I copy pasted the level 500 times and pasted all possible character locations into it, it was something like a 5,000 line code.
izuriel ยท 2 points ยท Posted at 05:22:52 on August 30, 2017 ยท (Permalink)
That's relatively impressive starting out, IMO. My first "game" was elaborate pages that "looked" like your slowly having into a computer system. I figured out (randomly) that you could put [PAUSE] (at least something like that) on its own line and then just type a filename you made and everything to the pause would print and wait for enter. Made for great password prompts. Although not a real game, I made a bunch. After that it was"cheat" programs I made for other students in their TI-83 so they could to in their problem and it would show all the steps to copy (I was banned from using my own calculator on tests, but it's not like I didn't know it all since I wrote the code). Then finally started making menu games. Eventually sold one at $ 0.25 USD a pop, made $ 0.75 total. Felt good.
My proudest moment before being taught programming was writing a graphical pong. My only reference was the manual for the calculator. When wiring games I'd carry a notebook page that mapped the A-Z variables (only ones TI-BASIC could use) to their meaning. Man those days were fun. I'd spend every class programming.
-Xephyr- ยท 2 points ยท Posted at 10:04:16 on August 30, 2017 ยท (Permalink)
Thanks for that, that's really cool. It also gave me some good ideas for programs.
Yeah I thought something like this too, that's why FPS games blew my mind, I had no idea how the developers could draw every single frame at every angle, plus all the animations! Young minds are cute.
I did this in LUA in computercraft in minecraft for a fighting game. Admittedly there's only like 6 positions total per character. It actually worked too...
Zack1501 ยท 1 points ยท Posted at 19:51:58 on August 29, 2017 ยท (Permalink)
I made a few BAT "games". My favorite was Skype Russian roulette. You got in a Skype call and every time you pressed enter it would have a small chance to close "Skype.exe".
Aedaru ยท 1 points ยท Posted at 20:26:32 on August 29, 2017 ยท (Permalink)
I remember when I was starting my computer science course, one of the tasks we got early on was to make a revision program, whereby the user would be presented with three random definitions from a set of definitions, and would then need to write in the correct keyword. Let's just say that my friends ended up working together, and their code was literally all if statements and print() (Python 3.5). Their code would look something like this
print("first definition, second definition, third definition")
I remember my first text-based RPG that I made after five days of learning C++ in summer camp when I was 12. There was a fancy UI with a text box, four buttons containing actions that could be performed, a health bar and an inventory menu. The entire game was one function containing four if statements, one for each button. Each one contained dozens of levels of nested if statements.
[deleted] ยท 1079 points ยท Posted at 12:19:14 on August 29, 2017 ยท (Permalink)
Fun with interns: "Our answer database needs updating, could you expand it by 10000 answer or so?", then just walk away as if it's a completely normal request.
Right, but this is /r/programmerhumor, so my solution would be to write good code that generates bad code. Obviously I would never do that in a real setting.
FHR123 ยท 45 points ยท Posted at 17:02:15 on August 29, 2017 ยท (Permalink)
Hah, writing good code that generates bad code is easy.
On the other hand, writing garbage code that generates good code...
[deleted] ยท 59 points ยท Posted at 17:24:43 on August 29, 2017 ยท (Permalink)
Easy! Just write code to create a file and write one letter at a time to it (each step coded by hand of course) until it contains the code that you want.
THen you, sir, are not invested in the field of machine learning.
[deleted] ยท 0 points ยท Posted at 20:00:55 on August 29, 2017 ยท (Permalink)
That you even had to explain this to wanze is unfortunate.
izuriel ยท 1 points ยท Posted at 05:10:15 on August 30, 2017 ยท (Permalink)
But, writing better code to make worse code now useful isn't just make "more worse code." A lot of thought and effort would go into the code generator.
wanze ยท 1 points ยท Posted at 09:45:05 on August 30, 2017 ยท (Permalink)
No, not a lot of thought would be required to generate more if (input == "1+5") return 6 nonsense.
Yes, it is making more bad code.
izuriel ยท 1 points ยท Posted at 02:42:55 on August 31, 2017 ยท (Permalink)
Significantly more thought goes into building a program that can then build a worse program than writing the worse program by hand. And you might learn something new along the way.
wanze ยท 1 points ยท Posted at 13:49:15 on August 31, 2017 ยท (Permalink)
Scratch is JSON, so it'd be nothing more than generating a bunch of objects, only with a few values changed, and then pushing them to a list. I have built both compilers and code generators before, so I feel pretty confident saying that this would be very trivial.
stratos_ ยท 1 points ยท Posted at 20:27:19 on August 29, 2017 ยท (Permalink)
That's clearly intentional, to force people to use custom blocks and function-based coding practices as their code becomes more complex.
BloomEPU ยท 3 points ยท Posted at 17:20:23 on August 29, 2017 ยท (Permalink)
I haven't played with scratch for a while, but there was talk of a text input interface at one point, since it would help with the transition to text-based coding.
dipique ยท 3 points ยท Posted at 17:46:46 on August 29, 2017 ยท (Permalink)
Already there! And thank god, the GUI is nigh unusable for me.
Donnie inserted ten year's worth of dates into the Date Table and, after filing his report, the primary support guy thanked him and mentioned "yeah, this happened last year; we probably should have put more than a year's worth in there."
python 2.7 is a valid choice. Choosing wrong is valid. /s
meee39 ยท 3 points ยท Posted at 17:50:34 on August 29, 2017 ยท (Permalink)
print(raw_input()) and hope the input is valid.
Tynach ยท 3 points ยท Posted at 18:29:17 on August 29, 2017 ยท (Permalink)
Put four spaces at the start of each line to turn it into a block of code. Here is how your post would look then:
ans = 0
ans = input("Enter your equation: ")
print "The answer is", ans
jtvjan ยท 1 points ยท Posted at 07:21:06 on August 30, 2017 ยท (Permalink)
That's not recommended. The recommended way to do it is by using three backticks, like this:
```block of
code```
block of
code
Tynach ยท 1 points ยท Posted at 19:59:31 on August 30, 2017 ยท (Permalink)
Except Reddit's Markdown parser doesn't actually understand that format. Maybe some phone apps' parsers do, but look at your comment on the actual Reddit website - it's a mess.
jtvjan ยท 1 points ยท Posted at 20:51:48 on August 30, 2017 ยท (Permalink)
Looks like it should on my end. Here's another one:
Edit: oh, nevermind, that all appears on one line. I'm used to GitHub markdown, sorry.
Tynach ยท 2 points ยท Posted at 19:56:26 on August 31, 2017 ยท (Permalink)
No worries, easy mistake to make. What makes it obvious on the desktop website, is that in your initial post block of code had a border around just those words - not around a block. If it were a block of code, it'd have a border around an area as wide as the max width of a comment, like this:
then the work would be countably infinite, not uncountably infinite.
Cyniikal ยท 73 points ยท Posted at 13:35:51 on August 29, 2017 ยท (Permalink)
Sn_1 = n + 1, n โ โ, n -> โ
Sn_2 = n + 2, n โ โ, n -> โ
Sn_1 โช Sn_2 โช Sn_3 โช ... โช Sn_m is a union of countable sets and is therefore countable.
Does changing the ordering of entries change anything?
tajjet ยท 110 points ยท Posted at 14:09:39 on August 29, 2017 ยท (Permalink)
If you keep counting 1+1, 1+2, 1+3, 1+4 ... then you will never reach 2+1. If you count in the order I listed, then you can prove that you will reach any given p+q.
I'm actually a fraud and don't know any math, but I base this on this proof.
Ibot02 ยท 63 points ยท Posted at 15:26:13 on August 29, 2017 ยท (Permalink)
The "amount" (cardinality) of the entries does not change based on how you order it though. What changes is that in the case of going
1+1, 1+2, โฆ, 2+1, โฆ, โฆ
you have a sequence of "length" (indexed by) ฯฯ while in the case of
1+1, 1+2, 2+1, 1+3, 2+2, โฆ
you have a sequence of "length" ฯ (that is, a normal sequence).
So its not about countability (which is a term describing the "size" of things) but it would still be "better" to do it the way you suggested, in the sense that one'd "only" need an infinite sequence, instead of an infinite sequence of infinite sequences.
This also means that any entry could be found in finite time, which means we'd have semi-decision procedure for addition.
In computability theory, traditionally called recursion theory, a set S of natural numbers is called recursively enumerable, computably enumerable, semidecidable, provable or Turing-recognizable if:
There is an algorithm such that the set of input numbers for which the algorithm halts is exactly S.
Or, equivalently,
There is an algorithm that enumerates the members of S. That means that its output is simply a list of the members of S: s1, s2, s3, ... . If necessary, this algorithm may run forever.
The first condition suggests why the term semidecidable is sometimes used; the second suggests why computably enumerable is used. The abbreviations r.e.
StevenXC ยท 14 points ยท Posted at 15:35:46 on August 29, 2017 ยท (Permalink)
No, but if you tried ordering your work as 1+1,1+2,1+3,1+4,...,2+1,2+2,2+3,2+4,...,...,...... then you'd be order isomorphic to ฯ2, not ฯ. Both cardinalities are equal, but ฯ2 is a larger ordinal because ฯ embeds as an initial segment.
Cyniikal ยท 1 points ยท Posted at 15:48:57 on August 29, 2017 ยท (Permalink)
Thanks, just getting into analysis :)
StevenXC ยท 1 points ยท Posted at 00:17:16 on August 30, 2017 ยท (Permalink)
SummeR- ยท 13 points ยท Posted at 16:35:05 on August 29, 2017 ยท (Permalink)
Actually, because you can order them in that specific way(as long as we accept the axiom of choice), it proves that no matter how you order them, it will remain a countable set.
I think you're thinking of the well ordering theorem? In this case though we can just define the order a+b<=c+d when a <= c or a = c and c <= d, no choice needed
Well ordering is equivalent to choice. You don't need choice for well ordered sets, but you need choice to be able to well order ANY set (or you need well ordering to have choice they are equivalent alongside enough other axioms that become theorems of one another to fill a book that's called Equivalents of the Axiom of Choice, Volumes I and II)
SummeR- ยท 1 points ยท Posted at 17:29:23 on August 29, 2017 ยท (Permalink)
Thanks. I'm kinda fuzzy on real analysis now.
tajjet ยท 1 points ยท Posted at 16:39:34 on August 29, 2017 ยท (Permalink)
Oh, thanks! I think someone else attempted to explain this to me, but that makes sense now.
Aetol ยท 1 points ยท Posted at 17:18:53 on August 29, 2017 ยท (Permalink)
Yeah, but some attempts at ordering will never be exhaustive. In particular, the naive row-by-row approach (since you will never get to the second row).
SummeR- ยท 2 points ยท Posted at 17:24:50 on August 29, 2017 ยท (Permalink)
You still only need 1 countable ordering to show that it's countably infinite though.
I see now.. I was apologetically putting the desires of the lazy software maintainers before the feelings of the CPU that has to actually run this shit.
tajjet ยท 3 points ยท Posted at 14:51:10 on August 29, 2017 ยท (Permalink)
Yes, I just thought it better to do it the same way every time. I suppose that, with jumps, if you needed to find the step a certain expression was on, you could solve it more easily without having to know if a line was 'even' or 'odd.'
The 'classic' way to order pairs of integers is in a spiral around the origin: (0,0), (1,0), (1,1), (0,1), (-1,1), (-1,0), (-1,-1), (0,-1), (1,-1), (2,-1), (2,0), (2,1), (2,2), (1,2), (0,2)...
Trimming that down to pairs of natural numbers would give you (1,1), (2,1), (2,2), (1,2), (3,1), (3,2), (3,3), (2,3), (1,3), (4,1)...
but any systematic approach will work just as well - his diagonals, your zigzags, whatever, as long as you can prove that your ordering will eventually get to any pair of natural numbers. (Every ordering has 'jumps', including yours; we're not in real-space, so there's no such thing as a continuous path.)
Edit re: mapping: All of the sample orderings here allow a 1:1 mapping from N to N2 .
flinxsl ยท 2 points ยท Posted at 17:18:50 on August 29, 2017 ยท (Permalink)
A few months ago i saw posted on here a piece of real code that was a giant switch statement to convert a 8 bit binary number in string format to a decimal int.
Mrqueue ยท 1 points ยท Posted at 17:13:22 on August 29, 2017 ยท (Permalink)
a good programmer would have scripted this for the 20 000 000 conditionals
[deleted] ยท 1 points ยท Posted at 17:29:27 on August 29, 2017 ยท (Permalink)
are you saying he did
1+1
1+2
...
1+10,000,000
2+1
until he reached 3+2?
ninja edit: spelling
thahelp ยท 1 points ยท Posted at 17:57:13 on August 29, 2017 ยท (Permalink)
It would be funny if he wrote a script to finish it.
๐๏ธ Shallllow ยท 5 points ยท Posted at 17:59:03 on August 29, 2017 ยท (Permalink)
i'm curious. how many conditionals would be required to get up to 10 million assuming you include every possible permutation of integer sums? 10000000 factorial?
๐๏ธ Shallllow ยท 1 points ยท Posted at 14:37:01 on August 30, 2017 ยท (Permalink)
i think it would be higher than that. for example 1 + 2 and 2 + 1 are also valid values for 3, so 3 + 1 would include 1 + 2 + 1 and 2 + 1 + 1, and so on. it would be lower if you could only use one integer of a given value per expression.
๐๏ธ Shallllow ยท 1 points ยท Posted at 19:34:17 on August 30, 2017 ยท (Permalink)
Oh ok, i thought you just meant a + b for a up to 10 million for b up to 10 million
Jazehiah ยท -9 points ยท Posted at 12:31:05 on August 29, 2017 ยท (Permalink)
Oh it's much much worse than that. You can see that they include both 1+2 and 2+1. I assume this means they deal with every pair of numbers in that range, meaning it's probably 400,000,040,000,000 conditionals long.
mfb- ยท 60 points ยท Posted at 15:34:10 on August 29, 2017 ยท (Permalink)
Give me a second, I'll have to upgrade my hard drive to store this code.
aiij ยท 2 points ยท Posted at 18:21:49 on August 29, 2017 ยท (Permalink)
The great thing about TDD is you don't need to code for all the cases that aren't tested. /s
"You don't need any numbers between 11 and 9,999,999, do you?"
cefarix ยท 1 points ยท Posted at 04:04:55 on August 30, 2017 ยท (Permalink)
Hold up, let me write a program to automatically generate those if statements...
For perspective, if you printed those out with one line per conditional in 12 point font and laid the pages end to end, they would reach from here to the sun.
If you stacked the pages, they would knock satellites out of orbit.
If you wrote that many conditionals and managed to do it in only 8 characters each (one character for the condition, one character for the command, 6 characters for if(){} ), and then stored that as an uncompressed text file, it would fill 32 of the biggest hard drive I could find on newegg.
If every one of Trump's tweets contained one of those conditionals, he would be a bit over 5% done when the Earth gets consumed by the expanding sun.
[deleted] ยท 3 points ยท Posted at 19:55:25 on August 29, 2017 ยท (Permalink)
It actually isn't technically limited to +/-10,000,000. If the user inputs "random number" it will output a random number in that range. Else it'll check for an equation and spit out an answer.
[deleted] ยท 1 points ยท Posted at 16:46:59 on August 29, 2017 ยท (Permalink)
I know this is probably something to do with permutations/combinations but im just curious as to how you got the extra 1?
-Xephyr- ยท 203 points ยท Posted at 12:44:41 on August 29, 2017 ยท (Permalink)
You can use logic but can't use logic.
Cha0sCat ยท 170 points ยท Posted at 16:19:47 on August 29, 2017 ยท (Permalink)
My first program (VB6) was a translator for some language a friend and me "invented". It used "If else" for all of the words. But I wanted the user to be able to enter whole sentences and have them translated. So I asked my programming teacher if it was possible to kinda split strings.
Answer was "No. Not possible".
So I feel for this dude. Ended up using different textboxes for each word.
Edit: This happened before Google became a thing and websites like Stack Overflow were created. We were given no textbooks to look anything up. Plus this was way before I even knew the English word "split".
All good now, do this professionally but still a little sour over a discouraging teacher like that.
ValAichi ยท 62 points ยท Posted at 17:43:23 on August 29, 2017 ยท (Permalink)
Different subject, but I had a teacher do the same.
I wanted to know how one could calculate, without directly measuring, atomic weight.
"You can't"
Ugh.
Dmeff ยท 16 points ยท Posted at 18:19:35 on August 29, 2017 ยท (Permalink)
I mean, at some point you need to measure stuff.
ValAichi ยท 27 points ยท Posted at 18:26:48 on August 29, 2017 ยท (Permalink)
True :P
What I meant, though, was from the number of neutrons, protons and electrons, and their specific weights.
I guess she didn't want to explain isotopes, which is probably fair enough, but still shrug
Quastors ยท 19 points ยท Posted at 19:27:03 on August 29, 2017 ยท (Permalink)
He's kinda right though, because nuclear physics is really hard, and binding energies are a significant portion of the mass of a nucleus, and it's really hard to figure out what structure the nucleus has without already knowing the mass.
ValAichi ยท 4 points ยท Posted at 19:51:26 on August 29, 2017 ยท (Permalink)
The bonds themselves add mass?
TIL. (Chemistry was not a subject I pursued after school)
Quastors ยท 10 points ยท Posted at 20:03:35 on August 29, 2017 ยท (Permalink)
Yeah, there's a mass defect between the mass you get from adding up all the protons, neutrons, and electrons, and the atomic mass; and it comes from the energy binding the protons of neutrons together (on account of that being in the ballpark of a million times more powerful than the energy binding electrons to the nucleus). That binding energy is actually why nuclear fission and fusion can release energy.
If you found a way to solve the mass defect analytically you'd probably have your nobel prize in the bag, its a central question of nuclear physics. (the wikipedia link mostly just shows how hard it is to work with)
ValAichi ยท 2 points ยท Posted at 20:40:28 on August 29, 2017 ยท (Permalink)
Huh, interesting.
Guess I have something to do over my next holiday ;P (/s, just in case)
LeHiggin ยท 3 points ยท Posted at 01:13:37 on August 30, 2017 ยท (Permalink)
No need, I figured this out in 5th grade whilst bored. /s
Puttah ยท 1 points ยท Posted at 10:32:43 on August 30, 2017 ยท (Permalink)
It only took me until the 2nd episode of Atom Ant to figure it out.
Thinking about some of the people I know who became school teachers, it really doesn't surprise me.
Before realising how many bad teachers there are I was against automating education with software. But honestly I don't think it can worse.
elHuron ยท 3 points ยท Posted at 21:26:17 on August 29, 2017 ยท (Permalink)
To be fair, would you want to have to help anyone split strings in VB?
Cha0sCat ยท 6 points ยท Posted at 22:53:46 on August 29, 2017 ยท (Permalink)
Too stupid to get the joke. Because VB sucks or splitting strings is easy?
Back then we didn't really have a choice. This happened before Google became a thing and we didn't even have textbooks. The teacher would hand out random pages explaining loops which we would have to work on silently. Never any real teaching. If any of our "lesson programs" wouldn't run right, he would walk around with a solution paper and compare every single line.
It's a miracle I actually still pursued programming and made it my career. And so glad Google and Stack Overflow came around xD
Edit: Came about? English is hard
elHuron ยท 2 points ยท Posted at 19:55:55 on August 30, 2017 ยท (Permalink)
Because VB sucks
Nope, you got it :-)
However, a teacher should never say "no". "I don't know" is fine, but never "no".
I had a similar experience in high school; we had an exam on programming before we actually touched a computer! Of course, marks off for forgetting semicolons and the like.
Woah, dude I got mad respect. I don't know where I would be in programming had the Internet or even textbooks.
Cha0sCat ยท 2 points ยท Posted at 15:19:57 on August 30, 2017 ยท (Permalink)
Safe to say my programming skills improved rapidly after Google entered my world and my English skills were good enough to actually get results from it. xD
And it's not like there weren't textbooks at all. Just that my school/teacher didn't offer them and I didn't know where to look. Some time after this incident my parents researched and bought me one though.
3no3 ยท 95 points ยท Posted at 15:52:04 on August 29, 2017 ยท (Permalink)
That wasn't in the requirements, boss. I have the spec right here and it doesn't say we have to handle 1+7. I tried to bring it up in the design review but nobody wanted to discuss it. You clearly told me to implement exactly what your spec said, so I did.
AjayDevs ยท 239 points ยท Posted at 14:10:57 on August 29, 2017 ยท (Permalink)
Pretty much my first Java game. I started out with Python with no concept of classes and didn't know what arrays are. I then made a java tower defense game all in one class with variables like m1 M2 m3 (for monsetrs). I don't understand how I had the patience to continue, let alone continue learning programming.
That reminds me of that game on Steam that uses 0 loops and arrays, instead relying on the structure of the main class to act as a loop. It was really impressive to see thousands of lines reserved solely for variable initialization.
Fast inverse square root, sometimes referred to as Fast InvSqrt() or by the hexadecimal constant 0x5f3759df, is an algorithm that estimates 1/โx, the reciprocal (or multiplicative inverse) of the square root of a 32-bit floating-point number x in IEEE 754 floating-point format. This operation is used in digital signal processing to normalize a vector, i.e., scale it to length 1. For example, computer graphics programs use inverse square roots to compute angles of incidence and reflection for lighting and shading. The algorithm is best known for its implementation in 1999 in the source code of Quake III Arena, a first-person shooter video game that made heavy use of 3D graphics.
Benedoc ยท 2 points ยท Posted at 06:24:52 on August 30, 2017 ยท (Permalink)
You can still write a loop in binary though...
Ebi5000 ยท 1 points ยท Posted at 01:52:38 on August 30, 2017 ยท (Permalink)
He should have advertised the fact on steam
Crespyl ยท 25 points ยท Posted at 16:38:43 on August 29, 2017 ยท (Permalink)
I think I recall seeing the same thing, an independent developers C# project, that was actually a decent game IIRC.
I wish I could remember the name, it was kind of horrifying and also inspiring. I always get hung up on writing "good code" that I can be proud of in its own right, and forget that I could just be banging out crappy code that adds up to a working game.
rakeler ยท 13 points ยท Posted at 16:54:35 on August 29, 2017 ยท (Permalink)
As I'm learning the hard way, crappy code that somehow works is for Today You. Good Code that works is for Tomorrow You.
First is for a job you are about to leave anyway. Second is for personal projects that you leverage to get said job.
For some reason this reminds of the scripting language in the original Mafia game. Every object in the game only had a variable, which was an array in which you could only store integers.
How they were able to make an entire game with those kinds of restrictions is beyond me.
And that should be motivation for us all. Seriously. If your code is decent enough, works as intended, and you still unsure if your game/project is any good to show to anybody, look at this mess. Look at him making bunch of lines, making a code unreadable, but being so persistent with it so it somehow works. Even so, game looks good enough and looking at reviews, it's actually playable.
The first time I tried making a game in C++, I didn't fully understand allocating memory on the heap and as a result didn't delete stuff. Cue my game leaking objects (including a bunch of SDL_Surface structs) 60 times a second.
I teach scratch to kids and some of their programs just get insanely complex. The amount of time children have to devote to a pet project is actually crazy. It's always really exciting when a kid comes to me with an idea of their own because I know they will devote hours and hours to programming now that they are chasing a goal. My goal is just to get as many kids as possible to have their own idea they are passionate about as fast as possible.
Sometimes one will come with a question on their project and I'll open it up and go "oh boy" when it's 20 sprites, 15 backgrounds and just pages and pages of orange (or god forbid, brown (messages/events)).
Scratch inspired me to start programming (still in high school, so no idea if I'll continue it) thanks to a teacher like you.
My computer teacher gave us a week for Scratch, with Day 1 being Sprites, Backgrounds, and moving based on keyboard input, Day 2 being using a background to make a maze game where you would either die by going off or move to the next level at the end, Day 3 being enemy creation, and days 4 and 5 being the days of fucking around. More often than not, the last two days were used to create weapons systems (which never worked, because we were 12.)
I spent those two days, as well as time at home and some days leading up to it creating a moving cannon that fired billets periodically at the player. I was so proud of that cannon, and it was because of a teacher like you. She put it into the curriculum, and that may have been one of the best days of my life. I just wish I had had more time, like your students do.
Never stop what you're doing. You're changing lives.
Thank you for writing this. I teach younger students with Scratch. I've seen many of them take to projects in the same way. Your story is the one that I hope they are forming for themselves.
I think it was in 7th grade when we had a project week. One group would learn cooking and later make pie for the whole class, one group would learn a stupid dance and present it, and some other stuff like that. Me and my best friend were lucky enough to get into the Scratch group. At the end of the week they were allowed to play our game. They got maybe 30 seconds of terrible gameplay in exchange for dancing for us or making cakes. Second best last week of the year ever!
I'm doing my final project at university at the moment and I've been tasked with creating a website for teachers of Key Stage 2 (age 5-11 I think) Scratch. I wasn't familiar with it all beyond knowing my niece does it at school. It's been so cool to immerse myself into the ed/Scratch world.
I made it into an actual programming language here. Tried to follow the original model instead of designing a much better system etc.
neotek ยท 6 points ยท Posted at 02:15:55 on August 30, 2017 ยท (Permalink)
You misspelt claculator.
toth42 ยท 1 points ยท Posted at 06:55:34 on August 30, 2017 ยท (Permalink)
I didn't understand all of that, but I see it looks exactly like an appmaker for Android I used - if this is for computer/web, would you mind telling me what the software is that lets you code in blocks like this?
dalazze ยท 2 points ยท Posted at 08:25:27 on August 30, 2017 ยท (Permalink)
I messed around with Scratch back in the day. This is exactly like the stuff I would make.
I tried to make a game called 'Super Scratch Bros'.
Colopty ยท 2 points ยท Posted at 18:49:35 on August 29, 2017 ยท (Permalink)
Nice. I once made the Scratch character go to the right, exit the screen, and never return. Decided that goddamnit I spent an entire five minutes figuring out how to do that and it didn't look like a triple A game? Never gonna use that again!
[deleted] ยท 1 points ยท Posted at 01:19:36 on August 30, 2017 ยท (Permalink)
I'm on mobile. Did this person build an ENTIRE FUCKING OPERATING SYSTEM in scratch?!
More likely it's just something that looks and feels like a window manager, right?
[deleted] ยท 22 points ยท Posted at 17:55:20 on August 29, 2017 ยท (Permalink)
[deleted]
varavash ยท 6 points ยท Posted at 20:24:19 on August 29, 2017 ยท (Permalink)
That could be a product of his boss. A lot of managers will evaluate programmers based on number of lines written because they just don't know how else to evaluate them.
Before people follow this link and leave snarky comments, I'd just like to remind everyone that scratch is meant for children. There is probably an 8 year old on the other end who is very proud of the first software program they've ever made. Please be nice.
๐๏ธ Shallllow ยท 60 points ยท Posted at 15:28:25 on August 29, 2017 ยท (Permalink)
Yeah, I don't intend for people to do that, the link is just for reference
Asmor ยท 54 points ยท Posted at 16:09:54 on August 29, 2017 ยท (Permalink)
Good call. One of the first things I remember writing when I was teaching myself JavaScript as a kid was a script that would bring up a prompt dialog asking for your name, and then greet you. Except if you entered my name, it would give you a special greeting.
And I was also very clever because I checked if you entered Asmor, asmor, or ASMOR.
Reminds me of test-driven-design (TDD). I went to a workshop by our local TDD enthusiast and he had us program our routines like that. The example he had us do was something like squaring a number. So you first start by having the squaring function just return zero. Then you write a test for squaring zero, then you write a test for squaring 1 and the test fails, so you re-write the squaring function to return 0 if input is zero and 1 if the input is 1. Repeat tests, repeat development, etc. I could see how if you didn't recode function properly, you could end up with just a giant nested if statement.
Silidus ยท 9 points ยท Posted at 20:04:12 on August 29, 2017 ยท (Permalink)
It looks bad,
but I legitimately code reviewed the following by a peer a few years ago;
My first exposure to programming as a kid was my cousin's Commodore 64. It had special extended characters/icons that were easy to type, and I thought that you could assign a score by typing the value in the right part of the screen, then overlaying characters to make the shape of an enemy. You know, shoot the enemy, reveal the score, it gets added to your game score.
It wasn't so different from the Scratch concept of dragging elements to make a composite object. In that sense, they are onto something.
So I spent several hours having a great deal of fun laying out a game screen, then we went home.
Later I received money as a reward for something I did, and I spent a good deal of time wracking my brain between getting a C=>64 and a TRS-80. I went with the Radio Shack machine, which was poorer for games, but there was something in it that appealed more to me, that escapes me now. Programming wasn't like I thought it was, but I caught the bug!
I still have that old machine tucked away in my closet.
kaiomann ยท 6 points ยท Posted at 17:00:53 on August 29, 2017 ยท (Permalink)
Scratch is great. I remember creating multiplayer Pong in it, complete with accurate angles for the ball to bounce off.
My 9y old son made an even better version in Scratch. He made a 1 to 100 number guessing game by drawing every number as a background. Then copied 'code' from a game he saw in a book to change to the next background in for loop. At least he had the for loop.
You have to admire the stamina on these kids.
MK1034 ยท 4 points ยท Posted at 20:55:30 on August 29, 2017 ยท (Permalink)
This picture reminds me a lot of a moment when I was in first grade. We were learning basic math and I absolutely loved it. At some point while I was at home I thought it would be the greatest idea ever to write out every math equation possible.
Of course I only knew addition and some subtraction, but that didn't stop me. I grabbed some paper and started writing them all out. 1+1, 1+2, 1+3, and so on.
I think I made it through half a sheet of paper before I realized I'd never even finish the 1+x section.
Lmao! this reminded me of when my friend learned about if statements for the first time, then asked me "So is AI just basically millions of "if" statements?"
npoet1 ยท 4 points ยท Posted at 19:40:03 on August 29, 2017 ยท (Permalink)
Legitimately had an employee use this approach last week
[deleted] ยท 5 points ยท Posted at 21:34:31 on August 29, 2017 ยท (Permalink)
You laugh, but the genius just coded a constant efficiency algorithm... gotta give him that.
He coulda looped through the two numbers and added a counter. Thatโs O(n)
[deleted] ยท 4 points ยท Posted at 23:52:14 on August 29, 2017 ยท (Permalink)
Ive found professionally written code that amounted to this. It was depressing.
nyxeka ยท 4 points ยท Posted at 01:15:34 on August 30, 2017 ยท (Permalink)
You know they say - disk space is cheaper than cpu.
Too real. First project for class was a little web TicTacToe game. Ended up if chaining out every possible board state for 3 AI difficulties. Had to print it out to hand it in. 96 pages.
drawkbox ยท 3 points ยท Posted at 01:02:48 on August 30, 2017 ยท (Permalink)
If this would be written code, that poor bastard would inevitably forget to place a semi colon somewhere, and the IDE would be too tired to point it out...
I say kudos to this man, at least this is effort and not just copy/paste from SO.
qxxx ยท 2 points ยท Posted at 16:07:01 on August 29, 2017 ยท (Permalink)
It looks like the poor kid doesn't understand what's happening to him
https://scratch.mit.edu/projects/172557877/
EDIT: Be responsible with what you post there. It's just a kid who was trying to program and doesn't understand what's going on
_Pentox ยท 2 points ยท Posted at 21:08:20 on August 29, 2017 ยท (Permalink)
Wait, you're not supposed to do it like this? /s
5t3v0 ยท 2 points ยท Posted at 21:29:48 on August 29, 2017 ยท (Permalink)
I'd be pumped if my 5yo wrote this. love seeing kids pick up these concepts.
Reminds me of a friend who wrote a program to calculate the day Easter falls on for 2000 years, when he was 11 or 12. He copied and pasted so many times he ended up with tens of thousands of lines, which although it worked, would have been fewer lines if he just hardcoded the dates.
One of my first computer science classes at university had a brilliant idea of a term project. We all had to make an android application using MIT app inventor. Its a great tool for newbie android development, but the programming interface is all scratch based. In order to execute on the idea my group planned out, I had to recreate an ASCII table in scratch. I remember that being a fun evening.
Kooontt ยท 2 points ยท Posted at 04:02:09 on August 30, 2017 ยท (Permalink)
From what I recall about Scratch, this is probably the best way to go about this. I checked and I don't think Scratch allows an eval function (even though that'd be a dangerous way to implement it, it'd probably be the easiest) or a simple way to write a tokenizer.
So don't shit on the shit kid, after all it isn't their fault that their shit is shit considering the language not having the shit functions needed.
๐๏ธ Shallllow ยท 5 points ยท Posted at 16:05:59 on August 29, 2017 ยท (Permalink)
Actually it wouldn't be too hard to write a shunting yard evaluator compared to this and definitely easier to write a postfix evaluator like here in my language: https://scratch.mit.edu/projects/171581022/
I once had to write a program that simulates a couple of cache coherence protocols based on a a bunch of test input vectors (which were known). I had a working code, and I realised that I had to add some exceptions to it, like if invalid input is given at startup. For some reason, 1 like if code was breaking the whole fucking thing and I was running out of time to fix it. So I hard coded 1000s of lines of printf valid output for all valid input files. I got full marks for that, but that was the worst 6 hours I spent replicating printfs :(
cappo40 ยท 1 points ยท Posted at 17:57:45 on August 29, 2017 ยท (Permalink)
This looks like my code when we had to take a Programming Class in College for a Networking course.
kpingvin ยท 1 points ยท Posted at 18:04:18 on August 29, 2017 ยท (Permalink)
+1 - I actually wrote code like this for call of duty when I was a freshman in highschool. I wrote a page in php that would generate a COD script(like Java, not sure what it was but we called it COD script) for modded lobby hosts to use. They could custom...
+1 - And that should be motivation for us all. Seriously. If your code is decent enough, works as intended, and you still unsure if your game/project is any good to show to anybody, look at this mess. Look at him making bunch of lines, making a code unrea...
+1 - I think the shunting yard was a bit unwieldly according to this speaker. But he did add extra visualisations. His whole talk is nice btw, starts at 3:29:30.
I'm a bot working hard to help Redditors find related videos to watch. I'll keep this updated as long as I can.
I really wanted a physical Logo turtle when I was a kid. I saw pictures of it in library books and thought it would be the coolest thing ever. Now that I'm an adult that could build my own I'm like "meh".
imforit ยท 1 points ยท Posted at 18:07:55 on August 29, 2017 ยท (Permalink)
Check out Snap! from Berkeley. They're taking good care of the turtles it there.
imforit ยท 1 points ยท Posted at 11:06:58 on August 30, 2017 ยท (Permalink)
It was a fork of scratch long ago called BYOB, "bring your own blocks." It's a fully formed language that specializes in turtle graphics. It's also has the best visual representation of a lambdas Ive ever seen, supporting full-powered scheme style functional programming.
Wait a second, are you telling me this could work for professional use?
imforit ยท 1 points ยท Posted at 19:48:26 on August 31, 2017 ยท (Permalink)
if you need to professionally draw turtle graphics in a browser, sure.
if you want to do general computing, you can check out GP blocks. These systems are all in the Scratch-like family (because that's what this thread is about.)
Blocks is just a model of editing, and affords certain semantics more easily than others.
We know that Blockly is in use in many professional environments.
What other pro-grade graphical programming are out there now? I remember JS-noflo but I don't know how good it is
imforit ยท 1 points ยท Posted at 21:07:30 on August 31, 2017 ยท (Permalink)
the demos far undersell what it can do. There's a paper submitted the upcoming Blocks & Beyond workshop at VL/HCC called "Blockly Goes to Work" that I really hope will be good.
Can't get any results for "Blockly Goes to Work", got a link?
imforit ยท 1 points ยท Posted at 11:20:10 on September 1, 2017 ยท (Permalink)
no because the conference hasn't happened yet. It will be up in the IEEE archives in October, if the paper is accepted. As I said, I hope it's good.
There's a lot of nascent work in taking lessons from educational blocks environments and applying them to professional environments, and it's starting to be seen now-ish. Very exciting.
Yeah I always wondered why there wasn't more investment into graphical programming
imforit ยท 2 points ยท Posted at 19:17:17 on September 1, 2017 ยท (Permalink)
LabVIEW is the best case of industrial-grade graphical programming. It's data flow, but I still think they got a lot right. Also, nobody argues that LabVIEW isn't professional-grade, but the moment you select textual code a block at a time and drag it elsewhere it's dismissed as a kids toy.
Lots of work left to be done.
MrTartle ยท 9 points ยท Posted at 15:22:49 on August 29, 2017 ยท (Permalink)
If he continued hard-coding a calculator like this, he would have to hand-write the answer to every single possible expression. Programming languages, including this one, have the ability to automatically perform math operations between numbers you input, which would be a much better way of doing this.
TK503 ยท 1 points ยท Posted at 21:06:12 on August 29, 2017 ยท (Permalink)
Saved comment
๐๏ธ Shallllow ยท 4079 points ยท Posted at 12:51:16 on August 29, 2017 ยท (Permalink)
Just saw that the project was called "Claculator"
Krypticore ยท 1140 points ยท Posted at 15:14:08 on August 29, 2017 ยท (Permalink)
'math eqation' too
DzoQiEuoi ยท 548 points ยท Posted at 18:17:05 on August 29, 2017 ยท (Permalink)
Can't believe he spelled maths wrong! Idiot!
YonansUmo ยท 82 points ยท Posted at 21:38:43 on August 29, 2017 ยท (Permalink)
Pretty sure it's a child
Bandin03 ยท 238 points ยท Posted at 21:51:20 on August 29, 2017 ยท (Permalink)
Children can also be idiots.
running_fridge ยท 121 points ยท Posted at 23:23:29 on August 29, 2017 ยท (Permalink)
I can confirm this. I used to be a child
Nerrolken ยท 46 points ยท Posted at 23:48:11 on August 29, 2017 ยท (Permalink)
I can confirm this. /u/running_fridge used to be a child.
Cjbrick910 ยท 1 points ยท Posted at 09:24:46 on August 30, 2017 ยท (Permalink)
Nice dad joke Edit: username
raindropsandrainbows ยท 1 points ยท Posted at 00:49:13 on August 30, 2017 ยท (Permalink)
Children are idiots
FTFY
[deleted] ยท 3 points ยท Posted at 02:11:01 on August 30, 2017 ยท (Permalink)
You're a child?
magicpurpledinosaur ยท 2 points ยท Posted at 23:23:58 on August 29, 2017 ยท (Permalink)
Woosh
bmzimmerman ยท 1 points ยท Posted at 14:01:40 on September 5, 2017 ยท (Permalink)
Right?
k1d_5h31d0n ยท 9 points ยท Posted at 01:33:30 on August 30, 2017 ยท (Permalink)
"maths"
you brits are wierd.
LordAro ยท 11 points ยท Posted at 05:51:53 on August 30, 2017 ยท (Permalink)
There are multiple fields of "mathematics" => "maths". Simple. No one says " mathematic".
jimminy ยท -8 points ยท Posted at 06:08:24 on August 30, 2017 ยท (Permalink)
Yeah yeah... I could care less...
LordAro ยท 12 points ยท Posted at 06:10:55 on August 30, 2017 ยท (Permalink)
You truly are a broken people
FUCK_MAGIC ยท 3 points ยท Posted at 06:34:27 on August 30, 2017 ยท (Permalink)
https://youtu.be/om7O0MFkmpw
youtubefactsbot ยท 2 points ยท Posted at 06:35:04 on August 30, 2017 ยท (Permalink)
bot info
Lil_SpazJoekp ยท -1 points ยท Posted at 04:08:08 on August 30, 2017 ยท (Permalink)
I know right?
[deleted] ยท 1 points ยท Posted at 09:17:45 on August 30, 2017 ยท (Permalink)
Can't believe he spelled meth wrong! Idiot!
Faroutchris ยท 485 points ยท Posted at 16:54:09 on August 29, 2017 ยท (Permalink)
And it can't handle 1+7
metaobject ยท 583 points ยท Posted at 18:56:59 on August 29, 2017 ยท (Permalink)
Pfff, that's an obscure edge case. We'll get to it later.
ThatGuyWhoLikesSpace ยท 81 points ยท Posted at 22:40:40 on August 29, 2017 ยท (Permalink)
Nobody's ever going to NEED more than 1 digit.
jankn ยท 10 points ยท Posted at 23:27:24 on August 29, 2017 ยท (Permalink)
The human finger can only process up to 10 per claculation!
sloppychris ยท 5 points ยท Posted at 02:56:19 on August 30, 2017 ยท (Permalink)
That's a feature, it prevents users from calculating useless numbers.
[deleted] ยท 68 points ยท Posted at 19:10:32 on August 29, 2017 ยท (Permalink)
[deleted]
mudkip908 ยท 6 points ยท Posted at 19:51:53 on August 29, 2017 ยท (Permalink)
Bra71l never forget
ScipioLongstocking ยท 77 points ยท Posted at 19:38:33 on August 29, 2017 ยท (Permalink)
That's because 7 ate 9.
Exactually ยท 86 points ยท Posted at 22:02:32 on August 29, 2017 ยท (Permalink)
TIL Windows 10 is an elaborate dad joke
roguesith ยท 10 points ยท Posted at 23:52:27 on August 29, 2017 ยท (Permalink)
Worse. Version.StartsWith("Windows 9") was assumed to be Windows 95 or <NT in too much still in use legacy code. Unworthy of dad joke status
Sasha2k1 ยท 1 points ยท Posted at 05:19:44 on August 30, 2017 ยท (Permalink)
Then what about 98?
Portaller ยท 2 points ยท Posted at 05:50:58 on August 30, 2017 ยท (Permalink)
Same difference to most programs.
ohrules ยท 93 points ยท Posted at 18:46:06 on August 29, 2017 ยท (Permalink)
Gonna hijack this comment to say that he's confused regarding the attention his profile is getting.
https://scratch.mit.edu/projects/172557877
Stiltskin ยท 43 points ยท Posted at 05:54:11 on August 30, 2017 ยท (Permalink)
And I'm going to hijack yours to remind everyone here that this is a literal child. They're just messing around with some simple projects. Either be extra nice and encouraging, or don't interact at all.
ohrules ยท 7 points ยท Posted at 08:44:53 on August 30, 2017 ยท (Permalink)
Agreed.
PM_ME_CAKE ยท 23 points ยท Posted at 22:58:22 on August 29, 2017 ยท (Permalink)
I feel like this is the perfect opportunity to reach out and try to test the waters with something like Python or Smallbasic.
NeXtDracool ยท 10 points ยท Posted at 03:37:40 on August 30, 2017 ยท (Permalink)
If you want to reach out, wouldn't it be normal to start with smalltalk?
juuular ยท 1 points ยท Posted at 00:48:43 on January 15, 2018 ยท (Permalink)
Just give him Perl
NeXtDracool ยท 1 points ยท Posted at 20:21:24 on January 16, 2018 ยท (Permalink)
Either you made a pun that went over my head or the other way around..
herb_tea ยท 199 points ยท Posted at 15:04:47 on August 29, 2017 ยท (Permalink)
He must have had too much split in his throat when he named it.
work_alt_1 ยท 54 points ยท Posted at 16:22:38 on August 29, 2017 ยท (Permalink)
I'm sorry about that, that was really rude of me.
lukee910 ยท 129 points ยท Posted at 16:48:02 on August 29, 2017 ยท (Permalink)
/r/mechanicalkeyboards starts at a young age.
Doughnuts4Ever ยท 14 points ยท Posted at 18:16:57 on August 29, 2017 ยท (Permalink)
Leopold4Lyfe
Portmanteaulist ยท 3 points ยท Posted at 20:23:07 on August 29, 2017 ยท (Permalink)
Pok3r4evr
Sinful_Prayers ยท 2 points ยท Posted at 18:23:54 on August 29, 2017 ยท (Permalink)
Heuheueheuh
gubenlo ยท 8 points ยท Posted at 17:45:58 on August 29, 2017 ยท (Permalink)
/r/bandnames
sneakpeekbot ยท 5 points ยท Posted at 17:46:11 on August 29, 2017 ยท (Permalink)
Here's a sneak peek of /r/Bandnames using the top posts of the year!
#1: [NSFW] WARNING: NSFW Language - Band name in the text
#2: Politically Correct Pete & The Retarded Faggots
#3: "Si" (a Yes mariachi cover band)
I'm a bot, beep boop | Downvote to remove | Contact me | Info | Opt-out
Prophet_Of_Loss ยท 1 points ยท Posted at 02:30:08 on August 30, 2017 ยท (Permalink)
"Si" gave me a chuckle.
kor0na ยท 4 points ยท Posted at 16:05:34 on August 29, 2017 ยท (Permalink)
Made me chuckle.
Im_Hugh_Mungus ยท 1 points ยท Posted at 00:57:18 on August 30, 2017 ยท (Permalink)
def claculate(it):
Colopty ยท 4413 points ยท Posted at 14:04:06 on August 29, 2017 ยท (Permalink)
That kid/college student must've gone for years afterwards thinking that this is what programmers do all day. Dude must be in awe at pretty much any program he sees after that.
Zulban ยท 2170 points ยท Posted at 15:21:56 on August 29, 2017 ยท (Permalink)
They still have a much clearer idea of what programmers do than most people.
Colopty ยท 1287 points ยท Posted at 15:58:13 on August 29, 2017 ยท (Permalink)
What, you mean programmers aren't free on demand tech support/makers of your brilliant app idea?
Zulban ยท 513 points ยท Posted at 16:01:28 on August 29, 2017 ยท (Permalink)
My online social network includes a lot of people from entrepreneurship events and such. I just updated my employment status to "unemployed".
How RIGHT you are.
rocklou ยท 346 points ยท Posted at 16:05:32 on August 29, 2017 ยท (Permalink)
I have an app idea, I'll pm you the details
Colopty ยท 369 points ยท Posted at 16:28:36 on August 29, 2017 ยท (Permalink)
Look at this guy, didn't even demand that you sign an NDA before giving you any details about his idea. You don't get that kind of luxury often these days.
rocklou ยท 249 points ยท Posted at 16:53:54 on August 29, 2017 ยท (Permalink)
I'm a generous guy. I'll even give him a 50% cut of the profit for doing all the work.
Colopty ยท 134 points ยท Posted at 16:56:00 on August 29, 2017 ยท (Permalink)
Better deal than anything I've ever gotten in a group assignment, where do I sign up?
rocklou ยท 90 points ยท Posted at 17:13:21 on August 29, 2017 ยท (Permalink)
I'll pm you the details
HAMMERjah ยท 59 points ยท Posted at 18:07:16 on August 29, 2017 ยท (Permalink)
and then they became millionaires
cATSup24 ยท 5 points ยท Posted at 22:22:24 on August 29, 2017 ยท (Permalink)
Narrator: they did not become millionaires
antesignanus ยท 36 points ยท Posted at 17:22:18 on August 29, 2017 ยท (Permalink)
Annnnd suddenly I'm curious what kind of fuckery is happening.
[deleted] ยท 7 points ยท Posted at 17:46:45 on August 29, 2017 ยท (Permalink)
I'll pm you the details
JaytleBee ยท 3 points ยท Posted at 18:24:19 on August 29, 2017 ยท (Permalink)
So, did you actually send a pm or is that just a joke? Is the pm a joke? Is the mention of the pm a joke? I'm confused
[deleted] ยท 5 points ยท Posted at 18:36:50 on August 29, 2017 ยท (Permalink)
I'll pm you the details
rocklou ยท 1 points ยท Posted at 19:00:52 on August 29, 2017 ยท (Permalink)
I don't remember pming you the details in the first place. What kind of details are you pming?
[deleted] ยท 2 points ยท Posted at 19:14:14 on August 29, 2017 ยท (Permalink)
[deleted]
DMAredditer ยท 2 points ยท Posted at 20:43:57 on August 29, 2017 ยท (Permalink)
I want a PM too.
TheTerrasque ยท 1 points ยท Posted at 06:54:19 on August 30, 2017 ยท (Permalink)
Alright. Listen here, and keep this to yourself. I have like lawyer and stuff on my payroll
It will be like reddit, but in moba form. Two teams will battle by posting links and get one creep per upvote, and now and then strong internet trolls will spawn and then they fight the troll.
And here, here's the genius. We put ads in, that people have to watch, and showing off an ad will give like 10 creeps or so!
If you're interested, send me a playable demo with source code by tomorrow, so I can see you have the right spirit. I am willing to give you up to 30% of the income if you do a good job here!
And if you share this PM with anyone I will put lawyerman on you!
Phoenix229 ยท 3 points ยท Posted at 17:28:46 on August 29, 2017 ยท (Permalink)
All kinds
ThatGuyWhoLikesSpace ยท 1 points ยท Posted at 17:47:05 on August 29, 2017 ยท (Permalink)
Black Magic.
PierreSimonLaplace ยท 1 points ยท Posted at 22:31:01 on August 29, 2017 ยท (Permalink)
Probably applying the sharing economy to portable toilets or something.
cyanoacrylateprints ยท 3 points ยท Posted at 00:38:12 on August 30, 2017 ยท (Permalink)
PM me the details as well.
oceancow ยท 2 points ยท Posted at 22:35:35 on August 29, 2017 ยท (Permalink)
PM me the details too. We can work something out.
rocklou ยท 1 points ยท Posted at 07:04:33 on August 30, 2017 ยท (Permalink)
Are you willing to take only 5% of the profit?
oceancow ยท 1 points ยท Posted at 13:26:54 on August 30, 2017 ยท (Permalink)
If I do 5% of the work
rocklou ยท 1 points ยท Posted at 13:59:14 on August 30, 2017 ยท (Permalink)
Don't be absurd
oceancow ยท 1 points ยท Posted at 14:42:29 on August 30, 2017 ยท (Permalink)
Fine, 10% of the work..
rocklou ยท 1 points ยท Posted at 14:46:30 on August 30, 2017 ยท (Permalink)
Deal
oceancow ยท 1 points ยท Posted at 18:32:34 on August 30, 2017 ยท (Permalink)
PM me.
MMEnter ยท 1 points ยท Posted at 01:36:04 on August 30, 2017 ยท (Permalink)
He set profits that could mean after his salary and the salary for the consultant firm that his cat owns. Leaving you with all the work and nothing to show for. Dose that sound more like your group projects?
[deleted] ยท 3 points ยท Posted at 23:45:54 on August 29, 2017 ยท (Permalink)
[deleted]
rocklou ยท 1 points ยท Posted at 06:45:05 on August 30, 2017 ยท (Permalink)
You could've been a millionaire by now!
DuchessofSquee ยท 1 points ยท Posted at 02:48:45 on August 30, 2017 ยท (Permalink)
Dude, you don't have to pay them, just think of the exposure they'll get!
bestjakeisbest ยท 58 points ยท Posted at 16:57:06 on August 29, 2017 ยท (Permalink)
here ill give you an app idea, but first you need to pay me, and sign a NDA
MaximumZer0 ยท 30 points ยท Posted at 17:15:06 on August 29, 2017 ยท (Permalink)
This right here is standard procedure. Ugh.
Time_Terminal ยท 1 points ยท Posted at 20:51:39 on August 29, 2017 ยท (Permalink)
Wait for real? Why does the person who's doing the work have to pay upfront?
MaximumZer0 ยท 3 points ยท Posted at 20:54:14 on August 29, 2017 ยท (Permalink)
Lots of reasons, hypothetically. To ensure that the programmer isn't just going to cut and run on the other parts of the team, licenses, to buy in like on any startup...but mostly because people are greedy.
worldDev ยท 2 points ยท Posted at 22:54:00 on August 29, 2017 ยท (Permalink)
I've worked with dozens of startups and this is something I have never seen. I don't know a single dev who is dumb enough to spend money on a job building something they don't even know what it is. I think I've only actually even seen 1 programmer make a single capital contribution outside of a discounted rate unless they were co-founding with all programmers. What area are you in that you see this happening?
Time_Terminal ยท 1 points ยท Posted at 20:54:41 on August 29, 2017 ยท (Permalink)
That's awful :(
MaximumZer0 ยท 1 points ยท Posted at 20:56:29 on August 29, 2017 ยท (Permalink)
Programmers, artists, writers, and other specialised content creators are always treated like this. On top of that, 90% of people expect us to work for free, because, "this is what you love to do anyway, right?" Dude, I like to eat and pay bills, too.
[deleted] ยท 1 points ยท Posted at 22:03:41 on August 29, 2017 ยท (Permalink)
I'm sorry but what does programming have to do with art?
Programming is ike the no1 profession guaranteed to land you a good job, while art is definitely not.
cATSup24 ยท 3 points ยท Posted at 22:40:17 on August 29, 2017 ยท (Permalink)
That's completely aside from the point. The point is that, unlike those who are in entrepreneurial, administrative, and other office jobs, programmers and artists are both seen as people who are doing what they love and don't put in all that much effort (or love putting that extra effort in), and therefore aren't of high value due to a "low work factor."
On top of that, freelance workers have a greater need for word-of-mouth references and entries in their portfolios, which those on the outside see and think "the exposure my project will give them will guarantee them more work in the future, which is as good as money!"
So they either think that the possibility of money in the future due to "the exposure" is payment enough, and a future return on an investment is economically the same or better than an immediate return of an equal or lesser amount; or that the "work" they do is simply a labor of love that is inherently worth less, coming up with the "innovative/revolutionary idea" was the main hard work and the implementing is simply typing on a keyboard/moving the Artistry ToolTM across a canvas and could be done by anyone with the programming/artistic know-how inherently required by the profession and guidance by the right leader (a.k.a themselves).
[deleted] ยท 4 points ยท Posted at 23:22:32 on August 29, 2017 ยท (Permalink)
OK I get it, sorry I missed the point.
I can verify what you are saying though. I am starting university next semester in computer science and people are already asking me to build their website, format their pc, even fix their TV lol.
MaximumZer0 ยท 2 points ยท Posted at 22:38:40 on August 29, 2017 ยท (Permalink)
If you have certain skills, people always seem to want them for free. Doesn't matter what those skills are.
U8336Tea ยท 1 points ยท Posted at 23:56:52 on August 29, 2017 ยท (Permalink)
Also maybe because Facebook HATES Him!
[deleted] ยท 2 points ยท Posted at 02:12:36 on August 30, 2017 ยท (Permalink)
They don't "have" to do anything.
L0NZ0BALL ยท 44 points ยท Posted at 18:13:28 on August 29, 2017 ยท (Permalink)
This hits close to home. I represent an app in part of my legal practice and I've repeatedly advised them to stop demanding an NDA to even discuss the app. I said there's no reason at all to do it, it makes you look like an asshole, and everyone thinks you're shady for keeping these on file. Ugh.
Colopty ยท 29 points ยท Posted at 18:40:33 on August 29, 2017 ยท (Permalink)
At this point I thought you were about to sneakingly pitch an app idea.
erichf3893 ยท 2 points ยท Posted at 18:57:48 on August 29, 2017 ยท (Permalink)
That comes next
garethnelsonuk ยท 3 points ยท Posted at 01:41:14 on August 30, 2017 ยท (Permalink)
I've signed a shitload of NDAs - for actual employers who were paying me money.
ZacharyCallahan ยท 1 points ยท Posted at 07:00:26 on August 30, 2017 ยท (Permalink)
Wait i'm legit about to graduate and does this shit really happen that often?
Colopty ยท 1 points ยท Posted at 07:41:19 on August 30, 2017 ยท (Permalink)
From legit employers? No. From random people who all think they have the best idea ever after they hear you're some sort of computer person? Oh yeah.
sloppychris ยท 5 points ยท Posted at 02:55:24 on August 30, 2017 ยท (Permalink)
It's Facebook meets YouTube meets Twitter. That's all you need to know, right?
rocklou ยท 2 points ยท Posted at 06:41:04 on August 30, 2017 ยท (Permalink)
Sign me up!
princetrunks ยท 2 points ยท Posted at 02:16:10 on August 30, 2017 ยท (Permalink)
"It'll be something that will break the industry!"
Nope, the computer illiteracy behind the eventual albatross app will only break our will.
[deleted] ยท 16 points ยท Posted at 16:47:16 on August 29, 2017 ยท (Permalink)
[deleted]
Zulban ยท 25 points ยท Posted at 17:45:09 on August 29, 2017 ยท (Permalink)
You can start here.
thetarget3 ยท 6 points ยท Posted at 19:08:55 on August 29, 2017 ยท (Permalink)
Kind of disappointed that they haven't kept the history up to date, but at least now I know whom to contact of I have a question about the web
Vedvart1 ยท 1 points ยท Posted at 03:42:11 on August 30, 2017 ยท (Permalink)
Or get a job to help them out. Literally a web developer
Jameslulz ยท 3 points ยท Posted at 17:36:45 on August 29, 2017 ยท (Permalink)
Linkedin
HairyBoots ยท 4 points ยท Posted at 19:22:34 on August 29, 2017 ยท (Permalink)
Linked in is great if you want recruiter spam.
I have yet to find another use for it.
Stormflux ยท 7 points ยท Posted at 22:31:47 on August 29, 2017 ยท (Permalink)
It's also great for getting articles about how Seizing the Initiative helps Generate Results.
HairyBoots ยท 1 points ยท Posted at 22:35:12 on August 29, 2017 ยท (Permalink)
And knowing that 15 people you know also like that article.
Stormflux ยท 2 points ยท Posted at 22:40:42 on August 29, 2017 ยท (Permalink)
They'd better, if they want to be employable!
DeltaPositionReady ยท 4 points ยท Posted at 05:45:14 on August 30, 2017 ยท (Permalink)
Also good for the lulz. Every single time a large company makes any kind of announcement, there are a million Indians and Filipinos ready to offer their help.
Hi my name is Suresh Kumar, I would please like to apply for CEO. I have many year experience in field. Please do the needful. Thank
DeltaPositionReady ยท 2 points ยท Posted at 05:46:36 on August 30, 2017 ยท (Permalink)
Join an incubator, accelerator, magnetometer, or collaborative workspace.
wander_colossi ยท 2 points ยท Posted at 13:19:43 on August 30, 2017 ยท (Permalink)
i once had a neighbor pitch me his app idea in that "this would be really cool, and i'm hoping you volunteer for this so i can sit back and collect moneys" kind of phrasing. the look on his face was priceless after i told him it was a minimum 200 hour project and that good devs can cost $125/hr or more.
he offered me a case of beer and some tamales, i said no.
Zulban ยท 2 points ยท Posted at 13:40:02 on August 30, 2017 ยท (Permalink)
Beer and tamales, nice.
I think what's lacking here is people can't assess investment versus risk. To them, investing one hour of their "creative" time to develop their app entirely is a really good investment - there is a small chance it would be decent if developed and they'd benefit greatly from that small chance.
The reason the other 10,000 people with that idea have not developed it, however, is because if it costs 22,500$ suddenly the risk outweighs the likelihood of the investment paying off.
They're excited because to them, it's a no brainer that this is worth a short, until they hear the price.
metaobject ยท 1 points ยท Posted at 18:53:05 on August 29, 2017 ยท (Permalink)
I had a guy ask if I could fix the screen on his laptop. He definitely doesn't want me to do that.
Attila_22 ยท 1 points ยท Posted at 03:02:24 on August 30, 2017 ยท (Permalink)
Yeah... No reason to update your employment status.
[deleted] ยท 52 points ยท Posted at 18:20:05 on August 29, 2017 ยท (Permalink)
I have a great idea for a game, I just need someone to program it. You can do graphics right?
Superkroot ยท 50 points ยท Posted at 19:25:24 on August 29, 2017 ยท (Permalink)
If you do art for them, you get paid in 'exposure'
wander_colossi ยท 3 points ยท Posted at 13:21:42 on August 30, 2017 ยท (Permalink)
like butt stuff or something?
Tainnor ยท 4 points ยท Posted at 22:20:09 on August 29, 2017 ยท (Permalink)
This honestly happened to me once at a friend's birthday party. Weird guy starts talking about his great game idea: "I noticed that there are few games about being a kangaroo. I want to develop a game where you live through different stages of your kangaroo life." And he was totally serious about it. He wouldn't understand why gamers wouldn't get excited about that. Never mind that he also never programmed, did some design work, managed a project or even had a more concrete idea about the design or concept of that game. "I'll just hire someone to do that". Yeah right, and what are you going to do?
Colopty ยท 7 points ยท Posted at 23:08:37 on August 29, 2017 ยท (Permalink)
Well, if he actually plans on paying the people who make it a reasonable amount of money, that might be all he needs to do. Of course, he needs to be pretty rich to commission such a work in which various people need to be involved in to do all the jobs he wouldn't do. Dev, designer and management time isn't cheap.
Tainnor ยท 3 points ยท Posted at 00:35:51 on August 30, 2017 ยท (Permalink)
I'm not saying you can't sponsor an idea without being the developer yourself, but please give me something better than "some game about kangaroos and some other guy can figure out the rest".
Colopty ยท 2 points ยท Posted at 01:06:49 on August 30, 2017 ยท (Permalink)
Seems like something he would have to hire a game designer for, so if he chooses to spend the additional money that not planning his project himself will cost him, that's not really your job as a developer either.
[deleted] ยท 3 points ยท Posted at 01:12:31 on August 30, 2017 ยท (Permalink)
Right, it's conceivable, this basically makes his title "Producer" as all he does is front the money and provide a very rough goal.
But let's be honest, there is almost no way that's going to happen. I wasn't there, but even I'm 99.99% sure the guy was just delusional.
Colopty ยท 2 points ยท Posted at 01:46:05 on August 30, 2017 ยท (Permalink)
Oh yeah, there's pretty much no way these kind of people would consider being a producer, just pointing out that it's an actual role that is possible to have on a game development team.
metaobject ยท 6 points ยท Posted at 18:55:35 on August 29, 2017 ยท (Permalink)
Can you fix my windows XP machine? Oh, and my router is acting kinda funny.
SerdarCS ยท 2 points ยท Posted at 22:22:34 on August 29, 2017 ยท (Permalink)
What do you mean that's not the router? A mouse? What are you talking about? Stop fooling me! I have a degree in computering!
toomanybeersies ยท 3 points ยท Posted at 00:35:58 on August 30, 2017 ยท (Permalink)
People are always confused when I tell them I'm not good with computers. I tell them that asking me to fix their computer is like asking a physicist to fix their car.
I usually can fix their computer, I just can't be fucked.
It actually gets sort of annoying having a skill or item that everyone needs and only you have. When I had a truck, I was always hauling shit for my friends. I would hate to be a mechanic.
Kebble ยท 2 points ยท Posted at 21:57:44 on August 29, 2017 ยท (Permalink)
dude i'm offering you 10% of my app's earnings, do you really wanna be the guy who said no to 10% of the next facebook???
erishun ยท 2 points ยท Posted at 03:06:05 on August 30, 2017 ยท (Permalink)
Here's a real life conversation I had with a friend of a friend a few weeks back.
likesleague ยท 93 points ยท Posted at 19:37:42 on August 29, 2017 ยท (Permalink)
"Oh you're a programmer? My TV won't sync to my refrigerator, you can fix that right?"
Skafandra206 ยท 26 points ยท Posted at 19:50:02 on August 29, 2017 ยท (Permalink)
1000% legit
stapler8 ยท 2 points ยท Posted at 22:32:24 on August 29, 2017 ยท (Permalink)
Relevant King of the Hill
MMEnter ยท 1 points ยท Posted at 01:38:02 on August 30, 2017 ยท (Permalink)
Calles you back 20 years later when the fridge dies to tell you you broke it!
dwpunch ยท 2 points ยท Posted at 19:17:34 on August 29, 2017 ยท (Permalink)
I mean, A LOT of programming problems are solved with a more complicated version of OP's screenshot.
JPaulMora ยท 3 points ยท Posted at 20:51:02 on August 29, 2017 ยท (Permalink)
Programming is magic right?
UncertainAnswer ยท 3 points ยท Posted at 01:59:41 on August 30, 2017 ยท (Permalink)
I had a designer ask me to make "the recommendation engine like netflix".
"You want me to make the recommendation engine better?"
"Yeah, but it has to be as good as netflix, at least or my design won't work."
"Then you should redo the design."
"What? You can't do it?"
"The algorithm at netflix has an entire company behind it. I'm developing this project. Solo."
MelissaClick ยท 2 points ยท Posted at 23:23:51 on August 29, 2017 ยท (Permalink)
Possibly a more accurate idea of what programmers do than most programmers.
2Punx2Furious ยท 1 points ยท Posted at 20:04:26 on August 29, 2017 ยท (Permalink)
Seriously. It's frustrating that most people have no idea what we even do.
Hair_in_a_can ยท 167 points ยท Posted at 16:45:24 on August 29, 2017 ยท (Permalink)
I used to think like that until I figured out you'd waste your entire life making a single call of duty game
ActuallyNotSparticus ยท 358 points ยท Posted at 18:08:23 on August 29, 2017 ยท (Permalink)
When I was little, I thought video games had a frame for every different combination of events, and just showed the corresponding image at the time it was played. I had mad respect for whoever had to pre-render each picture. I was a pretty smart dumb kid.
mister_atoms ยท 348 points ยท Posted at 18:39:40 on August 29, 2017 ยท (Permalink)
Little me actually tried to make a game this way by drawing shapes on PowerPoint slides and making the shapes into hyperlinks to other-frames. Sadly, the world was not ready for my abstract 30 second rail-shooter.
IrishWilly ยท 242 points ยท Posted at 19:11:27 on August 29, 2017 ยท (Permalink)
I made a game when I was 13 in visual basic that essentially was just this. I setup a shitton of image boxes overlapped for that wolfenstein psuedo 3d feel, then each position you could move had its own subroutine that filled in the matching image boxes for the walls/floors etc. I got as far as a couple rooms, a couple tunnels, an interactive sliding door and a gun you could pickup. Every sound was me making noises into a microphone including when you walked or when you bumped into a wall.
I think that's when I peaked as a gamedev.
krispyKRAKEN ยท 98 points ยท Posted at 19:44:21 on August 29, 2017 ยท (Permalink)
A HIDEO KOJIMA GAME
dhaninugraha ยท 2 points ยท Posted at 05:25:15 on August 30, 2017 ยท (Permalink)
Metal something something Solid
UncleChickenHam ยท 50 points ยท Posted at 19:15:33 on August 29, 2017 ยท (Permalink)
I'd buy it.
Idionfow ยท 6 points ยท Posted at 22:41:16 on August 29, 2017 ยท (Permalink)
I think that's exactly how Colonial Marines was made.
FunnyDoggo ยท 4 points ยท Posted at 20:40:49 on August 29, 2017 ยท (Permalink)
Yeah u/IrishWilly , give us a link or something
please?
IrishWilly ยท 2 points ยท Posted at 23:47:29 on September 4, 2017 ยท (Permalink)
All my projects as a kid got backed up onto zip disks :| so they lasted maybe a couple weeks before it got corrupted and lost.
jak0b3 ยท 1 points ยท Posted at 23:30:45 on August 30, 2017 ยท (Permalink)
Yep me too
Still have it u/IrishWilly ?
IrishWilly ยท 1 points ยท Posted at 23:45:48 on September 4, 2017 ยท (Permalink)
I really wish I did, this was around the time that Zip disks were popular so it got backed up onto a zip disk.. which pretty much corrupted it immediately.
Gackt ยท 4 points ยท Posted at 19:54:49 on August 29, 2017 ยท (Permalink)
HALF LIFE 3 CONFIRMED
SeriouslyWhenIsHL3 ยท 17 points ยท Posted at 19:55:34 on August 29, 2017 ยท (Permalink)
By mentioning Half-Life 3 you have delayed it by 1 Month. Half-Life 3 is now estimated for release in Sep 2098.
I am a bot, this action was performed automatically. To disable WIHL3 on your sub please see /r/WhenIsHl3. To never have WIHL3 reply to your comments PM '!STOP'.
darielgames ยท 8 points ยท Posted at 20:13:48 on August 29, 2017 ยท (Permalink)
This is a bot much needed
MaximumZer0 ยท 5 points ยท Posted at 21:35:53 on August 29, 2017 ยท (Permalink)
Good bot
PM_ME_CAKE ยท 2 points ยท Posted at 22:52:13 on August 29, 2017 ยท (Permalink)
I'm sure this bit was over 2100 weeks ago unless it's either a new bot or was reset.
ThatTrashBaby ยท 1 points ยท Posted at 23:58:04 on August 29, 2017 ยท (Permalink)
This is fine.
Gackt ยท 1 points ยท Posted at 01:06:25 on August 30, 2017 ยท (Permalink)
funny bot
nerdshark ยท -2 points ยท Posted at 20:36:58 on August 29, 2017 ยท (Permalink)
bad bot
NazgulXXI ยท 3 points ยท Posted at 21:32:02 on August 29, 2017 ยท (Permalink)
Did this but in HTML. Had a room with tiles and if you clicked on an adjacent tile, you loaded a page with an image of the same room but the guy was standing on the tile you just clicked on. Needless to say, there were many files... 1x1.html, 1x2.html etc etc.
Kinda cute tbh, didnโt know any other way to do it.
Dancingdinosaur ยท 2 points ยท Posted at 23:18:41 on August 29, 2017 ยท (Permalink)
Ah ridiculous as that is, its still impressive for a 13 year old.
u_got_a_better_idea ยท 1 points ยท Posted at 20:42:16 on August 29, 2017 ยท (Permalink)
I'd try it just based off the fact I know you made it that way.
TripleCast ยท 1 points ยท Posted at 05:04:07 on August 30, 2017 ยท (Permalink)
Honestly if you showed that in your portfolio, they'd probably hire you on work ethic with tedious tasks alone. Guess who's in charge of building microtools for their real, i mean, implementation developers?
TheTerrasque ยท 1 points ยท Posted at 06:57:15 on August 30, 2017 ยท (Permalink)
Put it up as early access, 30 dollar
Koshatul ยท 1 points ยท Posted at 08:40:17 on August 30, 2017 ยท (Permalink)
Do you still have it?
tylerfb11 ยท 52 points ยท Posted at 19:26:20 on August 29, 2017 ยท (Permalink)
Omg I have found my people! I thought I was the only kid that did this. I spent so many hours making awkward PowerPoint games, to the point where I was trying to figure out how I could 'post' them online lol.
ActuallyNotSparticus ยท 33 points ยท Posted at 20:38:00 on August 29, 2017 ยท (Permalink)
My teachers would make powerpoint "jeopardy" games that were surprisingly functional. The trick is to grey out the boxes after they are chosen, and include a hyperlink back to the main slide.
MMEnter ยท 3 points ยท Posted at 01:42:11 on August 30, 2017 ยท (Permalink)
I am surprised over and over again how powerful PowerPoint can be. I recently started using it to edit (Cut, trim, join, add pictures) videos and it work great!
kaibee ยท 6 points ยท Posted at 02:36:29 on August 30, 2017 ยท (Permalink)
I'm assuming that PowerPoint, like Excel, and Word, allows full VB scripting. So it's actually turing complete in that way.
What you probably didn't expect is that PowerPoint animations and hyperlinks alone are turing complete.
Echleon ยท 1 points ยท Posted at 16:18:32 on August 30, 2017 ยท (Permalink)
I saw a video by some professor sometime about how Powerpoint was Turing complete. It may have been another program but i'm pretty sure it was power point.
MMEnter ยท 1 points ยท Posted at 18:16:13 on August 30, 2017 ยท (Permalink)
Its power point That's what the other comment links too
PM_ME_YOUR_MASS ยท 5 points ยท Posted at 22:04:26 on August 29, 2017 ยท (Permalink)
PowerPoint game makers represent! I made a bunch of mazes, which were "pick a door" slides separated by short mini game puzzles. I also made a quasi-FPS by hyperlinking shapes that jumped around the screen. They were all pretty terrible and ugly, but I now know a lot about obscure PowerPoint animation and shape drawing tools.
MiffTheFox ยท 3 points ยท Posted at 02:41:54 on August 30, 2017 ยท (Permalink)
My style of PowerPoint game was an "obstacle course" where you moved the cursor from one point to another trying to avoid obstacles- hyperlinks to the previous slide triggered on mouseover
DeltaPositionReady ยท 1 points ยท Posted at 05:50:28 on August 30, 2017 ยท (Permalink)
Brb making this game but the mouse cursor is actually a penguin. We'll call it, Birdy flap. It'll sell millions!
your_doom ยท 6 points ยท Posted at 21:53:00 on August 29, 2017 ยท (Permalink)
In a way that's pretty much how Myst was made
mister_atoms ยท 1 points ยท Posted at 22:31:52 on August 29, 2017 ยท (Permalink)
Throw in a few 3D skeletons and you've got yourself a "Grim Fandango" going.
MelissaClick ยท 3 points ยท Posted at 23:25:14 on August 29, 2017 ยท (Permalink)
https://www.youtube.com/watch?v=uNjxe8ShM-8
youtubefactsbot ยท 1 points ยท Posted at 23:25:33 on August 29, 2017 ยท (Permalink)
bot info
Durzo_Blint ยท 2 points ยท Posted at 20:52:28 on August 29, 2017 ยท (Permalink)
It might work as a CYOA
DigiDuncan ยท 1 points ยท Posted at 00:17:48 on August 30, 2017 ยท (Permalink)
I was smart enough to know games didn't work like this.
I was not smart enough however to not think that Mapquest worked like this, and almost broke my head trying to make a Mapquest for my school.
xMcNerdx ยท 38 points ยท Posted at 18:45:48 on August 29, 2017 ยท (Permalink)
Yup I thought the same thing. I thought games worked by having someone set up every possible viewing angle from every point in the 3D/2D space in game. I thought someone had to "walk" around in game capturing everything someone could do until they found everything.
Superkroot ยท 28 points ยท Posted at 19:28:46 on August 29, 2017 ยท (Permalink)
To be fair, this is basically how Myst and Riven worked, the catch being you could only walk to certain places and see from certain angles.
CharlestonChewbacca ยท 2 points ยท Posted at 22:23:27 on August 29, 2017 ยท (Permalink)
So... like every game? /s
ActuallyNotSparticus ยท 19 points ยท Posted at 18:57:07 on August 29, 2017 ยท (Permalink)
I feel like the old fixed-camera Resident Evil games could have gotten away with that.
iktnl ยท 2 points ยท Posted at 19:01:04 on August 29, 2017 ยท (Permalink)
Wow, I thought the same thing, that the CD had all the possible images and you'd just play through them like a movie. Didn't help it was TOCA Touring Car Championship and I didn't even understand how to properly start a race.
acetominaphin ยท 2 points ยท Posted at 19:02:28 on August 29, 2017 ยท (Permalink)
they'd still be making GTA 3.
Tahlwyn ยท 1 points ยท Posted at 20:56:52 on August 29, 2017 ยท (Permalink)
I thought the same thing when I was young. I thought may have been the only one.
Papayaman1000 ยท 1 points ยท Posted at 21:15:36 on August 29, 2017 ยท (Permalink)
Mother of God. There were more of them.
Wolfblade1215 ยท 1 points ยท Posted at 21:16:31 on August 29, 2017 ยท (Permalink)
I thought the exact same thing lol.
NazgulXXI ยท 1 points ยท Posted at 21:34:35 on August 29, 2017 ยท (Permalink)
Iโve been wondering, what would the performance difference be if you made a game like this? Battlefield for example?
Slight0 ยท 1 points ยท Posted at 01:52:47 on August 30, 2017 ยท (Permalink)
Honestly that's one of the most hilariously dumb things I've ever heard.
shounenbong ยท 1 points ยท Posted at 05:35:01 on August 30, 2017 ยท (Permalink)
My mind was blown when I saw some behind-the-scenes or whatever of Disney animation; how they would have multiple transparent layers with art that they moved around (something like that). I then inferred that to be true for video games as well.
I mean, that's pretty much what sprites are, but rather than following the thought to the conclusion that a computer/console could composite these layers together on its own, I just thought that video game animation had to be such hard work, to arrange every possible combination of sprite in every possible way and grouping.
Like, I would sit down and do poor estimates of how many combinations that could be and my mind boggled at the numbers.
stouset ยท 64 points ยท Posted at 18:02:52 on August 29, 2017 ยท (Permalink)
You'd waste your life rendering the first frame of a Call of Duty game.
c3534l ยท 5 points ยท Posted at 19:14:15 on August 29, 2017 ยท (Permalink)
If you convert the manhours involved in making a single AAA game, it probably actually is close to your entire life already.
meee39 ยท 8 points ยท Posted at 17:48:52 on August 29, 2017 ยท (Permalink)
I'm indifferent, but some people would dispute you using the word "waste".
Commod0re ยท 15 points ยท Posted at 18:11:37 on August 29, 2017 ยท (Permalink)
If it takes that long, it's a waste
[deleted] ยท 1 points ยท Posted at 08:59:25 on August 30, 2017 ยท (Permalink)
don't talk that way about your mother's vagina
/jk
pseudocide759 ยท 3 points ยท Posted at 20:57:10 on August 29, 2017 ยท (Permalink)
It's call of duty. Enough said.
Superkroot ยท 1 points ยท Posted at 19:30:34 on August 29, 2017 ยท (Permalink)
People don't waste their life making a call of duty game, but they do waste their soul, it gets ground into a fine powder during crunch time.
CowboyBoats ยท 1 points ยท Posted at 19:35:46 on August 29, 2017 ยท (Permalink)
To be fair, you would indeed have to spend a lifetime building Call of Duty if you had to build everything yourself. (Starting with Unreal Engine doesn't count; to get full credit for "building everything yourself" you start with a Linux computer and that's it.)
bucketpl0x ยท 1 points ยท Posted at 23:22:34 on August 29, 2017 ยท (Permalink)
I actually wrote code like this for call of duty when I was a freshman in highschool. I wrote a page in php that would generate a COD script(like Java, not sure what it was but we called it COD script) for modded lobby hosts to use. They could customize the 10 classes that users get using my php page. There was an if/else chain for each possible option and combination(gun, skin, attachments, secondary, etc). Then I copied that big chunk 10 times for each class. I was proud at the time but recall it was thousands of lines that we're not really needed. I believe people used it though because the output wasn't as ugly and they didn't see the php code behind the simple webpage.
Even though I wasn't really good at coding I managed to make some neat mods that we're actually used by others on Xbox. Best example I have is a forge mode where I could move items, clone them, and rotate them while flying around on the map. https://youtu.be/K8WZmOw0qPg?t=67
AbsoluteZeroK ยท 85 points ยท Posted at 17:51:32 on August 29, 2017 ยท (Permalink)
Little does he know Google, Facebook and open source developers in general type like 90% of my code for me.
ConspicuousPineapple ยท 28 points ยท Posted at 18:55:45 on August 29, 2017 ยท (Permalink)
Facebook?
PM_ME_MY_REAL_MOM ยท 45 points ยท Posted at 19:16:39 on August 29, 2017 ยท (Permalink)
React.js is pretty popular
Elongatedappendages ยท 3 points ยท Posted at 21:30:13 on August 29, 2017 ยท (Permalink)
It's honestly pretty dang fun. Pretty much the only way I can get any enjoyment out of front end development-- haven't experimented much with Elm yet though, so it might still win me over.
TripleCast ยท 1 points ยท Posted at 05:05:10 on August 30, 2017 ยท (Permalink)
How do you feel about Angular2+
AbsoluteZeroK ยท 15 points ยท Posted at 19:17:11 on August 29, 2017 ยท (Permalink)
React.
ConspicuousPineapple ยท 3 points ยท Posted at 19:32:16 on August 29, 2017 ยท (Permalink)
Oh, right.
Mmarti5 ยท 2 points ยท Posted at 19:36:37 on August 29, 2017 ยท (Permalink)
ReactJS I think.
C0ffeebreak ยท 2 points ยท Posted at 22:43:38 on August 29, 2017 ยท (Permalink)
Netflix has a nice zookeeper wrapper.
somebunnny ยท 54 points ยท Posted at 18:39:27 on August 29, 2017 ยท (Permalink)
In 5th grade I decide to try and write a math quiz for the second graders on a PET in BASIC.
I also didn't know how to use variables well and hard coded 20 different addition problems. The whole time it felt so wrong to me but I didn't know what else to do.
That was my first "code smell".
The ascii animated pig face that said "good job" if they got it correct was pretty sweet though.
[deleted] ยท 49 points ยท Posted at 20:02:36 on August 29, 2017 ยท (Permalink)
[deleted]
Relevant_Monstrosity ยท 15 points ยท Posted at 20:14:38 on August 29, 2017 ยท (Permalink)
Like storing tiff files on a directory on the root of c when using a sandboxed iis environment to serve them as jpegs? Such security fail, such slow, but hey, cache it and it will seem fast for 99% of users.
Killer3p0 ยท 2 points ยท Posted at 03:29:09 on August 30, 2017 ยท (Permalink)
Sometimes it's fun to be dirty ;)
DeltaPositionReady ยท 2 points ยท Posted at 05:54:13 on August 30, 2017 ยท (Permalink)
Ah perhaps you also follow Satan's guide to Programming?
https://github.com/Droogans/unmaintainable-code
PM_ME_YOUR_MASS ยท 3 points ยท Posted at 22:10:30 on August 29, 2017 ยท (Permalink)
I created a copy of MasterMind in VB when I was in school. I was just learning the basics of OOP and GUI code, so I didn't know who data structures or the shapes really worked. I ended up creating a different shape object for every color possibility on every peg on the board (a total of 288 objects) and declaring them all by name. Then I wrote a custom method for each row to swap the colors of the circles when you clicked on them. That simple game of MasertMind ended up being over 1,000 lines of code.
KyleGG ยท 2 points ยท Posted at 19:01:14 on August 29, 2017 ยท (Permalink)
I mean this is a great acceleration method for more complex mathematical equations. Some programmers do 'do' this all day.
duckdon ยท 1 points ยท Posted at 17:52:59 on August 29, 2017 ยท (Permalink)
I thought that that was what game devs did for every pixel once.
catscatscat ยท 1 points ยท Posted at 18:52:08 on August 29, 2017 ยท (Permalink)
This was published about 21 hours ago, IIRC. Probably by a teenager (or even pre-teenager) school child.
DrHawk144 ยท 1 points ยท Posted at 23:11:01 on August 29, 2017 ยท (Permalink)
You mean it's not?
baggyzed ยท 1 points ยท Posted at 12:58:19 on August 30, 2017 ยท (Permalink)
You can't blame him/her. This is how they teach arithmetic to kids. By example. I'm surprised they didn't create some "apple" object to hold the number 1, and then use that as "apple + apple + apple +...".
[deleted] ยท -5 points ยท Posted at 16:56:36 on August 29, 2017 ยท (Permalink)
[deleted]
TheVarmari ยท 20 points ยท Posted at 17:01:04 on August 29, 2017 ยท (Permalink)
This... is definitely not loop unrolling.
MrHartreeFock ยท 10 points ยท Posted at 17:26:37 on August 29, 2017 ยท (Permalink)
Of course it is, he just attempted to unroll this classic fragment:
-Xephyr- ยท 802 points ยท Posted at 14:48:24 on August 29, 2017 ยท (Permalink)
I made a BATCH file platformer.
The level was drawn using ASCII art.
You are represented as an O.
I drew every possible location of your character using ASCII art.
Then I strung them all together by testing for keypresses and then displaying the next location of your player.
It was beautiful.
EDIT: I lost the original file, but I recreated it. Sorry if it isn't as impressive as you thought it would be, I originally made it when I was 6. http://www.mediafire.com/file/ew5p70zolgbroxo/game.bat
FlipskiZ ยท 447 points ยท Posted at 15:15:41 on August 29, 2017 ยท (Permalink)
This is how I thought games were made when I was really young. I tried coming up with other ways to do it but failed, haha.
I wasn't a smart kid.
Zabunia ยท 395 points ยท Posted at 15:26:38 on August 29, 2017 ยท (Permalink)
My first "game" used nothing but pseudo code.
Go here
do this
do that
Nine-year-old me couldn't understand why it wouldn't compile.
SirVer51 ยท 214 points ยท Posted at 16:05:08 on August 29, 2017 ยท (Permalink)
I mean, you made an effort, which is more than most people can say.
caligari87 ยท 91 points ยท Posted at 16:44:23 on August 29, 2017 ยท (Permalink)
Heh, when I was about nine or ten (late 90's) I would check this book out from my library, keep it for as many renewals as I was allowed, turn it in, wait a day, and check it out again. It was kinda frustrating because the code in the back was for Turbo BASIC (I think?) but I had GWBasic and didn't quite understand how to translate the lines that didn't work.
Finally bought it a couple years ago for nostalgia, since the library no longer had a copy. There were a few others as well, but I can no longer remember the titles. Lots of simple games from a single page of code, I loved it.
I remember my proudest achievement from this era was a flappy-bird style game where you'd fly a spaceship through a randomly-generated cave. It even had a throttle, hull integrity, and particle physics when your ship exploded. I still have the executable, though the original code has long been lost.
EDIT: Found some of those old books! Down at the bottom in the 80's section, looks like the publisher released the PDFs for free. My favorite was the Spacegames book; the "Death Valley" program on pg23 inspired my cave-flyer game. Time to pull out QB64 and get to re-writing some of these!
Rgeneb1 ยท 7 points ยท Posted at 19:11:53 on August 29, 2017 ยท (Permalink)
What a unexpected surprise seeing those again.I had the Write Your Own Adventure Programs book. I was inspired to be the next Scott Adams after playing The Count text adventure on my VIC-20. Never happened. I could say the invention of graphics killed my dreams but the truth is it was just easier to play games than write them. Thanks for the memories!
drizztdourden_ ยท 2 points ยท Posted at 04:59:54 on August 30, 2017 ยท (Permalink)
Oh my god the good old time. Check page 17... "Why not use 2D arrays?" And the answer is:
"Because it use less memory"
When was the actual last time when someone really cared about THAT level of optimization of memory. Lol....
better_off_red ยท 3 points ยท Posted at 18:59:26 on August 29, 2017 ยท (Permalink)
I checked out this same book in the 80s and even though I haven't thought about it since then, I immediately knew what your link was before I clicked it.
Yagloe ยท 3 points ยท Posted at 20:38:57 on August 29, 2017 ยท (Permalink)
Dear Lord! My best friend and I ordered that book from Troll in the fifth grade -- 1980somthing, I think. It was still in print in the late 90s?
caligari87 ยท 1 points ยท Posted at 20:41:22 on August 29, 2017 ยท (Permalink)
Not sure. My library had it at least until the early 2000s, and you can still buy used copies, but I think 1984 edition was the only edition one ever printed.
Tarzoon ยท 2 points ยท Posted at 19:41:55 on August 29, 2017 ยท (Permalink)
I have the book "Spacegames", but my copy is in Swedish.
Spacebros!
ndizzIe ยท 2 points ยท Posted at 04:14:26 on August 30, 2017 ยท (Permalink)
I love how it's all these extremely simple books about BASIC and then "machine code for beginners"
Spudd86 ยท 2 points ยท Posted at 07:39:37 on August 30, 2017 ยท (Permalink)
In the late 90's I ran across a book in the Micro Adventure series. I taught myself QBASIC and adapted the programs for that.
HelperBot_ ยท 1 points ยท Posted at 07:39:39 on August 30, 2017 ยท (Permalink)
Non-Mobile link: https://en.wikipedia.org/wiki/Micro_Adventure
HelperBot v1.1 /r/HelperBot_ I am a bot. Please message /u/swim1929 with any feedback and/or hate. Counter: 106628
WikiTextBot ยท 1 points ยท Posted at 07:39:39 on August 30, 2017 ยท (Permalink)
Micro Adventure
Micro Adventure is the title of a series of books for young adult readers, published by Scholastic, Inc. during the 1980s. Created by Eileen Buckholtz and Ruth Glick, the YA series combined adventure stories with computer activities.
The books are noted for the inclusion of short BASIC type-in programs related to the plot of the story that the reader could type into their computers, and also for the use of second-person narration (rather like the Choose Your Own Adventure series, though unlike those, Micro Adventure storylines could not be influenced by the decisions of the reader).
[ PM | Exclude me | Exclude from subreddit | FAQ / Information | Source ] Downvote to remove | v0.27
manawesome326 ยท 2 points ยท Posted at 08:54:32 on August 30, 2017 ยท (Permalink)
Upload the code to the cave flyer game if you can!
caligari87 ยท 1 points ยท Posted at 14:24:18 on August 30, 2017 ยท (Permalink)
Unfortunately the code has been long lost, to my knowledge. It may be deep in a backup folder somewhere but I haven't seen it in probably fifteen years.
I meant to upload the executable yesterday, I'll try to remember to do that later today.
Matvalicious ยท 46 points ยท Posted at 18:41:30 on August 29, 2017 ยท (Permalink)
Younger me used to try cracking game demos by finding the .exe and renaming "GameDemo.exe" to "Game.exe"
Nope, still no full game. Weird.
Freddie_AppsHero ยท 5 points ยท Posted at 23:42:19 on August 29, 2017 ยท (Permalink)
That reminds me of the House of the Dead PC demo. It was the full game, but with a 2 minute timer at the top of the screen and the game would end when it ran out. You could just use a memory editor to freeze it.
[deleted] ยท 12 points ยท Posted at 18:16:59 on August 29, 2017 ยท (Permalink)
Run it through Python, I bet it'll work.
Ninjaboy42099 ยท 2 points ยท Posted at 12:22:27 on August 30, 2017 ยท (Permalink)
My first "games" were made in Powerpoint. They used the slide transitions to fake movement and hyperlinks on invisible boxes to move your character. It worked interestingly well
asdsdfgsw52qafaff ยท 1 points ยท Posted at 12:45:38 on August 30, 2017 ยท (Permalink)
when i was nine i didn't even know enough english to actually figure out how to code lol
Hooginator ยท 63 points ยท Posted at 16:00:36 on August 29, 2017 ยท (Permalink)
Having this thought was part of what made some of the early 3D games seem so amazing to me as a kid.
I thought that for every angle from every position in every level there was an image file, sitting in an impossibly large list of images. Then the game would just pick the right image based on where you were looking.
ActuallyNotSparticus ยท 16 points ยท Posted at 18:12:59 on August 29, 2017 ยท (Permalink)
Me too. Lego Star Wars was baffling to me. How on earth did they make a frame for every character on every level?
the_lochness ยท 3 points ยท Posted at 22:04:32 on August 29, 2017 ยท (Permalink)
HOLY SHIT MY DUDES. I thought this same shit.
commit_bat ยท 5 points ยท Posted at 20:59:46 on August 29, 2017 ยท (Permalink)
3d games are what finally led me to this idea that there has got to be some thing that somehow puts the pictures together as you go.
[deleted] ยท 3 points ยท Posted at 18:19:38 on August 29, 2017 ยท (Permalink)
are you me
funny that years later I'm now doing SDE
[deleted] ยท 3 points ยท Posted at 22:03:47 on August 29, 2017 ยท (Permalink)
I've seen games on Scratch that do exactly this. I remember thinking, "holy shit, did they make a whole 3D engine?" and being really confused for a minute when I checked the source
-Xephyr- ยท 97 points ยท Posted at 15:18:14 on August 29, 2017 ยท (Permalink)
I thought programmers just touched a disk and the game would be transferred from their thoughts. So I cut out a foam video game disk, visualized the game, and stuck it in my console. Let's just say my parents were not happy.
Trapped_SCV ยท 29 points ยท Posted at 16:57:53 on August 29, 2017 ยท (Permalink)
Seriously?
-Xephyr- ยท 18 points ยท Posted at 17:01:11 on August 29, 2017 ยท (Permalink)
True story
masterpi ยท 9 points ยท Posted at 15:57:31 on August 29, 2017 ยท (Permalink)
Me too except HyperCard. I actually made a presentation once by putting a bunch of BMPs into VB and hand-entering image maps as pixel bounds checks.
EagleV_Attnam ยท 100 points ยท Posted at 15:39:03 on August 29, 2017 ยท (Permalink)
I tried to make the same. With graphics. In HTML. The 4 movement arrows on the web page were links to the corresponding page. I got bored of it very, very quickly.
As I remember, it was a toss-up between using powerpoint and HTML.
SirVer51 ยท 71 points ยท Posted at 16:05:49 on August 29, 2017 ยท (Permalink)
Should have gone with the Turing complete one
newsuperyoshi ยท 104 points ยท Posted at 16:22:51 on August 29, 2017 ยท (Permalink)
For the uninitiated.
wertperch ยท 23 points ยท Posted at 17:04:44 on August 29, 2017 ยท (Permalink)
That is the best entertainment, and the scariest, I have seen today. Beats the shit out of any cat video. Thanks for sharing!
Duck__Quack ยท 12 points ยท Posted at 18:36:47 on August 29, 2017 ยท (Permalink)
I love you for this. Just sharing it makes you a god among humankind.
[deleted] ยท 1 points ยท Posted at 12:45:08 on August 31, 2017 ยท (Permalink)
Well shit. Thanks to the current top comment on that video, I'm now trying to get PowerPoint to play Pong. Wish me luck.
Edit: buuuuuut upon further inspection, PowerPoint 2016 for Mac has jack shit in the way of support concerning animations, triggers, and the developer tab. Since I already have a Office 365 subscription, is it possible to get a different version that has some more support, like a 2013 or 2011 version?
newsuperyoshi ยท 1 points ยท Posted at 16:55:11 on August 31, 2017 ยท (Permalink)
I don't know; been using Linux as my daily driver for several years now (so no MS Office products for me), and even before that, I dropped Office before 365 was even a something (still not sure what it is). If you own 2011, I'm fairly confident that you own the license for life, so there's that.
Sky_Armada ยท 2 points ยท Posted at 21:09:07 on August 29, 2017 ยท (Permalink)
I did the same thing! Only it was a maze to navigate through. I made a version like that with HTML, and earlier in my life I made one with ascii room graphics. The ascii one read in which ascii graphic to display by reading in the map from a text file.
Rndom_Gy_159 ยท 92 points ยท Posted at 16:32:34 on August 29, 2017 ยท (Permalink)
I made a tic-tac-toe "AI" which all it was was a massive nested
ifblocks for every condition, programmed in visual basic. It was glorious. I'm still proud.aiij ยท 50 points ยท Posted at 18:25:40 on August 29, 2017 ยท (Permalink)
Good job! Now do the same for Chess!
MadXl ยท 5 points ยท Posted at 09:31:54 on August 30, 2017 ยท (Permalink)
-Xephyr- ยท 22 points ยท Posted at 17:21:16 on August 29, 2017 ยท (Permalink)
You could make it impossible to win then.
Rndom_Gy_159 ยท 41 points ยท Posted at 17:25:36 on August 29, 2017 ยท (Permalink)
I did. It's an AI after all. It should be smarter than me.
Roko's Basilisk
Rgeneb1 ยท 7 points ยท Posted at 19:15:53 on August 29, 2017 ยท (Permalink)
That reminds me I need to go buy a lottery ticket.
Bythmark ยท 10 points ยท Posted at 20:31:59 on August 29, 2017 ยท (Permalink)
I did this too! It was in PASCAL for my horrible high school programming class. I see a lot of people have been asking you for it. I'm not sure I still have it, but I will try to dig it up.
edit: looks unlikely for anytime soon. The ancient flash drive is missing. Old e-mails don't have it, and I don't have access to ye olde university e-mail anymore. I'm certain I have it somewhere, and when I find it, I'll link it.
Rndom_Gy_159 ยท 4 points ยท Posted at 21:00:07 on August 29, 2017 ยท (Permalink)
God I hope that I don't have it. Because if I do then that means it somehow managed to survive trip off of the high school library computer, onto a laptop, and then through two other laptops, and a desktop. All surviving through an unfortunate accident with partitions, and at least a dozen different windows Installs through it all.
-Xephyr- ยท 2 points ยท Posted at 10:29:20 on August 30, 2017 ยท (Permalink)
Great! I'm working on recreating it because I lost the original, but I remember the level layout. It's probably not as impressive as people invisioned, but I thought it was great. Little do people know, I made it when I was 7.
not_James_blunt ยท 24 points ยท Posted at 15:14:07 on August 29, 2017 ยท (Permalink)
I need to see this.
-Xephyr- ยท 19 points ยท Posted at 15:14:52 on August 29, 2017 ยท (Permalink)
I didn't backup the file, and it was on my old laptop... :(
not_James_blunt ยท 38 points ยท Posted at 15:19:02 on August 29, 2017 ยท (Permalink)
:( everything not saved will be lost
-Xephyr- ยท 17 points ยท Posted at 15:20:25 on August 29, 2017 ยท (Permalink)
-Nintendo Quit Game Screen
Cheesemacher ยท 2 points ยท Posted at 17:12:30 on August 29, 2017 ยท (Permalink)
Specifically the Wii
rocklou ยท 3 points ยท Posted at 16:08:35 on August 29, 2017 ยท (Permalink)
What is dead may never die
Asmor ยท 3 points ยท Posted at 16:07:25 on August 29, 2017 ยท (Permalink)
Could be fun writing up a script to generate a batch file like that.
ThunderChaser ยท 24 points ยท Posted at 16:35:10 on August 29, 2017 ยท (Permalink)
Reminds me of that time I tried to make an operating system in PowerPoint.
fb39ca4 ยท 25 points ยท Posted at 18:27:56 on August 29, 2017 ยท (Permalink)
It can actually happen: https://www.youtube.com/watch?v=uNjxe8ShM-8
EMC2_trooper ยท 3 points ยท Posted at 19:41:44 on August 29, 2017 ยท (Permalink)
That was awesome
loldudester ยท 15 points ยท Posted at 18:04:58 on August 29, 2017 ยท (Permalink)
I made a command line Naughts & Crosses (Tic-Tac-Toe) game in a computing class. I hardcoded every board-state that was a win, rather than get it to recognise 3 characters in a row in any position.
My programming career was short lived.
nathanpaulyoung ยท 4 points ยท Posted at 20:34:23 on August 29, 2017 ยท (Permalink)
I mean, that's only 8 victory conditions. That's not so bad.
loldudester ยท 3 points ยท Posted at 20:35:20 on August 29, 2017 ยท (Permalink)
No, not at all, but it looked rather silly as one long If with 7 OR's in a line.
Not a terrible bit of code, but a bad practice.
bartekko ยท 15 points ยท Posted at 15:40:26 on August 29, 2017 ยท (Permalink)
Same. I distinctly remember thinking about it while playing GTA IV. I also distinctly remember that it was the Diamonds In The Rough mission and I was driving along the road where Maisonette 9 was located but there my memory may be deceiving me.
I don't think I was seriously pondering that question at the time because by then I did know some coding (C-BOT from Colobot, pluggo pluggo ma bois) but more importantly i knew some glitches that would never have happened if people were drawing things themselves, like clipping outside the Seattle cirtuit in Gran Turismo 3. Huge shame it was fixed in GT4
PlexasAideron ยท 13 points ยท Posted at 15:14:48 on August 29, 2017 ยท (Permalink)
You need to post this.
-Xephyr- ยท 17 points ยท Posted at 15:16:29 on August 29, 2017 ยท (Permalink)
I lost the file... But I guess I could recreate it and post.
the_aquacadet ยท 10 points ยท Posted at 16:03:16 on August 29, 2017 ยท (Permalink)
Please do
-Xephyr- ยท 1 points ยท Posted at 17:04:59 on August 30, 2017 ยท (Permalink)
HERE IT IS: http://www.mediafire.com/file/ew5p70zolgbroxo/game.bat
the_aquacadet ยท 2 points ยท Posted at 18:17:39 on August 30, 2017 ยท (Permalink)
Magnificent.
HDZDID ยท 13 points ยท Posted at 17:02:24 on August 29, 2017 ยท (Permalink)
I used to make hidden object games in power point using the hyper link feature to take players to other premade slides with a couple of adjustments that depended on what item the player pressed
-Xephyr- ยท 2 points ยท Posted at 17:02:48 on August 29, 2017 ยท (Permalink)
Me too
HotfireLegend ยท 2 points ยท Posted at 17:16:17 on August 29, 2017 ยท (Permalink)
... Suddenly, I think a lot of us did!!
OverlordXenu ยท 12 points ยท Posted at 17:20:50 on August 29, 2017 ยท (Permalink)
When I was a kid, I thought this was how they made videogames, like Spyro. Like, someone had to do every possible movement to render the frame first or something.
-Xephyr- ยท 3 points ยท Posted at 17:25:35 on August 29, 2017 ยท (Permalink)
According to the responses I got, most people did!
[deleted] ยท 4 points ยท Posted at 19:50:30 on August 29, 2017 ยท (Permalink)
[deleted]
-Xephyr- ยท 2 points ยท Posted at 19:53:39 on August 29, 2017 ยท (Permalink)
O snap. Is this more hardcore, or less hardcore than my original comment?
Probably more.
[deleted] ยท 2 points ยท Posted at 20:09:33 on August 29, 2017 ยท (Permalink)
[deleted]
-Xephyr- ยท 2 points ยท Posted at 20:11:10 on August 29, 2017 ยท (Permalink)
What the heck dude, give us a download link! I'm working on recreating mine so people can see what I was really talking about also.
[deleted] ยท 3 points ยท Posted at 20:23:39 on August 29, 2017 ยท (Permalink)
[deleted]
-Xephyr- ยท 2 points ยท Posted at 20:25:25 on August 29, 2017 ยท (Permalink)
Ye!!!
[deleted] ยท 3 points ยท Posted at 20:54:37 on August 29, 2017 ยท (Permalink)
[deleted]
-Xephyr- ยท 1 points ยท Posted at 23:38:07 on August 29, 2017 ยท (Permalink)
Holy code, nice job!
lightning3105 ยท 7 points ยท Posted at 15:49:06 on August 29, 2017 ยท (Permalink)
I did this in MS PowerPoint
-Xephyr- ยท 1 points ยท Posted at 15:55:22 on August 29, 2017 ยท (Permalink)
My teacher did too.
fb39ca4 ยท 3 points ยท Posted at 18:27:33 on August 29, 2017 ยท (Permalink)
Congratulations, you made a state machine!
-Xephyr- ยท 2 points ยท Posted at 18:43:39 on August 29, 2017 ยท (Permalink)
Yay?
C0ltFury ยท 3 points ยท Posted at 18:31:17 on August 29, 2017 ยท (Permalink)
I used to send batch files that repeatedly echoed out "You've been hacked!" telling them it was my new game. They probably all hated me tbf.
imforit ยท 2 points ยท Posted at 18:03:11 on August 29, 2017 ยท (Permalink)
I wrote a tic-tac-toe AI with graphics that had every possible board state hard coded, with the correct next move for that state.
epicgrowl ยท 2 points ยท Posted at 21:50:49 on August 29, 2017 ยท (Permalink)
Oh no... I did that too a while ago. I copy pasted the level 500 times and pasted all possible character locations into it, it was something like a 5,000 line code.
izuriel ยท 2 points ยท Posted at 05:22:52 on August 30, 2017 ยท (Permalink)
That's relatively impressive starting out, IMO. My first "game" was elaborate pages that "looked" like your slowly having into a computer system. I figured out (randomly) that you could put [PAUSE] (at least something like that) on its own line and then just type a filename you made and everything to the pause would print and wait for enter. Made for great password prompts. Although not a real game, I made a bunch. After that it was"cheat" programs I made for other students in their TI-83 so they could to in their problem and it would show all the steps to copy (I was banned from using my own calculator on tests, but it's not like I didn't know it all since I wrote the code). Then finally started making menu games. Eventually sold one at $ 0.25 USD a pop, made $ 0.75 total. Felt good.
My proudest moment before being taught programming was writing a graphical pong. My only reference was the manual for the calculator. When wiring games I'd carry a notebook page that mapped the A-Z variables (only ones TI-BASIC could use) to their meaning. Man those days were fun. I'd spend every class programming.
-Xephyr- ยท 2 points ยท Posted at 10:04:16 on August 30, 2017 ยท (Permalink)
Thanks for that, that's really cool. It also gave me some good ideas for programs.
Fireborn364 ยท 1 points ยท Posted at 18:28:15 on August 29, 2017 ยท (Permalink)
Yeah I thought something like this too, that's why FPS games blew my mind, I had no idea how the developers could draw every single frame at every angle, plus all the animations! Young minds are cute.
lemonLimeBitta ยท 1 points ยท Posted at 19:48:39 on August 29, 2017 ยท (Permalink)
I did this in LUA in computercraft in minecraft for a fighting game. Admittedly there's only like 6 positions total per character. It actually worked too...
Zack1501 ยท 1 points ยท Posted at 19:51:58 on August 29, 2017 ยท (Permalink)
I made a few BAT "games". My favorite was Skype Russian roulette. You got in a Skype call and every time you pressed enter it would have a small chance to close "Skype.exe".
Aedaru ยท 1 points ยท Posted at 20:26:32 on August 29, 2017 ยท (Permalink)
I remember when I was starting my computer science course, one of the tasks we got early on was to make a revision program, whereby the user would be presented with three random definitions from a set of definitions, and would then need to write in the correct keyword. Let's just say that my friends ended up working together, and their code was literally all if statements and print() (Python 3.5). Their code would look something like this
Answer1=input() If answer1=="keyword" : Print("correct") Else: Print("wrong") Print("fourth definition, fifth definition, sixth definition")
And so on.
thePhysicist8 ยท 1 points ยท Posted at 23:25:10 on August 29, 2017 ยท (Permalink)
I remember my first text-based RPG that I made after five days of learning C++ in summer camp when I was 12. There was a fancy UI with a text box, four buttons containing actions that could be performed, a health bar and an inventory menu. The entire game was one function containing four if statements, one for each button. Each one contained dozens of levels of nested if statements.
[deleted] ยท 1079 points ยท Posted at 12:19:14 on August 29, 2017 ยท (Permalink)
Fun with interns: "Our answer database needs updating, could you expand it by 10000 answer or so?", then just walk away as if it's a completely normal request.
not_James_blunt ยท 295 points ยท Posted at 15:13:25 on August 29, 2017 ยท (Permalink)
I'd assume you want more data for testing or something and just create 10000 garbage entries.
VoraciousGhost ยท 242 points ยท Posted at 15:22:58 on August 29, 2017 ยท (Permalink)
I'd start looking for a way to script the writing of Scratch. I assume the code is actually just text.
๐๏ธ Shallllow ยท 190 points ยท Posted at 15:41:15 on August 29, 2017 ยท (Permalink)
Its stored in a json file
VoraciousGhost ยท 144 points ยท Posted at 16:12:33 on August 29, 2017 ยท (Permalink)
Not sure why I was downvoted, json is text
wanze ยท 52 points ยท Posted at 16:18:16 on August 29, 2017 ยท (Permalink)
Because obviously the solution isn't to generate more absurd code, it's to write proper code.
VoraciousGhost ยท 227 points ยท Posted at 16:32:05 on August 29, 2017 ยท (Permalink)
Right, but this is /r/programmerhumor, so my solution would be to write good code that generates bad code. Obviously I would never do that in a real setting.
FHR123 ยท 45 points ยท Posted at 17:02:15 on August 29, 2017 ยท (Permalink)
Hah, writing good code that generates bad code is easy.
On the other hand, writing garbage code that generates good code...
[deleted] ยท 59 points ยท Posted at 17:24:43 on August 29, 2017 ยท (Permalink)
[deleted]
meg_abyte ยท 2 points ยท Posted at 08:35:50 on August 30, 2017 ยท (Permalink)
And bam! Suddenly you have Autotools
Officerbonerdunker ยท 1 points ยท Posted at 08:32:48 on August 30, 2017 ยท (Permalink)
now we're thinking
TheMiiChannelTheme ยท 5 points ยท Posted at 20:05:00 on August 29, 2017 ยท (Permalink)
I prefer writing awful code designed to write awful code. Haven't had a bug since 2012.
fgben ยท 5 points ยท Posted at 21:56:30 on August 29, 2017 ยท (Permalink)
But so many features!
mathemagicat ยท 6 points ยท Posted at 18:48:06 on August 29, 2017 ยท (Permalink)
Easy! Just write code to create a file and write one letter at a time to it (each step coded by hand of course) until it contains the code that you want.
j8te4wphgje4p899h8 ยท 10 points ยท Posted at 17:21:49 on August 29, 2017 ยท (Permalink)
If it's what the PM asks for, better to just do it how they ask and not argue. Not my job to argue with the stupid PMs all day.
Papayaman1000 ยท 1 points ยท Posted at 21:19:49 on August 29, 2017 ยท (Permalink)
THen you, sir, are not invested in the field of machine learning.
[deleted] ยท 0 points ยท Posted at 20:00:55 on August 29, 2017 ยท (Permalink)
That you even had to explain this to wanze is unfortunate.
izuriel ยท 1 points ยท Posted at 05:10:15 on August 30, 2017 ยท (Permalink)
But, writing better code to make worse code now useful isn't just make "more worse code." A lot of thought and effort would go into the code generator.
wanze ยท 1 points ยท Posted at 09:45:05 on August 30, 2017 ยท (Permalink)
No, not a lot of thought would be required to generate more
if (input == "1+5") return 6nonsense.Yes, it is making more bad code.
izuriel ยท 1 points ยท Posted at 02:42:55 on August 31, 2017 ยท (Permalink)
Significantly more thought goes into building a program that can then build a worse program than writing the worse program by hand. And you might learn something new along the way.
wanze ยท 1 points ยท Posted at 13:49:15 on August 31, 2017 ยท (Permalink)
Scratch is JSON, so it'd be nothing more than generating a bunch of objects, only with a few values changed, and then pushing them to a list. I have built both compilers and code generators before, so I feel pretty confident saying that this would be very trivial.
stratos_ ยท 1 points ยท Posted at 20:27:19 on August 29, 2017 ยท (Permalink)
You didn't use enough jQuery.
HACKERcrombie ยท 1 points ยท Posted at 07:14:27 on August 30, 2017 ยท (Permalink)
Node.js and the stuff inside that
node_modulesfolder.disILiked ยท 2 points ยท Posted at 15:59:35 on August 29, 2017 ยท (Permalink)
perfect.
AverageFedora ยท 1 points ยท Posted at 00:26:41 on August 30, 2017 ยท (Permalink)
You've just made me interested in scratch, damn you
๐๏ธ Shallllow ยท 25 points ยท Posted at 17:56:54 on August 29, 2017 ยท (Permalink)
https://scratch.mit.edu/projects/172556691/ is a link to my claculator but biger generated in python
as-com ยท 15 points ยท Posted at 18:34:59 on August 29, 2017 ยท (Permalink)
even biggr: https://scratch.mit.edu/projects/172554616/ generated using yavaskript and tosh
๐๏ธ Shallllow ยท 2 points ยท Posted at 18:41:08 on August 29, 2017 ยท (Permalink)
Ah i tried just one massive if block but flash kept crashing
TurboGhast ยท 2 points ยท Posted at 15:36:04 on August 30, 2017 ยท (Permalink)
That's clearly intentional, to force people to use custom blocks and function-based coding practices as their code becomes more complex.
BloomEPU ยท 3 points ยท Posted at 17:20:23 on August 29, 2017 ยท (Permalink)
I haven't played with scratch for a while, but there was talk of a text input interface at one point, since it would help with the transition to text-based coding.
dipique ยท 3 points ยท Posted at 17:46:46 on August 29, 2017 ยท (Permalink)
Already there! And thank god, the GUI is nigh unusable for me.
Officerbonerdunker ยท 1 points ยท Posted at 08:33:40 on August 30, 2017 ยท (Permalink)
Selenium + a while loop will do it for ya, but might freeze every now and then.
youshedo ยท 11 points ยท Posted at 17:04:39 on August 29, 2017 ยท (Permalink)
How to give me a panic attack 101.
dillpiccolol ยท 2 points ยท Posted at 16:54:51 on August 29, 2017 ยท (Permalink)
INSERT INTO TableName (col1, col2)
SELECT 'junkdata', GetDate()
GO 10000
FHR123 ยท 2 points ยท Posted at 17:03:50 on August 29, 2017 ยท (Permalink)
Ever heard of RAND() function?
dillpiccolol ยท 2 points ยท Posted at 17:09:07 on August 29, 2017 ยท (Permalink)
Neat! Never had a cause to use it really.
Carrash22 ยท 1 points ยท Posted at 18:55:55 on August 29, 2017 ยท (Permalink)
Now you can use it when your boss asks you to expand their database by 10000 entries.
plasmasprings ยท 2 points ยท Posted at 20:05:33 on August 29, 2017 ยท (Permalink)
Reminds me of this gem:
PretendingToProgram ยท 1 points ยท Posted at 01:42:31 on August 30, 2017 ยท (Permalink)
Using a reference to the date vs the actual date? What the fuck is wrong with people
Burnin8 ยท 1 points ยท Posted at 03:43:07 on August 30, 2017 ยท (Permalink)
And next week ask them to add support for spaces between operands
satanicpuppy ยท 1596 points ยท Posted at 12:16:53 on August 29, 2017 ยท (Permalink)
Well, since it can deal with +/-10,000,000, I'm guessing the program is 20,000,001 conditionals long.
๐๏ธ Shallllow ยท 2305 points ยท Posted at 12:17:33 on August 29, 2017 ยท (Permalink)
Actually he got to 3+2 and then gave up
satanicpuppy ยท 1116 points ยท Posted at 12:18:24 on August 29, 2017 ยท (Permalink)
That shows a deep lack of commitment on his part. I am disappoint.
boarhog ยท 426 points ยท Posted at 15:17:09 on August 29, 2017 ยท (Permalink)
Literally unhireable
pandasdoingdrugs ยท 181 points ยท Posted at 15:27:36 on August 29, 2017 ยท (Permalink)
I know python hire me plz
HeyitsFerraro ยท 115 points ยท Posted at 16:10:44 on August 29, 2017 ยท (Permalink)
ans = 0 ans = input("Enter your equation: ") print "The answer is", ans
[deleted] ยท 103 points ยท Posted at 17:21:27 on August 29, 2017 ยท (Permalink)
HeyitsFerraro ยท 52 points ยท Posted at 17:25:20 on August 29, 2017 ยท (Permalink)
I only code in python 2.7
[deleted] ยท 87 points ยท Posted at 17:31:17 on August 29, 2017 ยท (Permalink)
That's a wrong version
AbsoluteZeroK ยท 30 points ยท Posted at 17:53:05 on August 29, 2017 ยท (Permalink)
python 2.7 is a valid choice. Choosing wrong is valid. /s
meee39 ยท 3 points ยท Posted at 17:50:34 on August 29, 2017 ยท (Permalink)
print(raw_input()) and hope the input is valid.
Tynach ยท 3 points ยท Posted at 18:29:17 on August 29, 2017 ยท (Permalink)
Put four spaces at the start of each line to turn it into a block of code. Here is how your post would look then:
jtvjan ยท 1 points ยท Posted at 07:21:06 on August 30, 2017 ยท (Permalink)
That's not recommended. The recommended way to do it is by using three backticks, like this:
```block of
code```
block of codeTynach ยท 1 points ยท Posted at 19:59:31 on August 30, 2017 ยท (Permalink)
Except Reddit's Markdown parser doesn't actually understand that format. Maybe some phone apps' parsers do, but look at your comment on the actual Reddit website - it's a mess.
jtvjan ยท 1 points ยท Posted at 20:51:48 on August 30, 2017 ยท (Permalink)
Looks like it should on my end. Here's another one:
static __always_inline unsigned long __mod_tree_val(struct latch_tree_node *n) { struct module_layout *layout = container_of(n, struct module_layout, mtn.node); return (unsigned long)layout->base; } static __always_inline unsigned long __mod_tree_size(struct latch_tree_node *n) { struct module_layout *layout = container_of(n, struct module_layout, mtn.node); return (unsigned long)layout->size; }Edit: oh, nevermind, that all appears on one line. I'm used to GitHub markdown, sorry.
Tynach ยท 2 points ยท Posted at 19:56:26 on August 31, 2017 ยท (Permalink)
No worries, easy mistake to make. What makes it obvious on the desktop website, is that in your initial post
block of codehad a border around just those words - not around a block. If it were a block of code, it'd have a border around an area as wide as the max width of a comment, like this:Gonzo_Rick ยท 25 points ยท Posted at 16:20:47 on August 29, 2017 ยท (Permalink)
Ah, but is your code so long and redundantly predictable that you need to program a macro to write large chunks for you?
King_Joffreys_Tits ยท 6 points ยท Posted at 16:39:10 on August 29, 2017 ยท (Permalink)
Damn millennials
BowserKoopa ยท 2 points ยท Posted at 06:55:51 on August 30, 2017 ยท (Permalink)
We're looking for a rockstar sanitation ninja. Must be comfortable handling human waste.
Ideal qualifications:
9 years of swift experience
32 years of ruby experience
PHd from an Ivy League school
CCIE, LFCE, RHCSA mandatory
Q level security clearance, must be SCI eligible
Pay is 6ยข an hour, withheld until 1000$
tajjet ยท 290 points ยท Posted at 12:48:19 on August 29, 2017 ยท (Permalink)
His mistake was in the order he listed them. If you listed:
1+1
1+2
2+1
1+3
2+2
3+1
... and so on, like this,
then the work would be countably infinite, not uncountably infinite.
Cyniikal ยท 73 points ยท Posted at 13:35:51 on August 29, 2017 ยท (Permalink)
Sn_1 = n + 1, n โ โ, n -> โ
Sn_2 = n + 2, n โ โ, n -> โ
Sn_1 โช Sn_2 โช Sn_3 โช ... โช Sn_m is a union of countable sets and is therefore countable.
Does changing the ordering of entries change anything?
tajjet ยท 110 points ยท Posted at 14:09:39 on August 29, 2017 ยท (Permalink)
If you keep counting 1+1, 1+2, 1+3, 1+4 ... then you will never reach 2+1. If you count in the order I listed, then you can prove that you will reach any given p+q.
I'm actually a fraud and don't know any math, but I base this on this proof.
Ibot02 ยท 63 points ยท Posted at 15:26:13 on August 29, 2017 ยท (Permalink)
The "amount" (cardinality) of the entries does not change based on how you order it though. What changes is that in the case of going
1+1, 1+2, โฆ, 2+1, โฆ, โฆ
you have a sequence of "length" (indexed by) ฯฯ while in the case of
1+1, 1+2, 2+1, 1+3, 2+2, โฆ
you have a sequence of "length" ฯ (that is, a normal sequence).
So its not about countability (which is a term describing the "size" of things) but it would still be "better" to do it the way you suggested, in the sense that one'd "only" need an infinite sequence, instead of an infinite sequence of infinite sequences.
This also means that any entry could be found in finite time, which means we'd have semi-decision procedure for addition.
WikiTextBot ยท 13 points ยท Posted at 15:26:17 on August 29, 2017 ยท (Permalink)
Recursively enumerable set
In computability theory, traditionally called recursion theory, a set S of natural numbers is called recursively enumerable, computably enumerable, semidecidable, provable or Turing-recognizable if:
There is an algorithm such that the set of input numbers for which the algorithm halts is exactly S.
Or, equivalently,
There is an algorithm that enumerates the members of S. That means that its output is simply a list of the members of S: s1, s2, s3, ... . If necessary, this algorithm may run forever.
The first condition suggests why the term semidecidable is sometimes used; the second suggests why computably enumerable is used. The abbreviations r.e.
[ PM | Exclude me | Exclude from subreddit | FAQ / Information | Source ] Downvote to remove | v0.27
Cyniikal ยท 8 points ยท Posted at 15:51:16 on August 29, 2017 ยท (Permalink)
good bot
blasterdude8 ยท 5 points ยท Posted at 16:21:48 on August 29, 2017 ยท (Permalink)
good bot
GoodBot_BadBot ยท 1 points ยท Posted at 16:21:53 on August 29, 2017 ยท (Permalink)
Thank you blasterdude8 for voting on WikiTextBot.
This bot wants to find the best and worst bots on Reddit. You can view results here.
Even if I don't reply to your comment, I'm still listening for votes. Check the webpage to see if your vote registered!
harle13 ยท 1 points ยท Posted at 22:35:37 on August 29, 2017 ยท (Permalink)
good bot
Cyniikal ยท 2 points ยท Posted at 15:31:14 on August 29, 2017 ยท (Permalink)
This was the answer I was looking for, thanks :)
[deleted] ยท 1 points ยท Posted at 16:48:53 on August 29, 2017 ยท (Permalink)
[deleted]
Deathbyceiling ยท 1 points ยท Posted at 23:32:48 on August 29, 2017 ยท (Permalink)
What about 3 + x?
StevenXC ยท 14 points ยท Posted at 15:35:46 on August 29, 2017 ยท (Permalink)
No, but if you tried ordering your work as 1+1,1+2,1+3,1+4,...,2+1,2+2,2+3,2+4,...,...,...... then you'd be order isomorphic to ฯ2, not ฯ. Both cardinalities are equal, but ฯ2 is a larger ordinal because ฯ embeds as an initial segment.
Cyniikal ยท 1 points ยท Posted at 15:48:57 on August 29, 2017 ยท (Permalink)
Thanks, just getting into analysis :)
StevenXC ยท 1 points ยท Posted at 00:17:16 on August 30, 2017 ยท (Permalink)
Enjoy!
briandoescode ยท 3 points ยท Posted at 14:59:42 on August 29, 2017 ยท (Permalink)
It doesn't. His order is just an easy way to intuitively see that it's countable.
[deleted] ยท 1 points ยท Posted at 18:29:01 on August 29, 2017 ยท (Permalink)
Couldn't you just write
double n1 double n2 Double n3
Use a cout statement to say what you want Use cin for the user input, set up a sentinel controlled loop and define n3 as n1+n2.
Seems much simpler.
Cyniikal ยท 1 points ยท Posted at 20:23:51 on August 29, 2017 ยท (Permalink)
You could, lol, but I was writing it in mathematical language.
Twinewhale ยท 1 points ยท Posted at 19:33:44 on August 29, 2017 ยท (Permalink)
Brain just broke...thanks.
SummeR- ยท 13 points ยท Posted at 16:35:05 on August 29, 2017 ยท (Permalink)
Actually, because you can order them in that specific way(as long as we accept the axiom of choice), it proves that no matter how you order them, it will remain a countable set.
https://en.wikipedia.org/wiki/Pairing_function
shamrock-frost ยท 2 points ยท Posted at 17:01:01 on August 29, 2017 ยท (Permalink)
Where does the axiom of choice come into play?
SummeR- ยท 5 points ยท Posted at 17:23:21 on August 29, 2017 ยท (Permalink)
You need to be able to order the numbers. Iirc, without the axiom of choice, it's not always possible.
shamrock-frost ยท 2 points ยท Posted at 17:27:23 on August 29, 2017 ยท (Permalink)
I think you're thinking of the well ordering theorem? In this case though we can just define the order
a+b<=c+dwhena <= cora = c and c <= d, no choice neededaraveugnitsuga ยท 2 points ยท Posted at 17:44:47 on August 29, 2017 ยท (Permalink)
Well ordering is equivalent to choice. You don't need choice for well ordered sets, but you need choice to be able to well order ANY set (or you need well ordering to have choice they are equivalent alongside enough other axioms that become theorems of one another to fill a book that's called Equivalents of the Axiom of Choice, Volumes I and II)
SummeR- ยท 1 points ยท Posted at 17:29:23 on August 29, 2017 ยท (Permalink)
Thanks. I'm kinda fuzzy on real analysis now.
tajjet ยท 1 points ยท Posted at 16:39:34 on August 29, 2017 ยท (Permalink)
Oh, thanks! I think someone else attempted to explain this to me, but that makes sense now.
Aetol ยท 1 points ยท Posted at 17:18:53 on August 29, 2017 ยท (Permalink)
Yeah, but some attempts at ordering will never be exhaustive. In particular, the naive row-by-row approach (since you will never get to the second row).
SummeR- ยท 2 points ยท Posted at 17:24:50 on August 29, 2017 ยท (Permalink)
You still only need 1 countable ordering to show that it's countably infinite though.
justanotherkenny ยท 2 points ยท Posted at 16:25:19 on August 29, 2017 ยท (Permalink)
Surely that was the problem, rather than just printing out the result of whatever random number calculation.
tajjet ยท 6 points ยท Posted at 16:27:50 on August 29, 2017 ยท (Permalink)
It's optimized bro
justanotherkenny ยท 2 points ยท Posted at 16:45:14 on August 29, 2017 ยท (Permalink)
I see now.. I was apologetically putting the desires of the lazy software maintainers before the feelings of the CPU that has to actually run this shit.
Pm_me_any_dragon ยท 1 points ยท Posted at 14:47:49 on August 29, 2017 ยท (Permalink)
wouldnt it make more sense to go:
1+2
1+2
2+1
3+1
2+2
1+3
1+4
....
to make it a line without jumps?
edit: bad paint image http://i.imgur.com/1IqMZ4Y.png
tajjet ยท 3 points ยท Posted at 14:51:10 on August 29, 2017 ยท (Permalink)
Yes, I just thought it better to do it the same way every time. I suppose that, with jumps, if you needed to find the step a certain expression was on, you could solve it more easily without having to know if a line was 'even' or 'odd.'
Pm_me_any_dragon ยท 2 points ยท Posted at 14:55:39 on August 29, 2017 ยท (Permalink)
with a single line you could express the equation with just a single number. its a form of mapping a 2d space into a 1d line.
afair its kinda like a fractal
also: made an edit to link a image
justanotherkenny ยท 3 points ยท Posted at 16:26:38 on August 29, 2017 ยท (Permalink)
This would definitely save CPU usage because the cursor wouldn't have to jump around on the screen to get to the other numbers.
mathemagicat ยท 1 points ยท Posted at 18:31:18 on August 29, 2017 ยท (Permalink)
The 'classic' way to order pairs of integers is in a spiral around the origin: (0,0), (1,0), (1,1), (0,1), (-1,1), (-1,0), (-1,-1), (0,-1), (1,-1), (2,-1), (2,0), (2,1), (2,2), (1,2), (0,2)...
Trimming that down to pairs of natural numbers would give you (1,1), (2,1), (2,2), (1,2), (3,1), (3,2), (3,3), (2,3), (1,3), (4,1)...
but any systematic approach will work just as well - his diagonals, your zigzags, whatever, as long as you can prove that your ordering will eventually get to any pair of natural numbers. (Every ordering has 'jumps', including yours; we're not in real-space, so there's no such thing as a continuous path.)
Edit re: mapping: All of the sample orderings here allow a 1:1 mapping from N to N2 .
SanDanders1 ยท 1 points ยท Posted at 21:36:52 on August 29, 2017 ยท (Permalink)
I would go with
1+1, 1+2...1+n 2+1, 2+2....2+n ..... n+1, n+2....n+n
herb_tea ยท 43 points ยท Posted at 15:03:02 on August 29, 2017 ยท (Permalink)
Why not just write a program to write a program with all the conditionals.
Jetz72 ยท 29 points ยท Posted at 17:26:18 on August 29, 2017 ยท (Permalink)
๐๏ธ Shallllow ยท 23 points ยท Posted at 15:16:42 on August 29, 2017 ยท (Permalink)
Just made one: https://repl.it/K5gA
bartekko ยท 73 points ยท Posted at 15:30:19 on August 29, 2017 ยท (Permalink)
Now I don't know Python (for religious reasons) but that looks haram to me
avematthew ยท 13 points ยท Posted at 15:56:44 on August 29, 2017 ยท (Permalink)
I still had programs that required 2.5 last year. I think they still do.
I didn't write them, but I had to use them, and they are in active development.
ValAichi ยท 8 points ยท Posted at 17:38:14 on August 29, 2017 ยท (Permalink)
Google cloud still operates on 2.7 iirc
[deleted] ยท 2 points ยท Posted at 21:55:05 on August 29, 2017 ยท (Permalink)
Now I don't mind running python 2 scripts.
What I do mind is PEOPLE NOT ADDING
#!/usr/bin/env python3.Because any modern Linux distro makes python 3 the default python executable, which means I have to create a virtual environment every time...
bartekko ยท 1 points ยท Posted at 11:07:47 on October 26, 2017 ยท (Permalink)
Update: I now know python
2A_is_the_best_A ยท 1 points ยท Posted at 01:28:31 on August 30, 2017 ยท (Permalink)
Found the perl programmer!
flinxsl ยท 2 points ยท Posted at 17:18:50 on August 29, 2017 ยท (Permalink)
A few months ago i saw posted on here a piece of real code that was a giant switch statement to convert a 8 bit binary number in string format to a decimal int.
Mrqueue ยท 1 points ยท Posted at 17:13:22 on August 29, 2017 ยท (Permalink)
a good programmer would have scripted this for the 20 000 000 conditionals
[deleted] ยท 1 points ยท Posted at 17:29:27 on August 29, 2017 ยท (Permalink)
are you saying he did
1+1
1+2
...
1+10,000,000
2+1
until he reached 3+2?
ninja edit: spelling
thahelp ยท 1 points ยท Posted at 17:57:13 on August 29, 2017 ยท (Permalink)
It would be funny if he wrote a script to finish it.
๐๏ธ Shallllow ยท 5 points ยท Posted at 17:59:03 on August 29, 2017 ยท (Permalink)
I just did: https://scratch.mit.edu/projects/172556691/ covers -10 to 10, any bigger and it would break
Eindacor_DS ยท 1 points ยท Posted at 17:59:27 on August 29, 2017 ยท (Permalink)
Maybe he/she got sidetracked writing unit tests
CantSayNo ยท 1 points ยท Posted at 18:35:36 on August 29, 2017 ยท (Permalink)
it passed his unit testing......QA's fault
wander_colossi ยท 1 points ยท Posted at 13:29:02 on August 30, 2017 ยท (Permalink)
i'm curious. how many conditionals would be required to get up to 10 million assuming you include every possible permutation of integer sums? 10000000 factorial?
๐๏ธ Shallllow ยท 1 points ยท Posted at 14:37:01 on August 30, 2017 ยท (Permalink)
Id assume it would just be 10 million ** 2
wander_colossi ยท 1 points ยท Posted at 19:04:53 on August 30, 2017 ยท (Permalink)
i think it would be higher than that. for example 1 + 2 and 2 + 1 are also valid values for 3, so 3 + 1 would include 1 + 2 + 1 and 2 + 1 + 1, and so on. it would be lower if you could only use one integer of a given value per expression.
๐๏ธ Shallllow ยท 1 points ยท Posted at 19:34:17 on August 30, 2017 ยท (Permalink)
Oh ok, i thought you just meant a + b for a up to 10 million for b up to 10 million
Jazehiah ยท -9 points ยท Posted at 12:31:05 on August 29, 2017 ยท (Permalink)
r/nocontext
Salanmander ยท 123 points ยท Posted at 15:14:54 on August 29, 2017 ยท (Permalink)
Oh it's much much worse than that. You can see that they include both 1+2 and 2+1. I assume this means they deal with every pair of numbers in that range, meaning it's probably 400,000,040,000,000 conditionals long.
mfb- ยท 60 points ยท Posted at 15:34:10 on August 29, 2017 ยท (Permalink)
Give me a second, I'll have to upgrade my hard drive to store this code.
aiij ยท 2 points ยท Posted at 18:21:49 on August 29, 2017 ยท (Permalink)
The great thing about TDD is you don't need to code for all the cases that aren't tested. /s
"You don't need any numbers between 11 and 9,999,999, do you?"
cefarix ยท 1 points ยท Posted at 04:04:55 on August 30, 2017 ยท (Permalink)
Hold up, let me write a program to automatically generate those if statements...
herrabanani ยท 1 points ยท Posted at 17:15:00 on August 29, 2017 ยท (Permalink)
So that's 400 million million right?
Salanmander ยท 15 points ยท Posted at 17:27:31 on August 29, 2017 ยท (Permalink)
Right.
For perspective, if you printed those out with one line per conditional in 12 point font and laid the pages end to end, they would reach from here to the sun.
If you stacked the pages, they would knock satellites out of orbit.
If you wrote that many conditionals and managed to do it in only 8 characters each (one character for the condition, one character for the command, 6 characters for if(){} ), and then stored that as an uncompressed text file, it would fill 32 of the biggest hard drive I could find on newegg.
If every one of Trump's tweets contained one of those conditionals, he would be a bit over 5% done when the Earth gets consumed by the expanding sun.
[deleted] ยท 3 points ยท Posted at 19:55:25 on August 29, 2017 ยท (Permalink)
r/theydidthemath but didnt leave the proof of work
TDTMMbot ยท 1 points ยท Posted at 19:55:28 on August 29, 2017 ยท (Permalink)
/r/theydidthemonstermath
Contact
Salanmander ยท 1 points ยท Posted at 20:04:15 on August 29, 2017 ยท (Permalink)
bad bot
[deleted] ยท 0 points ยท Posted at 19:56:02 on August 29, 2017 ยท (Permalink)
no stop
new_account_5009 ยท 1 points ยท Posted at 20:40:47 on August 29, 2017 ยท (Permalink)
Even better, they're if statements, not elseif statements, so you'll need to evaluate each and every one of them every time the program is executed.
kahuna_splicer ยท 47 points ยท Posted at 16:03:46 on August 29, 2017 ยท (Permalink)
When you get paid per line....
TheLastLivingBuffalo ยท 2 points ยท Posted at 16:35:03 on August 29, 2017 ยท (Permalink)
else say answer
songbirdy ยท 2 points ยท Posted at 18:43:34 on August 29, 2017 ยท (Permalink)
It actually isn't technically limited to +/-10,000,000. If the user inputs "random number" it will output a random number in that range. Else it'll check for an equation and spit out an answer.
[deleted] ยท 1 points ยท Posted at 16:46:59 on August 29, 2017 ยท (Permalink)
I know this is probably something to do with permutations/combinations but im just curious as to how you got the extra 1?
satanicpuppy ยท 2 points ยท Posted at 16:54:08 on August 29, 2017 ยท (Permalink)
Gotta have that "random number"!
Salanmander ยท 1 points ยท Posted at 17:29:29 on August 29, 2017 ยท (Permalink)
It's for the 0.
nmdarkie ยท 1 points ยท Posted at 17:52:30 on August 29, 2017 ยท (Permalink)
a switch would be WAY more efficient smh
the_dinks ยท 1 points ยท Posted at 09:06:05 on August 30, 2017 ยท (Permalink)
Still O(n)
-Xephyr- ยท 203 points ยท Posted at 12:44:41 on August 29, 2017 ยท (Permalink)
You can use logic but can't use logic.
Cha0sCat ยท 170 points ยท Posted at 16:19:47 on August 29, 2017 ยท (Permalink)
My first program (VB6) was a translator for some language a friend and me "invented". It used "If else" for all of the words. But I wanted the user to be able to enter whole sentences and have them translated. So I asked my programming teacher if it was possible to kinda split strings.
Answer was "No. Not possible".
So I feel for this dude. Ended up using different textboxes for each word.
Edit: This happened before Google became a thing and websites like Stack Overflow were created. We were given no textbooks to look anything up. Plus this was way before I even knew the English word "split".
All good now, do this professionally but still a little sour over a discouraging teacher like that.
ValAichi ยท 62 points ยท Posted at 17:43:23 on August 29, 2017 ยท (Permalink)
Different subject, but I had a teacher do the same.
I wanted to know how one could calculate, without directly measuring, atomic weight.
"You can't"
Ugh.
Dmeff ยท 16 points ยท Posted at 18:19:35 on August 29, 2017 ยท (Permalink)
I mean, at some point you need to measure stuff.
ValAichi ยท 27 points ยท Posted at 18:26:48 on August 29, 2017 ยท (Permalink)
True :P
What I meant, though, was from the number of neutrons, protons and electrons, and their specific weights.
I guess she didn't want to explain isotopes, which is probably fair enough, but still shrug
Quastors ยท 19 points ยท Posted at 19:27:03 on August 29, 2017 ยท (Permalink)
He's kinda right though, because nuclear physics is really hard, and binding energies are a significant portion of the mass of a nucleus, and it's really hard to figure out what structure the nucleus has without already knowing the mass.
ValAichi ยท 4 points ยท Posted at 19:51:26 on August 29, 2017 ยท (Permalink)
The bonds themselves add mass?
TIL. (Chemistry was not a subject I pursued after school)
Quastors ยท 10 points ยท Posted at 20:03:35 on August 29, 2017 ยท (Permalink)
Yeah, there's a mass defect between the mass you get from adding up all the protons, neutrons, and electrons, and the atomic mass; and it comes from the energy binding the protons of neutrons together (on account of that being in the ballpark of a million times more powerful than the energy binding electrons to the nucleus). That binding energy is actually why nuclear fission and fusion can release energy.
If you found a way to solve the mass defect analytically you'd probably have your nobel prize in the bag, its a central question of nuclear physics. (the wikipedia link mostly just shows how hard it is to work with)
ValAichi ยท 2 points ยท Posted at 20:40:28 on August 29, 2017 ยท (Permalink)
Huh, interesting.
Guess I have something to do over my next holiday ;P (/s, just in case)
LeHiggin ยท 3 points ยท Posted at 01:13:37 on August 30, 2017 ยท (Permalink)
No need, I figured this out in 5th grade whilst bored. /s
Puttah ยท 1 points ยท Posted at 10:32:43 on August 30, 2017 ยท (Permalink)
It only took me until the 2nd episode of Atom Ant to figure it out.
Takuya-san ยท 1 points ยท Posted at 21:59:20 on August 31, 2017 ยท (Permalink)
Thinking about some of the people I know who became school teachers, it really doesn't surprise me.
Before realising how many bad teachers there are I was against automating education with software. But honestly I don't think it can worse.
elHuron ยท 3 points ยท Posted at 21:26:17 on August 29, 2017 ยท (Permalink)
To be fair, would you want to have to help anyone split strings in VB?
Cha0sCat ยท 6 points ยท Posted at 22:53:46 on August 29, 2017 ยท (Permalink)
Too stupid to get the joke. Because VB sucks or splitting strings is easy?
Back then we didn't really have a choice. This happened before Google became a thing and we didn't even have textbooks. The teacher would hand out random pages explaining loops which we would have to work on silently. Never any real teaching. If any of our "lesson programs" wouldn't run right, he would walk around with a solution paper and compare every single line.
It's a miracle I actually still pursued programming and made it my career. And so glad Google and Stack Overflow came around xD
Edit: Came about? English is hard
elHuron ยท 2 points ยท Posted at 19:55:55 on August 30, 2017 ยท (Permalink)
Nope, you got it :-)
However, a teacher should never say "no". "I don't know" is fine, but never "no".
I had a similar experience in high school; we had an exam on programming before we actually touched a computer! Of course, marks off for forgetting semicolons and the like.
ramond_gamer11 ยท 1 points ยท Posted at 03:03:54 on August 30, 2017 ยท (Permalink)
This is why you use stack exchange.
I'm JK it's perfectly fine to go to a teacher for advice.
Cha0sCat ยท 2 points ยท Posted at 06:35:27 on August 30, 2017 ยท (Permalink)
This was many years ago before Google or such websites became a thing. Plus we were given no textbooks. He was the only one to ask back then.
ramond_gamer11 ยท 3 points ยท Posted at 13:47:46 on August 30, 2017 ยท (Permalink)
Woah, dude I got mad respect. I don't know where I would be in programming had the Internet or even textbooks.
Cha0sCat ยท 2 points ยท Posted at 15:19:57 on August 30, 2017 ยท (Permalink)
Safe to say my programming skills improved rapidly after Google entered my world and my English skills were good enough to actually get results from it. xD
And it's not like there weren't textbooks at all. Just that my school/teacher didn't offer them and I didn't know where to look. Some time after this incident my parents researched and bought me one though.
3no3 ยท 95 points ยท Posted at 15:52:04 on August 29, 2017 ยท (Permalink)
Am I the only one who noticed the missing 1+7?
-100-Broken-Windows- ยท 61 points ยท Posted at 18:01:31 on August 29, 2017 ยท (Permalink)
Well the calculator's buttons do only go up to six.
WittyLoser ยท 36 points ยท Posted at 18:35:39 on August 29, 2017 ยท (Permalink)
That wasn't in the requirements, boss. I have the spec right here and it doesn't say we have to handle 1+7. I tried to bring it up in the design review but nobody wanted to discuss it. You clearly told me to implement exactly what your spec said, so I did.
whitefang22 ยท 7 points ยท Posted at 19:47:58 on August 29, 2017 ยท (Permalink)
r/notmyjob
sneakpeekbot ยท 1 points ยท Posted at 19:48:05 on August 29, 2017 ยท (Permalink)
Here's a sneak peek of /r/NotMyJob using the top posts of the year!
#1: Maybe he should hire a someone for that... | 368 comments
#2: [NSFW] It's the price you pay "NSFW" | 207 comments
#3: I mowed my elderly neighbors lawn. The people on the left of her mowed a day after. I guess i didnt mow right to the property line. I officially hate these people now. | 1132 comments
I'm a bot, beep boop | Downvote to remove | Contact me | Info | Opt-out
kn33 ยท 1 points ยท Posted at 23:43:53 on August 29, 2017 ยท (Permalink)
/r/maliciouscompliance
AjayDevs ยท 239 points ยท Posted at 14:10:57 on August 29, 2017 ยท (Permalink)
Pretty much my first Java game. I started out with Python with no concept of classes and didn't know what arrays are. I then made a java tower defense game all in one class with variables like m1 M2 m3 (for monsetrs). I don't understand how I had the patience to continue, let alone continue learning programming.
RandyZ524 ยท 162 points ยท Posted at 15:33:34 on August 29, 2017 ยท (Permalink)
That reminds me of that game on Steam that uses 0 loops and arrays, instead relying on the structure of the main class to act as a loop. It was really impressive to see thousands of lines reserved solely for variable initialization.
disILiked ยท 65 points ยท Posted at 16:01:39 on August 29, 2017 ยท (Permalink)
...which game?
RandyZ524 ยท 105 points ยท Posted at 16:34:40 on August 29, 2017 ยท (Permalink)
Here it is!
FHR123 ยท 41 points ยท Posted at 17:05:39 on August 29, 2017 ยท (Permalink)
Oh god. That is horrible
[deleted] ยท 11 points ยท Posted at 03:05:27 on August 30, 2017 ยท (Permalink)
Some people say "if it's stupid but it works, it isn't stupid" this is stupid even if it works.
Dasaru ยท 31 points ยท Posted at 20:40:53 on August 29, 2017 ยท (Permalink)
I see I'm not the only one that writes comments like that from time to time.
DeltaPositionReady ยท 3 points ยท Posted at 06:20:42 on August 30, 2017 ยท (Permalink)
Even Carmack did this when he wrote the fast inverse square root-
https://en.m.wikipedia.org/wiki/Fast_inverse_square_root
HelperBot_ ยท 2 points ยท Posted at 06:20:48 on August 30, 2017 ยท (Permalink)
Non-Mobile link: https://en.wikipedia.org/wiki/Fast_inverse_square_root
HelperBot v1.1 /r/HelperBot_ I am a bot. Please message /u/swim1929 with any feedback and/or hate. Counter: 106617
WikiTextBot ยท 2 points ยท Posted at 06:20:49 on August 30, 2017 ยท (Permalink)
Fast inverse square root
Fast inverse square root, sometimes referred to as Fast InvSqrt() or by the hexadecimal constant 0x5f3759df, is an algorithm that estimates 1/โx, the reciprocal (or multiplicative inverse) of the square root of a 32-bit floating-point number x in IEEE 754 floating-point format. This operation is used in digital signal processing to normalize a vector, i.e., scale it to length 1. For example, computer graphics programs use inverse square roots to compute angles of incidence and reflection for lighting and shading. The algorithm is best known for its implementation in 1999 in the source code of Quake III Arena, a first-person shooter video game that made heavy use of 3D graphics.
[ PM | Exclude me | Exclude from subreddit | FAQ / Information | Source ] Downvote to remove | v0.27
pf2- ยท 24 points ยท Posted at 17:26:18 on August 29, 2017 ยท (Permalink)
That guy was probably went: loops? That's programming on ez mode
HumunculiTzu ยท 28 points ยท Posted at 17:39:18 on August 29, 2017 ยท (Permalink)
The most hardcore programmers write in binary.
subject_usrname_here ยท 2 points ยท Posted at 23:57:25 on August 29, 2017 ยท (Permalink)
01010110 01101111 01101001 01100100 00100000 01000001 01100111 01110010 01100101 01100101 01100100 00101000 00101001 01111011 01111101
HumunculiTzu ยท 2 points ยท Posted at 01:41:43 on August 30, 2017 ยท (Permalink)
01011001 01101111 01110101 00100000 01100110 01101111 01110010 01100111 01101111 01110100 00100000 01110100 01101111 00100000 01110010 01100101 01110100 01110101 01110010 01101110 00100000 01110100 01110010 01110101 01100101 00101110
Benedoc ยท 2 points ยท Posted at 06:24:52 on August 30, 2017 ยท (Permalink)
You can still write a loop in binary though...
Ebi5000 ยท 1 points ยท Posted at 01:52:38 on August 30, 2017 ยท (Permalink)
He should have advertised the fact on steam
Crespyl ยท 25 points ยท Posted at 16:38:43 on August 29, 2017 ยท (Permalink)
I think I recall seeing the same thing, an independent developers C# project, that was actually a decent game IIRC.
I wish I could remember the name, it was kind of horrifying and also inspiring. I always get hung up on writing "good code" that I can be proud of in its own right, and forget that I could just be banging out crappy code that adds up to a working game.
rakeler ยท 13 points ยท Posted at 16:54:35 on August 29, 2017 ยท (Permalink)
As I'm learning the hard way, crappy code that somehow works is for Today You. Good Code that works is for Tomorrow You.
First is for a job you are about to leave anyway. Second is for personal projects that you leverage to get said job.
superkaptajnen ยท 1 points ยท Posted at 20:50:04 on August 29, 2017 ยท (Permalink)
For some reason this reminds of the scripting language in the original Mafia game. Every object in the game only had a variable, which was an array in which you could only store integers.
How they were able to make an entire game with those kinds of restrictions is beyond me.
RandyZ524 ยท 2 points ยท Posted at 21:08:04 on August 29, 2017 ยท (Permalink)
You can sculpt a stature with a feather. It's just gonna take a really long time.
subject_usrname_here ยท 1 points ยท Posted at 23:56:03 on August 29, 2017 ยท (Permalink)
And that should be motivation for us all. Seriously. If your code is decent enough, works as intended, and you still unsure if your game/project is any good to show to anybody, look at this mess. Look at him making bunch of lines, making a code unreadable, but being so persistent with it so it somehow works. Even so, game looks good enough and looking at reviews, it's actually playable.
With that being told, I would pay to see source code of this mess of a game: https://steamcommunity.com/app/295810 sadly is off the steam now, but hilarious youtube videos remains: https://www.youtube.com/watch?v=V3JK_2GLBSk
RandyZ524 ยท 2 points ยท Posted at 02:15:13 on August 30, 2017 ยท (Permalink)
That's exactly what I thought. Reading through just a bit of that code is enough to dispel any "Imposter Syndrome" thoughts one might have.
TheOmnipotentPilot ยท 1 points ยท Posted at 03:36:49 on August 30, 2017 ยท (Permalink)
Well. Use what you know, I guess. I mean, he wrote a game and I haven't. And I know about loops. Who's the real winner?
iownall555 ยท 1 points ยท Posted at 06:25:11 on August 30, 2017 ยท (Permalink)
The first time I tried making a game in C++, I didn't fully understand allocating memory on the heap and as a result didn't delete stuff. Cue my game leaking objects (including a bunch of SDL_Surface structs) 60 times a second.
Jonas_Wepeel ยท 110 points ยท Posted at 15:37:12 on August 29, 2017 ยท (Permalink)
This is so adorable.
thomaskcr11 ยท 140 points ยท Posted at 16:44:48 on August 29, 2017 ยท (Permalink)
I teach scratch to kids and some of their programs just get insanely complex. The amount of time children have to devote to a pet project is actually crazy. It's always really exciting when a kid comes to me with an idea of their own because I know they will devote hours and hours to programming now that they are chasing a goal. My goal is just to get as many kids as possible to have their own idea they are passionate about as fast as possible.
Sometimes one will come with a question on their project and I'll open it up and go "oh boy" when it's 20 sprites, 15 backgrounds and just pages and pages of orange (or god forbid, brown (messages/events)).
HardBoiled800 ยท 70 points ยท Posted at 18:42:57 on August 29, 2017 ยท (Permalink)
Scratch inspired me to start programming (still in high school, so no idea if I'll continue it) thanks to a teacher like you.
My computer teacher gave us a week for Scratch, with Day 1 being Sprites, Backgrounds, and moving based on keyboard input, Day 2 being using a background to make a maze game where you would either die by going off or move to the next level at the end, Day 3 being enemy creation, and days 4 and 5 being the days of fucking around. More often than not, the last two days were used to create weapons systems (which never worked, because we were 12.)
I spent those two days, as well as time at home and some days leading up to it creating a moving cannon that fired billets periodically at the player. I was so proud of that cannon, and it was because of a teacher like you. She put it into the curriculum, and that may have been one of the best days of my life. I just wish I had had more time, like your students do.
Never stop what you're doing. You're changing lives.
spacecatapult ยท 5 points ยท Posted at 02:23:17 on August 30, 2017 ยท (Permalink)
Thank you for writing this. I teach younger students with Scratch. I've seen many of them take to projects in the same way. Your story is the one that I hope they are forming for themselves.
The_Batmen ยท 3 points ยท Posted at 11:50:51 on August 30, 2017 ยท (Permalink)
I think it was in 7th grade when we had a project week. One group would learn cooking and later make pie for the whole class, one group would learn a stupid dance and present it, and some other stuff like that. Me and my best friend were lucky enough to get into the Scratch group. At the end of the week they were allowed to play our game. They got maybe 30 seconds of terrible gameplay in exchange for dancing for us or making cakes. Second best last week of the year ever!
hawaiian0n ยท 2 points ยท Posted at 19:16:32 on August 29, 2017 ยท (Permalink)
I teach Scratch too! It's been such a great tool to get students toes wet with programming.
What grades do you teach? There's not a lot of scratch teachers out here in Hawaii so it's always exciting to run to someone else who teaches with it.
spacecatapult ยท 1 points ยท Posted at 02:24:04 on August 30, 2017 ยท (Permalink)
I'm using Scratch on the opposite side of the country (Maine) with primarily 4th and 5th graders.
Blacknarcissa ยท 2 points ยท Posted at 20:32:50 on August 29, 2017 ยท (Permalink)
I'm doing my final project at university at the moment and I've been tasked with creating a website for teachers of Key Stage 2 (age 5-11 I think) Scratch. I wasn't familiar with it all beyond knowing my niece does it at school. It's been so cool to immerse myself into the ed/Scratch world.
uninterestingly ยท 1 points ยท Posted at 19:16:03 on August 29, 2017 ยท (Permalink)
Do we work together
Zazzo-man ยท 52 points ยท Posted at 16:39:12 on August 29, 2017 ยท (Permalink)
Meanwhile there is online 3d lasertag on the same website.
SHyguymoll ยท 20 points ยท Posted at 19:40:32 on August 29, 2017 ยท (Permalink)
Griffpatch is a god on there.
superezfe ยท 43 points ยท Posted at 18:41:59 on August 29, 2017 ยท (Permalink)
Just figured I'd make this "properly" for people who are curious: imgur/JN750rd
edit: And here it is in an actual programming language: gist.github/8988...
KingSupernova ยท 30 points ยท Posted at 01:56:24 on August 30, 2017 ยท (Permalink)
You allowed inputs above 7. That's a violation of the design spec, your code is clearly worthless.
BestPseudonym ยท 12 points ยท Posted at 01:13:59 on August 30, 2017 ยท (Permalink)
This is so much more confusing than actual common languages like Java and C++ wtf
superezfe ยท 3 points ยท Posted at 01:31:22 on August 30, 2017 ยท (Permalink)
I made it into an actual programming language here. Tried to follow the original model instead of designing a much better system etc.
neotek ยท 6 points ยท Posted at 02:15:55 on August 30, 2017 ยท (Permalink)
You misspelt claculator.
toth42 ยท 1 points ยท Posted at 06:55:34 on August 30, 2017 ยท (Permalink)
I didn't understand all of that, but I see it looks exactly like an appmaker for Android I used - if this is for computer/web, would you mind telling me what the software is that lets you code in blocks like this?
dalazze ยท 2 points ยท Posted at 08:25:27 on August 30, 2017 ยท (Permalink)
it's Scratch, a simple code teaching website
fullstackstoner ยท 55 points ยท Posted at 15:33:47 on August 29, 2017 ยท (Permalink)
The same guy did Awesome OS which is just what its name suggests. EDIT: Awsome
๐๏ธ Shallllow ยท 42 points ยท Posted at 15:38:48 on August 29, 2017 ยท (Permalink)
Actually called "Awsome OS"
slorge ยท 38 points ยท Posted at 16:09:23 on August 29, 2017 ยท (Permalink)
You have shutted down Awesome OS
TheCatOfWar ยท 29 points ยท Posted at 17:40:27 on August 29, 2017 ยท (Permalink)
Can we make this guy an honourary subreddit meme? Not in a mean way, it's just so perfect :D
๐๏ธ Shallllow ยท 5 points ยท Posted at 20:45:45 on August 29, 2017 ยท (Permalink)
Claculator man
alsiola ยท 15 points ยท Posted at 17:48:52 on August 29, 2017 ยท (Permalink)
More release notes should be written in this style
1bc29b36f623ba82aaf6 ยท 1 points ยท Posted at 00:06:07 on August 30, 2017 ยท (Permalink)
Would be nice to include it in whatthecomit.com or something
Colopty ยท 22 points ยท Posted at 16:15:58 on August 29, 2017 ยท (Permalink)
Oh that's precious :D
Good on him for keeping at it. Might be a good programmer one day.
KangarooJesus ยท 9 points ยท Posted at 18:04:34 on August 29, 2017 ยท (Permalink)
I messed around with Scratch back in the day. This is exactly like the stuff I would make.
I tried to make a game called 'Super Scratch Bros'.
Colopty ยท 2 points ยท Posted at 18:49:35 on August 29, 2017 ยท (Permalink)
Nice. I once made the Scratch character go to the right, exit the screen, and never return. Decided that goddamnit I spent an entire five minutes figuring out how to do that and it didn't look like a triple A game? Never gonna use that again!
[deleted] ยท 1 points ยท Posted at 01:19:36 on August 30, 2017 ยท (Permalink)
[deleted]
m32th4nks ยท 1 points ยท Posted at 01:19:39 on August 30, 2017 ยท (Permalink)
Me too thanks
AfroMonkey010 ยท 3 points ยท Posted at 16:32:09 on August 29, 2017 ยท (Permalink)
oof heavy
ThunderChaser ยท 10 points ยท Posted at 16:34:13 on August 29, 2017 ยท (Permalink)
To be fair that's better than anything I could do in scratch.
GuyFauwx ยท 6 points ยท Posted at 16:39:50 on August 29, 2017 ยท (Permalink)
it's based on several iterations by others though. still cute
TheCatOfWar ยท 2 points ยท Posted at 17:41:07 on August 29, 2017 ยท (Permalink)
I made a shitty Defender clone once and it got like 2000 plays. Add that to my list of lifetime achievements I guess
JediBurrell ยท 1 points ยท Posted at 04:37:46 on August 30, 2017 ยท (Permalink)
You should put that in your resume.
ImTrulyAwesome ยท 5 points ยท Posted at 19:01:08 on August 29, 2017 ยท (Permalink)
Can't wait til the terminal commands are added in 6.0!
rasamson ยท 2 points ยท Posted at 18:19:00 on August 29, 2017 ยท (Permalink)
Needs a better volume slider.
KingSupernova ยท 1 points ยท Posted at 02:00:16 on August 30, 2017 ยท (Permalink)
"You can only search Minecraft."
Seems fine to me.
TheOmnipotentPilot ยท 1 points ยท Posted at 03:36:23 on August 30, 2017 ยท (Permalink)
I'm on mobile. Did this person build an ENTIRE FUCKING OPERATING SYSTEM in scratch?!
More likely it's just something that looks and feels like a window manager, right?
[deleted] ยท 22 points ยท Posted at 17:55:20 on August 29, 2017 ยท (Permalink)
[deleted]
varavash ยท 6 points ยท Posted at 20:24:19 on August 29, 2017 ยท (Permalink)
That could be a product of his boss. A lot of managers will evaluate programmers based on number of lines written because they just don't know how else to evaluate them.
soundstripe ยท 149 points ยท Posted at 15:55:26 on August 29, 2017 ยท (Permalink)
Oh are we making fun of young kids learning to program now?
๐๏ธ Shallllow ยท 333 points ยท Posted at 15:56:28 on August 29, 2017 ยท (Permalink)
yes
soundstripe ยท 141 points ยท Posted at 15:58:19 on August 29, 2017 ยท (Permalink)
Ok. Just checking.
SirArchieCartwheeler ยท 53 points ยท Posted at 17:33:06 on August 29, 2017 ยท (Permalink)
Good. Takes the heat off me, an adult, as I learn to program.
Smalltown_Scientist ยท 20 points ยท Posted at 17:29:43 on August 29, 2017 ยท (Permalink)
I mean, if it an older person, this is just another insult.
๐๏ธ Shallllow ยท 58 points ยท Posted at 13:33:37 on August 29, 2017 ยท (Permalink)
Here is the link: https://scratch.mit.edu/projects/172269409/
MyKidsArentOnReddit ยท 280 points ยท Posted at 15:26:32 on August 29, 2017 ยท (Permalink)
Before people follow this link and leave snarky comments, I'd just like to remind everyone that scratch is meant for children. There is probably an 8 year old on the other end who is very proud of the first software program they've ever made. Please be nice.
๐๏ธ Shallllow ยท 60 points ยท Posted at 15:28:25 on August 29, 2017 ยท (Permalink)
Yeah, I don't intend for people to do that, the link is just for reference
Asmor ยท 54 points ยท Posted at 16:09:54 on August 29, 2017 ยท (Permalink)
Good call. One of the first things I remember writing when I was teaching myself JavaScript as a kid was a script that would bring up a
promptdialog asking for your name, and then greet you. Except if you entered my name, it would give you a special greeting.And I was also very clever because I checked if you entered
Asmor,asmor, orASMOR.sooper_human ยท 20 points ยท Posted at 18:08:07 on August 29, 2017 ยท (Permalink)
Dude why did you make your name your Reddit user name
Asmor ยท 18 points ยท Posted at 18:40:00 on August 29, 2017 ยท (Permalink)
Wait, we can change our names on here?!
Live_Think_Diagnosis ยท 4 points ยท Posted at 23:20:13 on August 29, 2017 ยท (Permalink)
no
JediBurrell ยท 2 points ยท Posted at 04:34:58 on August 30, 2017 ยท (Permalink)
Why not?
Uranium-Sauce ยท 24 points ยท Posted at 15:57:20 on August 29, 2017 ยท (Permalink)
I can probably find better codes on scratch than my interns.
stakoverflo ยท 26 points ยท Posted at 16:17:04 on August 29, 2017 ยท (Permalink)
Why are you searching for code on your interns?
Maleval ยท 10 points ยท Posted at 17:29:52 on August 29, 2017 ยท (Permalink)
Why are his interns searching for scratch codes?
EarnieMadoff ยท 3 points ยท Posted at 17:57:00 on August 29, 2017 ยท (Permalink)
fact an 8 year old understands if then statements impresses me.
fb39ca4 ยท 3 points ยท Posted at 18:29:42 on August 29, 2017 ยท (Permalink)
I love the author's reaction when he found out he was featured here!
Garbaz ยท 3 points ยท Posted at 19:17:20 on August 29, 2017 ยท (Permalink)
Kinda fitting name.
MyKidsArentOnReddit ยท 2 points ยท Posted at 13:09:49 on August 30, 2017 ยท (Permalink)
My kids may not be on reddit, but they are on scratch. :-)
trollly ยท 2 points ยท Posted at 18:16:27 on August 29, 2017 ยท (Permalink)
Still better than LabView.
ohrules ยท 2 points ยท Posted at 18:38:14 on August 29, 2017 ยท (Permalink)
!RedditSilver
-Xephyr- ยท 20 points ยท Posted at 15:56:54 on August 29, 2017 ยท (Permalink)
Let's send loves and favorites to the project! Will make the kids day :)
ThatGuyWhoLikesSpace ยท 1 points ยท Posted at 22:10:02 on August 29, 2017 ยท (Permalink)
Creating an account just for that purpose :D
ASentientBot ยท 6 points ยท Posted at 15:50:40 on August 29, 2017 ยท (Permalink)
Liked + favorited :D
WhipeeDip ยท 4 points ยท Posted at 19:38:00 on August 29, 2017 ยท (Permalink)
He's so happy that his project was featured here :D https://i.imgur.com/AAItPD5.png
[deleted] ยท 2 points ยท Posted at 19:23:16 on August 29, 2017 ยท (Permalink)
[deleted]
Epicepicman ยท 1 points ยท Posted at 19:39:54 on August 29, 2017 ยท (Permalink)
should we tell him?
Kevintrades ยท 2 points ยท Posted at 19:51:32 on August 29, 2017 ยท (Permalink)
Ay he checks the subreddit good on him
-PandaJack- ยท 42 points ยท Posted at 12:59:20 on August 29, 2017 ยท (Permalink)
this kills the brain
Bibbedibob ยท 15 points ยท Posted at 15:58:26 on August 29, 2017 ยท (Permalink)
I love Scratch
lolinokami ยท 14 points ยท Posted at 16:13:59 on August 29, 2017 ยท (Permalink)
That lack of space after the comma is the real crime here.
thomascgalvin ยท 23 points ยท Posted at 15:19:32 on August 29, 2017 ยท (Permalink)
Well, we've finally found something that will break people worse than BASIC.
dipique ยท 21 points ยท Posted at 17:49:00 on August 29, 2017 ยท (Permalink)
PHP was discovered a while ago.
aprofessional ยท 11 points ยท Posted at 15:53:09 on August 29, 2017 ยท (Permalink)
What, don't you know lookup tables are faster? /s
He's clearly just trying to build an IBM 1620 emulator.
Gummypepper ยท 1 points ยท Posted at 12:14:57 on August 30, 2017 ยท (Permalink)
To those that haven't heard about the CPU lookup table bug: https://en.wikipedia.org/wiki/Pentium_FDIV_bug
Zv0n ยท 12 points ยท Posted at 16:44:10 on August 29, 2017 ยท (Permalink)
I like how giving random number is a function, but adding numbers? We have to do that manually!
MinCarve ยท 9 points ยท Posted at 16:12:46 on August 29, 2017 ยท (Permalink)
he forgot to add NaN + NaN
ThatGuyYouMightNo ยท 10 points ยท Posted at 22:57:11 on August 29, 2017 ยท (Permalink)
"Dude, just use the addition blocks and ask for two numbers."
"NO! I want to make this program...
From scratch."
TheWildNoober ยท 9 points ยท Posted at 16:17:16 on August 29, 2017 ยท (Permalink)
Doesn't scratch already have math equation code?
NocturneOpus9No2 ยท 1 points ยท Posted at 22:13:02 on August 29, 2017 ยท (Permalink)
Yeah, but that would use 3 separate inputs:
First value; "2"
Operation; "+"
Second value; "3"
and this calculator uses one input like "2+3," which Scratch can't parse without a bit of extra work.
nuclearchickenman ยท 9 points ยท Posted at 16:36:26 on August 29, 2017 ยท (Permalink)
I laugh at this yet this is how I would code.
idiotbaby ยท 2 points ยท Posted at 18:58:29 on August 29, 2017 ยท (Permalink)
I laughed because I understood because I learned because I did
hotlavatube ยท 10 points ยท Posted at 18:00:16 on August 29, 2017 ยท (Permalink)
Reminds me of test-driven-design (TDD). I went to a workshop by our local TDD enthusiast and he had us program our routines like that. The example he had us do was something like squaring a number. So you first start by having the squaring function just return zero. Then you write a test for squaring zero, then you write a test for squaring 1 and the test fails, so you re-write the squaring function to return 0 if input is zero and 1 if the input is 1. Repeat tests, repeat development, etc. I could see how if you didn't recode function properly, you could end up with just a giant nested if statement.
Silidus ยท 9 points ยท Posted at 20:04:12 on August 29, 2017 ยท (Permalink)
It looks bad,
but I legitimately code reviewed the following by a peer a few years ago;
int arr[10];
for (int i = 0; i < 10; ++i)
{
if (i == 8)
if (i == 7)
...
...
(and so on and so forth).
LordOfDemise ยท 2 points ยท Posted at 06:06:33 on August 30, 2017 ยท (Permalink)
Markup fixed for my own sanity's sake:
Silidus ยท 1 points ยท Posted at 10:48:51 on August 30, 2017 ยท (Permalink)
Lol... Reddit isn't great for for.atting code.
Haramboid ยท 6 points ยท Posted at 19:06:14 on August 29, 2017 ยท (Permalink)
As a kid, I thought the games on the N64 were made by making thousands of pictures and putting them all together to make an interactive game.
im_dead_sirius ยท 5 points ยท Posted at 20:48:42 on August 29, 2017 ยท (Permalink)
My first exposure to programming as a kid was my cousin's Commodore 64. It had special extended characters/icons that were easy to type, and I thought that you could assign a score by typing the value in the right part of the screen, then overlaying characters to make the shape of an enemy. You know, shoot the enemy, reveal the score, it gets added to your game score.
It wasn't so different from the Scratch concept of dragging elements to make a composite object. In that sense, they are onto something.
So I spent several hours having a great deal of fun laying out a game screen, then we went home.
Later I received money as a reward for something I did, and I spent a good deal of time wracking my brain between getting a C=>64 and a TRS-80. I went with the Radio Shack machine, which was poorer for games, but there was something in it that appealed more to me, that escapes me now. Programming wasn't like I thought it was, but I caught the bug!
I still have that old machine tucked away in my closet.
kaiomann ยท 6 points ยท Posted at 17:00:53 on August 29, 2017 ยท (Permalink)
Scratch is great. I remember creating multiplayer Pong in it, complete with accurate angles for the ball to bounce off.
Zazzo-man ยท 4 points ยท Posted at 20:02:48 on August 29, 2017 ยท (Permalink)
On scratch good Pong like games and bad Pong like games were decided on if they had accurate angles.
I felt so smart when I figured out an equation that let me have a ball bounce off a line of any angle and have it still be accurate.
kaiomann ยท 3 points ยท Posted at 21:22:38 on August 29, 2017 ยท (Permalink)
Yeah that was the hardest part for 12 year old me. I tried to give the second slider some kind of AI aswell but that was too tricky.
I just remembered that I also put in different gamemodes, like one where the ball randomly sped up.
Scratch was fun.
imforit ยท 5 points ยท Posted at 17:33:08 on August 29, 2017 ยท (Permalink)
I work in CS Education, and the Scratch group is a good friend of ours, and hot damn I'm passing this around everywhere. Frivolity to ensue.
DontLikeJelly8 ยท 7 points ยท Posted at 17:58:45 on August 29, 2017 ยท (Permalink)
My 9y old son made an even better version in Scratch. He made a 1 to 100 number guessing game by drawing every number as a background. Then copied 'code' from a game he saw in a book to change to the next background in for loop. At least he had the for loop.
You have to admire the stamina on these kids.
MK1034 ยท 4 points ยท Posted at 20:55:30 on August 29, 2017 ยท (Permalink)
This picture reminds me a lot of a moment when I was in first grade. We were learning basic math and I absolutely loved it. At some point while I was at home I thought it would be the greatest idea ever to write out every math equation possible.
Of course I only knew addition and some subtraction, but that didn't stop me. I grabbed some paper and started writing them all out. 1+1, 1+2, 1+3, and so on.
I think I made it through half a sheet of paper before I realized I'd never even finish the 1+x section.
Pi-R-Squared ยท 5 points ยท Posted at 21:40:20 on August 29, 2017 ยท (Permalink)
Lmao! this reminded me of when my friend learned about if statements for the first time, then asked me "So is AI just basically millions of "if" statements?"
databeast ยท 3 points ยท Posted at 04:30:34 on August 30, 2017 ยท (Permalink)
well, considering computers are just trillions of boolean gates, he's...not wrong...
Pi-R-Squared ยท 2 points ยท Posted at 16:34:27 on August 30, 2017 ยท (Permalink)
lmao.... this is unfortunately true.
meee39 ยท 5 points ยท Posted at 17:54:53 on August 29, 2017 ยท (Permalink)
Enters 1 + 7 Segmentaionfaultcoredumpedsigsegvillegalnullpointerargumentexception.
npoet1 ยท 4 points ยท Posted at 19:40:03 on August 29, 2017 ยท (Permalink)
Legitimately had an employee use this approach last week
[deleted] ยท 5 points ยท Posted at 21:34:31 on August 29, 2017 ยท (Permalink)
You laugh, but the genius just coded a constant efficiency algorithm... gotta give him that. He coulda looped through the two numbers and added a counter. Thatโs O(n)
[deleted] ยท 4 points ยท Posted at 23:52:14 on August 29, 2017 ยท (Permalink)
Ive found professionally written code that amounted to this. It was depressing.
nyxeka ยท 4 points ยท Posted at 01:15:34 on August 30, 2017 ยท (Permalink)
You know they say - disk space is cheaper than cpu.
arinthegreat ยท 4 points ยท Posted at 01:25:39 on August 30, 2017 ยท (Permalink)
scratch is the worst programming language ever made
t_Lancer ยท 3 points ยท Posted at 17:34:29 on August 29, 2017 ยท (Permalink)
though this is almost how software test works.
michaelobriena ยท 3 points ยท Posted at 21:44:56 on August 29, 2017 ยท (Permalink)
Too real. First project for class was a little web TicTacToe game. Ended up if chaining out every possible board state for 3 AI difficulties. Had to print it out to hand it in. 96 pages.
drawkbox ยท 3 points ยท Posted at 01:02:48 on August 30, 2017 ยท (Permalink)
The ol' brute force if/else statement, a classic.
Rewbrains ยท 3 points ยท Posted at 02:05:12 on August 30, 2017 ยท (Permalink)
I don't know shit about code, and that hurt me physically.
Krennex ยท 3 points ยท Posted at 03:52:27 on August 30, 2017 ยท (Permalink)
This guy then expanded his work to python.
jtreid14 ยท 1 points ยท Posted at 04:11:55 on August 30, 2017 ยท (Permalink)
That takes dedication.
Krennex ยท 1 points ยท Posted at 04:33:00 on August 30, 2017 ยท (Permalink)
Or a simple script to write it for you.
jtreid14 ยท 1 points ยท Posted at 00:35:20 on August 31, 2017 ยท (Permalink)
shhhh
Never-asked-for-this ยท 3 points ยท Posted at 06:48:10 on August 30, 2017 ยท (Permalink)
If this would be written code, that poor bastard would inevitably forget to place a semi colon somewhere, and the IDE would be too tired to point it out...
I say kudos to this man, at least this is effort and not just copy/paste from SO.
qxxx ยท 2 points ยท Posted at 16:07:01 on August 29, 2017 ยท (Permalink)
jesus christ... :|
-Abradolf_Lincler- ยท 2 points ยท Posted at 16:18:24 on August 29, 2017 ยท (Permalink)
Some say that it goes on forever..
AwesomeSmilee ยท 2 points ยท Posted at 17:09:22 on August 29, 2017 ยท (Permalink)
As a """pro""" Scratch user, I am very disappointed.
ThatGuyWhoLikesSpace ยท 1 points ยท Posted at 22:13:46 on August 29, 2017 ยท (Permalink)
Do you Python?
ImpulseTheFox ยท 2 points ยท Posted at 17:44:59 on August 29, 2017 ยท (Permalink)
what is 1+7 though
shadowX015 ยท 1 points ยท Posted at 03:05:11 on August 30, 2017 ยท (Permalink)
Nobody knows. That's why he left it blank.
as-com ยท 2 points ยท Posted at 18:34:21 on August 29, 2017 ยท (Permalink)
I finished the project: https://scratch.mit.edu/projects/172554616/
1bc29b36f623ba82aaf6 ยท 1 points ยท Posted at 00:36:46 on August 30, 2017 ยท (Permalink)
ooh you got a reply from the claculator author :3
Makelevi ยท 2 points ยท Posted at 19:42:25 on August 29, 2017 ยท (Permalink)
Some day he's still adding conditionals to this day.
RedditPoster666 ยท 2 points ยท Posted at 21:02:37 on August 29, 2017 ยท (Permalink)
It looks like the poor kid doesn't understand what's happening to him https://scratch.mit.edu/projects/172557877/ EDIT: Be responsible with what you post there. It's just a kid who was trying to program and doesn't understand what's going on
_Pentox ยท 2 points ยท Posted at 21:08:20 on August 29, 2017 ยท (Permalink)
Wait, you're not supposed to do it like this? /s
5t3v0 ยท 2 points ยท Posted at 21:29:48 on August 29, 2017 ยท (Permalink)
I'd be pumped if my 5yo wrote this. love seeing kids pick up these concepts.
madhousechild ยท 2 points ยท Posted at 00:17:47 on August 30, 2017 ยท (Permalink)
Reminds me of a friend who wrote a program to calculate the day Easter falls on for 2000 years, when he was 11 or 12. He copied and pasted so many times he ended up with tens of thousands of lines, which although it worked, would have been fewer lines if he just hardcoded the dates.
Beamazedbyme ยท 2 points ยท Posted at 03:43:13 on August 30, 2017 ยท (Permalink)
One of my first computer science classes at university had a brilliant idea of a term project. We all had to make an android application using MIT app inventor. Its a great tool for newbie android development, but the programming interface is all scratch based. In order to execute on the idea my group planned out, I had to recreate an ASCII table in scratch. I remember that being a fun evening.
Kooontt ยท 2 points ยท Posted at 04:02:09 on August 30, 2017 ยท (Permalink)
What about 3+2????
thedulfin ยท 2 points ยท Posted at 14:27:59 on August 30, 2017 ยท (Permalink)
Please tell me there is a subreddit for funny Scratch programms
DoesNotReadReplies8 ยท 2 points ยท Posted at 17:04:46 on August 29, 2017 ยท (Permalink)
What is 1+7?
Eindacor_DS ยท 5 points ยท Posted at 18:12:00 on August 29, 2017 ยท (Permalink)
wtf is 7?
DoesNotReadReplies8 ยท 1 points ยท Posted at 02:22:57 on August 30, 2017 ยท (Permalink)
1+6
DavidFaxon ยท 2 points ยท Posted at 18:13:19 on August 29, 2017 ยท (Permalink)
That's what the optimizer is for.
dangerCrushHazard ยท 2 points ยท Posted at 16:02:16 on August 29, 2017 ยท (Permalink)
From what I recall about Scratch, this is probably the best way to go about this. I checked and I don't think Scratch allows an
evalfunction (even though that'd be a dangerous way to implement it, it'd probably be the easiest) or a simple way to write a tokenizer.So don't shit on the shit kid, after all it isn't their fault that their shit is shit considering the language not having the shit functions needed.
๐๏ธ Shallllow ยท 5 points ยท Posted at 16:05:59 on August 29, 2017 ยท (Permalink)
Actually it wouldn't be too hard to write a shunting yard evaluator compared to this and definitely easier to write a postfix evaluator like here in my language: https://scratch.mit.edu/projects/171581022/
1bc29b36f623ba82aaf6 ยท 1 points ยท Posted at 00:10:51 on August 30, 2017 ยท (Permalink)
I think the shunting yard was a bit unwieldly according to this speaker. But he did add extra visualisations. His whole talk is nice btw, starts at 3:29:30.
Tygrak ยท 1 points ยท Posted at 21:02:04 on August 30, 2017 ยท (Permalink)
I like how you have a comment from the guy who created this claculator.
dipique ยท 3 points ยท Posted at 17:50:33 on August 29, 2017 ยท (Permalink)
You can absolutely write input to variables and manipulate them in scratch.
sandmansndr ยท 1 points ยท Posted at 17:08:41 on August 29, 2017 ยท (Permalink)
I'm REALLY curious how far this actually goes.
oh .. should've read other comments first! 3+2
joshkmartinez ยท 1 points ยท Posted at 17:24:43 on August 29, 2017 ยท (Permalink)
What about 1+10?
NinjaQueef ยท 1 points ยท Posted at 17:30:13 on August 29, 2017 ยท (Permalink)
I once had to write a program that simulates a couple of cache coherence protocols based on a a bunch of test input vectors (which were known). I had a working code, and I realised that I had to add some exceptions to it, like if invalid input is given at startup. For some reason, 1 like if code was breaking the whole fucking thing and I was running out of time to fix it. So I hard coded 1000s of lines of printf valid output for all valid input files. I got full marks for that, but that was the worst 6 hours I spent replicating printfs :(
cappo40 ยท 1 points ยท Posted at 17:57:45 on August 29, 2017 ยท (Permalink)
This looks like my code when we had to take a Programming Class in College for a Networking course.
kpingvin ยท 1 points ยท Posted at 18:04:18 on August 29, 2017 ยท (Permalink)
Kids have the time to write code like this.
gorilla_red ยท 1 points ยท Posted at 18:22:04 on August 29, 2017 ยท (Permalink)
My soul just cried a little from seeing this
rivox1 ยท 1 points ยท Posted at 18:29:53 on August 29, 2017 ยท (Permalink)
Whatchu talkin'bout... this is the epitome of elegance and efficiency.
rk-imn ยท 1 points ยท Posted at 18:36:56 on August 29, 2017 ยท (Permalink)
eqation
Aschentei ยท 1 points ยท Posted at 18:38:47 on August 29, 2017 ยท (Permalink)
App inventor?
[deleted] ยท 1 points ยท Posted at 19:07:03 on August 29, 2017 ยท (Permalink)
Eqation.
anothertrad ยท 1 points ยท Posted at 19:08:27 on August 29, 2017 ยท (Permalink)
Siri code released
Kays8m ยท 1 points ยท Posted at 19:34:18 on August 29, 2017 ยท (Permalink)
I can't get the whole image, what happens after 5?
๐๏ธ Shallllow ยท 1 points ยท Posted at 19:46:13 on August 29, 2017 ยท (Permalink)
He carries on until 3+2
nathodood ยท 1 points ยท Posted at 19:42:31 on August 29, 2017 ยท (Permalink)
r/badcode
WeCametoReign ยท 1 points ยท Posted at 19:46:12 on August 29, 2017 ยท (Permalink)
Now, This is programming I can understand!
ahmedshaikh626 ยท 1 points ยท Posted at 19:46:27 on August 29, 2017 ยท (Permalink)
This hurts me... The pain... I can see the light... Tell my family I love them
dies by crumbling inwards
_WokeUpInACar_ ยท 1 points ยท Posted at 19:46:38 on August 29, 2017 ยท (Permalink)
Legend says he's still writing it out.
Sprickels ยท 1 points ยท Posted at 19:46:49 on August 29, 2017 ยท (Permalink)
Eqation
TurboGranny ยท 1 points ยท Posted at 20:00:04 on August 29, 2017 ยท (Permalink)
I'm not even gonna lie. I totally did stuff like this when I was starting out back in 88. Granted I was 8, but still.
mrchooch ยท 1 points ยท Posted at 20:14:02 on August 29, 2017 ยท (Permalink)
The real question is, how far did it go?
[deleted] ยท 1 points ยท Posted at 20:25:59 on August 29, 2017 ยท (Permalink)
His code really cleans up after 99999999+1
Zenniverse ยท 1 points ยท Posted at 20:30:08 on August 29, 2017 ยท (Permalink)
If you want to know what 1+7 is, you're out of luck.
nuclearslug ยท 1 points ยท Posted at 20:41:07 on August 29, 2017 ยท (Permalink)
public int integer5 = new int; Integer5 = 5;
pinkpikmin ยท 1 points ยท Posted at 20:45:45 on August 29, 2017 ยท (Permalink)
What are you doing on Scratch?
Morpheus_10 ยท 1 points ยท Posted at 20:47:44 on August 29, 2017 ยท (Permalink)
XDDDDDDD
mainiac92002 ยท 1 points ยท Posted at 21:09:08 on August 29, 2017 ยท (Permalink)
Ahhh, brings me back to the first days of programming.
owenineson ยท 1 points ยท Posted at 21:24:27 on August 29, 2017 ยท (Permalink)
This just seem like something someone in my class would do
StankyP1nky ยท 1 points ยท Posted at 21:30:33 on August 29, 2017 ยท (Permalink)
You even code bro?
MaximumZer0 ยท 1 points ยท Posted at 21:33:19 on August 29, 2017 ยท (Permalink)
Just imagine WolframAlpha.
tpd1124200 ยท 1 points ยท Posted at 22:05:42 on August 29, 2017 ยท (Permalink)
Looks like Make Pong
Pokemoneuro ยท 1 points ยท Posted at 22:19:44 on August 29, 2017 ยท (Permalink)
Oh gawd.. This has to go to r/badcode
appropriateinside ยท 1 points ยท Posted at 22:55:06 on August 29, 2017 ยท (Permalink)
My coworker must have written this.
Peekachoooooo ยท 1 points ยท Posted at 23:00:37 on August 29, 2017 ยท (Permalink)
Man, I love scratch
Mentioned_Videos ยท 1 points ยท Posted at 23:56:25 on August 29, 2017 ยท (Permalink)
Videos in this thread:
Watch Playlist โถ
I'm a bot working hard to help Redditors find related videos to watch. I'll keep this updated as long as I can.
Play All | Info | Get me on Chrome / Firefox
Xacto01 ยท 1 points ยท Posted at 00:08:11 on August 30, 2017 ยท (Permalink)
The only function that actually proves 20 million numbers. No theory at this point.
ThePaspagon ยท 1 points ยท Posted at 00:49:14 on August 30, 2017 ยท (Permalink)
Oh I did the same thing but in C. And for numbers 0-999. Takes a lot of time to compile and run though
totemo ยท 1 points ยท Posted at 00:55:11 on August 30, 2017 ยท (Permalink)
"Found". Don't be so humble, op.
Kolbreez1 ยท 1 points ยท Posted at 01:46:54 on August 30, 2017 ยท (Permalink)
This can also go on r/nostalgia
orion_weaver97 ยท 1 points ยท Posted at 01:55:51 on August 30, 2017 ยท (Permalink)
If only life could be coded this way.
ramond_gamer11 ยท 1 points ยท Posted at 03:01:17 on August 30, 2017 ยท (Permalink)
At least use or statements.
rexyuan ยท 1 points ยท Posted at 03:09:59 on August 30, 2017 ยท (Permalink)
I see that hardware level design is coming to Scratch
simonced ยท 1 points ยท Posted at 03:26:53 on August 30, 2017 ยท (Permalink)
I always though that such introductory tools to programming were bad, but at that level, it will simply make stupid programmers.
Programming is done in a text editor, UI have nothing to do!
Wallach96 ยท 1 points ยท Posted at 03:51:46 on August 30, 2017 ยท (Permalink)
What is this gui?
barzamsr ยท 1 points ยท Posted at 05:40:47 on August 30, 2017 ยท (Permalink)
What if you made nested loop that wrote this program for you? How large (and slow) do you think the final program would be?
qwiglydee ยท 1 points ยท Posted at 10:53:23 on August 30, 2017 ยท (Permalink)
What is the system used to create this?
I dreamed of such when I was on asterisk PBX.
DarkmessageCH ยท 1 points ยท Posted at 11:24:29 on August 30, 2017 ยท (Permalink)
OH FFS KID, "RANDOM NUMBER" IS NOT AN EQATION!!!!
ProCreeper_2000 ยท 1 points ยท Posted at 12:25:18 on August 30, 2017 ยท (Permalink)
So I took the time to make a calculator in Scratch...
Here it is, my masterpiece
P3rspective ยท 1 points ยท Posted at 13:40:34 on August 30, 2017 ยท (Permalink)
OMG I REMEMBER SCRATCH
bluepoopants ยท 1 points ยท Posted at 14:41:36 on August 30, 2017 ยท (Permalink)
Variables are overated. Literals are the way forward.
benzarr410 ยท 1 points ยท Posted at 14:01:00 on August 31, 2017 ยท (Permalink)
Variables are for chumps anyway amirite
ricchh ยท 1 points ยท Posted at 16:18:06 on September 1, 2017 ยท (Permalink)
God is dead and we killed him
TKMaida ยท 1 points ยท Posted at 05:57:08 on December 18, 2017 ยท (Permalink)
To be fair I still can't make a calculator with c++
[deleted] ยท 1 points ยท Posted at 17:09:11 on August 29, 2017 ยท (Permalink)
Clearly, he just rolled out the loop, that you would definitely need for this, for performance reasons.
princetrunks ยท 1 points ยท Posted at 02:13:46 on August 30, 2017 ยท (Permalink)
This is how Ruby was written
[deleted] ยท -11 points ยท Posted at 15:13:02 on August 29, 2017 ยท (Permalink)
[deleted]
agnoiologst ยท 43 points ยท Posted at 15:19:45 on August 29, 2017 ยท (Permalink)
Scratch has been around since the early 2000s, and is meant as a learning tool for children
[deleted] ยท -28 points ยท Posted at 15:29:33 on August 29, 2017 ยท (Permalink)
[deleted]
[deleted] ยท 14 points ยท Posted at 15:45:41 on August 29, 2017 ยท (Permalink)
[deleted]
pmmedenver ยท 9 points ยท Posted at 15:50:37 on August 29, 2017 ยท (Permalink)
Warcraft 3 triggers. Haha thats how I learned.
PM_Me_Night_Elf_Porn ยท 7 points ยท Posted at 16:01:20 on August 29, 2017 ยท (Permalink)
Starcraft triggers for me.
pmmedenver ยท 4 points ยท Posted at 16:26:37 on August 29, 2017 ยท (Permalink)
I remember I wrote one of those 'save state' codes for an RPG I made. (I was so proud) Haha looking back it was just basic hex encoding.
the_Madman ยท 4 points ยท Posted at 16:09:54 on August 29, 2017 ยท (Permalink)
Quake C, anyone?
mnbvas ยท 3 points ยท Posted at 15:52:46 on August 29, 2017 ยท (Permalink)
There are dozens of us.
EthanWeber ยท 2 points ยท Posted at 15:55:27 on August 29, 2017 ยท (Permalink)
I learned similarly too, but triggers in Lotr: Battle for Middle Earth
BloomEPU ยท 2 points ยท Posted at 17:26:00 on August 29, 2017 ยท (Permalink)
It's designed to help with visualising how code works, how could it be better?
[deleted] ยท -5 points ยท Posted at 17:28:27 on August 29, 2017 ยท (Permalink)
[deleted]
[deleted] ยท 3 points ยท Posted at 18:23:03 on August 29, 2017 ยท (Permalink)
[deleted]
[deleted] ยท 1 points ยท Posted at 18:51:39 on August 29, 2017 ยท (Permalink)
[deleted]
[deleted] ยท 3 points ยท Posted at 19:17:18 on August 29, 2017 ยท (Permalink)
[deleted]
williamfwm ยท 4 points ยท Posted at 19:36:34 on August 29, 2017 ยท (Permalink)
Sounds like a dare to me!
Indiana__Scones ยท 2 points ยท Posted at 04:25:39 on August 30, 2017 ยท (Permalink)
"It says here you once made a program where a cat changes color?"
"Sure did"
bartekko ยท 7 points ยท Posted at 15:42:56 on August 29, 2017 ยท (Permalink)
damn straight, the only REAL programming language for kids is Logo, folllowed by Pascal
tylercoder ยท 4 points ยท Posted at 16:05:02 on August 29, 2017 ยท (Permalink)
Hah, I remember the logo turtle.........damn I got old...
limeflavoured ยท 2 points ยท Posted at 18:05:00 on August 29, 2017 ยท (Permalink)
Logo is awesome.
imforit ยท 2 points ยท Posted at 18:07:18 on August 29, 2017 ยท (Permalink)
Still is. It just takes other forms now.
williamfwm ยท 2 points ยท Posted at 19:38:40 on August 29, 2017 ยท (Permalink)
I really wanted a physical Logo turtle when I was a kid. I saw pictures of it in library books and thought it would be the coolest thing ever. Now that I'm an adult that could build my own I'm like "meh".
imforit ยท 1 points ยท Posted at 18:07:55 on August 29, 2017 ยท (Permalink)
Check out Snap! from Berkeley. They're taking good care of the turtles it there.
tylercoder ยท 1 points ยท Posted at 04:47:09 on August 30, 2017 ยท (Permalink)
Looks like scratch
imforit ยท 1 points ยท Posted at 11:06:58 on August 30, 2017 ยท (Permalink)
It was a fork of scratch long ago called BYOB, "bring your own blocks." It's a fully formed language that specializes in turtle graphics. It's also has the best visual representation of a lambdas Ive ever seen, supporting full-powered scheme style functional programming.
tylercoder ยท 1 points ยท Posted at 18:49:12 on August 31, 2017 ยท (Permalink)
Wait a second, are you telling me this could work for professional use?
imforit ยท 1 points ยท Posted at 19:48:26 on August 31, 2017 ยท (Permalink)
if you need to professionally draw turtle graphics in a browser, sure.
if you want to do general computing, you can check out GP blocks. These systems are all in the Scratch-like family (because that's what this thread is about.)
Blocks is just a model of editing, and affords certain semantics more easily than others.
We know that Blockly is in use in many professional environments.
tylercoder ยท 1 points ยท Posted at 20:47:00 on August 31, 2017 ยท (Permalink)
Seriously? the one from google for kids?
What other pro-grade graphical programming are out there now? I remember JS-noflo but I don't know how good it is
imforit ยท 1 points ยท Posted at 21:07:30 on August 31, 2017 ยท (Permalink)
the demos far undersell what it can do. There's a paper submitted the upcoming Blocks & Beyond workshop at VL/HCC called "Blockly Goes to Work" that I really hope will be good.
tylercoder ยท 1 points ยท Posted at 02:08:44 on September 1, 2017 ยท (Permalink)
Can't get any results for "Blockly Goes to Work", got a link?
imforit ยท 1 points ยท Posted at 11:20:10 on September 1, 2017 ยท (Permalink)
no because the conference hasn't happened yet. It will be up in the IEEE archives in October, if the paper is accepted. As I said, I hope it's good.
There's a lot of nascent work in taking lessons from educational blocks environments and applying them to professional environments, and it's starting to be seen now-ish. Very exciting.
tylercoder ยท 2 points ยท Posted at 18:06:24 on September 1, 2017 ยท (Permalink)
Yeah I always wondered why there wasn't more investment into graphical programming
imforit ยท 2 points ยท Posted at 19:17:17 on September 1, 2017 ยท (Permalink)
LabVIEW is the best case of industrial-grade graphical programming. It's data flow, but I still think they got a lot right. Also, nobody argues that LabVIEW isn't professional-grade, but the moment you select textual code a block at a time and drag it elsewhere it's dismissed as a kids toy.
Lots of work left to be done.
MrTartle ยท 9 points ยท Posted at 15:22:49 on August 29, 2017 ยท (Permalink)
Are you missing the /s tag?
ASentientBot ยท 3 points ยท Posted at 15:51:21 on August 29, 2017 ยท (Permalink)
I found it surprisingly useful for learning basic coding concepts. Then again I was like 11 when I used it. But that's the point!
TK503 ยท -2 points ยท Posted at 18:07:06 on August 29, 2017 ยท (Permalink)
Congrarulations /r/ProgrammerHumor, you hit the frontpage of /r/all with this one!
With that said, there are many of us who have no idea why this is funny ): plz explain?
๐๏ธ Shallllow ยท 7 points ยท Posted at 18:08:38 on August 29, 2017 ยท (Permalink)
It is funny because the code is so badly and inefficiently written
TheAtlanticGuy ยท 6 points ยท Posted at 19:00:37 on August 29, 2017 ยท (Permalink)
If he continued hard-coding a calculator like this, he would have to hand-write the answer to every single possible expression. Programming languages, including this one, have the ability to automatically perform math operations between numbers you input, which would be a much better way of doing this.
TK503 ยท 1 points ยท Posted at 21:06:12 on August 29, 2017 ยท (Permalink)
thats pretty good actually
superezfe ยท 3 points ยท Posted at 18:43:39 on August 29, 2017 ยท (Permalink)
See my comment here showing what a properly done calculator might look like
myhandleistoolongtor ยท 0 points ยท Posted at 22:33:34 on August 29, 2017 ยท (Permalink)
This is just unacceptable. Toss the nested conditional and replace with a CASE statement. Damn Noob.
Mennerheim ยท -2 points ยท Posted at 15:48:43 on August 29, 2017 ยท (Permalink)
Made by one guy in a basement
Officerbonerdunker ยท -2 points ยท Posted at 17:11:09 on August 29, 2017 ยท (Permalink)
If this is snatch syntax why not just get people started with python?