Just because I don't care doesn't mean I don't understand.
539 stories
·
3 followers

Calvin and Hobbes by Bill Watterson for Sat, 06 Apr 2024

1 Comment

Calvin and Hobbes by Bill Watterson on Sat, 06 Apr 2024

Source - Patreon

Read the whole story
jgbishop
9 days ago
reply
Hard to believe this would get published today.
Durham, NC
Share this story
Delete

The Wi-Fi only works when it's raining

1 Comment

Happy April 1st! This post is part of April Cools Club: an April 1st effort to publish genuine essays on unexpected topics. Please enjoy this true story, and rest assured that the tech content will be back soon!

That's what my dad said when I asked what was wrong with our home internet connection. "The Wi-Fi only works when it's raining."

Illustration of a Wi-Fi antenna attached to the exterior of an upper floor of an apartment building. It's currently raining, and the Wi-Fi is working flawlessly.

Let's back up a few steps, so we're all on the same page about the utter ridiculousness of this situation.

At the time, I was still a college student — this was over 10 years ago. I had come back home to spend a couple of weeks with my parents before the fall semester kicked off. I hadn't been back home in almost a full year, because home and school were on different continents.

My dad is an engineer who had already been tinkering with networking gear longer than I'd been alive. Through the company he started, he had designed and deployed all sorts of complex network systems at institutions across the country — everything from gigabit Ethernet for an office building, to inter-city connections over line-of-sight microwave links.

He is the last person on Earth who would say a "magical thinking" phrase like that.

"What?" I uttered, stunned. "The Wi-Fi only works while it's raining," he repeated patiently. "It started a couple of weeks ago, and I haven't had a chance to look into it yet."

"No way," I said. If anything, rain makes wireless signal quality worse, not better. Never better!

Two weeks without reliable internet? I started a speed-run through the stages of grief...

Denial

I pulled open my laptop and started poking at the network.

Pinging any website had a 98% packet loss rate. The internet connection was still up, but only in the most annoying "technically accurate" sense. Nothing loads when you have a 98% packet loss rate! The network may as well have been dead.

I was upset. I had just started dating someone a few months prior, and she was currently on the other side of the planet! How was I to explain that I couldn't stay in touch because it wasn't raining? Mobile data at the time was exorbitantly expensive, so much so that I didn't have a data plan at all for my cell service at home. I couldn't just use my phone's data plan to work around the problem, like one might do today in a similar situation.

I was pacing around the house, fuming. Grief, stage two!

That's when the rain started.

Bargaining

Like a miracle, within 5 minutes of the rain starting, the packet loss rate was down to 0%!

I couldn't believe my eyes! I was ready for the connection to die at any second, so I opened a million tabs at once — as if I don't normally do that anyway...

The rain held up for about an hour, and so did the internet connection.

Then, 15 minutes or so after the rain stopped, the packet loss rate shot back up to 90%+. The internet connection went back to being unusable.

I was ready to do just about anything to get more rain.

Thankfully, the weather stayed grey and murky for the next few days. Each time, the pattern stayed the same:

  • The rain starts, and not even a few minutes later the internet connection is crisp and fast.
  • The rain stops, and within 15 minutes the internet connection is unusable again.

As much as I hated to admit it, the evidence was solid. The Wi-Fi only works when it's raining!

At this point, I had a choice to make.

I could keep going through the stages of grief: I could sulk and plan my calls with my girlfriend around the weather forecast.

Or, I could break out of that downward spiral and get to the bottom of what was going on.

"Magical thinking be damned! Am I an engineer or what?" I told myself.

That settled it. I wasn't going to take this lying down.

Determination

Some context on our home networking setup is in order.

Remember how my dad's company had extensive experience with networking solutions? Well, we had a fancy networking setup at home too — and it had worked flawlessly for the best part of 10 years!

My dad's office had a very expensive, very fast For the time, of course. commercial internet connection. The home internet options, meanwhile, weren't great! In my family, we are often stubbornly against settling for less unless there's absolutely no other choice.

The office and our apartment were a few blocks away from each other along a small hill, with our second-floor apartment holding the higher ground. With a bit of work, my dad set up a line-of-sight Wi-Fi bridge — a couple of high-gain directional Wi-Fi antennas pointed at each other — between the office and our apartment. This let us enjoy the faster commercial internet connection at home!

I started poking around the network to figure out where the connection was breaking down.

The local Wi-Fi router at home was working well — no packets lost. The local end of the Wi-Fi bridge was fine too.

But pinging the remote end of the Wi-Fi bridge was showing a 90%+ packet loss rate — and so did pinging any other network device behind it. Aha, there's something wrong with the Wi-Fi bridge!

But what? And why now, when the system had been working fine for almost 10 years, rain or shine? Maybe years of work experience isn't a good metric here either 😄

How can a rain storm fix a Wi-Fi bridge, anyway?

So many confusing questions. Time to get some answers!

Debugging

Like any experienced engineer, the first thing I tried was turning everything off and then on again. It didn't work.

Then I checked all the devices on the network individually:

Unlike debugging software, a lot of this hardware debugging was annoyingly physical. I had to climb up ladders, trace cables that hadn't been touched in 10 years, and do a lot of walking back and forth between our home and my dad's office.

On my umpteenth back-and-forth walk, as I was bored and exasperated, I started noticing how much our neighborhood had changed in the many years I hadn't been living at home full-time. Before college, I spent four years at a boarding high school. I was on our national math and programming teams for the IMO and IOI), so I even spent most of each summer away from home at prep camps and at the competitions themselves. Many of the little neighborhood shops were new. Many houses had gotten a fresh coat of paint. Trees that used to be barely more than saplings had grown tall and strong.

Then it hit me.

Realization

I ran home and climbed up onto the scaffolding holding up the Wi-Fi bridge's antenna. I was hanging precariously off the side of our apartment building, two stories up in the air. In retrospect, a safety harness would have been a good idea... Things people do for internet! Don't forget, a girl was involved too — I wasn't doing this merely for Netflix or Twitter.

Then I looked downhill, at the antenna that formed the second half of the Wi-Fi bridge.

Or at least, toward the antenna, because I couldn't see it — a tree in a neighbor's yard was in the way! Its topmost branches were swaying back and forth in the line-of-sight between the antenna pair.

Bingo!

The Problem and the Fix

Here's what was going on.

Many years ago, we installed the Wi-Fi bridge. For a long time, everything was great!

But every year, our neighbor's tree grew taller and taller. Shortly before when I came back home that summer, its topmost branches had managed to reach high enough to interfere with our Wi-Fi signal.

It was only barely tall enough to interfere with the signal, though!

Every time it rained, the rain collected on its leaves and branches and weighed them down. The extra weight bent them out of the way of the Wi-Fi line-of-sight! Interestingly, objects outside the straight line between antennas can still cause interference! For best signal quality, the Fresnel zone between the antennas should be clear of obstructions. But perfection isn't achievable in practice, so RF equipment like Wi-Fi uses techniques like error-correcting codes so that it can still work without a perfectly clear Fresnel zone.

Each time the rain stopped, the rainwater would continue to drip off the tree. Slowly, over the course of 15ish minutes, that would unburden the tree — letting it rise back up into the path of our bits and bytes. That's when the Wi-Fi would stop working.

The fix was easy: upgrade our hardware. We replaced our old 802.11g devices with new 802.11n ones, which took advantage of new magic math and physics to make signals more resistant to interference. One such piece of magic new to 802.11n Wi-Fi is called "beamfoming" — it's when a transmitter can use multiple antennas transmitting on the same frequency to shape and steer the signal in a way that improves the effective range and signal quality. Modern Wi-Fi does beamforming with only a few antenna elements, but if we scale that number way up we get a phased array antenna. Ever wondered how come Starlink antennas are flat and not a "dish" like old satellite TV antennas? They use phased arrays to aim their signal at the Starlink satellites streaking across the sky — without any moving parts. Magic! Physics!

A few days later, the new gear arrived and I eagerly climbed back up the scaffolding to install the new antennas.

A few screws, zip ties, and cable connections later, the Wi-Fi's "link established" lights flashed green once again.

This time, it wasn't raining.

All was well once again.

Hope you enjoyed this true story! April Cools is about surprising our readers with fun posts on topics outside our usual beat. Check out the other April Cools posts on our website, and consider making your own blog part of April Cools Club next year!

Thanks to Hillel Wayne and Jeremy Kun for reading drafts of this post. All mistakes are my own.

Adblock test (Why?)

Read the whole story
jgbishop
14 days ago
reply
Good read!
Durham, NC
Share this story
Delete

The Marlins will energize their stadium this year by telling fans to...

1 Comment
The Marlins will energize their stadium this year by telling fans to bring their instruments. The notice forbids pots and pans, but doesn’t say shit about keytars. The team only wants instrument playing during certain moments, to which I say good luck.

💬 Join the discussion on kottke.org

Read the whole story
jgbishop
22 days ago
reply
What could possibly go wrong?
Durham, NC
Share this story
Delete

Calvin and Hobbes by Bill Watterson for Thu, 21 Mar 2024

1 Comment

Calvin and Hobbes by Bill Watterson on Thu, 21 Mar 2024

Source - Patreon

Read the whole story
jgbishop
26 days ago
reply
This is almost exactly how our children act.
Durham, NC
Share this story
Delete

Calvin and Hobbes by Bill Watterson for Tue, 19 Mar 2024

1 Comment

Calvin and Hobbes by Bill Watterson on Tue, 19 Mar 2024

Source - Patreon

Read the whole story
jgbishop
28 days ago
reply
Hahaha!
Durham, NC
Share this story
Delete

Joel Spolsky on Stack Overflow, Inclusion, and How He Broke IT Recruiting (2018)

1 Comment
Joel Spolsky on Stack Overflow, Inclusion, and How He Broke IT Recruiting - The New Stack

WASM as a Personal Project?

How often do you use WebAssembly for personal projects, or just to learn the technology?

Very frequently, almost every day

0%

Relatively frequently, a few times a week

0%

Infrequently, a few times a month

0%

Very infrequently, a few times a year

0%

Never

0%

2018-08-05 06:00:15

Joel Spolsky on Stack Overflow, Inclusion, and How He Broke IT Recruiting

Featued image for: Joel Spolsky on Stack Overflow, Inclusion, and How He Broke IT Recruiting

As the CEO and co-founder of Stack Overflow — arguably the web’s great geek question-and-answer site — as well as the creator of Trello, Joel Spolsky is uniquely positioned to watch the world of programming grow. Now he’s revealed how his experiences in the computer industry have led to strong opinions about the real-world issues affecting companies today, including recruiting, documentation, and inclusiveness.

Joel SpolskySpolsky made his remarks at the We Are Developers conference in Vienna in May, which was attended by more than 8,000 developers, and videos of the appearances finally went online last month. Spolsky began his keynote by asking people in the audience to stand if they’d answered a question on Stack Overflow — prompting a throng of people to rise from their chairs. Earlier in a fireside chat, he’d acknowledged that over 90 percent of the site’s traffic comes from people who — “I don’t like to use the term ‘drive-by users,’ but it’s somebody who asked a question on Google, and we just already had the answer for them.” That adds up to 50 million unique visits every month to Stack Overflow, which Spolsky describes as “a huge number of uniques, because there are probably only officially 20 million programmers in the world… That’s probably all the programmers in the world.”

But he’s even more proud of another statistic: that every month almost 100,000 people post an answer to a question on Stack Overflow. They’ve calculated that every answered question helps, on average, one thousand people.

Is Tech Recruiting Broken?

Spolsky makes a surprising confession: that recruiting for IT is broken, and “I think that I’m responsible.” He casts his memory back to the mid-1990s when he worked at Microsoft, which was then still a (relatively) smaller company trying to hire good developers. It was a different time in the world of technology, “where almost all developers got hired by going into a room with a manager who said, ‘Oh, so your resume says you went to Princeton University. That’s very good. Did you know Frank? Cool! You’re hired!'”

Microsoft was one of a “small, select group of companies” with more rigorous, step-by-step tests to see if candidates really knew how to program. Spolsky himself wrote it up for internal use at Microsoft, and it became the Guerilla Guide to Interviewing on his website. “The trick is telling the difference between the superstars and the maybes because the secret is that you don’t want to hire any of the maybes. Ever,” he noted at the time.

But today Spolsky has mixed feelings about his guide — and its impacts on hiring in tech. “So this idea that you’re going to have a rigorous interview where you bring people in on the whiteboard and you say, ‘Show me how to copy a string while deleting the letter Q. In C, on the whiteboard.’ That was a big step up, I think, from, you know, ‘What college did you go to and who do you know and where did you work?’”

The problem is that his essay soon began spreading to other companies. “At some point, in the very early days of Google, they got that printed up and passed out boxes of it. And they said, ‘This is our manual’…”

“It’s a great way to hire 10 developers. It’s a very bad way to get developers in a scarce environment where you’re trying to find the people that might be good.”

A lot of good programmers end up getting rejected — while, even worse, companies end up hiring people who are good at passing tests, but underperform in the real world. “I think that method is definitely state-of-the-art 1995. It was even good for 2005. For 2018, I think you need a better system, and I think it’s probably going to be more like an apprenticeship or an internship, where you bring people on with a much easier filter at the beginning. And you hire them kind of on an experimental basis or on a training basis, and then you have to sort of see what they can do in the first month or two.”

So does he do this at Stack Overflow? “Well, we’re working on it…” he tells his interviewer. “We’ve done it a lot at Fog Creek Software and Trello and at Stack Overflow, where we’ve done internships. We used to think of it as like a nice thing on the side.

“But I’m increasingly thinking that it’s the best way to get a lot more people that are good developers out there that just keep doing badly on the whiteboard tests.”

The State of Programming Today

He makes a few jokes about what it would be like if medical professionals were consulting a similar online question-and-answer site — to make a larger point. “Unlike surgeons, we in the software development fields do not even pretend to have the remotest idea as to what it is that we’re doing. We just dive in — we would roll up our sleeves, if we had any — and we start coding, as they say, with hammers and anger, and Stack Overflow, until we get where we’re going…”

“We don’t pretend to read the documentation.”

He goes on to explain why he thinks official documentation is failing, “because there’s a person who’s supposed to write it and doesn’t know the answers, and is afraid to go talk to the developer.” There are also cases where a developer goes to document work for their team — for example, on the internal Wiki. “Now you have a homework assignment which you don’t want to do.” And of course, there’s always a question about how much detail is necessary. Spolsky describes this as “knowing when to stop.”

This is one of the biggest strengths of Stack Overflow’s Q&A format. “Not only are creating this amazing just-in-time documentation, but you’re creating the exact right amount of documentation.” Plus, there’s actual user feedback — in the form of a green checkmark which a user triggers when their question’s been answered.

But this leads him to an issue that’s been plaguing all online communities, which he describes gently as users communicating the site’s rules with a lack of kindness. The ultimate result? “We’re driving people out of the field.”

“A lot of times the people that are missing from the field of programmers are missing because they tried, and somebody was not nice or gave them the feeling that they were anything less than welcome,” he said. “We’ve got to figure out a middle ground of being kinder to people while also helping educate them about why we have the rules that we have and why we do things the way that we do.”

While there’s a short-term gain in maintaining strict standards for the answers that will linger online forever, “there’s a much more important long-term approach, which is let’s get as many people as we can into this field,” he said. “And when they get in I want them to feel like Stack Overflow helped them, and was a warm and welcoming place, so they have an obligation to give back and help the next generation of people, so we don’t just become, you know, just a crabby old place.”

The previous year he’d said developers “are writing the script for the future,” but this year brought a new caveat. “If we’re going do this with a roomful of white 21- to 27-year-old men, that’s going to be a different future, I think, than if we can do it with a more diverse audience.”

It’s a theme he returned to in his fireside chat, sharing a concern that the number of women participating in programming has decreased over the last 10 or 20 years. “There’s definitely something wrong there, and it’s definitely something that really can’t be explained just by personal preference or anything like that.”

This year he hopes to improve inclusiveness on Stack Overflow, suggesting a close look at behaviors on Stack Overflow which may come across as snarky, and urges developers to think about it before they return for next year’s conference. “I think as you saw here, the number of people who really want to help, the number of people who want to make a contribution by answering questions, is huge. You all want to help, and there’s a lot of things you can do.”

Helping newbies on Stack Overflow is a start – answering questions, being welcoming — but there’s also things that can be done to help the greater programming community. “Help out with interns in your company, boot camps, teaching coding. Write a blog, help people learn how to code. That kind of stuff can be really beneficial. Come back to this conference and give a talk. Those are all things you can do.

“But let’s try to figure out — since I have this audience here — let’s try to figure out some way, over the next year, we can just be a little bit more welcoming.

“And we can take that tiny amount of effort, multiplied by the millions of people that visit Stack Overflow all the time, and make programming look like a more welcoming and more inclusive place that everybody is happy to join and welcome to join.”


YOUTUBE.COM/THENEWSTACK

Tech moves fast, don't miss an episode. Subscribe to our YouTube channel to stream all our podcasts, interviews, demos, and more.

Group Created with Sketch.

Adblock test (Why?)

Read the whole story
jgbishop
28 days ago
reply
Programming apprenticeships need to become a thing. There are so many positives!
Durham, NC
Share this story
Delete
Next Page of Stories