Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
Search - "fractal"
Researching to making a small 2D game using constructor classes and while building out classes, was working on my Tree method using fractal geometry and made a wallpaper out of the tree 🌳13
Update on this: https://devrant.com/rants/1641198/...
I was a little tired but made updated and currently getting a more natural looking tree.27
My try at the fractal tree :) This sort of simple graphical code is very quickly satisfying, gonna try to add some wind next22
i tried implementing the mandelbrot set without tutorial.
ended up with this.
is this fractal known? if not, i guess i invented a fractal12
SELECT * FROM VISA_CARDS
...yes, every bit as bad as you imagine
(and yes, there were other tables for other card providers. Insult to injury... in like.. a fractal of mistakes)4
I have a Kali Linux VM running on my Windows machine. I decide to try and exploit the Windows machine (THAT THE VM WAS RUNNING ON) because of a vulnerability with smb that requires NO user interaction. I decided to make my computer shoot its own legs and I thought "Hey, this is gonna be fine."
Aaaaand the whole system crashed on me.3
Brilliant idea time:
Inspired by @TrojanMorse and his fractal trees
A fractal tree wallpaper that grows throughout the day.
So at 12 a script starts a new fractal and only uses depth 1 (a twig). Then every other hour it branches once more so at 2 am the fractal would have depth 2 and at noon it would have depth 7. That way you get a tree growing throughout the day for your screensaver. Now to make this a thing13
I never thought to I'd say this about an open-source project, but if I wanted to single out an unbeatable case of "Bad Design", and the manifestation of the term "Redundancy Hell", It is definitely Calibre.
Single job: To keep some e-book files + some metadata.
What it does in brief: In a single dir as your library; From metadata stored IN each file; It generates subdirs <author_name>/<title_name>(<some_numerical_id>), copies the e-book file there, generates a jpg cover from the first page and also stores it there, generates an xml file to support legacy e-book formats (but it generates it anyway even for pdfs), which contains all the same metadata for the file, including title, author and href for the cover, and also stores it there. And then, all the same metadata for all books is stored in a metadata.db in the library root folder. I don't know if there is more data stored/used somewhere in a more obfuscated way.
Not too much to ask: Change some author/title/any single field.
What is done: 💩🌋
It is so helpful, it does all the stuff by itself or its plugins; you don't have to touch anything. But it also has this amazing ability to fuck everything up without even being touched. I mean WHAT THE FUCK WERE YOU THINKING? WHAT KIND OF A FUCKING DESIGN IS THIS? A FUCKING FRACTAL?
Literally, If I had listed all my books on physical papers with a real life pen, It would take me less time that I've already wasted on unfucking the regular disasters. Fuck you and your arrogant responses to issues.
Acquaintance of mine brags that he made a "Facebook password cracker" that took less than 30 lines of code.
I take a look at it, then I realize it's brute force password cracking.
Facebook doesn't even let you do that many password attempts, not to mention that brute forcing passwords is going to take more time than the expected lifetime of the sun. (exaggeration? Maybe. But you get my point.)
Why are we still here? Just to suffer?6
Some kid keeps asking me how to session hijack. I keep telling him there's no point if:
A. You're not on the same network as him / her (I'm sure there are exceptions to this but normally you'd have to be on the same network)
B. The connection is encrypted
He doesn't understand either of those things. Not to mention it's illegal unless you're given consent.7
There is this dude called Richard Eng which is sort of famous for 2 things:
First: he is known as *the* Smalltall evangelist of mothern times. And he constantly writes about it. Which is fine since he tries to attract new users to this beautiful and simple little language.
The thing is, saying "use this because that is shit" is never going to convince a community, specifically one as potent as that of the JS community. And to make it worse...the dude links his reasoning about bad languages to articles he wrote. As in "this is shit, look at my completely biased article regarding why its shit"
Once he is confronted about it he links back to his own writings. Much like christian fanatics do
"good is real because it says so in the bible"
"but how can you trust that resource?"
"Because the bible is the word of God"
"and how do you know?"
"Because it is in the bible"
Circular arguments like that cannot be taken seriously. And what this guy does for the Smalltalk community hurts more than it helps really.
Claims like those are all around us. If we were to believe or consider them depending on who said what then we would never have the amazing cluster of tech choices that we have.
Take c++. It is absolutely powerful and gives you the ability to do pretty much anything. If we were to take Linus Torvalds's word about it being shit and only having subpar development we would miss on absolutely powerful tools.
The same came to me from Evee, writer of "PHP a fractal of bad design" or the "Node.js is cancer" article.
You are never going to please anyone with anything. I go by live and let live, and whilst I don't like some technologies I certainly don't look down on those that do.4
In relation to https://devrant.com/rants/1643249/...
The tree has started!
The lovely pycairo package was super easy to pick up, and I made a rather shitty looking fractal tree with it!
Next step is to figure out a color scheme I like, and to make the tree look more natural/better.
It's happening guys3
School just started. New computer teacher seems like a bitch, hopefully her skills justify her attitude.5
Look at this amazing chaos game fractal.
Three vertices of an equilateral triangle and a random point p between any two vertices are taken,then we generate a random integer between 1 and 6 (just like throwing a dice) .if 2 or 4 comes on the dice we draw a point between the random point p and the vertex v1.similarly if 3 or 4 comes on dice , we draw a point between the previously drawn point and vertex v2.for 5 or 6 the vertex is v3.after a few iterations we get to see this amazing pattern30
In one of my previous jobs. There are some scripts programmed by people that seems to don't know what a function is. It was a fractal of replicated if else code. Every half of the code is almost identical to the other one except for a simple things. Then if you see each half you can see the same pattern again and so on. Files like that are about 50.000 lines long. If you blame it, you see mostly the usernames of current managers. If that is not enough, it was written in perl
I’m working on a react codebase and company decided to add a new module.
Now im writing markup and css to ensure UX is smooth as designers thought of it.
Imagine my horror when I start to code and find out no matter what HTML tag i use, it’s been FUCKING OVERRIDDEN in the global stylesheet. AND STYLES HAVE BEEN OVERRIDDEN WITH !important
They’re also using Ant design as a component library. Guess what, default ant design classes have been overridden too. So i try to use ant design button or card, and bam, MAGICALLY SOME DESIGN FROM SOME SHITHOLE MODULE DECIDES TO FUCK WITH MY STYLES
On top of that, styles of parts of application has been written in SASS, some part of application uses bootstrap components some use third party components like tables and responsive grids to suit to their preferences. Some parts use handwritten css. Some parts use CSS IN JS and styled components. THE FUCK IS THIS GARBAGE!!!! THE FUCKING CODEBASE HAS A MIND OF ITS OWN!!!!!! YOU NAME A WAY TO ADD STYLES TO A COMPONENT, ITS THERE!!!
And the company’s management thought a “fractal” approach to maintain each individual view is “best” for SCALABILITY!!! HOW THE FUCK DID IT NOT CROSS YOUR DUMB MIND THAT FRACTAL APPROACH ALSO GUIDES TO HAVE ALL COMMON STUFF AT ONE PLACE!!!! THIS CODEBASE HAS DUPLICATE STYLES AND DUPLICATE CODE IN ALMOST EVERY MODULE!!!!
Not to mention every developer choosing to freely decide the way they should write their code without any guidelines.
HOW THE FUCK PEOPLE WRITE THEIR CODE WITHOUT THINKING ABOUT OTHER DEVS!!! SO BASICALLY I AM NOT ONLY CLEANING SOMEONE ELSE’S SHIT BUT ALSO TRY NOT TO SHIT IN THE PROCESS!! FML2
developing some programs for a new client to generate fractal images. any suggestions on programming languages I should use? my first instinct was Python.4
Rewriting some fractal generation code for a client in Python. his original code was in Visual Basic. he sent me his original code as a fucking Microsoft Word document...............
Provides a lot more learning opportunities than I had thought :)2
TL;DR: Brainfuck & Abstraction is so cool!
One of my dreams is to make a Mandelbrot Fractal with Brainfuck as the one on Rosetta Code.
I'm too lazy... So i'm writing a Compiler for Brainfuck.
At now i have 900 line of Python code and the operation VAR, SET, ADD, SUB, MUL with nested operation compatibility, IF, ELSE, ENDIF...
Probably i will doing it fast directly with BF but damn if abstraction is so cool!!4
So my friends USB drive suddenly doesn't work. It shows up in Windows' device manager (with no exclamation sign) but not in My Computer or even Disk Management (So I can't partition it) Reinstalling drivers doesn't work either. When trying to mount it in Linux, Linux complains that it can't see the drive. fsck and gparted don't read it either, but it shows up in lsblk. Dmesg complains it can't read the partition table (error -110). Any of you guys have bright ideas? Nothing like this has shown up in SO before so I've asked in both here and SO. Any ideas?12
The feeling when you create an enlarging fractal similar to Levy C because you want to draw simple Hilbert's curve with an old code you wrote when you were a noob.
I was an awesome noob apparently.
Building a dev/gaming PC - What do you guys thing about these specs:
+ Mouse Cooler Master Storm Mizar SGM-4005
+ Intel i5-6600K
+ SSD 2.5" Samsung 850 Evo
DIMM 8GB DDR3 1866Mhz Kingston CL10
+ Cooler Master Hyper 212
+ PSU 750W CoolerMaster GM series G750M
+ PCX GeForce GTX 1070 8GB GDDR5 DVI/HDMI/3xDP VR Ready DX12
+ Monitor 25" Dell UltraSharp U2515H LED IPS, 16:9, QHD 2560 x 1440
+ Keyboard Gigabyte K85 Mechanical Gaming
+ ATX Case Fractal Design Core 3500 Windowed
+ Motherboard (not sure yet)8
Trying to learn AdonisJS. Looks like a really cool framework, but having a really hard time how all of it really comes together. I get the model-view-controller philosophy that Adonis abides by, but not really how it's implemented.
Last days i’m digging in the legacy of this company. As if the first styleguide i had to work with wasnt worse enough i found two others now that are using different frameworks and are not part of the deployment process.
So far i had fractal, now busy with patternlab and yesterday foundation and the latest one; storybook.
There is duplicate code everywhere how on earth do they expect me to keep any kind of overview in this freaking mess they made?!