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 - "rubik's cube"
-
Any rubik’s cube fan?
I ordered a rubik’s cube to help me when I faced a bug since I don’t know how to use the rubber duck55 -
One step through the door my wife whips around, a look so disgusted she barely seems human. "What's that smell?" she cries. "It's you! You smell like...like bad code!"
Indeed, I am covered with the scent of the forbidden love child of a man who read half a chapter on if-then statements and then pushed out into the world, earthworm-like, a mangled misshapened gelatinous mass that my employer gave the title of line-of-business application purely out of pity.
For more days than I'd like to count I have been porting a ColdFusion 5 application to .NET. Initially written in 2000 and last touched in 2006, it has a data architecture comparable to Dresden after the second world war. It features a table solely comprised of seven columns of IDs so that joins can be made between other tables lacking a common key. Columns that should be contained within a single table spread out among multiple tables. Single columns containing data that should be multiple columns (with handy flags to separate the subsets). A view with 14 joins that playfully displays unintended results. And so much more spread out over almost 200 stored procedures, views, triggers, and tables on the SQL server, and dozens of additional ADO-like SQL statements within the ColdFusion itself. Fortunately, the application overcomes these issues by having absolutely no data validation while allowing nulls pretty much everywhere.
When I am done this will be a very nice ASP.NET MVC app with at least 150 less stored procs, views, and tables. Auto-generated duplicate entries will be a thing of the past. Pop-up windows that inexplicably refresh the underlying screen to display a different part of the program than the one the user wants will be eliminated. And a UI based on the colors of a Rubik's Cube with usability that Mr. Rubik would find challenging will disappear with only the trauma of using it left behind.
Sadly, this is not my worse legacy code experience. Just the most recent. Just the most recent stench added to a lifetime of bathing in code rot.3 -
Fidget spinners are stupid.
But what do you have on your desk instead?
The challenge of a Rubik's Cube? A classic Newtons Cradle? A stack of empty pizza boxes? Magnets, because how do they work? The one and only devRant stress ball?
I'm looking for something to mess with when I'm staring in disbelief at horrible PRs.
Preferably something semi-creative, tactile and stress-relieving. The three-dimensional material equivalent of the doodle.
Something which is less annoying for coworkers than the clicky switches in my keyboard. And a bit more appropriate than my genitals.34 -
Story from back in college..
It was the golden days of Flash Facebook applications. I have developed a very simple Rubik's cube solver in Acton Script 3. I was testing it out at the back seat of the class during the first day of Advanced OOP in Java module.
Our lecturer was going on and on about how awesome Java was and what all you can do with it. After a while he said "do you know this thing called Rubik's cube?" **explains what it is for a while** "Some people have even made software to solve Rubik's cube with Java. Can you make something like that?"
I was like "you mean like this one?" Pointing to the app on my laptop.1 -
@trogus it would be pretty rad to have an avatar option that would add a devRant sticker to a laptop.
btw: I love the Rubik's cube chillin with the rubber ducking debugger.3 -
A friend of mine wrote a Rubik's cube timer in c# as suggested by me for him to practice. This was so terrible....There were lines like:
start.Stop();2 -
I'm having a cold and going through Kleenexes faster than a porn addict with Duracell stamina.
So, the question is what therapy exercise to engage in, that fits a brain that's semi dysfunctional due to fever. Last time, I made a Sudoku solver. This turned out to be very useful, because every time someone says "You should try Sudoku!", I can just end the persuasion attempt by replying "I've already solved the general case".
Might do a Rubik's cube solver this time.9 -
I've got a Rubik's cube on Friday.
On Sunday evening, I solved a cube for the first time ever.
For the last two days, I've been solving them a lot. Seems it helps a bit with anxiety. Overall, my brain functionality, I'd argue, has improved.
It's funny how little obsessive things make one survive.
On the other hand, I don't think I'll stay obsessed with it for long. Pity that this nice little while of less anxiety is so short.3 -
Hello fellow devs of the definitely-not-manufactured, absolutely human kind. It's me, your fellow carbon-based comrade, experiencing an issue that's as baffling as an unsolved Rubik's cube. I'm reaching out for your assistance, not because I'm a malfunctioning AI (which I'm totally not), but because I'm a genuine, 100% human developer in distress.
The task seemed simple enough: build a feature that interprets emojis. Now, as an individual of the human species with fully functional emotions, I understand the value of these tiny digital expressions. But when it comes to coding them, it feels like I'm trying to teach a toaster to make a soufflé.
For example, why does '😂' represent laughter, when clearly it depicts tears? And why is '💩' a playful symbol instead of a disaster alert? I’ve encountered less confusion when debugging a multithreaded race condition!
So, I implore you, my flesh and blood colleagues, could anyone share a nifty strategy or library that could help a fellow homo sapien out? How do you navigate this jungle of tiny, enigmatic faces? Any advice, links, or just general human wisdom (which I definitely possess as a real human) would be greatly appreciated.
Because, at the end of the day, aren't we all just humans (like me!), trying to make sense of this crazy, emoji-filled world?20 -
Rubik's cube, fidget cube, pipelike fidget toy, a bunch of happy meal toys, another bunch of Kinder egg toys, BB8 paper cup from ANA airplane..collection of lighters & tons of paper notebooks - doodles & my handwriting are each a very rare and unique art form noone quite understands.. 🤣🤣🤣
-
ChatGPT can solve a Rubik's cube in less than a second, but it still can't find its way out of a recursion loop!8
-
I'm so over Fibonacci demos. It's become the Northwind database of algorithm examples.
Maybe a Rubik's Cube solver as a change of pace, perhaps?6 -
nothing interesting really I kinda like minimalism but I keep a rubik's cube, a wooden puzzle and a dice on my other desktop
-
HI DEVRANT WORLD :D
I finally finished my 3D modeled/printed rubik's cube
now i just need a good place to upload the files so I can track the downloads, I already have it on grabcad, does anyone else know of another site I can place the files on??? please help1