Programming Memes Thread
-
@magus said in Programming Memes Thread:
@karla Gen3 is amazing :)
True story: my first video game ever was Pokemon Emerald. Even before I bought a Gameboy, I had Pokemon Emerald.
-
@ben_lubar I skipped Gen2, unlike most people my age, who quit after Gen2. I never played 4, and didn't get far in 5, because they didn't seem like they changed the basic formula enough. Y definitely did, and then so did Moon, but I still feel like Sapphire was the biggest leap of all in many ways.
-
@magus said in Programming Memes Thread:
I skipped Gen2, unlike most people my age, who quit after Gen2.
Like most people my age (), I never played any of them and have NFC what you're on about. (Pokémon is a game about ... things ... that do ... something.)
-
@tsaukpaetra I do that also. Is there a reason why it can't just work either way?!
-
-
@tsaukpaetra Is this memes?
-
@scholrlea Why can't I hold all these "yes"s?
-
-
@karla said in Programming Memes Thread:
@timebandit said in Programming Memes Thread:
@karla said in Programming Memes Thread:
We only use CF in legacy stuff. New stuff is .NET and unfortunately Dynamics CRM
At least we know why you still like ColdFusion
Yeah.
I like C# and .NET but there are still things that I just understand how it work better in ColdFusion. I like the way it handles data sources.
I know, right.
<cfqueryparam type="CF_SQL_INTEGER" value="1,2,3,4,5,6,7,8" list="yes">
enough said
-
-
-
"once you get it set up with your drivers and applications, you should never have to reboot it. If you do, then we've failed."
Back in 1992 fellas. Apparently Microsoft forgot this vision.
-
And it's still the case today
-
-
@boomzilla said in Programming Memes Thread:
@jaloopa said in Programming Memes Thread:
They misspelled "Thinks months start at 0." Maybe the last was a self portrait.
Ah, but then the months are IDs not index values in that case...It belongs in a collection!
Edit: I didn't see the post date, but I'm not the one that necro'd the topic so I'll just walk away quietly...
-
It's just a one line change. Simple!
-
@sockpuppet7 Though I think the C# version is more the solution over in Outsource.
-
@sockpuppet7 said in Programming Memes Thread:
What is the Java one referring to? I get the "two versions" problem, but not the "no princess" one.
-
@tharpa You have JavaScript.
You know NPM can save the princess for you, the problem is choosing between ten different princesses to save.
-
@Zecc Java, not JavaScript.
-
@The_Quiet_One I was making a separate joke, not answering @tharpa.
Java's "two versions" is related to class loaders, I think?
-
@Zecc said in Programming Memes Thread:
Java's "two versions" is related to class loaders, I think?
Maybe. I was thinking it has to do with a problem that sometimes happens, at least in Eclipse, where there's more than one place to specify which version of Java you're using, and so you end up trying to figure out why it's giving you an error apparently related to Java 6 when the build path says you're using 7.
-
@Zecc said in Programming Memes Thread:
Java's "two versions" is related to class loaders, I think?
That's my interpretation. And the "no princess" means that due to that fuckery, you still can't use the actual class you need to use.
-
@tharpa said in Programming Memes Thread:
@sockpuppet7 said in Programming Memes Thread:
What is the Java one referring to? I get the "two versions" problem, but not the "no princess" one.
Java has its own version of DLL hell, except worse. Depending on how much the class loader has had to drink, several different identical versions of a library can be loaded at once and you can only call library stuff on the one that loaded in your context even if the framework you're using only wants to pass you a different one. Additionally, JARs have no concept of actually declaring required dependencies to link to unlike DLLs, so incorporating other JARs onto the classpath is entirely the job of the program. Which it's not unreasonable to expect fuckups with because Java has no straightforward
Assembly.Load
method; you have to create a class that extendsClassLoader
and make your own class loading logic.
-
@pie_flavor Java 9 did change that, or if you want even more fun you could try Eclipse's OSGi platform where you can actually load nearly two versions of everything should you want to.
-
Possibly posted previously, but it resonates with me.
inb4 obviously it's more about density than overall mass, but shush
-
@kazitor said in Programming Memes Thread:
inb4 obviously it's more about density than overall mass, but shush
To those s I'd retort that node_modules billions of microlibraries interact with eachother on a quantum level which gives it such high density properties. I mean, any physicist would agree with me. just don't ask them for real
-
@The_Quiet_One I'm a "real physicist" and I approve this message.
-
@TimeBandit I mean yeah, windows 2000 is still disappointing
-
@bb36e said in Programming Memes Thread:
I mean yeah, windows 2000 is still disappointing
Not as much as Windows 10
I mean, at least you could work on Win2k without it saying "Fuck you, I'm rebooting because what you're doing right now is not THAT important"
-
@TimeBandit That isn't a difference, though. That only happens on 10, as people have told you a thousand times, if you don't update at some point when it would be fine to update. Sooner or later, it will indeed do it whether you like it or not - but it's your own fault if you didn't make sure it happened at a time when you could have dealt with it.
-
@Magus said in Programming Memes Thread:
if you don't update at some point when it would be fine to update
When exactly would it be fine to update?
Forced update is a wonderful thing
-
@TimeBandit That bug would not affect me in any way, because I set up my accounts right.
-
@Magus said in Programming Memes Thread:
That bug would not affect me in any way, because I set up my accounts right.
Wass ist das
-
@bb36e said in Programming Memes Thread:
@Magus said in Programming Memes Thread:
That bug would not affect me in any way, because I set up my accounts right.
Wass ist das
Make no modifications. Accept all defaults. Do not change them. Duh.
-
@dcon and don't dare to have accents in your name!
I don't mean account name. I mean legal name, which you are required to provide when making Microsoft account.
-
@Gąska said in Programming Memes Thread:
@dcon and don't dare to have accents in your name!
I don't mean account name. I mean legal name, which you are required to provide when making Microsoft account.
Oh yeah. And don't have spaces in your account name. I ran into a VS linker bug when dealing with
%TEMP%
.
-
@dcon said in Programming Memes Thread:
Make no modifications. Accept all defaults. Do not change them. Duh.
You changed your desktop background, that's your own damn fault you're having issues with Windows </blakeyrant>
-
@bb36e Primarily: Make a local admin account, then simply log in with my Microsoft Account. Some bad software breaks, but it definitely makes the OS work better.
-
@Magus damn, hopefully they can add this as a default option during installation
-
@TimeBandit said in Programming Memes Thread:
I mean, at least you could work on Win2k without it saying "Fuck you, I'm rebooting because what you're doing right now is not THAT important"
It can't even get that right:
Also not unrelated to Windows 2000.
-
@TimeBandit said in Programming Memes Thread:
@dcon said in Programming Memes Thread:
Make no modifications. Accept all defaults. Do not change them. Duh.
You changed your desktop background, that's your own damn fault you're having issues with Windows </blakeyrant>
There's gotta be a reason why you can't change your desktop background in unregistered windows installs, right?
-
@pie_flavor I had a license problem after trying to reinstall Windows 7 a while back that resulted in it being "unregistered" making its desktop background black with the words "THIS VERSION IS UNREGISTERED" on all four corners. My best guess is it's to show anyone within your sight how awful of a human being you are for having an unregistered version, putting shame on you and your family, and assigning your computer a scarlet letter. Everyone around you will look and hang their heads at your foolishness.
-
@The_Quiet_One I've got a desktop somewhere under all these icons, I think.
-
@pie_flavor said in Programming Memes Thread:
@The_Quiet_One I've got a desktop somewhere under all these
iconsmaximized windows, I think.
-
@The_Quiet_One said in Programming Memes Thread:
@pie_flavor I had a license problem after trying to reinstall Windows 7 a while back that resulted in it being "unregistered" making its desktop background black with the words "THIS VERSION IS UNREGISTERED" on all four corners. My best guess is it's to show anyone within your sight how awful of a human being you are for having an unregistered version, putting shame on you and your family, and assigning your computer a scarlet letter. Everyone around you will look and hang their heads at your foolishness.
Nowadays it's an overlay, so you can't hide it with a simple "we only use maximized Windows" MO.
-
@pie_flavor said in Programming Memes Thread:
Additionally, JARs have no concept of actually declaring required dependencies to link to unlike DLLs, so incorporating other JARs onto the classpath is entirely the job of the program.
That's really not that big a problem in practice. Applications don't need to be distributed in multi-JAR form in the first place, and libraries usually have good metadata that describes what they need so your packaging tool can do the right thing for you. The only people who have a problem are idiots who stick with using their IDE for all tasks and assume that it manages all dependencies; make it so that your project can be built with no IDE present (e.g., by providing proper descriptions of it in Maven or Gradle) and all will be well.
And really try to never touch a
ClassLoader
. They're insanely magical when used in almost any way other than one, and that's the way you also end up using behind the scenes if you don't touch them explicitly at all…
-
@TimeBandit said in Programming Memes Thread:
@Magus said in Programming Memes Thread:
if you don't update at some point when it would be fine to update
When exactly would it be fine to update?
https://betanews.com/2018/11/20/microsoft-pulls-buggy-office-updates/
Forced update is a wonderful thing
When Win
3.11 is out?
-
@dkf Right, until you end up with licensing restrictions because half your libraries are LGPL and need to be downloaded on-site and dynamically linked. Or until you want to be able to load plugins. Or half a dozen other things.
ClassLoaders are great to never have to touch. But when you want to load stuff at runtime... eeh.
Here's some fast and simple plugin loading code in C#:var dir = Directory.CreateDirectory("mods"); var dict = new Dictionary<string, IMod>(); foreach (var file in dir.EnumerateFiles("*.dll")) { try { var assembly = Assembly.LoadFile(file.FullName); foreach (var type in assembly.GetExportedTypes().Where(t => t.IsSubclassOf(typeof(IMod)))) { var mod = (IMod)type.GetConstructor(new Type[] { })?.Invoke(new object[] { }); if (mod == null) { continue; } dict[mod.Id] = mod; Log(string.Format(Strings.LoadedMod, mod.Name)); } } catch (BadImageFormatException) { } }
The equivalent code in Java has an extra class, classloading internals, an invocation of the name of Azathoth, and ocular carcinogens.
-
@pie_flavor said in Programming Memes Thread:
Right, until you end up with licensing restrictions because half your libraries are LGPL and need to be downloaded on-site and dynamically linked.
Why the fuck would you use LGPL libraries?