Story goes as, we have to write a XML obj list that represents a product 'book' and it must has 5 different fields and also create a DTD for check also explain this shit, I was on second last page, this shit 5marks answer took 2 pages and my exam copy was finished.
It's not an issue with CakePHP. You'll run into the same issue with any suitably large Composer project. Composer can't resolve conflicting dependencies, since it is only capable of installing a single version of each package.
And when you have conflicting dependencies, the output that Composer spits out is long and difficult to read, which makes it hard to tell why it's not working.
NPM's approach of installing two copies of duplicate dependencies, hoisting dependencies if compatible versions are used in different packages, and providing meaningful explanations of package resolution via npm ls is both more elegant and more practical than Composer.
We've also run into numerous Packagist outages which have temporarily broken our CI. NPM is flawed, but Composer has the same flaws and many more.
EDIT: I say this as someone who recently spent several weeks troubleshooting issues with an NPM/Yarn/Lerna workspace/monorepo. I'm well aware of the pain points in NPM.
Depends on the details. If "node over php" only counts when you'd be using node anyway, i.e. can just avoid it by using something better, it does nothing. Same if you're not using VSCode.
Or if not using json means you can't use any JSON APIs from other people anymore, I'd rather use vim or PHP.
On the flip side, if UDP over TCP only counts when it's something you can realistically decide, it doesn't really matter to me. And actually, IIRC quic/HTTP3 is over UDP anyway? Though if you can't use TCP stuff, that would still not be enough.
The vim option is the only one without any compromise on the outcoming program.
Dealing with XML everywhere for fully random data is a nightmare (imagine you have to pass user input to an embedded system, but you need it to have fully compliant XML parser on board)
You can use SXML. This also means you can use details of the representation as s-exps to not use a full parser, if you already know all the message types that can exist in your system.
Now if it's an alternative syntax to xml, is it still xml ? Also does it make sense to use outside of scheme and lisp ? If we're back to double quotes to enclose values, json is there right wagging its tail.
Now if it's an alternative syntax to xml, is it still xml ?
Yesn't. Semantically it is exactly the same, only its syntax differs. But parsers unaware of SXML won't take it, you need to transform it back into its conventional syntax.
Outside of Schemes and Lisps, it makes a lot less sense (except for the case of human-readability where it remains vastly superior to normal XML much like Scheme to MathML).
If we're back to double quotes to enclose values, json is there right wagging its tail.
I'd argue it's superior because Lisp, but you probably guessed that I would.
Joking aside, JSON doesn't allow you to cheat by exploiting representational details quite as much, so there's still cases where it can be legitimately superior, though you might (legitimately) consider that a hack. I would imagine their performance as far as information density goes to be similar-enough not to matter.
Yes, but in the case of xml itβs double the frustration level because there apparently is an XSD in existence, the third party just wonβt share it as part of the api documentation.
UDP it isβ¦ I mean it either got there or it didnβt. What do I care. But how is the faster protocol represented by the character with the most robust framework?
UDP is the best choice for multiplayer games, IP telephony, teleconferences, torrents, and many many other things that do not follow strict client-server architecture.
Bittorrent was actually initially (and still is primarily) TCP-based. It's not latency-sensitive, and you need to confirm successful data transfer anyway, so there's minimal benefit to using UDP for it.
There's one huge advantage of UDP - it can bypass NAT. As long as you have two regular users sending data to each other, not through your server, you have to use UDP.
NAT traversal is a whole mess. TCP needs to do hole punching, but UDP can't do it natively either -- UDP needs to do STUN or something.
I guess it's a simpler implementation under UDP -- but for both cases it's not entirely trivial and requires the assistance of a third party not behind a NAT.
I can't say with 100% certainty, as I never really use vim unless I have to, but I believe the problem with debugging is the constant time waste of having to switch to a command line debugger and manually put in all your break points and watches each time you test.
vimspector is your friend in that case. Watch window, breakpoints (normal and conditional), logging, variable inspection and all other common debugging features. Supports over 15 languages.
I never had that problem myself tbh, I don't use a debugger much, and if I do, a shell is just fine, and preferable sometimes.
You can also always just hook it up to vim with a plugin, or use one of the many existing plugins.
The only real debugger I use is gdb for debugging C, and honestly the most common usage I have for it is to get a stacktrace on weird segfaults. I do sometimes use it as an actual debugger, but not often.
Know PHP and occasionally still use it (was my first programming language), don't know Node, not a problem
I like vim, never used vs code, not a problem either (though most free IDEs where you can jump to the definition of a function/class would win against vim when debugging/analyzing someone else's OOP code)
JSON is superior for simple serialization, but XML shines when stuff has lots of attributes, so I could live with that
Haven't had to use UDP for anything yet nor learned how, so that would be a major pain
I used it once quite a while ago, so I didn't remember much about it, only that it's another standard that's much less common than the other two. Maybe XLS would have been a better choice for Masochist Mode.
It's not really common in APIs for example, but it's a great format for stuff like config files where a human has to write them, since it has comments and you don't have to worry about things like quotes or brackets
186
u/rusty_n0va May 25 '22
(n)Vim is fine for me.
104
u/Knuffya May 25 '22
I'll pick the vim gf. Wouldn't have to change anything. Free gf.
67
u/bigorangemachine May 25 '22
You shouldn't know the difference between UDP over TCP...
208
u/[deleted] May 25 '22
Hmm node or PHP... Can I just use neither?
112
u/xxanthis May 25 '22
Last one is Microsoft
50
u/Turious May 25 '22
Vim is amazing. Gimme.
46
u/liquidbeansuc May 25 '22
Fuck it, I'm taking the last one
21
u/MadocComadrin May 25 '22
Troll each one:
20
u/VRTLGRRL May 25 '22
I already use vim by default, and XML isn't a horrible pick soooo
65
u/HamsterExAstris May 25 '22
XML is definitely the least painful option here.
17
u/supersonicpotat0 May 25 '22
A girl who uses vim?!?
I WILL KILL EACH AND EVERY ONE OF YOU SWEATY NERDS, SHE'S MY FUTURE WIFE, YOU HEAR ME!
BACK, BACK YOU FOUL BEASTS!
16
u/[deleted] May 25 '22
Iβm QUIC to choose the girl in the far left. She has the biggest titties.
13
u/fisconsocmod May 25 '22
UDP it isβ¦ I mean it either got there or it didnβt. What do I care. But how is the faster protocol represented by the character with the most robust framework?
18
u/envoyr May 25 '22
Php is fine π§ββοΈ
8
u/game_difficulty May 25 '22
Pain
8
u/FidelCarlton May 25 '22
I already use vim instead of vscode. When will I get the waifu?
6
u/_pelya May 25 '22
UDP is the best choice for multiplayer games, IP telephony, teleconferences, torrents, and many many other things that do not follow strict client-server architecture.
5
u/BS_BlackScout May 25 '22
XML, easy.
5
u/mrblackv May 25 '22
I choose vim, it's not Emacs but still a pretty good piece of software.
4
u/Bl4ckb100d May 25 '22
I think I can live with xml
4
u/PM-ME-YOUR-HANDBRA May 25 '22
I'm not sure what it says about me that my immediate response was "meh, I'd take all four."
3
u/Hellow2 May 25 '22
Already using XML while writing HTML or while creating graphs svg
3
u/Diapolo10 May 27 '22
I'm actually fine with XML, so I wouldn't mind the last one. Not saying I like it, but I don't hate it.
2
u/Mast3r_waf1z May 25 '22
Last one is the easiest to work with tbh
2
u/Kikiyoshima May 25 '22
XML it is
2
u/[deleted] May 25 '22
I mean, udp is better for stuff like streaming content.
2
u/Deadly_chef May 25 '22
xml I guess, it's not that bad
2
u/flying_5loths May 25 '22
3rd option isn't so bad until you realize you need a debugger
2
u/[deleted] May 25 '22 edited May 25 '22
Also XML girl is best anyway.
2
u/[deleted] May 25 '22
XML over JSON is the least problematic.
2
u/Hangdonger May 25 '22
Jokes on you I'm not a programmer so I pick the secret fifth option of die alone.
2
u/[deleted] May 31 '22
$girlsToChoose=["Will force you to use udp over tcp",
"Will force you to use php over node",
"Will force you to use vim over vs code",
"Will force you to use xml over json"];
$_SESSION["myChoice"]=$girlsToChoose[1];
2
u/creeper6530 Jun 20 '22
2
u/DannyGarden Jul 14 '22
Why would anyone want to use TCP, node, BS Code, and JSON?
6
u/xDreamSkillzxX May 25 '22
And it's a repost: https://www.reddit.com/r/ProgrammerHumor/comments/ux0kux/pick_one_or_more/
1
u/curiosityLynx May 25 '22
In order from least problematic to most
1
u/Ekank May 26 '22
i use VIM
1
u/CalvinBullock Apr 12 '24
3rd girl is to late (n)vim has already claimed my soul
1
u/kai58 May 25 '22
What are the udp and tcp?
1
u/HerrEisen May 25 '22
Me: squash && push --force
1
u/FelixLeander May 25 '22
Not even this post will make me use PHP. I'd be fine though with using udp
1
u/f8computer May 25 '22
Thigh highs or glasses.
But im old school used mcedit for years
1
u/ocket8888 May 25 '22
The tallest one. Unfortunately she's probably like 5'6" and I'd just tower over her anyway.
1
u/FarronSerah May 25 '22
well, i heard php developers statistically earn more, so...
1
u/eltha9 May 25 '22
Ohhh... paint me like one of your PHP elephant!
1
u/whatup_pips May 25 '22
I like the third one (left to right)
1
u/KillerRoomba13 May 25 '22
Depends. Hows the payout?
1
u/FaySmash May 25 '22
Option 1, I use QUIC
1
u/fsd66 May 25 '22
I actually got forced to use UDP when TCP (or even better, an http server) would have worked fine.
1
u/Safe_Skirt_7843 May 25 '22
take the UDP and implement your own version of TCP over it, or use quic
1
u/ExeOnLinux May 25 '22
vim ftw (also 69th comment nice)
1
u/malleoceruleo May 25 '22
Is that UDP girl afraid of handshakes?
1
u/sillybear25 May 25 '22
Ultra-masochist mode:
AppleTalk, ASP.NET, Notepad, YAML
1
u/ElementalCyclone May 25 '22
I have pondering this picture for what, 3 - 4 minutes, focused without going anywhere, locked into those 4 dreaded choices
I don't think i have the stomach to even choose one, let some more, even though each option comes with waifu . . .
1
u/Equivalent-Air-1782 May 26 '22
I already use vim
1
u/Romyn0 May 26 '22
okay but vim is better than vs code anyways
1
u/WrongdoerSufficient May 26 '22
None of this good, but i'll take the vim one
1
u/RedRedditor84 May 26 '22
Vim gf has a line of dudes.
1
u/djdisodo May 26 '22
udp over tcp, sounds like VPN
1
u/moru0011 May 26 '22
Udo over TCP is clear favourite to me :)
1
u/Mr__Brick Jun 05 '22
other than the first one I'm into that shit
also I prefer MongoDB over mySQL
1
u/Quarves Jun 10 '22
First two from the right.
1
u/ms123games Jun 14 '22
No problem with the tall one (php good)
1
u/Bright-Historian-216 Jul 02 '22
Me who doesn't know how to do tcp: nice
1
u/Dr_Bunsen_Burns Jul 05 '22
I will use udp over tcp if the comes with it.
1
u/TheAlphaKarp Aug 22 '22
Vim is cool
1
u/ProtozoarioMaligno Nov 03 '22
Vim
1
u/Ndawesome1 Nov 30 '22
Xml. The rest are unacceptable
1
u/inventor500 May 29 '23
Emacs is the one true editor. Also, the web now runs on UDP (quic, anyone?)
0
u/[deleted] May 26 '22
[deleted] β view deleted comment
2
u/[deleted] Jul 02 '22
[removed] β view removed comment