700,000 lines of code, 20 years, and one developer: How Dwarf Fortress is built - Stack Overflow Blog
Dwarf Fortress is one of those oddball passion projects that’s broken into Internet consciousness. It’s a free game where you play either an adventurer or a fortress full of dwarves in a randomly generated fantasy world. The simulation runs deep, with new games creating multiple civilizations wi...
Hasnain says:
Interesting and endearing read on dwarf fortress and the challenges of maintaining a long running software project.
“Q: What are the challenges in developing a single project for so long? Do you think this is easier to do by yourself? That is, because you wrote every line, is it easier to maintain and change?
A: It’s easy to forget stuff! Searching for ‘;’, which is a loose method but close enough, we’re up to 711,000 lines, so it’s just not possible to keep it all in my head now. I try to name my variables and objects consistently and memorably, and I leave enough comments around to remind myself of what’s going on when I arrive at a spot of code. Sometimes it takes several searches to find the exact thread I’m trying to tug on when I go and revisit some piece of the game I haven’t touched for a decade, which happens quite a bit. I’d say most changes are focused only on certain parts of the game, so there is kind of an active molten core that I have a much better working knowledge of. There are a few really crusty bits that I haven’t looked at since before the first release in 2006.”
Posted on 2021-07-30T03:03:13+0000
Inside Blizzard Developers’ Infamous Bill ‘Cosby Suite’
Booze, sexual remarks, and a giant portrait of Cosby are all at the center of Activision lawsuit
Hasnain says:
While a lot of the articles on this have been repeating the Bloomberg story (based on the lawsuit) - Kotaku went and did some more investigating and reading of the original material and… holy crap.
“Another image from the same Facebook album shows a screenshot of a 2013 group chat called the “BlizzCon Cosby Crew.” In it, former Blizzard designer David Kosak writes, “I am gathering the hot chixx for the Coz.”
“Bring em,” replies Afrasiabi. “You can’t marry ALL of them Alex,” Kosak writes. “I can, I’m middle eastern,” responds Afrasiabi. Jesse McCree, currently a lead game designer at Blizzard, then writes, “You misspelled fuck.””
Posted on 2021-07-29T01:13:27+0000
In Defense of Hard Counters in Real Time Strategy Games
This article is supported by my Patreon. If you like what you see, please consider contributing. I feel like hard counters get a bad rap in RTS games. There are a lot of arguments out there both fo…
Hasnain says:
Great read with an in depth analysis of RTS game design
“In my experience, weirdly, games with a lot of hard counters tend to (when the game is reasonably well balanced, anyway) average out into combat scenarios where the hard counter relationships smooth out the gameplay. If you have tanks, units that are good against tanks, air and units that are good against air, and infantry and units that are good against infantry, you don’t have a series of “Rock, Paper, Scissors” binary deletion interactions, but a dance of players trying to find good angles of attack and trying to preserve their units in order to deter or destroy or drive off pieces of the enemy army.”
Posted on 2021-07-28T07:14:26+0000
Burnout in Tech - Part 1: Declaring war
And we all need to fight
Hasnain says:
This was an excellent 4 part read on the psychology of burnout, common stressors, and how to avoid it personally and organizationally.
““Why am I burned out? Because I’ve internalized the idea that I should be working all the time. Why have I internalized that idea? Because everything and everyone in my life has reinforced it—explicitly and implicitly—since I was young.””
Posted on 2021-07-27T05:39:57+0000
Poisson's Equation is the Most Powerful Tool not yet in your Toolbox
Poisson's Equation is an incredibly powerful tool...
Hasnain says:
Been a while since I've read a good technical article focused on math.
"Poisson's equation comes up in many domains. Once you know how to recognize it and solve it, you will be capable of simulating a very wide range of physical phenomena.
The knowledge from this post is a jumping off point into many, much deeper fields.
For applications we've already discussed steady-state temperature distributions, electrostatics and magnetostatics, and computational fluid dynamics. But these same tools are also used in geophysics, image processing, caustics engineering, stress and strain modeling, Markov decision processes, the list goes on!"
Posted on 2021-07-27T03:35:26+0000
We Need To Talk About The Insecurity Industry
The greatest danger to national security has become the companies claiming to protect it
Hasnain says:
Relevant and timely read in the aftermath of the Pegasus story breaking. Very well written and a great analysis of technology, policy, and socio-economic incentives w.r.t the security and software industry.
"If you want to see change, you need to incentivize change. For example, if you want to see Microsoft have a heart attack, talk about the idea of defining legal liability for bad code in a commercial product. If you want to give Facebook nightmares, talk about the idea of making it legally liable for any and all leaks of our personal records that a jury can be persuaded were unnecessarily collected. Imagine how quickly Mark Zuckerberg would start smashing the delete key.
Where there is no liability, there is no accountability... and this brings us to the State. "
Posted on 2021-07-27T03:34:16+0000
Efficiency is the Enemy
If you ever find yourself stressed, overwhelmed, sinking into stasis despite wanting to change, or frustrated when you can’t respond to new opportunities, you need more slack in your life. Here’s how slack works and why you need more of it.
Hasnain says:
This was an interesting read on productivity and management. And it does align with some of my own prior personal experiences.
"Only when we are 0 percent busy can we step back and look at the bigger picture of what we’re doing. Slack allows us to think ahead. To consider whether we’re on the right trajectory. To contemplate unseen problems. To mull over information. To decide if we’re making the right trade-offs. To do things that aren’t scalable or that might not have a chance to prove profitable for a while. To walk away from bad deals."
Posted on 2021-07-27T03:17:47+0000
Police Are Telling ShotSpotter to Alter Evidence From Gunshot-Detecting AI
Prosecutors in Chicago are being forced to withdraw evidence generated by the technology, which led to the police killing of 13-year-old Adam Toledo earlier this year.
Hasnain says:
I’ve read this twice today and it keeps getting worse as I process the implications. This is one reason we need more accountability in the systems we build and a higher standard for ethical considerations in the work being done in tech.
“Had the Cook County State’s Attorney’s office not withdrawn the evidence in the Williams case, it would likely have become the first time an Illinois court formally examined the science and source code behind ShotSpotter, Jonathan Manes, an attorney at the MacArthur Justice Center, told Motherboard.
“Rather than defend the evidence, [prosecutors] just ran away from it,” he said. “Right now, nobody outside of ShotSpotter has ever been able to look under the hood and audit this technology. We wouldn’t let forensic crime labs use a DNA test that hadn’t been vetted and audited.””
Posted on 2021-07-27T02:39:32+0000
Activision Blizzard employees call leadership response to harassment suit ‘abhorrent and insulting’
More than 800 employees have signed an open letter to leadership
Hasnain says:
As with so many stories these days - this is worth reading, listening to, and reflecting upon to see how we must all do much better.
“Our company executives have claimed that actions will be taken to protect us, but in the face of legal action — and the troubling official responses that followed — we no longer trust that our leaders will place employee safety above their own interests. To claim this is a “truly meritless and irresponsible lawsuit,” while seeing so many current and former employees speak out about their own experiences regarding harassment and abuse, is simply unacceptable.”
Posted on 2021-07-27T02:20:21+0000
Ex-diplomat’s daughter brutally murdered in Islamabad
ISLAMABAD - In a barbaric incident, the 28-year-old daughter of a former Pakistani diplomat was beheaded during an illegal detention
Hasnain says:
The more that comes out about this story the more horrifying it is. Because it’s… just so normalized - how many stories do we just not hear about?
““Oh my God, these moments were horrible because Zahir was detaining Noor in the room and we all were standing outside his house and could not do anything for her. Zahir time and again came out of the room and chatted with us. He also asked us if we could lend him pliers,” said a common friend of Noor while talking to The Nation. He said it took 10 minutes to kill and behead Noor by Zahir Jaffar.”
Posted on 2021-07-26T03:01:35+0000