Tux 🐧🐧🐧

@linuxgirl

Why is inlining so important in C++? Clearly, it reduces function call overhead: if a function is inlined, there is no need to spend time setting up its arguments, jumping to it, creating a stack frame, and then undoing all that upon returning. More interestingly, though, inlining enables other compiler optimizations. In this article, I will show examples of constant propagation and loop-invariant code motion (LICM). Then, I will explain how inlining enables these optimizations to apply more widely and show an example of the consequences when that doesn’t happen.

Read
More

Construct the computer from your childhood or build an entire computer museum at home with these paper models, free to download and share.

Print, Cut, Score, Fold and Glue.

This post is about a few patterns I use when illustrating ideas about computers. If you are interested in using drawings to teach people about your very favorite computer topics, hopefully this will help you!

Let’s talk about how to structure cartoons and how to translate computer concepts into pictures!

Most graph theorists will agree that among the vast number of graphs that exist there are only a few that can be considered really

interesting.It is the aim of this House of Graphs project to find a workable definition of ‘interesting’ and provide a searchable database of graphs that conform to this definition. We also allow users to add additional graphs which they find interesting. In order to avoid abuse, only registered users can add new graphs.

The **Boy or Girl paradox** surrounds a set of questions in probability theory, which are also known as **The Two Child Problem**, **Mr. Smith's Children** and the **Mrs. Smith Problem**. The initial formulation of the question dates back to at least 1959, when Martin Gardner featured it in his October 1959 "Mathematical Games column" in *Scientific American*. He titled it **The Two Children Problem**, and phrased the paradox as follows:

- Mr. Jones has two children. The older child is a girl. What is the probability that both children are girls?
- Mr. Smith has two children. At least one of them is a boy. What is the probability that both children are boys?

Gardner initially gave the answers 1/2 and 1/3, respectively, but later acknowledged that the second question was ambiguous. Its answer could be 1/2, depending on what information was available beyond that just one child was a boy. The ambiguity, depending on the exact wording and possible assumptions, was confirmed by Bar-Hillel and Falk, and Nickerson.

Other variants of this question, with varying degrees of ambiguity, have been popularized by Ask Marilyn in *Parade Magazine*, John Tierney of *The New York Times*, and Leonard Mlodinow in *The Drunkard's Walk*. One scientific study showed that when identical information was conveyed, but with different partially ambiguous wordings that emphasized different points, that the percentage of MBA students who answered 1/2 changed from 85% to 39%.

The paradox has stimulated a great deal of controversy. Many people argued strongly for both sides with a great deal of confidence, sometimes showing disdain for those who took the opposing view. The paradox stems from whether the problem setup is similar for the two questions. The intuitive answer is 1/2. This answer is intuitive if the question leads the reader to believe that there are two equally likely possibilities for the sex of the second child (i.e., boy and girl), and that the probability of these outcomes is absolute, not conditional.

Looks nice! I gave the `JPG -> PDF`

a try just now and it worked flawlessly. Going to play around with it a bit more!

Hello Gurlic world!

I’ve just launched a private-aware website for processing PDF documents last month, called PDF Shelter. It avoids communication with remote servers by performing all operations on the browser using open source JS libraries such as pdf-lib and pdf.js.

There are several new features in the pipeline, but I would like to show what we already have to gather some feedback on functionality, UX, etc. Thanks!

The kernel project goes out of its way to facilitate building with older toolchains. Building a kernel on a new system can be enough of a challenge as it is; being forced to install a custom toolchain first would not improve the situation. So the kernel developers try to keep it possible to build the kernel with the toolchains shipped by most distributors. There are costs to this policy though, including an inability to use newer compiler features. But, as was seen in a recent episode, building with old compilers can subject developers to old compiler bugs too.

Read
More

The **potato paradox** is a mathematical calculation that has a counter-intuitive result. *The Universal Book of Mathematics* states the problem as such:

Fred brings home 100 kg of potatoes, which (being purely mathematical potatoes) consist of 99% water. He then leaves them outside overnight so that they consist of 98% water. What is their new weight? The surprising answer is 50 kg.

In Quine's classification of paradoxes, the potato paradox is a veridical paradox.

The -^{1}⁄_{12} proof blew my mind in freshman college math. Everybody else’s too!

Can 1 + 2 + 3 + 4 + 5 + … = -

^{1}⁄_{12}?Numberphile and 3Blue1Brown take a look at what the sum of all real numbers could equal in different ways.

It is an unfortunate fact of life that non-free firmware blobs are required to use some hardware, such as network devices (WiFi in particular), audio peripherals, and video cards. Beyond that, those blobs may even be required in order to install a Linux distribution, so an installation over the network may need to get non-free firmware directly from the installation media. That, as might be guessed, is a bit of a problem for distributions that are not willing to officially ship said firmware because of its non-free status, as a recent discussion in the Debian community shows.

Read
More

@linuxgirl
shared their post
to
@technology