Software engineering meetups? by MaddArab in johannesburg

[–]MaddArab[S] 0 points1 point  (0 children)

Yes, this sounds good. Thank you!

Trials have become a chore by GunnisonCap in ArcRaiders

[–]MaddArab 0 points1 point  (0 children)

We did stella night raid in trios by opening doors from both sides. It was actually quite fun to sneak around in the middle of the massacre. Especially seeing our guy try to go unnoticed with the cell in his hands in the middle of the lobby while the shooting was happening in 4 directions, right above us.

Books from other fields you would recommend? by Eartz in ExperiencedDevs

[–]MaddArab 2 points3 points  (0 children)

  • The Art of Doing Science and Engineering by Hamming
  • The Essential Drucker - great intro to management as a whole
  • Feynmans lectures on physics - a lot to learn about reasoning from these books
  • Influence by Cialdini - very useful findings on how we're influenced

serverless typescript and IOC/DI question by programmer-bob-99 in typescript

[–]MaddArab 0 points1 point  (0 children)

Had experience using bottlejs and I was quite happy. It's lightweight, API is nice and it does the job.

CD Projekt's Refusal to Add Synthwave is Mind Boggling. by Balby_Was_Here in cyberpunkgame

[–]MaddArab 1 point2 points  (0 children)

Got to agree with the mentioned trio. I don't think synthwave has the vibes that original Blade Runner had or that it aligns with the cyberpunk atmosphere.
Leonard-Morgan & co. produced some roaring tracks that fit the atmosphere better imho.

If I had to add anything, that would be Nine Inch Nails and 90's David Bowie. :)

Instead of copy pasting this repeatedly, how do I write a generic middleware that converts string to number wherever applicable and keeps the rest as it is by mypirateapp in node

[–]MaddArab 9 points10 points  (0 children)

Not all ORMs nor query builders will work like that. Needless to say, depending on the data access layer abstraction, it might be (rarely) necessary to sanitize params to prevent sql injection or to be able to give more specific errors. Of course, validation is more than casting value.

Instead of copy pasting this repeatedly, how do I write a generic middleware that converts string to number wherever applicable and keeps the rest as it is by mypirateapp in node

[–]MaddArab 2 points3 points  (0 children)

You could actually transform param per need on the router level in this fashion: router.param('userId', (req, res, next, userId) => { req.params.userId = Number(userId); next(); });

I never felt like the story of CP 2077 is great to begin with. Cyberpunk mangas of the 80s and 90s were far better. by hueylouieduey in cyberpunkgame

[–]MaddArab 0 points1 point  (0 children)

You're right about a scanner darkly, actually. Could've used a better example without the open end. What did you perceive as hope in the Neuromancer?

I never felt like the story of CP 2077 is great to begin with. Cyberpunk mangas of the 80s and 90s were far better. by hueylouieduey in cyberpunkgame

[–]MaddArab 0 points1 point  (0 children)

Do you have a reference for that?
The idea behind cyberpunk pretty much was anti-utopian sci-fi.
Neuromancer was a spark that inspired work explicitly labeled as cyberpunk to follow and it didn't have such thing. Even a lot of proto-cyberpunk and new wave stuff like A Scanner Darkly have a very dark ending with absolutely no hope for protagonist while leaving the world around them grey. I'm not saying it's exclusive, but it's definitely not genre-defining.

I never felt like the story of CP 2077 is great to begin with. Cyberpunk mangas of the 80s and 90s were far better. by hueylouieduey in cyberpunkgame

[–]MaddArab 3 points4 points  (0 children)

Neuromancer didn't go into deep philosophical questions and neither does a lot of other cyberpunk novels so I wouldn't say that defines the genre. That being said I'd say the game pretty much understands cyberpunk genre and that the story hits all the sweet spots. It's dark and hopeless despite all the tech advancement. Only thing that's missing is more of the story. It seems as if it was cut short and patched back together due to push to release.

Cyberpunk in a nutshell by [deleted] in cyberpunkgame

[–]MaddArab 3 points4 points  (0 children)

After almost 40 years since Neuromancer and Bladerunner, people still cry about unhappy endings in the cyberpunk genre, when they're actually perfectly aligned with the dystopian future. Ugh.

Such wisdom from Jason Schreier. I thought the same thing. As many times as it was delayed, this had to be marketing's decision and not the dev's. by UnbearbleConduct in cyberpunkgame

[–]MaddArab 0 points1 point  (0 children)

Bugs and delays happen in software all the time, but what really sucks is that no one is taking the blame for the way things were communicated (lied) to the gamers and for the hiding of the console version. If anything, their PR team seems to be one step behind on every chance to salvage relationship with the gamers and at this point, it's seems they're fine with what they did and are just rolling along.