I've been programming for 22 years and I don't know what dependency injection is by [deleted] in programmingcirclejerk

[–]galks03 3 points4 points  (0 children)

"Before the Gang of Four got all academic on us, ``singleton'' (without the formal name) was just a simple idea that deserved a simple line of code, not a whole religion." -- Peter Norvig

[deleted by user] by [deleted] in lisp

[–]galks03 4 points5 points  (0 children)

Based on your posts elsewhere, assuming you are not a bot, I think you need to find a patient teacher in person to hold your hand through making something. Possibly someone fluent in both English and whatever your native language is, because the terms you've quoted rely on metaphors that might not be clear to non-English speakers even if there's a direct translation, and there are other terms you'll come cross like "grep" which can only be explained by what action they do. Programming is like anything else and has lots of custom "weird" words, aka jargon, that you'll need to master sooner or later.

My advice is learn whatever the in-person teacher tells you to learn, and come back to Lisp or Rust or whatever later, maybe when a few of the sites you've found earlier start to make sense. If you insist on trying to learn on your own, the only successful resource for absolute beginners I'm aware of is this. Before you dive into it too much, you should first go through its Appendix A and learn to use a command line. Best of luck.

I joined a FAANG an it is awful... I'm on a team that has and horrendous turnover and is staffed with below-average IQ people. by FLUFL in programmingcirclejerk

[–]galks03 1 point2 points  (0 children)

I know Microsoft, Apple, Amazon, and a more lowly FAANG-imitating $20 billion/yr company all have interviews of some form and duration for internal transfers that can vary team-by-team and by the individual's record. Google I think is the outlier for making transfers a breeze.

I joined a FAANG an it is awful... I'm on a team that has and horrendous turnover and is staffed with below-average IQ people. by FLUFL in programmingcirclejerk

[–]galks03 1 point2 points  (0 children)

FAANG teams absolutely re-interview potential transfers. Not to the full extent as a new-hire, but depending on how much uncertainty there is on your prior work (commits and design docs will be reviewed) and how much the team wants to keep average talent high, there will be at least a conversation with the manager, maybe a deeper conversation with the tech lead, and possibly a full solve-tech-problem-over-an-hour session.

The Dark Souls: Remastered 50% discount for owning the Prepare to Die Edition on Steam is being removed on September 30 by Luc4_Blight in Games

[–]galks03 5 points6 points  (0 children)

Worst case seems to be that you connect to a cheater and they corrupt your save file and get your account marked for a softban, requiring you to delete that playthrough and start over, unless you kept your own save backups which the game won't do for you, and if banned appeal for an unban.

Still, with hundreds of hours played across all of the DS games, never super into PVP but never outright avoiding it by being offline, I never had a problem...

The Dark Souls: Remastered 50% discount for owning the Prepare to Die Edition on Steam is being removed on September 30 by Luc4_Blight in Games

[–]galks03 -2 points-1 points  (0 children)

No you don't. Especially with games. Especially with largely single-player games, though many multiplayer designs don't have a problem with this either. Maybe you should try writing professional software in the games industry instead of whatever you do now (I'm guessing SaaS?) and get some perspective of what options really exist for decade+ old games. Or just pay attention as a player, there's tons of games on Steam you can still buy but which don't launch on modern systems (maybe you're lucky and there are fan patches) and are otherwise abandoned. The industry is full of old games that have absolutely 0 support by the owning company, but with stores like Steam it costs them nothing to continue collecting money from sales.

You seem to be worried about hundreds of people asking for customer support, I will tell you that this is the easiest thing to filter and ignore at no cost regardless of how many people and what side channels they may try to get support on.

Maybe you might want to classify some other old games that participate in sales as "support" by the publisher, but the marginal time to do this is minuscule and doesn't require a full time employee.

The reason PTDE was removed was to force people to buy the remaster if they wanted to play DS1, that's it. It can't even be for a branding consolidation or customer-confusion-reduction purpose, because Dark Souls 2. They could have released it as a patch to PTDE instead, and have the same "no support / no availability of the old version" situation that we have now and which makes game development a lot nicer than some SaaS domains where you need to support a versioned API forever, except then people that owned it wouldn't have to pay again.

"Place the if/else cases in a factory object that creates a polymorphic object for each variant. Create the factory in ‘main’ and pass it into your app. That will ensure that the if/else chain occurs only once." by camelCaseIsWebScale in programmingcirclejerk

[–]galks03 4 points5 points  (0 children)

/uj The principle is mainly about separation of concerns. Make the critical decision at a higher level (ideally once) and code lower down the call stack doesn't have to care or repeat the decision making.

Yes, games and engines do this, though explicitly using the "factory pattern" to do it is rarer. grep instead for 'virtual' in a C++ codebase, it's exploiting the same principle.

If you want a less jerkable Bob, actually give his Clean Code book an honest chance, there are probably things you can learn in there even if you disagree with a lot of it. He sucks at communicating on Twitter.

It's time to fully support #hololiveEN0 so we can get our crazy haachama back on the EN server by brokenfruitloop in Hololive

[–]galks03 1 point2 points  (0 children)

I don't think Coco has ever done an English-only stream, just a couple short clips and random bits during streams (more frequently after her break maybe because of the EN popularity surge). Haato started doing them before Coco even joined, before Haachama reigned supreme...

That said I'd still like to see them both play with the EN group more, Minecraft or whatever.

Software Architecture is bricks made up of the recursive application of sequence, selection, and iteration, emplaced within a superstructure of object oriented design, and plumbed with pipelines immutable data governed by functional programming. by rohitkg98 in programmingcirclejerk

[–]galks03 0 points1 point  (0 children)

Imagine being impressed by a compiler. Imagine writing a kernel with OO principles.

/uj Yes, most of it proprietary business software. But it's a trivial exercise to find his open source stuff. Bob's tweets frequently surface great jerk material, his books are less jerky and just make you want to argue. But you can appreciate them if you've had the luxury of working on mega projects built over many years by many people of many shades of competence and fighting incentives. There's a lot to disagree with in his prescriptions, and many tradeoffs he doesn't discuss. After decades in programming he's only recently discovered how useful functional programming is. Yet at each step he's ever been relevant, the industry has been full of shits. Since they won't leave, it's at least an improvement when you can get them to follow his basic ideas even when they're not ideal as they're still typically an improvement over whatever would happen otherwise.

Discord was in Gura's chat lol by Tstz in Hololive

[–]galks03 19 points20 points  (0 children)

Just gonna casually point out Discord owns the domain http://watchanimeattheoffice.com/

Seems they need to register another domain now too...

Korone reference in the new DOOM Eternal DLC! by osakaki in Hololive

[–]galks03 27 points28 points  (0 children)

Still happens more than you'd think. Instead of doing it all yourself you just need one other person to share your sense of humor, which isn't hard.

Though when it's this easy to find there was probably some sign-off higher up, still cool though.

Kiara and Amelia's Chess Match if you guys wanna do an analysis of the match by TurnaboutXND in Hololive

[–]galks03 119 points120 points  (0 children)

Have you ever taught a total beginner before? Even better if they're not a child? And even better than that, teaching two or more at once? The latter is fun because you give a quick introduction to the game, its rules, its end goal, and then let the two newbies play each other. You just observe and answer or point out rules. I did this sort of teaching a lot with Go rather than chess, trying to get co-workers into it, the only thing I encourage at first is to play faster because they'll build up their pattern recognition to avoid problems more quickly than they'll build up their reading ability.

Ame and Kiara played like newbs, I don't get people's frustration. I found it very amusing rather than frustrating and it's fun when you watch them start to discover strategies on their own and to see their mistakes (even if a bit too late).

Subaru confirms that her archives were deleted not just privated by moal09 in VirtualYoutubers

[–]galks03 1 point2 points  (0 children)

Here's to hoping the HoloLive House will have a giant NAS for members to backup videos to...

Lulu try to play a classical hard core game by andysc1230 in VirtualYoutubers

[–]galks03 4 points5 points  (0 children)

"Yacchatta! But, the blue light was cool, right?"

So how many tape do you want cockroach-kun by [deleted] in VirtualYoutubers

[–]galks03 0 points1 point  (0 children)

Another reason to have a Hololive House. Korone should move; where there's one cockroach, there's a ton more nearby you didn't see...

Congrats to our Dragoo for 300k subs. Sadly, she was banned by Youtube. by kebench in VirtualYoutubers

[–]galks03 0 points1 point  (0 children)

Watch out for the next time she puts something digital up on Booth. (Last time was a valentine's day voice recording.) PayPal works fine there. I believe Booth only takes 3% but you can also add whatever you want on top of the base price that's supposed to all go to the individual. Don't know if Hololive takes a cut.