40 Programming Questions / 6 Months In

I started teaching myself to program about six months ago — I see I registered for CS50 on March 1st. It’s been incredibly rewarding. Part of what I love about it is how endless it is: every question leads to more. So for a few days, I decided to write down my web development questions instead of immediately googling them. In another six months I’ll do it again and I’ll revisit these, which should be neat.

1. What is a webpack loader doing with css that makes it different from link hrefing?

2. What even is caching?

3. What is treeshaking? How good is it?

4. How do I use service workers?

5. When languages create GUIs, what are they using? My only comparison is how javascript uses the DOM.

6. What’s the cut-off point for complexity for when you should start incorporating a JS framework?

7. How do javascript components get reused across different pages?

8. Can we minify html the way we can minify css and js?

9. Can we see the load that css animations put on a computer?

10. Why is inheritance hell a thing? How many levels of class could you need?

11. How do shared rooms for messaging and games even work? At 60fps!

12. If Python can be compiled into C, why is Python known for being slow?

13. How does BaaS work? Do you sacrifice speed?

14. What is an apex domain?

15. What are the other BaaS besides netlify?

16. What is the LAMP stack?

17. What are the exact benefits of using a built website over squarespace or wordpress when you don’t need much functionality?

18. What exactly is a CDN? What is the point?

19. What are the common security failure points?

20. Are there disadvantages to garbage collection?

21. Why is the ‘maximum wait limit’ 3 seconds?

22. Is the main issue with having yr very own local server having it on all the time and the electricity costs?

23. Why do people refer to code as ‘ergonomic’?

24. What are interfaces in typeface and why do they matter?

25. What fraction of web development solutions are ‘hacky’? Will that fraction change in the future? Is it better than in the past?

26. What are these media query ‘levels’?

27. What are the advantages of different object creation patterns?

28. What is gzipping? If we zip stuff, does that mean the client has to do the work of unzipping it before using it? If so, is the idea that it’s a cost to their data usage but a save to ours?

29. Does caching mean that if a client accesses a framework-based site, when that framework is used on another site the client doesn’t have to redownload it? What if they use different versions of the framework?

30. Does using Babel make for longer and thus longer-to-download code? Does supporting IE slow things down for everybody??

31. People talk about how frustrating it is that features of websites that could be entirely html5 are javascript-dependent. Are they whining, or is that a legitimate concern for poor access?

32. A few years ago phones apparently had to do more work to handle javascript. Is that still a thing?

33. Why would that be a thing?

34. Why are nested child selectors in css less efficient than class or id? Is there a winner between class and id?

35. If you’re using a local image (or even a foreign image) again and again, is there a more efficient method than requesting it with src in each element?

36. How does supporting different languages work? Does all your text have to access variables from language files?

37. What the heck is a curry function!

38. What are ‘host objects’ and ‘native objects’?

39. What’s up with this CORS thing? Why can I easily scrape with Python, but get blocked when scraping via JS / a browser?

40. Does SEO ever lead to worse user experience?

Now to google…

Pregnancy? Experts Divided.

In confronting the problem of mortality and the falling human population, a radical solution has been floated: Allow women to deliberately become pregnant and give birth. NewLives, an advocacy group in favor of the motion, is coordinating campaigns in multiple countries. It’s not just advocates though–thousands of women have signed up, willing to risk their lives. The campaign has support in over a hundred countries, and multiple national governments are set to debate legalization within the coming months.

We spoke to Alexis McPhearson, 23, a volunteer and student at the University of Toronto, about why she would want to take such a risk. She says there are multiple reasons, including not only bolstering the population, but also the potential for deep personal meaning. She says that the disappearance of several cultures in the last decade sent her into a deep depression and the idea of creating new life gave her a sense of purpose.

When asked about the risks, she says that the probability of her dying is so low, the chance of creating new life is worth it. “It comes down to the math of it. The risk of death is about as low as dying from donating a kidney. If we can get support for childbirth, I’ll receive the best medical care in a devoted facility, in which case it will be even lower. For me, the substantial probability of adding one life to the world is worth the small risk of losing one.”

Not all people think of it in terms of probabilities, however. Bioethicists are split on the merits of pregnancy. Brian Garcia, MD, a tentative supporter, calls it a necessary evil. “Now, this isn’t something you’d normally consider,” he says over the phone. “But given the slow cratering of the earth’s population, sometimes you have to allow altruists to take risks.”

On the other hand, Jacob Strickland, MD, is skeptical. “Obviously, new life would be beautiful. But even with the best medical care there is still the chance of death during childbirth. So I just don’t see how you ethically could allow a pregnancy.”

Strickland goes on to detail the potential effects that can result from even a successful pregnancy, based on studies in the animal world. “Increased risk of cardiovascular disease, weight gain, bladder dropping, rectocele. We also suspect there can be ongoing psychological effects. It’s not clear to me that volunteers are fully cognizant of all the risks they’d be taking on.”

McPhearson, for her part, says she knows of and accepts the risks, considering them to be worthwhile compared to the potential gains. NewLife has proposed limiting pregnancy to those in the lowest risk bracket. This means women in their late 20s. It is also formulating what it calls a strong informed consent procedure. “We are very aware of the risk, and we believe that if a volunteer is also fully aware, then it’s their choice to make and we want to advocate for them,” says John Swift, the director of NewLife. “We certainly don’t want to downplay the risk and are working to create a process that would rigorously inform potential volunteers.”

Even so, the fraught history of pregnancy has many observers worried. “There have been many cases in the past where women didn’t know about the risks they were getting into with pregnancy. There wasn’t informed consent. Women have died because of it,” says Strickland. 

If childbearing is to become legal, it will only be after concerns like these have been adequately addressed. This means extensive vetting by medical professionals and potentially bitter debate in national legislatures. McPhearson is hopeful that she can ‘conceive’ (become pregnant) by the end of the year. In the meantime, she is planning out what she would do during her pregnancy. She ends our phone call by telling me the probability of twins (0.45%).


…Luckily, we live in a world where the idea of pregnancy being illegal is both ridiculous and horrifying. Unfortunately, we live in a world where such a campaign is necessary for human challenge trials, which could help end the pandemic sooner. While we accept that people can take a small risk of death in order to create a life, we are much, much more cautious about letting people try to save lives. If you would like to learn more about advocacy efforts for challenge trial volunteers, please check out 1Day Sooner and consider joining!