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 - "comparisons"
: what Car is to Carpet
: what Swift is to Suzuki Swift
: what Perl is to a Pearl
: what Ruby is to a Ruby Gemstone
: what Go is to Go Home
: what Shell is to Sea Shell
: what Bash is to Big Bash
: what Alice is to Alice in wonderland
: what Rust is to Rusty Theron
: what Awk is to your Awkward cousin
: what Dart is to Darts
: what Julia is to Julia Roberts
: what Korn is to Corn
: what Maple is to Syrup
: what Caml is to a Camel
: what CHILL is to Netflix
: what Crack is to Crack
: what Curl is to Curls
: what Hugo is to Boss
To be continued..
Have a joke? Say it in comments
Criteria : programming language on left , analog on right16
Watching a tutorial.
* Uses the mouse in order to select and format code, instead of the shortcuts VS code provides
* Does multiple "bool == true"-comparisons
* Doesn't use string interpolation and makes unnecessary .toString() calls
* Adds fucking parentheses around the whole fucking expression he wants to assign
value = (expression)
* Explanations so vague, the EU wants to hire him to reform the internet
Fucking waste of time even on x2.25 speed.10
It's not that I hate PHP, I just hate the lack of consistency in standard function naming and parameter order, nonsensical attribute access, nearly-meaningless comparison operators, reference handling, case (in)sensitivities, and more!
I mean, look at these functions:
And look at THESE FUNCTIONS:
And let me jUST USE SOME ATTRIBUTES:
$object->attr = "No dollar sign...";
Class::$attr = "GOD WHY";
HOW ABOUT SOME COMPARISONS:
(NULL == 0) // true
(NULL < -1) // ALSO true
Functions AREN'T CASE SENSITIVE (at least variables are).
Wanna dereference? TOO BAD, YOU'LL HAVE TO GET OUT THE TNT.
Alright, yeah, I hate PHP.19
This always makes me smile.
1996 - James Gosling invents Java. Java is a relatively verbose, garbage collected, class based, statically typed, single dispatch, object oriented language with single implementation inheritance and multiple interface inheritance. Sun loudly heralds Java's novelty.
2001 - Anders Hejlsberg invents C#. C# is a relatively verbose, garbage collected, class based, statically typed, single dispatch, object oriented language with single implementation inheritance and multiple interface inheritance. Microsoft loudly heralds C#'s novelty.
The full article with more funny comparisons is at this link
When the new iPhone has "The highest pixel density in an iPhone yet" and "Most ambitious chip ever in an iPhone", like they'd make a new iPhone with a slower processor and a worse display?8
OS as weeddealers:
Windows has standard weed. Nothing special, but reliable.
Linux got a great selection, but you always gotta haggle with him for hours until something works out.
Mac sells oregano.10
People don't seem to know how to properly do print-debugging, so here's a simple guide:
1. A log of "aaaaaa" or "got here" isn't as helpful as you think when ALL OF THEM ARE THE FUCKING SAME. You put a descriptive label or copy verbatim the conditional statement. This saves time matching statements, allows one to watch multiple branches at once, and allows others to understand and help faster when dragged in to help.
2. When trying to see where code fucks up, before each line, paste said line into a proper print statement for your language. If there's, say, a function call or some shit, have it output something like "functionCall(varA=<varA contents>,varB=<varB contents);" Most normal lines should be like this too, but it's especially helpful for calls and comparisons.
If need be, add return values after if they're not shown in another print statement later.
This allows for a trail of execution AND the line that fucks up will be the last in the log, making finding it easier when dealing with hangs and such.
3. Putting something unique like "DEBUG: " or something in front of all statements ensures you can just search for them to ensure you're not rolling one out to production. It also separates debug output from normal output at a glance, making digging through logs faster.17
Absolutely not dev-related.
Blah, blah, weird conversation and shit. I'm too tired and lazy to write this crap again, but let's do it.
The guy is a dev I randomly found on some chatting service, he was interesting to talk with until this conversation. I'll write this out of memory, so yeah.
Him: So by the way I wrote an app that you give your penis size to to get measurements and stuff about it.
Me, thinking it was dev humor: That's hilarious. Tell me more, I'm interested.
Him: So the idea behind all of this was to gather some big data style info about people's penis size and habits and all that stuff.
Me: Man that's awesome. Can I see the source?
Him: No, it's proprietary. You can buy a license though.
Me: You went that far for a joke?
Him: What joke?
Me: The whole software you just told me about.
Him: That's not a joke, I'm being very serious about it.
Me: Oh well. What did you get from the stats?
Him: I got some tips from people's habits! I never thought that shaving it could make it look bigger, but that's awesome!
Me: Do you really care about it that much?
Him: Studies have proven that size correlated with confidence. Since I started doing it, I've been more confident than ever!
Him: I'm a bit disappointed to see that I'm in the lower percentiles though.
Me: Well of course you are.
Him: Why would you say that?
Me: Well since people with a big dick tend to go more willingly into the subject and might even buy a fucking app for it, of course you'd have the higher average in your stats.
Him: You're only saying that because you have a small cock.
Me: Why the fuck would you say that? You're the one that's concerned about it, not me.
Him: Go on, what's your size?
Me, because I don't care about discussing that stuff: *Tells him*
Him: [stats, comparisons and stuff]
Me: Well I never gave a fuck and your stats won't make me change my mind.
[ ... Some other shit about my size compared to his ... ]
Him: Would you want to work with me for the database maintenance?
Me: You must be joking?
Him: I'm serious.
Me: *Deletes account*
Seriously, fuck that guy. I rewrote that quickly so you only had the best, but it was a whole fucking conversation.3
I watched some of markipliers videos back when I watched yt
I felt down and like I wasn't giving my best and stuff
Searched for "markiplier inspiration"
Marks video "believe in yourself" is just that
Say what you want about him, I guess there are people who think he's about the money or stuff, but no matter how you look at it he is a good guy.
He makes you laugh when you need it (if you get the idea of watching his videos)
He has a kind heart, he is a fucking inspiration on himself, inspiration in person.
Comparing myself to myself, I still think I can do better, but that's also what he encourages, set your own goals and just try to be a bit better than yourself
Only compare yourself to your past self.
I may not be as great as I want to be, but I am a lot fucking better than I was a year ago.
And that's what it's all about.
I'm gonna try a bit harder as I go, I wanna BE BETTER as he says, I am going to be fucking better.
It won't be instant, but I'll try.
I hope some one who reads this crap will get inspired a bit as well.
Believe in yourself, and know that others believe in you as well.
...His hair looked better in blue.5
In the past: "Alright, have the day off, so can do some serious work (work on my game project). Let me just check my mail first... And a cpl of sub-reddits... And see if there are any updates for Unit3D, or any interesting forum posts, or new assets on asset store that look nice... And check some online newspapers just to see if anything is going on... And check if anything new has been posted on slashdot since I last checked 5 minutes ago (nope)... And maybe see if there's any updates to Sublime Text or new useful packages that can help improve workflow... Ooh came across article on how to improve workflow... Hm someone mentioned a new task-management system in comments, gotta check that out... I'll just sign up for a demo-account and... Hm but what if there are any better ones? Better google for comparisons. Wait, isn't there a new episode of Silicon Valley today? Gotta see that first, no time tmr. Hmm also new episode of Archer, and American Gods. Better get watching these out of the way first, or I can't concentrate... Ah, wait, it's dinner time, no point starting anything until after that."
Now: All of the above, plus "I'll just check devRant real quick before I... hmm... interesting rant... *scrolls and reads rants and comments for 3 hours*"
How am I supposed to get any work done? :_(3
PHP implicitely coercing password hashes to floats in comparisons is always a fun one
The Moto MC68000 CPU in the original Mac had 68k transistors. Apple sold 372k units in 1984. 68k x 372k=25.3bn
The A12X SoC in an iPad Pro has 10bn transistors.
So, if you’re inclined to really unfair comparisons:
3 iPads => all Macs sold in the first year
Found via https://twitter.com/benedictevans/...
So im a massive ChromeOS fan and would love to own a Pixelbook but cant afford it at this time...
I've been watching a few late reviews and all they do is complain about the price and "limited selection of things" chromeOS has, just watched a reviewer pull an iPhone X out of his pocket.
A pixelbook has the same functionality as an android phone and more for roughly the same price, why can't people see full comparisons rather than just oh its not windows, really shits me!13
Go to compare two technologies. Ask google.
What do I get?
Fuckign comparison sites, first 4-5 results, practically the whole damn first page.
And all their 'comparisons' are autogenerated masturbation or something keyed in by interns at yet another worth-fuck-all tech startup.
Googles search engine is fucking garbage too.
This is Advertising taken to the level of mental pollution.
well well well.
there, i said it.
no, php, i will not abandon you. but sometimes we have to talk about our feelings.1
Ok I'm going to jump in on the new iPhone shit, yes they are expensive, yes they are pale in comparison to flagship android devices (no I'm not an apple fan at all but I like Mac) but you don't buy an iPhone for the hardware, you buy it for the software and custom silicon.
iPhones will probably out perform android in synthetic tests for ever, they are working with custom designed hardware, custom software where as android will run on a multitude. Can't have 1 size fits all without compromise.
I will still say that iPhones are 110% to the power of 100 not worth the money in any way, but I'm sick and tired of seeing people compare iPhone to android when it's like comparing apples to oranges -,-3
I'm looking at replacing my Moto 360 gen 2 because I've given up hope of the gen 3 (even if I know things that I'm not allowed to share) and I'm looking at the ticwatch c2 but can't find any CPU comparisons between the SD 400 and SDW 2100...
I know the 2100 is essentially the 400 on a smaller manufacturing process but still...3
Python will occasionally forget how to do comparisons, so a statement like "if x == y:" will sometimes be false even if x == y. And then when someone else tries it or you reboot, it's all fine.5
Im having to learn coffeescript to work on an old project and man its funny.
Coffescripts tutorials show how it compiles to the most recent ecma-script. Well im sure 2014 that comparison was a jaw dropping difference. Now the two are near identical.
The tutorial comparisons are more so saying "Heres how ecma does it. We offer the exact same thing with a small syntactical difference"
Coffeescript example: multiply = (x, y)-> x * y
Ecma comparison: const multiple = (x,y) => x * y;
Weeeeeeeeellll this will be a waste of personal memory assignment.7
Just spent the better part of my day making our QA environment work and look like our CAT/UAT environment for a website and supporting web services that was built to look like 1998 puked on it. Wrong way people. Other Devs skipped QA due to external reasons (admittedly I was one) and never kept it updated... Everything from database comparisons to IIS configurations needed to be redone.
A Python-Brainfuck compiler written in Python. In future it will be a separate language, but for now I use directly Python even for the language.
All written in Python, without external library.
His name is MurPy, at the moment it has variables, if, comparisons, else.
Now I'm working on a multiple subroutine support2
Fuck, I love my new Varmillo keyboard with black silents, its actually somehow quieter than my colleagues membranes. The membranes those guys use have a sharper "thump", whereas mine sounds muted.
Before buying a mechanical for use at work, I watched a lot of youtube videos on sound comparisons between different switches. I was worried about the noise levels because it didn't seem like there was a whote lotta difference between a dampened switch and a regular switch. It seems like everyone is cramming a microphone right on top of the switches and not a whole lot recording from further distances.3
"Please ad this feature to the tool" spend the next 30 mins removing the comparisons from ugly (something == true) and (somethingElse == false) statements.
I hate this crap and wish people would stop doing it. It makes my brain bleed and doesn't prevent any difficult to find bugs.
if (TERMINAL_COUNT <= index_thing)
English doesn't work that way, and I don't know about you but this crap is just awkward as hell. Sweet Jesus I wish there was less cargo cult programming in the world. Just because you saw something in a blog that convinced you that reverse comparisons is best doesn't mean it actually is. Use a damn static analysis tool to catch accidental assignments in expressions, don't twist my brain to interpret your weird phrasing of comparison operators. Some of your code reviewers may be dyslexic and have enough problems as it is.
And now for the mini-rant that I'm actually here for: You know what makes for difficult to find bugs? (Hint: It sure as hell isn't an assignment in an expression) Releasing an RTEMS semaphore you've never obtained. You'd think that would cause some kind of panic or assert failure but nope. Instead it causes... misaligned address exceptions? In statically allocated global memory? WTF??1
nothing new, just another rant about php...
php, PHP, Php, whatever is written, wherever is piled, I hate this thing, in every stack.
stuff that works only according how php itself is compiled, globals superglobals and turbo-globals everywhere, == is not transitive, comparisons are non-deterministic, ?: is freaking left associative, utility functions that returns sometimes -1, sometimes null, sometimes are void, each with different style of usage and naming, lowercase/under_score/camelCase/PascalCase, numbers are 32bit on 32bit cpus and 64bit on 64bit cpus, a ton of silent failing stuff that doesn't warn you, references are actually aliases, nothing has a determined type except references, abuse of mega-global static vars and funcs, you can cast to int in a language where int doesn't even exists, 25236 ways to import/require/include for every different subcase, @ operator, :: parsed to T_PAAMAYIM_NEKUDOTAYIM for no reason in stack traces, you don't know who can throw stuff, fatal errors are sometimes catchable according to nobody knows, closed-over vars are passed as functions unless you use &, functions calls that don't match args signature don't fail, classes are not object and you can refer them only by string name, builtin underlying types cannot be wrapped, subclasses can't override parents' private methods, no overload for equality or ordering, -1 is a valid index for array and doesn't fail, funcs are not data nor objects when clojures instead are objects, there's no way to distinguish between a random string and a function 'reference', php.ini, documentation with comments and flame wars on the side, becomes case sensitive/insensitive according to the filesystem when line break instead is determined according to php.ini, it's freaking sloooooow...
enough. i'm tired of this crap.
it's almost weekend! 🍻2
You need to have a personal definition of success based on your own values not what is defined by society, neighbours or even your family.
Just staying in your lane will relax you and you can then function instinctively without any comparisons,living your own life to the fullest.2
Having to take Intro to programming with Python and being told I can't use tools that haven't been taught in that course yet. It's hard to go backwards. Had to do comparisons between 2 lists, can't use zip(). Things like that. It was a good class, just frustrating.1