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 - "magic!"
-
My thoughts on programming:
As a child:
It is 100% magic
As a developer:
It is 65% if/else statements, 34% iterating an array, 1% actual amazing and unique code17 -
Sometimes I feel frontend development is like ancient magic:
Backend Dev: Oh no, I can't align this DIV properly.
FE Dev: No worries!
* Casts Flexius Boxius on the DIV *
* Div aligns slightly better *
BE Dev: But it's not centered!
FE Dev: No worries!
* Casts Marginis Automaticus! *
* Rolls natural 1 *
* Everything collapses *
* Website is on fire *
* Product owner cries *
FE Dev: No worries!
* Casts Flexius Boxius level 5 on the parent div *
* Everything looks beautiful *
* People are in awe *
FE Dev: You are welcome!
* Adjusts his robe and leaves *8 -
I found this in the HTML for Hackerrank. I started laughing and thought you guys would enjoy it as well.8
-
RegEx is same magic as machine learning. You punch the keyboard untill you get desired output, just a bit less cool.8
-
I was presenting a paper about "P5.js". My line began with "P5.js is a javascript library ... (and I went on)".
After my conclusion one of the judges asked me "Is this based on JavaScript?"
My reply "No sir, Magic!".
(Funny part - Got first prize.)6 -
I noticed that I frequently notice patterns in my ++ count
I may have a slight obsession with numbers. There are too many screenshots with numbers in my gallery
This is also kind of an evolution of my avatar and my ++ count20 -
Chat with user:
Me: Hi, how can i help you today?
User: IT please come to my place i don't have internet connection and i need to finish my work, please please come quickly
Me: Are you in your computer?
User: Yeah.
Me: Amm, and how are you chatting with me?2 -
I just told a colleague of mine, and worst programmer i got to know, to call me the alchemist.
Because I'm the one turning his shit to gold -
>Degree i think im getting: software engineering
>Degree my parents think im getting: repair magic2 -
Witchcraft: Code that has been optimized to a point at which even its author has no concept of exactly how it works, only what it is used for.1
-
Yea so I was creating registration form and I did this:
...
if ($pass != $passrepeat or
$passrepeat != $pass) {
# MAGIC
}
...
I think I should quit being a programmer..13 -
Having to deal with stupid testers who think your app should be resistant to water and black magic and report a bug if it is not5
-
Christmas lights were blinking randomly IN SECTIONS without any sort of "control brick", just with a plain wall plug and TWO wires coming out of it.
In this house we obey the laws of physics, I immediately called magic on this and started digging. I found out that was like five chains of lights wired in parallel, and every chain contained one special lamp that had a thin plate of some thermal-sensitive material inside. It heats up which makes it go straight, thus breaking its chain until it cools down enough to curl again and make the contacts touch.
Brilliant and really cheap way of making randomly blinking Christmas lights without any kind of controller, with just two wires and some physics. That's what I call "nocode".11 -
My graduation project partner was strange person
Favorite IDE is VIM
Forget how to use git
But somehow she could code most of the app
I asked what does she do when mistake happens, she answered "delete and write again"
I suggest github but she is "to embarrassed to show her code on internet"
She send .zip file of her code to me
Go to univ library to copy some code because she don't believe random code on internet
Of course verson of code on book in library is too old, but she prefer fix herself
But she is overall good person, so I can graduate next month13 -
do you ever get that feeling when you suddenly wake up from sleep and immediately have the solution that has been bothering you for weeks or is it just me?
it happened to me today. woke up and magically had a solution to a problem I had with unity (it works now).6 -
Today `master` turned into `main` for me on Github and I was like "wait did someone make a branch on my repo."
Should of been called the "magic" branch because shit breaks for no reason like magic.19 -
!rant
Is it just me or does being a programmer sometimes feel like being a magician. It's such a weird profession. You're living in a bubble, nothing you create is physically tangible, yet anything is possible, and there is always more learn.
Most of the time it's art. Commenting out dead or obsolete code instead of removing it just because it feels like you put a little bit of yourself into it, even though it has no use anymore.
I sometimes wonder if there is any other profession out there that makes you ride the same rollercoaster of satisfaction, frustration, glory and defeat we've all been on.3 -
Design team gets 3 monts to wireframe, dev team gets 3 weeks to complete the project. IT'S MAGIC #headbang2
-
Nothing is working today. 😭😭😭😭
My perfect results of Friday have all disappeared.
It now seems like everything was running on magic on Friday. 😭😭6 -
when your boss doesn't understand anything you do and introduces you to people as "magic coder"...actually I think I prefer that.2
-
These two!!!
Sherlock giving the motivation to do detective work and find the bugs. Dumbledore giving the motivation to use magic and code the solution. :D8 -
It says "There was no battery found."
This laptop was not connected to a power adapter, but Windows also said that there is no battery. Did I missed the update where Microsoft implemented magic wireless energy?7 -
"Programming language is a convention to give order to computer. It is not supposed to be obscure, bizarre and full of subtlz traps. These are the characteristics of magic" - Dave Small9
-
90%+ of production issues are caused by developers believing production machines are magic and have unlimited resources so can handle any shit code they write11
-
I was going to be a wizard for Halloween, but since I am expected to perform magic year round at the request of clients, I might change it up for one night of the year.1
-
Colleague: I have an error in my application, can you help me?
Me: Sure
*walks next to him*
Me: So... What is it?
Colleague: Here, it won't run
*launches the application and runs perfectly*
Colleague: Tell me your secret senpai5 -
Just pushed a 400+ line stored procedure in production. It's fucking magic and is probably never gonna be touched because no one will understand it and because "it works".5
-
Fuck this goofy apple magic mouse which i gotta recharge from the bottom making the mouse unusable instead of charging from the sides28
-
Running code in a JVM ... which is a virtual machine...
Inside a VM that runs Linux...
Inside a host OS that runs on native...which runs on a CISC processor... that internally runs a RISC architecture... so that makes the CISC a VM...
The RISC architecture I am pretty sure runs on Elf Magic... I am fairly certain Turing was an Elf working for Santa...
So I am really running my code on VM Elf Magic9 -
Thank you all for helping me to my first real goal, 1k! Thank you all! Love this community so much! Let’s continue that.5
-
Dude... have you ever heard about... enums? They were invented so that you don’t have to explain magic numbers.4
-
When you realize that there's no "magic" and no "only really smart specialists can understand this" in computers, software and hardware.
Everything is clearly defined in protocols/RFCs. The "magic" part is nothing more than extremely tedious, annoying and boring work combining those protocols together, making them talk to each other, and layering them inside each other.
Understand the little parts and you'll understand how the big ones work.4 -
idk if I´m getting better in coding or Android Studio is using some "black magic" but after working on a project for like 2 hours it compiled without any error.2
-
Today I built an ASP.NET Core 2.0 Rest-Api within a docker-container.
Then I ran a docker-container with the compiled ASP.NET Core 2.0 app behind a nginx router.
It was purely magic!
:)2 -
Whiteboard interviews. Would say "my first whiteboard interviews", but I think they will always have the magic to make developers feel stupid.1
-
I don't like it when progress bars develop their own personality. Gurr.
Friendly reminder: see attached gif.
Uh-uh-uh, you didn't say the magic word.
Uh-uh-uh, you didn't say the magic word.7 -
Jumping back and revisiting some basics of game development that I've ignored for a while and decided to follow a tutorial for building a 2D minecraft clone just to see how easy it is to incorporate some of my engines capabilities...
Every single fucking function he is creating does not have arguments and instead uses hard coded numbers repeated throughout... Fucking send help7 -
God damn, the most beautiful thing I've read in probably two years. It *moved* me.
https://fortressofdoors.com/four-ma...
Good to see you all.6 -
If somebody by now didn't know: doom running in your browser via javascript magic: https://js-dos.com/games/...1
-
that feeling when you reuse a compoinent you wrote 1 year ago and all bizzare magic still applies and everything just works as expected.4
-
Worked on a WordPress Multisite project that required digging around to find ways to hook into areas that weren’t meant to be hooked, create and add custom core files that would withstand updates, ensure certain plugin capabilities were available even if the current site didn’t load them, and a variety of other black magic that I’m too fried to remember off the top of my head.
By the end of the project I more or less felt like a god in WordPress—There’s little I could ever want to get it to do that I didn’t know how to do.
Then again, this is all probably a long way of saying I learned some very bad ways to do things. Mercifully, it’s fully documented with PHPdoc blocks down to the loop level so that even a 3-year-old should be able to figure out the logic...
All this to say, I’m definitely ready for a new project.3 -
Anyone who says/thinks software development is just piece of cake and these IT guys have magic wands should be quarantined for the rest of their lives. :-/6
-
W8 wut?! O.o
How the hell is someone gonna hack my computer using calculator?!
Also WTH?! I don't even know what that built in admin BS is in win10, let alone how to log in with this o.O4 -
Ready...
> access security
access: PERMISSION DENIED.
> access security grid
access: PERMISSION DENIED.
> access main security grid
access: PERMISSION DENIED...and...
YOU DIDN'T SAY THE MAGIC WORD!
YOU DIDN'T SAY THE MAGIC WORD!
YOU DIDN'T SAY THE MAGIC WORD!
YOU DIDN'T SAY THE MAGIC WORD!
YOU DIDN'T SAY THE MAGIC WORD!
YOU DIDN'T SAY THE MAGIC WORD!
YOU DIDN'T SAY THE MAGIC WORD!
YOU DIDN'T SAY THE MAGIC WORD!
YOU DIDN'T SAY THE MAGIC WORD!
YOU DIDN'T SAY THE MAGIC WORD!
YOU DIDN'T SAY THE MAGIC WORD!
YOU DIDN'T SAY THE MAGIC WORD!3 -
Well what an adventure with this SSD...😑
my sis' laptop is from 2013-ish(?) and has/had a slow HDD in it. I wanted to speed it up, before her study, so I bought a new internal SSD (no new laptop wanted).
Created a bootable USB, exchanged the hard drives and install the OS on it. Seems easy enough...
The laptop restarts to finish its process ... laptop shuts down immediately, no warning whatsoever. 😳🤨
Start it up, loading screen, fan gets louder and louder ... instant shut down.😳🤨🤨.
Redo process, this time landing on blue-screen, error code critical process died? ... instant shut down again.🤔
Restart from old HDD, normal.😐
Retry with boot USB and reinstall SSD. Setup process copying files, meanwhile instant shut down.😳 Please don't tell me!😩 Since every part of the laptop was working, except the new inserted SSD, I thought "FUCK not a broken SSD!😣"
I had my own PC with internal SSD slot, so tried to find out, whether it would be broken...
All starting up fine??🤨🤨
Ok then? Finish the setup for the third time now ... everything up and running.😐🤷
Normal shut down, unplug, plug back onto laptop, it works. HOW?? WHY?? 😕
Why the fuck are you suddenly working? 😐🤷🤷🤷
That's some magic...5 -
For my father, I do wizardry, for my mother I do magic, for my brother I type weird stuff, for my gf I code useless stuff, for my grandparents I do nothing, for my non dev friends I make softwares, for my dev friends... Magic again1
-
i love to actually understand how the code works! like you're writing some text and surprise - it does magic? no. it goes deeper than that. and when you understand those concepts, coding becomes more serious/fun and interesting1
-
During an internship, I had to use angular and angular material on a web app. I discovered the magic of 2way data-binding!1
-
Anyone who left their workstation unlocked and unattended would come back to find their background replaced with My Little Pony: Friendship is Magic.14
-
🪄
Working with stuff close to
the system really feels like
I'm working with arcane magic..
At least with Linux I can
look at the source ..7 -
What do you guys do to get away from conputers? I, for one started practicing card magic and i say it's really helped me. Card magic and programming are 2 polar opposites. For card magic, social inter action is necessary while programming gets pretty lonely. Anyways, i'm really curious about your other hobbyes33
-
"Programming is like magic!"... Magic that doesn’t work some of the time and laughs in your face while you try to find out why.2
-
Our company recently moved to git and the number of people who do not understand basic git concepts like commit and push are too damn high! I don' get it, its a completely logical model, what is so hard to understand.4
-
I saw a genie once.
So it was like 1 am, me and my girlfriend back then was wandering around the street. We haven’t slept for like two days. It was also a time when she started showing signs of being bipolar and my manic episodes started. So we wasn’t exactly in a good shape, everything felt surreal.
To add absurdity I was holding a pair of scissors (I don’t remember how I got them in the middle of the street) ready to fight back night gopniks.
We went underground and we saw this: there was a hobo standing on a chair and singing. He was really good at it, all opera level stuff with tremolo and everything. The other hobos was standing around him looking and listening. They all completely ignored our presence.
Between two pillars lied the other hobo. He was covered in some dark-looking liquid. Around him was a really huge bottle, so huge in fact that he could probably fit in. I guess they use those kind of bottles in bars or something.
I have no other explanation that he was a genie that was living in that bottle before and granted that singing hobo three wishes: brilliant singing voice (he could probably be a guy who always wanted to sing but had no talent and so he started drinking and became a hobo eventually), an audience that understands and appreciates (the other hobos) and a final wish, just to drink together and have a great conversation.1 -
When it comes to the idea of programming and magic, or the comparison between software developers/engineers, computer scientists etc as magicians or wizards, nothing brings the idea much more close to hearth than the C programming language.
A while ago I read the R.A Salvatore books concerning Drizzt, the dark elf. I loved the books, have not continued reading them but I remember them vividly. There was one book in which a human magician came about wielding extremely explosive magic, humans were capable of channeling large amounts of it through explosive and unwieldly ends.
This is the same feeling I get from C
Consider:
int items[] = {1, 2, 3};
printf("Third : %i\n", 3[items]);
and fuck me if shit like the above is not dangerous, it makes sense, arrays have the first items of it server as the pointer address to a first element, doing the above operation returns the third element of the array of 3. But holy shit if I don't think this is dangerous and interesting as fuck
there are many more examples I have that I am finding through me fucking around with: language development (compiler, interpreter), kernel programming as well as net sec. C is the most powerful and devastating thing we have in our hands indeed.7 -
"Sometimes magic is just someone spending more time on something than anyone else might reasonably expect." - Raymond Joseph Teller
-
The magic number it took me forever to remember is 768px for media includes. What's your magic number?8
-
Good code is like a good video game. When you read it first time, it feels like magic, and you feel like it does more than it actually can.2
-
1. Putting bits in proper places is fun
2. It's cool to translate curiosity and caffeine into money
3. Coding is modern-day magic in many ways -
The feeling when your brothers think you are a magician cuz you play music by pressing lemons with arduino.
Then they tried and it didn't work ubless I was holding them.
Magic!
When life gives you lemons, don't do a lemonade. Do an arduino program and play!1 -
I’m convinced that CSS is black magic and those that can visualize what it’s going to do before changing code are witches/warlocks.
Usually my attempts end up in humor as the website ends up /comically/ broken. Elements shifted around to not anywhere near they belong, drop downs appearing from completely nonsensical places...
No idea how you all do it.2 -
An anti-rant: I just made some code and out of nowhere it suddenly had an awesome feature that I didn't even program. No, not a euphemism for "bug", an actual feature.
Here's the story: A few months ago I made a shortcut for "System.out.println(…)" called "print(…)". Then I developed it further to also print arrays as "[1,2,3]", lists as "{1,2,3}", work with nested arrays and lists and accept multiple arguments.
Today I wanted to expand the list printing feature, which previously only worked for ArrayLists, to all types of List. That caused a few problems, but eventually I got it to work. Then I also wanted to expand it to all instances of Collection. As a first step, I replaced the two references to "List" with "Collection" and magically, no error message. So I tested it with this code:
HashMap<Integer, String> map = new HashMap<>();
map.put(1, "1");
map.put(2, "");
map.put(3, "a");
print(map);
And magic happened! The output was:
{1=1, 2=, 3=a}
That's awesome! I didn't even think yet about how I wanted to display key-value pairs, but Java already gave me the perfect solution. Now the next puzzle is where the space after the comma comes from, because I didn't program that in either.
I feel a bit like a character in "The subtle knife", who writes a barebones program to communicate with sentient elementary particles (believe me, it makes sense in context) and suddenly there's text alignment on the left and right, without that character having programmed any alignment.4 -
Starting up the new Java project I'm assigned to.
Just to see that this project is made of pure black magic and tears of forsaken devs.
Crashing the jvm with segfaults on a regular basis is just one part of the magic.
Now I understand why no one volunteered for this project...2 -
0) Because it's kind of Magic.
1) Love solving complex/small problem using this magic.
2) It's frustrating as well as exciting when magic is not working.
So yea it's kinda magical and doesn't matter which language you do magic in. -
Finally got my wall up to my desk in whiteboard. 4' by 8' sheets cut to fit the whole wall with a 1/8" clearance at the top. Ignore the raspberry pi, I have to set it up this way because I have no USB network adapter or long enough Ethernet cable. There should have been a magic mirror where the box is but on that specific spot in the wall the studs are only 13 1/2" instead of 14" like they should be...3
-
I hate people ranting about “Uhh thats not responsive I sent a screen how I imagined it.“
Open Screen, 1918x703 px WIDE.
Explained for an hour that thats not fucking responsive. Nobody could see or read that even if I were to implement. Responsive fucking means text breaks BELOW the damn pictures to make it readable. I will never fit that on an iphone or something unless he pays extra so i can perform dark magic to force vertical view on some devices and put 100 alert functions that the device is not supported by the site.
Im so mad fuck him and fuck me1 -
Year 2023
phone charges from 10 to 100% in <30min
battery holds for 3-4 days
... I still can't believe it.
What kind of black magic is this...23 -
Geekiest non Dev Activity.
Easily playing Magic The Gathering every Monday, Wednesday and Friday evening.
EDH, Standard and Draft.2 -
"All the magic, be it in code or design, starts with a clear mind, pen and a blank paper." - Brian Wangila
-
I learned very quickly that magic globals are baaaaad.
I mean, it's easier than using a queue for passing data between threads, right? -
How control the RAM when working by Androidstudio and chrome?!
Well, just tell the magic spell
Wingardium Leviosaaaa5 -
"A work of art is one of mystery, the one extreme magic; everything else is either arithmetic or biology." - Truman Capote1
-
I think every office should have a moving barista... His sole job will be going desk to desk and offer a perfect cup of coffee... Thing about it now... I think the barista needs to be psychic... So that whenever I feel like having coffee he will magically appear with a cup coffee...5
-
I'm not even done with this code and I am already dreading maintaining it. There is so much magic.1
-
So Ive to make new screens in xaml in combination with C# (WPF)
So I had something like this in the codebehind
titleBox.Text = Properties.Resources.someKey
The resources looks like
<data name="someKey">
<value>some text</value> <!-- this is some comment --> <!-- and another one -->
</data>
The title got as value "and another one", when I removed it it became "this is some comment" removing that resulted in the value "some text"1 -
Reverse engineering a USB device driver I already have the source for because apparently it runs on Donald Trumps hair magic.
-
I'd rather be writing some logic and magic than sitting at a babies 1st birthday party. Damnit wife I want out!4
-
Starting off, I believed that the "sudo" is some magic God that can fix all my problems with Linux.
Imagine that!11 -
CSS! after days thinking about this and using chrome dev tools to find the magic numbers ( thank arrow keys) i finally made this thing responsive. The magic is in 53px. Thanks to javascript i also did what seemed almost impossible for me in CSS. Phew!!!2
-
When someone from your data team claims that 250k worth of data doesn't exist and when the shit hits the fan it magically appears.
-
get bug
find slack context
senior describes some stuff as magic and it's unfortunately not working as expected
fml2 -
Typing strange text on a computer and making things happen.
Magic!
My sister always gets amazed by all the wizardry. -
You know that you've just gained few levels when you found out about magic in vim.
:help magic
Also term "very magic" is superb. -
This internal api is killing me. Why the fuck do people return an array of numbers inside a field that has a generic name such as `icons` to convey information such as "hasOptionFooIncluded". Because of course then icons contains '6'. Yet if both 6 and 4 are in there, it means something else. Needless to say there is no documentation whatsoever what each number or group of numbers actually means so I have to ask around to find out what numbers means what in order to wrap that call away into something maintainable. Because the API is deprecated and we don't want to fix shit in there. We just create other shit depending on this crappile. :/
Stop using magic numbers. Just stawp it! -
Weird frontend problem with a test that doesn't make any sense. Ask two frontend engineers and they're not sure what's going on. Rebased today and it passed. 🤷
MAGIC!4 -
I think that the most inspiring moment in my life, at least when it comes to programming, was the moment I realized that, that thing standing next to my desk isn't just a black box of black magic. It's a black box of black magic I can harness. That I can use my knowledge and my will to create stuff. Not only for my entertainment, but things that are actually useful and helpful to others.
This thought helped me decide to pursue career in IT. -
When everything passed to the front end is in the form of a magic array... all values are grabbed using an arbitrary index...
-
!Rant Does anyone else find it sad that the more you know about coding ,the less it all feels like magic ? I remember times i often stumbled upon websites that felt so smart, as if they where magical. Now best i can say is that they are neatly programmed. But the magic disappeared once i understood the logic behind it all. Anyone else?3
-
Making magic machine learning stuff. Also t-shirts and shorts should be allowed. And free food. Uh what else... My own office1
-
Can anyone suggest a good keyboard for coding? I would love something like the latest MacBook keyboard, I'm too addicted to that feel.
So I'd love short key run and a clicky feel.
I don't even know what to search (apart for the magic keyboard, which could be a waste since I'm gonna use it on windows, don't you think?)3 -
Playing around with GW-BASIC on an old 286 when I was maybe 8 I knew that I would spend my life programming. It was magic. It's less magic now, but I know I will not run out of challenges in my life or career, and that's pretty good too :)
-
This is an example if stupid documentation.
//Just like magic
try {
....
WTF! THIS IS PROGRAMMING, NO FUCKING MAGIC OR MIRACLES HAPPENS.1 -
A wonder happened and I accidentally understood the whole thing about pointers.
Thankfully before the test on Saturday.
Here I come Dynamic Data Structures!5 -
Magic: The Gathering, now with Holo Lens or similar. Pokémon Stadium, Yugi Oh, all these games or series giving you a real atmosphere experience.
-
I just found out that "enums" have been introduced in PHP only with v8.1 (2021).
Wtf...
Now using enums in VB6 (1998) seems magic.12 -
Google Japanese Input's Installation failed with code 1402 ( MSI killed the installation)
So I unpacked this .msi file using 7z and copied them to a directory, started all .exe programs, it worked....
A weird way to install software..5 -
Python list and dictionary comprehension is some crazy awesome black magic. More languages should have these.5
-
"Any sufficiently advanced technology is indistinguishable from magic." – Arthur C. Clarke
(especially to non-tech people)3 -
Fighting a CDI dependency injection problem that makes no sense. The only thing that sucks about the magic of DI is troubleshooting it when it doesn't work.1
-
No, friends and family, just because I code doesn't mean I'm a software engineer, or "in IT" and no, websites don't resize themselves to fit mobile devices with fekin magic, that's what we do as web devs, we MAKE that magic
-
Fearful I have the onset of carpel tunnel! My wrist is killing me today . Any suggestions for exercises and braces that worked magic for others ?5
-
Just trying to survive because stakeholders don’t understand what I actually have ownership for and think I have magic to fix all their websites issues.
-
Long live Ruby on Rails! It's so great once once you actually get what's happening. It's not "too much magic"if you understand what's happening under the hood9
-
Wow Go is awesome, throwing some of its magic and making data ingestion that took one minute plus and make it run under 3 seconds.
Feels good -
fuck it, im giving my users permanent access tokens, because for some reason using refresh tokens is black magic to the internet -.-7
-
We use MDD!! I coined this term one night after getting frustrated and having a lot of drinks. What's that, you ask?
MAGIC DRIVEN DEVELOPMENT
It's when you're working on a not-so-recent code base and are afraid to make any changes in fear of breaking things up. You've touched some modules, and now you restrict yourself to work only on those treating all others as a blackbox. Even if something can be achieved by a small change in one of the blackboxes, you still go for multiple changes in the modules you're familiar with! Such is the horror. You start saying that those modules work by some dark magic that nobody understands! -
Any magic service creating resposive layouts from existing website? God I hate resposive css when there is no unified grid system across the design.2
-
My team has a pathological need to NOT comment! What the fuck!! I think it is because a lot of it is actually magic, so they don't want to admit ignorance. My code is full of "not sure why it works, but breaks when removed." Chunks. That way, when debugging, I actually know what is going on????
I am currently going through and editing someone else's code, and I see code that has no clear purpose, even when removed! Does it do something I don't see??? Does it do nothing?? Fuck! -
3 hours 3 devs "I definitely haven't changed anything that would cause this" "oh wait, I have this hidden magic feature which sets this to make it easier for me" :@ Laravel magic should be banned!!
-
The Node and its magic tricks never cease to surprise me.
I created several new components and tried to compile them for verification. Then this big fat error popped up.
I commented out all the newly created code (didn't remove any files, just did ^A^/). Recompiled. This big fat error again.
Undid modifications I made to the files that existed there before. Recompiled. This big fat error again.
Moved the newly created files outside of the project scope (mv app/<...>/featureX/ ../bkup/). Recompiled. SUCCESS.
Moved all of those files back (mv ../bkup/featureX app/<...>/). Recompiled. SUCCESS.
wtf...2 -
sometimes need to learn about how people thinking much more than computer do. like visualitaion your "magic" code with some people want.
-
The only thing cooler than magic numbers are magic no-go numbers.
Or does anyone have a reason for considering 2 or 4 spaces indent but not 3?3 -
Can anyone recommend a decent compact keyboard for PC? I really like my magic keyboard for my Mac at home and want something similar for PC at work.5
-
thoughts on the Apple Magic Mouse? is it worth it if you use a Mac for work? I'd definitely get a generation old one where the charging port isn't on the fucking bottom if I were to get one lmfao6
-
After spilling covfefe on my imac magic keyboard i looked up on yt how to fix this and they said to put Isopropyl Alcohol on it. On the official apple site they also suggest isopropyl alcohol to use but they never mentioned to pour it on their devices. Should i pour it on my magic keyboard or not? What tf do i do. Help7
-
It’s a tie between every Ruby-On-Rails project I have ever seen that has been in production for more than a year...
So much goddamn magic -
!rant
I love when I discover "magic", such as the ipython % magics.
Makes me feel like I just rediscovered an ancient secret hidden in a dark dungeon. -
Rust's Fn traits feel weird. The argument tuple is a generic parameter, but the return type is an associated type, even though Rust is supposed to use Hindley-Milner type inference, so inferring through return type should always fail if this were a regular trait.
Then, this would mean that blanket implementations for Fn(T) and Fn(T, U) should conflict because AnyTrait<(T)> and AnyTrait<(T, U)> aren't mutually exclusive. I tried, they work just fine.
There's some weird and I suspect unnecessary special case magic here, and I'd like to uncover it.17 -
Those bugs that gets fixed by creating a new branch and doing the exact same changes there or even cherry-picking same commits there. Not the first time this happened to me :(
-
My laptop wont boot for the last 4 days, when I tried it out today it booted and nothing happend like wtf.1
-
I was signing up for a new account on Magic. I wasn't paying attention so I accidentally didn't change my date of birth, so it didn't let me create an account because they thought I was just born today. I changed that field but nope, it remembered I had told it I was 1 day old and it didn't let me change my mind. Delete cookies, nothing. Reload page, nothing. So I go into Postman and re-create the request and BOOM! I even got an access token for their API. This is why I love being a dev.
-
Ahaha, it's almost magic how "total request" and "failed request" are 0.001 multiplier. I can live with 99.99%2
-
My roommate apparently discovered the magic of Wordpress. So much bashing to the desh I haven't heard for a while.
-
!dev
The moment i heard, that there is a magic artifact in starfield, i audibly sighed and thought, yeah no thanks. It apparently gives the character magic abilities..
Now i feel basically the same, like when they introduced dragons in the elder scrolls universe with skyrim. Incidently i never really played Skyrim.
Otherwise that game looks kinda cool. But 70€ (100€ for deluxe) is too much for 30h mainstory imo.3 -
Clinician : How did you choose what variables you put in that multivariate analysis?
Me : ... don't ask, just be happy it's significant -
It’s been a bad week for anxiety. I don’t want to take my emergency anti-panic meds all the time because I have a limited amount but dear god do they help. I swear they even make me a better dev. Actual magic. My shoulders are relaxed, I’m hyper focused on my work, the solutions to bugs just jump out at me. Magic I tell ya5
-
That feel when your PHP page just decides to go blank , then you proceed to refresh 3 times and magic? It works. Smh
-
Tfw you see "So here is the magic behind the following." as coding comment the day after you declared a separate modification that you made as "witchcraft".
-
Writing volumes of pure magic code in that weird state between tired and super tired.
Sleeping pills + redbull?
Wk172 -
Maybe it's hard to get CSS calc() right,
but to make it really complicated,
let SASS do its erratic magic on it2 -
Trying to figure out how the below code works. Everything is straight forward. The code works as I ran it in qbasic in dos emulator.
But for the life of me I cannot figure out wth cap1 and cap2 are. I debugged the code and saw values being set, but I cannot figure out where the data is coming from. I assume it is somehow related to the function declarations. Been 20 years since I did anything with qbasic. Maybe some other old fogie can tell me what is going on here:
DECLARE FUNCTION integrate (sample, cap, tc)
DECLARE FUNCTION differentiate (sample, cap, tc)
COMMON SHARED accumulator
CONST pi = 3.14159
SCREEN 9: CLS
FOR timeConstant = 10 TO 600 STEP 100
accumulator = 0
FOR a = 0 TO 22 STEP .01
wave = 0
FOR h = 1 TO 10
wave = wave + SIN(a * h) / h
NEXT h
lopass = integrate(wave, cap1, timeConstant)
IF wave > lopass THEN
trigger = 1
ELSE
trigger = 0
END IF
hipass = differentiate(trigger, cap2, 20)
PSET (a * 30, 50 - wave * 20), 15
PSET (a * 30, 50 - lopass * 20), 14
PSET (a * 30, 100 + timeConstant / 4 - trigger * 15), 2
PSET (a * 30, 270 - hipass * 20), 15
NEXT a
NEXT timeConstant
END
FUNCTION differentiate (sample, accumulator, tc) STATIC
fsample = tc
leakage = 1 - EXP(-2 * pi * 1 / fsample)
capAvg = leakage * accumulator
accumulator = accumulator - capAvg + sample
differentiate = sample - capAvg
END FUNCTION
FUNCTION integrate (sample, accumulator, tc) STATIC
fsample = tc
leakage = 1 - EXP(-2 * pi * 1 / fsample)
capAvg = leakage * accumulator
accumulator = accumulator - capAvg + sample
integrate = capAvg
END FUNCTION
The output looks like the image.10 -
The 'geniuses' at Business doesn't seem to figure out why all of their systems turn out to be dogshit and outdated within a year or two.
Its because they don't even involve developers/IT into ANY of theirs decisions.
It's kinda like the patient telling the brainsurgeon how to do their job.
Hey, I get it. We are a bunch of antisocial wizards conjuring black magic at our computers all day. I would stay the fuck away from us if I were you aswell, but please for the love of Cthulhu, let us in on your great plans and amazing decisions before assigning blame.
Regards,
Th3 h3ckerz at IT1 -
Everyone expects you to work your "magic" and get shit done... But nobody thanks you or gives a shit when you do.
-
This is what motivates me to move forward in the field of tech:
"Any highly advanced technology is indistinguishable from magic!"9 -
Halloween is like The Purge but for spiritual energy instead of criminal intentions
also interesting that no nut November comes after. a lot of sects of thought view sexual energy as the basis for all other forms of energy
and then Christmas is about pacifying and making people into fools that pretend they're happy and ignore their problems and to make them avoid any targets of willpower or meaning they may possibly encounter. which is actually really fucked up because Christ was a huge rebel in actuality -
Is there any way to make a file on your Linux or Windows computer where you can back up your phone through the magic of the interwed?
-
!rant
Teller (of Penn & Teller) once said that magic is sometimes just spending more time on something than any normal person thinks is reasonable
Found online, need citation... -
Projects with more tooling than Tim Alan and more magic in it than Aladins lamp ... #autoGenetateAllTheThings1
-
I believe that there's some evil dark magic in the BEAM that detects if the user or developer is on a non *nix machine and then purposefully throws all kinds of strange errors or just fucking blows itself up for no reason. Take the shit to a *nix machine and it just works like magic and is easy to work with which is part of the reason why I love it and the ecosystem.
-
The requestor have responsibility for the conditions under which their request will be fulfilled. There is no "do your magic". The magic is always "ours" to some extent.
Details, directions, focus, clear goal, you name it, there is a shit ton of ways the requestor participates in the success.3 -
I’ve been thinking of making a magic Mirror lately as a side project. I know that they are traditionally made with TVs or computer monitors but I don’t have the space to make a mirror that big. I have a bunch of old Amazon kindles and android phones that I thought would be good to use instead (even though they all have cracked screens). I want the reflective aspect and the touch screen aspect. I think the hardest part is figuring out how to get whatever device that is behind the glass to register touch events on the glass. Any ideas or recommendations? Anybody done anything similar?
-
#!/bin/bash
let rant=false
Has anyone figured out how to use a magic mouse with a kvm? I have a kvm which I am thinking about putting a Bluetooth dongle into and pairing with magic mouse. Does anyone know if this would work?3 -
Lesson learned .. never use sailsjs
Magic data loss
Laggy as fuck (832ms)... php5 runs better than this(210ms)
memory leaks -
what did you do at work today? i made an Magic 8-ball chat-bot for facebook.
https://www.facebook.com/Magic8Bot/2 -
What your opinion on this password-less login thing magic (https://magic.link/).
I think it's interesting, but would you consider it something worth putting time Into learning asap?5 -
Ballerina by WSO2
wow...powerful and flexible open source language which do integration like a magic -
Any devs here who are rad enough to get a magic trackpad?
How to close Chrome tab with three fingers tap and click with no funny business?2 -
The innovation of the 80s: Teddy Ruxpin, Hypercolor and Magic Shell were WAY ahead of their time. Tell me I'm wrong.
I wish I'd thought of that. -
Immersive VR/AR that works - kind of like what Magic Leap is but open, free and now.
Alas ..... unlimited budgets are hard to come by -
Context: I run a chatbot company
Why the fuck does google on actions has to have such a shitty API? Its not even an API, it's a CLI that does some magic uploading to somewhere, no webhook normal integration, no message routes. Everything goes through a magic sdk that does who knows what2