Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "tetris"
-
This facts are killing me
"During his own Google interview, Jeff Dean was asked the implications if P=NP were true. He said, "P = 0 or N = 1." Then, before the interviewer had even finished laughing, Jeff examined Google’s public certificate and wrote the private key on the whiteboard."
"Compilers don't warn Jeff Dean. Jeff Dean warns compilers."
"gcc -O4 emails your code to Jeff Dean for a rewrite."
"When Jeff Dean sends an ethernet frame there are no collisions because the competing frames retreat back up into the buffer memory on their source nic."
"When Jeff Dean has an ergonomic evaluation, it is for the protection of his keyboard."
"When Jeff Dean designs software, he first codes the binary and then writes the source as documentation."
"When Jeff has trouble sleeping, he Mapreduces sheep."
"When Jeff Dean listens to mp3s, he just cats them to /dev/dsp and does the decoding in his head."
"Google search went down for a few hours in 2002, and Jeff Dean started handling queries by hand. Search Quality doubled."
"One day Jeff Dean grabbed his Etch-a-Sketch instead of his laptop on his way out the door. On his way back home to get his real laptop, he programmed the Etch-a-Sketch to play Tetris."
"Jeff Dean once shifted a bit so hard, it ended up on another computer. "6 -
!rant
As seen on a marquee:
Tetris taught me that when you try to fit in, you will disappear.
#stayweird1 -
What do you do when you buy a second hand netbook and want to play with it in your way home but the internet is veeery bad?
You play Tetris on the terminal! \o/16 -
New idea, 99 developers write node module, only one person can survive! The rest of repo will be deleted from github and npm💂♂️4
-
I build a 10 by 20 RGB LED-Table out of an 15€ IKEA table.
It has several effects and you can also play games like Tetris or Snake on it by using an Android App. It uses a Rasperry Pi Zero W under the hood for a WiFi and Bluetooth connection.
By using homeassistant I can now control the table by using "Ok Google, turn Table blue." - that's so strange to say.
All in all it was ~50 hours of soldering/building and ~90 hours of programming
Software of this project is open source but without building instructions.
https://github.com/Gurkengewuerz/...10 -
This is the day guys.
Finally decided to move entirely to Linux.
Just swaped my old dual-booted Ubuntu/Windows HDD with an SSD and installed the lastest version of Ubuntu and all the software I needed.
I fucking love this feeling 😄😄11 -
I finally ended my first side project ever. I challenged myself to write a Tetris game in vanilla JS (with the less possible lines of code), some algorithm was tougher than I expected (2d array hell) but I made it ! 500 lines of JS code, I feel I could refactor some stuffs now...4
-
Developed my own programming language to teach programming at community college.
I needed an easy to learn language with as few brackets as possible cz these caused the most problems for beginners. Called it robocode. =)
Then i built an IDE around it where you have to program a little sheep to eat all gras in an area. The goal was to teach how to learn the syntax, the libary, debugging and to "see" the code run while the program and the little sheep runs, ..halt the programm, inspect variables, check the positions on the grass, ...i think you get the picture.
Later i built another IDE where you can program a Tetris.
robocode now also powers the calculation in our buisness application.
...i think thats my most successful project so far.
here's a screenshot of the RoboSheep IDE (be nice, it's a few years old) and the links to the download sites. I'm sorry, it's all german cz i never localized it.12 -
Shalom my dudes!
A quick GT from my college years:
>be me
>barely knew how to program but eager to learn more and more
>end of first semester, teacher assigns a couple of classic games for extra points
>battleship, pacman, sudoku, tetris, etc. All done in C
>end up with tetris
>2 days later I have the final build, including all the tech shit like walljump
>start thinking to myself "this looks really fucking ugly, what's wrong with me??"
>look up graphic libraries for C when a light flashes on my computer screen
>*NCURSES*
>the next 2 weeks were a montage of me learning linux, understanding ncurses and redoing my code (plus bug fixing)
>presentation day
>palms are spaghetti
>knees? Spaghetti
>arms? Spaghetti
>class is impressed with my work
>professor comes up to the board and tells me that I get a 0 because it wasn't "pure C"
>clenched my jaw and walked towards the dean office
>"hey, mind if I show you something?"
>open my laptop and show him the game
>he's having a blast since every time you do a 5 row crunch (a tetris), a piece of clothing of a random model comes off
>explain to him what happened in the classroom
>he looks at my code, runs it on a plagiarism checker and tells me that he will edit the grade himself
> a week later there's a 10 on my grading area
>feelsgoodman6 -
Hey there! I am pretty new but old to the community xD. Let me explain and introduce myself.
The post might be a little longer, depending on my inspiration, read it at your own risk ;)
I am here on devRant for almost a year now but, this is my first post. I wasn't active until a week ago or so. Why? Well, at the time, I didn't find posts interesting enough to keep me from work or school. I must addmit I was either stupid or confused (not uncommon for me).
Well, I am high school student who, when not prepearing for an entrance exam for faculty, is learning and doing indie game developent with my cousin's support.
Even though I was intermediate gamer whan I was younger, passionate but not addicted, I didn't even think about getting into game development until my cousin showed me one secific game and told me a story about it. Let's stop here and let me tell you why I tagged this rant with wk88.
I've already mentioned my cousin, he's my wk88 trouble. Why? I'll tell you only one thing. He studies CS at University of Cambridge, UK. He earned the scholarship by competing and earning multiple medals in programming in International Olympiad in Informatics. And here I am struggling with ******* trigonometric identities. But nvm, let's move on.
I told you about the game but didn't actually tell you the title and who developed it. So, my inspiration for getting into game development was Alexander Bruce , guy who designed Antichamber. If you haven't heard of it before/tried it yet, give it a shot, you probably won't be disappointed of you like fucking with your brain.
Here're some facts:
- Started learning programming at the age of 12, thought by my brother using Free Pascal in Lazarus.
- Have been learning C++ for 4 years and C# for 3, both at the same time.
- While learning these two, started building .NET based back-end and doing SQL stuff; failed to finish it, gave up after I realised I needed some advanced front-end skills, which I didn't want to learn, to implement a lot of things I wanted.
- Played a piano since I was 11 and been playing around with music production recently.
Here I am now, learning Blender and hoping that one day I will publish the game I've been developing for past year and a half.
Hope you didn't waste your time reading this. I will try to keep you up with things I experience durning future development.
Cheers! 🍻13 -
everyone on twitter is like "hey look tetris lol how would that look" but like WHO THE FUCK DIDN'T CHECK THIS23
-
Most pissed off? Must have been the time I created a $10,000 hole in a marketing team's budget after trying to build a Tetris-style Facebook app game (back when FB apps were all the rage). It turned out that Tetris, which was up to that point commonly considered as public domain, had been scooped up by a patent troll who had made a convincing case that he had found and gotten agreement from the originator of the idea (a Russian dude who may or may not have been its original source). I had to scrap the whole project and explain what I did to an old-school manager who didn't even know how to operate a computer. That resulted in my losing credibility as a team member for the next 6 years. I never lived it down. I was pissed mostly at myself for following my assumption and not doing any patent research.3
-
From NAND to Tetris..
This book is IMO the best book for those who want to venture to the lower level programming.
This books retrains you’re thinking, teaches you from the bottom up! Not the typical top down approach.
You begin with the idea of Boolean algebra. And the move on to logic gates.. from there you build in VHDL everything you will use later.
Essentially building your own “virtual machine”.. you design the instruction set. Of which you will then write assembly using the instruction set to control the gate you built in VDHL.
THEN you will continue up the abstraction layer and will learn how a compiler works, and then begin written c code that is then compiled down to your assembly of your instructions set to be linked and ran on your virtual machine you built.
All the compiler and other tools are available on the books website. The book is not a book where you copy and paste, run and done.... you kinda have to take the concepts and apply them with this book.
Then once you master this book, take it the extra step and learn more about compilers and write your own compiler with the dragon book or something.
Fantastic book, great philosophy on teaching software.. ground up rather than top down. Love it! It’s Unique book.21 -
So, we have massive desks in office and there is no much space for them to fit +2 newcomers. Occasionally, my old youtube recommendation "Tetris Original Theme" started playing out loud. :)10
-
Maybe it's not exactly about programming, but sure damned it caused it.
Back in the day I managed to create a warcraft 3 map which played tetris. The orc peons ran down with faster and faster speeds, since it was a multiplayer, we used to play it with friends. We played it so much during the day, that all of the dreams were about orcs running and exploding once you finished your line. It was the only dream I remember having.2 -
On Mac, open Terminal...
1. Enter cd ~/
2. Enter emacs
3. Press Esc
4. Enter X
5. Enter either; tetris, snake, or pong
6. Enjoy!2 -
It began when I was tasked with creating a better and more engaging experience for our new Facebook page. This was in Facebook's early days, so there were not really any "best practices". We were making it up as we went along. I decided one way would be to game-ify things, since gaming, at the time, was a Big Deal on Facebook and people were starting to use it to build customer funnels.
Grasping for low-hanging fruit, I decided a Tetris variant around our topic would be fun. I had to hire a dev because at the time I was a static HTML web developer just getting into social media management. I knew nothing about game development or how to use Facebook's API for such things.
Long story short, we got about $10,000 (FB app devs came at a premium then) into the project when I came across a very recent article about the history of Tetris games. It said that even though Tetris had once been considered for all intents to be public domain due to it being created by a Russian coder during the Cold War, it had just been acquired by an IP protection entity that was charging royalties for any variant of Tetris created from a specific date onward and paying the original developer. So, even though I thought I had been thorough in my initial permissions checking, it turned out we were gonna be in deep doo-doo with licensing fees and restrictions if we released this game to the public.
I had to call my boss and admit my error. She was FURIOUS and really gave me an ass-chewing over it. I then had to call the marketing person whose budget I'd been slaving away at wasting. She was a bit more forgiving (her budget was in the millions). Then I had to call the corporate legal department and explain what was going on. They told me to immediately pay any outstanding hours, then fire the dev but not before getting him to send me all code and assets, deleting his copy, and then, upon my receipt of those assets, deleting MY copy so that nothing of it ever existed. And I was supposed to say _nothing_ to the dev about why he was being let go, so that there would be no "trail" leading back to this fiasco. (The dev hounded me for weeks asking what he'd done wrong. It killed me that I was bound and gagged by corporate legal and couldn't tell him.)
I was in so much trouble. I was literally in tears over it. I'd never wasted that much money in my life. That incident pretty much sealed my fate as far as any trust my bosses ever put in me again (not much at all). I was a bit of a pariah in a lot of ways for the next 5 years whereas I had come onto the team as a young social media rockstar at first.
After that, and a couple of other bad scenarios that were less my fault and more due to a completely dysfunctional management and reporting structure, they eventually "transferred" me to another team. Which was really just a way of getting rid of me by sending me to a department that was already starting to outsource overseas and lay people off. It was less messy that way. I was in the first set of layoffs.
Since then, I've had a BIG fear of EVER joining a large corporation EVER again. I prefer to work for small businesses now, even if I get paid less. Much less stressful from an office politics and impact of mistakes standpoint.3 -
Second intro to programming class we remade tetris, it was incredible
I probably spent more time making graphics than coding, but I also coded a mini graphics framework for the game
We additionally made incrediblly addictive modifications to the game, it's still super fun to play
We also barely had the knowledge we needed to code it, but I'm still super proud of it5 -
We'll build an mathematics-6th-grader-calculation-game in IT-class. ("Math-Tetris")
In Java.
I hate Java.9 -
My first exposure to computer was at age of 6years.
My father had a very bulky laptop built by HP (I Do not remember any name of it).
It used to have sliding switch to open ,I used to put my whole power into open it.
It was running windows 98.
All I knew that time is
Start -> All program -> Accessories -> Games -> 3D Pinball !!
Then ,my father saw I was quite liking the games ,and he dual booted with fedora. I remember there was game tab with lots of flash games in fedora.
Like Tetris, games similar to candy crush, snake etc
BTW I got to know it was dual boot many years later.
I remember fedora because of that "f" logo.
I still remembered that After dual booting to Fedora, I was unable to start windows to play pinball (due to the boot option u get), I used to complain my mom that pinball opens if father starts the laptop, it doesn't open when I start!
I feel stupid now ,for that😄 -
First experience with a PC....
It would have been the Commodore64 and those giant 5.25" floppies, ah those were the days with CRT TV's.
Watching a friend load up Tetris on that big screen was eye opening for a 8-9 Year old. -
I am teaching myself a new skill.
Everytime my non-technical boss speaks about devOps, I am going to force the tetris theme tune to play inside my head to block him out.1 -
1984 was quite a year:
- Stallman starts developing GNU
- The first Apple Macintosh hits the stores
- Tetris is invented
- The first Terminator movie premiered
- Dell Computers is founded
- FidoNet is created
- Crack cocaine is invented
- Modern Talking and Bad Boys Blue started making music7 -
trying to get into gamedev is usually a shitty experience to me...
being a web dev OTOH feels like the opposite. There are css libraries that can make your site beautiful for you (albeit kinda generic).
so when you look at the screen when working on something, you can see something pretty, and it feels like progress.
you can show this to people and they'll be like "wow, look at you and your fancy site".
Show an expertly coded but cssless site to people and they will ask you if you did it with digital crayons.
That's how it feels when I try to get into gamedev, shockingly embarassing.
If I do my own assets, it looks like shit and takes forever. If I use other people's assets, it feels unoriginal.
I used to believe that gameplay is everything, graphics are nothing. But I'm not certain about that right now.
A very common advice to get into gamedev is to start with games that are already made. Like doing a tetris.
Great, that's exactly what I need. Doing a game that looks like shit, with a gameplay I'm not dying to program.
Another thing that makes me feel incompatible with games is the possible reality of that saying that goes "art is never finished, only abandoned", and games being art in a sense.
I'm not sure if I have that mentality. I think I am more of a results type of person, and doing games feels a bit opposite to that.
All of this is making me a bit sad, because video games have been and still are my number one interest, and there has been countless times where I wished I had the role of game designer so I could define in actual projects what a game would be. Like all those "wouldn't it be cool if you could remove X and add Y to this fame" feelings.8 -
Let me start by sharing a bit of history about myself.
When i finished my secondary school i did not go immediately to high school. I took a year because i needed to improve some grades to enter high school more easily.
In that year i started to learn programming languages (Java).
So when i went to high school i already had a good foundation of programming logic and could make some simple games that my friends were amazed (Like Pong and tetris).
In my first year in high school, in my hometown, a photo frame builder's shop asked me if i could make a desktop program to help him calculating prices and such.
I did it in like 4 months. This was not my biggest projet so far but was the most satisfying at the end. He paid me really good money for it and i was very proud of myself.2 -
The Coding Apocalypse: A Dev's Rant
June 14, 2024
Okay, gather ’round, fellow code warriors, because it’s time for a good ol' developer rant. If you're reading this, chances are you’ve already faced the dragon that is modern software development, and you’re somehow still using "Agile" as a life preserver while the ship is sinking. So let's dive into the chaos that our world has become.
Here’s the thing: We’re living in a paradox where every other day there's a shiny new framework promising to be the “ultimate solution” while ignoring that it's just recoil from the last big mess. I mean, can we talk about JavaScript for a second? I’m pretty sure if you stand still long enough, a new JavaScript framework will spontaneously generate from the void. Do we really need another one?
And don’t get me started on Sprint Planning. It’s like playing Tetris with stones while blindfolded, hoping that all the blocks land perfectly. Spoiler: They don’t. The product manager’s eyes glaze over as they nod approvingly to your estimates, secretly extending deadlines in their minds. The 'flexible' deadlines then become rigid, unattainable goals, and who gets the heat? The devs, of course.
Also, can we address the insanity of microservices? Sure, splitting a monolith into microservices sounds fun—until you’re drowning in API calls and Docker containers. Debugging a distributed system is like trying to untangle a pair of headphones made of spaghetti.
Oh, and if one more person asks if we’re "leveraging AI" and "blockchain technology" for our simple CRUD app, I might lose it. Sometimes, folks, the wheel doesn’t need reinventing. It just needs a little grease.
Finally, remote work. Blessing and curse. Sure, I enjoy the freedom of working in my PJs, but the endless Zoom calls are killing my soul. Breakout rooms? More like breakdown rooms. The Slack notifications? Let’s just say my sound settings have a hair trigger on mute these days.
So here’s to us, the devs. The ones who stare into the abyss of JIRA tickets and laugh in the face of mounting tech debt. May your coffee be strong, your code refactored, and your deployments ever in your favor.
End rant. Back to the trenches. 🚀💻6 -
Made a game, it was like tetris but you had to connect at least 3 blocks of the same colour.
I worked on it for like a month, about 50h overall, and it was downloaded by 10-11 people all over the world and then removed after like an year or so for no real reason.
I then stopped making games.
I was too depressed by the whole thing3 -
If Tetris figures consisted of five squares instead of four, it would've been called “Pentis”.
There are also Sextis, Septis and Octis.9 -
A project where we had to program a Tetris game on terminal with ncurses. My mate was finishing a project and was supposed to finish it on Tuesday, finally, he finished on Friday. (We had three weeks to do it in parallel with other projects).
I asked him to come in the week end : he told me that he can't come to school on week end so he said that he would work at home.
The following week, he didn't tell me that he'll join his girlfriend in another city and spend the week with her.
The last week, he didn't work, spending all his time playing baby-foot on the school hub.
I don't know why it became like this, he was a perfect mate before this project!5 -
In World of Tanks if you dont play well then your mates tell go and play tetris...
But we all know that the programers are smarter and if you dont write code well then they your friends will telln go and play a GAME..
LETS SEE WHO GETS IT. -
I'm working in a project that seems to be like a Multiplayer Tetris of Little Poo:
- figure out what the heck you have to code, because there is no debugging, the deploy to your devenv takes ages, the documentation does not exist or is unreadable, plus you are new and you are in a different timezone
- once you have your code, slowly pass the reviews of your remote team that will complain for every little extra line you've added for readability, slowly converting your code into a poo-like form, until it is completely shaped as shit
- repeat steps 1-2 until you pass the linter
- the carefully place your shit-shaped-code in the right place of the pile of shit
- wait for someone else to complain (like 'please rebase' 'new lint rule please fix' - oh, did I mention that? lint rules do not match between local, review and deploy?
- repeat from step 1 until you quit your job (which will happen in a few weeks)