May 18, 2022

Confusing Windows Hello Setting Prevents File Sharing between Windows 11 to Windows 10

Filed under: Software Blog, Windows 11 — marcstober @ 11:38 pm

I recently bought a new Windows 11 laptop. Yay! I need to keep up with the latest and greatest.

In the process of setting up my new laptop, I needed to transfer files from my old laptop. I ran into a problem, and eventually fixed it, but didn’t find any solution online, even though the solution ultimately made sense after interpreting the meaning of a confusing setting. I’m sharing my solution here for the benefit of anyone else searching for this.

File Sharing between Windows computers (at home, not involving any professional or server version of the operating system) is always a bit wonky. In addition to sharing the folder, you have to ensure you’re in a private network and turn on Network Discover and File Sharing. You can find explanations of that on the Internet; none of that is new.

However, I kept getting messages that “The user name or password is incorrect” when I tried to connect from the Windows 10 computer to a folder shared on the Windows 11 computer. (I had previously had a share working the other way—with the Windows 11 computer accessing files on the Windows 10 computer.)

Not wanting to overthink this, I thought, maybe I am putting in the wrong user name and password. Recent versions of Windows like to tie the user name and password for logging on to the computer to an online Microsoft account, which makes for some confusing because there’s not simply a user name and password that you set on the computer that is sharing the files. I thought I should at least try to log in to the computer with my user name and password to ensure that, at least, that user name and password I was trying really did work for local logins.

But, it turns out, you can’t just log in to a Windows 11 computer with a user name and password! At least not how it’s configured “out of the box.” Once the computer is connected to your Microsoft account, you can only sign in with Windows Hello, which is Microsoft’s brand-name for the ability to use face recognition or a fingerprint reader (depending on your hardware) or a PIN to sign in. I thought I’d try disabling the face recognition and PIN, but discovered I couldn’t. Searching for solutions to that issue online, I found that this issue was a setting called “For improved security, only allow Windows Hello sign-in for Microsoft Accounts on this device (Recommended).”
I’d seen this setting before in my troubleshooting, and in addition to not wanting to mess with something that was “For improved security,” I misunderstood what that mean. I read is as: IF the account is NOT a Microsoft account, THEN do NOT allow Windows Hello. The correct reading is: IF the account is a Microsoft account, THEN allow Windows Hello ONLY—i.e., do not allow logging in with a password.

Well, now, this kind of makes sense. If using a password isn’t allowed, then it makes sense that connections with my password were being rejected. However, I don’t see any way to share files between two home versions of Windows on a home network without passwords; maybe this is something Microsoft will implement in the future. Indeed, changing this setting allowed the file sharing to work!

I couldn’t find a lot of information on this setting online, in particular I couldn’t any official Microsoft documentation, but I did find one article from bruceb consulting about it. After reading that, I do see that searching for “passwordless” brings up Microsoft’s passwordless strategy and even a redditor running into a related problem.

Hope this information helps someone!

January 16, 2019

Does the Facebook Page Plugin need an App ID or not?

Filed under: Social Media, Software Blog — marcstober @ 12:20 pm

A while ago I set up the official Facebook Page Plugin on a WordPress site I help manage for Beantown Jewish Gardens, a small nonprofit.

At the time, Facebook seemed to want me to sign up for an App ID to do this, so I did, even though adding some Facebook code to our site hardly felt like an “app”. The App ID is included in the code you add to the page to use the Page Plugin.

Recently, Facebook has changed their rules and requires Apps to go through a review process regarding use of personal data, privacy policy, etc. This morning, I got a developer alert from Facebook that they had removed permissions from the my app because it failed review. Of course, the things is failed review for was wanting to access personal information that I wasn’t accessing and didn’t want to access—I just wanted the Page Plugin to show up on our site. And the Page Plugin was still showing up on the site just fine.

Looking further at the documentation for the page plugin, I found some conflicting information. While the FAQs said that an App ID and review is not required, when I went to the place where you can grab the code to put in your page, it forced me to choose an App ID:

Eventually, I had the idea to open the same page to generate the code in a Private Window in Firefox, so Facebook wouldn’t know it was me. Behold, it now generated the without making me choose an App ID–actually, in this state you wouldn’t even know that was a possibility! (I’m also wondering if I was the Admin of the Facebook page if I might have had some different options while logged in.)

So, I guess I don’t need an App any more after all. It would be nice if Facebook could just keep this more simple and stable in the first place but I guess that’s not the world we live in. 😐

In the end, it was a one-line code change to remove the App ID. I also thought about going back to a WordPress plugin to handle this for us—there had been some reason I didn’t do that at one point in the past, but maybe there’s a good option now (this one?). (Note that while it’s called “Facebook Page Plugin” it’s not a “plugin” in the WordPress sense.)

Anyway, I didn’t find any information on this specific issue on the web so I figured I’d put these notes up on my blog in case anyone runs into the same issue.

August 20, 2018

We’re back, online at SiteGround

Filed under: Uncategorized — marcstober @ 12:39 pm

Hello! You may have noticed this site has been down for a day or so, and that you’ve gotten security errors in the past week or so. Ok, no one probably noticed that since this site gets little traffic.

Anyhow, my paid SSL certificate had expired. Also, some time ago, after working on a SiteGround-hosted site for Beantown Jewish Gardens, I jumped at an offer to buy some web hosting space at SiteGround. SiteGround also has great support for the free Let’s Encrypt SSL certificates. So, this week I finally moved this blog and Finding My Voice over to SiteGround.

Use this referral link if you’d like to use SiteGround, too.

Maybe blogging isn’t what it used to be but I still find value in having my own self-hosted presence on the ol’ World Wide Web. And I do hope to update Finding My Voice more this coming year!

October 9, 2017

Retiring the More Bookmarks Toolbar

Filed under: Software Blog — marcstober @ 9:46 pm

Once upon a time, when web browsers did a lot less than they did today, and Google Chrome wasn’t yet a twinkle in Alphabet’s eye, Toolbars were a thing. You could install a Toolbar (such as the Yahoo! Toolbar) into Internet Explorer and get features like a search box, notifications, the ability to store bookmarks in the cloud, and even tabs back before browsers did all these things.

A few years ago I built a Firefox extension to “scratch my own itch” and add a second row of bookmarks to the Firefox UI, and it used this same functionality the browser provided to allow adding a toolbar. I called it the More Bookmarks Toolbar. It has had a four-star review average, over 5,000 downloads and over 500 current users as of today. I was pretty proud of it.

Well, things never stay the same in technology. The current version of Firefox (56) broke the toolbar and the next version (57) is not going to support toolbars at all, in fact all of the add-on functionality that used to distinguish Firefox is being dropped in favor of a new extension API that is harmonized with other browser (i.e., Google Chrome). I guess this is what Mozilla needs to do, but unfortunately I’d need to do a completely rewrite of the Toolbar and it wouldn’t even be able to work the way it did before.

In addition, the Toolbar is no longer a part of my daily workflow and I’ve changed focus to other things professionally both inside and outside of the software industry so I don’t have time to work on this. So, sadly, I’m going to retire the More Bookmarks Toolbar; I’m not planning any more versions and it’s not going to compatible with Firefox 56 or later.

The code has always been on Github so anyone who has the developer skills to make use of that it welcome to try to keep it working.

To all of you who have used, reviewed or commented about the Toolbar have been important, thank you for your support and I’m sorry to say goodbye.

January 20, 2017

Being the change you want to see in the world

Filed under: Politics, Social Justice — marcstober @ 9:48 am

If you pardon a little software engineering humor, I once had a colleague who had a sign, “be the diff you want to see in the code.” It was, of course, a nod “be the change you want to see in the world,” attributed (probably wrongly) to Ghandi and which I seemed to hear a lot of during the early Obama years (Obama did say, “You must create the change that you want to see“).

But you know what? I think we—democrats, liberals, centrists, people who voted for him—mostly just expected Obama to be the change we wanted to see in the world. We could go about our business knowing there was someone in charge who would, more or less, make the choices we wanted.

Today there’s going to be a new president. I’m not as alarmed as parts of my social media network. People have lived under all sorts of governments, often with leaders they didn’t chose and don’t like. For us Jews, especially, we’re pretty much defined by a history of surviving under less-than-ideal regimes. Yes, there was one that killed six million, but most didn’t, and the American Jewish community is second only to the Babylonian Exile at adapting itself. I didn’t vote for Trump, but he’s not Hitler.

But that doesn’t mean everything is going to be good for everyone. So I think, in this new world, a lot more is going to be up to us, to make sure we are doing things that make a difference: lobbying our government, helping people in need, standing up for those who are put down. Not just business as usual.

To start with, I’m going to be at the Boston Women’s March for America tomorrow. While I’ll admit it’s not completely coincidental it’s the day after inauguration (as much as anything, it’s that someone has organized a relatively safe protest on a day with no work or school, and while you could give me reasons not to go you can always find a reason for inaction), I’m not protesting the election results. Trump is legally the president. It doesn’t have to fair, but I don’t know that there is an absolute arbiter of “legitimate” or “qualified” beyond the electors and officials who have signed off. And this is actually my point: as much as we’d like a leader who makes us feel like everything is going to be okay (and for some, that leader is Trump), we have to make that world ourselves.

October 11, 2016

Trump Disrespects Men, and Yom Kippur

Filed under: Judaism, Personal Blog, Politics — marcstober @ 3:49 pm

What makes me really angry about things Donald Trump said isn’t that it disrespects women. It’s that it disrespects men.

When our country’s founders wrote “all men are created equal,” or Rabbi Soloveitchik wrote about Halakhic Man, or Hannah Szensh wrote about “the prayer of Man” (actually, in Hebrew, there are two words for “man” and she used adam, which conveys the deeper meaning more than the common word ish)—that language seems archaic now: it would be better to just say “people.” But the classical usage of “Man” also had a deeper connotation: a good, civilized human. A mensch. Donald Trump may have male chromosomes, but he’s not much of a man in this sense.

I’ve always been uncomfortable with “locker room talk.” Not just for the sake of (as the rhetorical trope goes) my mother/sister/daughter, but because it’s a challenge to being a man. Being a man means having testosterone-fueled energy and needing to find a way to sanctify it and to do the right thing. Bill Clinton has clearly struggled with this, and I’ll say to him what he said to us: “I feel your pain.” Mitt Romney has lots of children, so presumably he’s done the same stuff Donald Trump talked about—with his wife, when she consents. Teenagers may talk about this in locker rooms, but grown men are supposed to be better.

What does this have to do with Yom Kippur? In Jewish terms, we have good and evil inclinations, the yetzer ha-tov and the yetzer ha-ra. The little angel and devil on our shoulders, like in cartoons. We need both, and we wrestle to keep them in balance. On Yom Kippur, we check in with ourselves as to how we’re doing with that.

Such work is a big part of being (to quote Glenn Beck!) a “moral, dignified man” and Trump doesn’t seem to have any respect for that.

G’mar chatimah tovah.

July 22, 2016

Rambling thoughts on FOMO, email and the news of the world

Filed under: Media, Personal Blog, Technology — marcstober @ 4:44 pm

I have over 50 thousand messages in my inbox. Most of them unread.

Cheryl makes fun of me for it because she manages to keep pretty close to “inbox zero.” But I think she’s more the exception than I am.

It’s all FOMO. For example, I just deleted hundreds of message from Glassdoor. But I’m hesitant to completely unsubscribe. What if I missed the perfect job or bit of career advice? It could be like leaving money, or my happiness, on the table.

Heck, I don’t want to unsubscribe to coupons I might get. I just got an e-mail from a certain business and was reminded to use a $20 promotional gift card before it expired. Score! If I delete promotional offers what I end up needing what they’re promoting? Unsubscribing from Constant Contact with its “SafeUnsubscribe” is especially fraught. It make is hard for a company to add you back to a list, even if you want them to, without an extra opt-in. I suppose the one time it happened (that I wanted to restart getting news from a certain company) it worked out but….

Of course, the thing about FOMO is that it’s not humanly possible to keep up with everything. By definition, you are missing out on 99.99% of what is going on in the world. If you’re a big media junkie, 99.98%. (Not exact numbers, but you get the point.)

The interesting thing is that we ever think we weren’t missing out on most of everything. There is this expectation that we are supposed to be keeping up with everything. For my parents’ generation, that was watching the nightly news. Which has turned into having CNN on, all the time.

The usual fiction goes like this: there is normally nothing going on and if there is, then we hear about it and do something about it. For example, if there’s a murder or an accident in our community, we expect to turn on the news or open the paper and hear about it. And there’s a response, and then things would recover and go back to normal. I don’t think I’m the only for whom that’s the expectation of normal, even though I know that not every disaster in someone’s life is actually in the news.

Presumably there is some weird mash-up of human brains evolved to participate in communities of hundreds or thousands of people, and technology that makes a small world out of millions or billions of us. I may lead a someone privileged life, but in a community of thousands—a college campus, my office building, the public schools on my side of town—this pattern holds. Emergencies happen once in a while, and we notice them, and respond, and recover.

It is so hard not to apply that principle to the whole world. Something terrible happened somewhere, we’ll see it on TV or the Internet, respond, and things will go back to normal.

It is so hard to really believe that the world as a whole is so big. That the one-in-a-million event in a small community is a daily event in the world, and the pattern of news, response, and recovery doesn’t apply.

The irony is that fear of missing out on everything doesn’t mean I’m not missing out on something. How do I not miss out on what I really don’t want to miss out on?

July 14, 2016

Not .NET

Filed under: Personal Blog, Software Blog — marcstober @ 7:10 am

Yesterday I got an e-mail from a recruiter; I get these pretty typically:

I came across your resume in a file of ours…. I am not sure if you are looking around anymore or not but I just partnered up with the company searching for a .NET engineer…

I am long over identifying as a “.NET engineer.”

Let me tell you how I got into this business. First, I taught myself Perl from a book—back when Perl was cool! Then, I taught myself Microsoft Access from book, and also from learning relational databases from the academic side in graduate school. With that I became a citizen developer, learning the programming language that came with Access, Visual Basic for Applications (VBA). I leveraged that experience into jobs that required more serious development on the Microsoft stack, first in Visual Basic 6 and then in C# with the advent of .NET.

C# in particular is a great language and Microsoft despite all the criticism they’ve taken has made some great software. But while I’ve made actual money using Microsoft technologies, I’ve always envied the cool kids working on a LAMP stack or Plone or Django or Ruby on Rails. That is where this work becomes an art form. Or building iPhone apps.

Over the past few years I’ve gotten back to what first got me into technology in the ’90’s, web development. And, finally, I’m at a job where I’m not at all a Microsoft developer; I’m still running IIS but, conspicuously, without ASP.NET.

So no, I’m not interested in your old resume on file that says I’m a .NET Developer. Besides which if you can’t even look me up on LinkedIn and see what I’ve been doing since I talked to your agency ten years ago you’re not a very good recruiter anyway.

Oh, and that first database was to track custom imprinted B’Kol Echad orders. So that I was ever a Microsoft-stack developer was all caused by that other domain I am still passionate about.

March 6, 2016

Compiling aacgain (an exercise in Open Source software archaelogy)

Filed under: Software Blog — marcstober @ 12:07 pm

So I found a lecture that had been recorded and posted online that I wanted to listen to.

The only problem, is, it was very, very, quiet. I had to turn up the volume all the way to hear it all all, and still could barely hear it; not to mention that I almost damaged my ears when I changed to listen to something else.

So, being me, I went looking for an open-source tool that could modify the volume of an audio recording. I found some references to mp3gain, but this was an M4A file which is (basically) an AAC file. It also turns out there is something called aacgain. But what I was finding was source code, which I don’t usually bother with.

Nevertheless, I downloaded and tried to compile it. I was able to compile mp3gain easily, so I was encouraged. aacgain, which I really needed, was more complicated. But, I dug in, and after downloading various things from SourceForge and Google Code, and combining that with an existing copy of the core mp3gain code to Github, I was able to get aacgain up and running.

I say this is an exercise in software archaeology because this useful software was written several years ago and hosted on sites that are no longer the go-to places for open source code. There was a bit of fiddling required to get them running on a modern system. In the end, though, this is one of the promises of Open Source; you’re free to find something useful that no one is actively maintaining and get it working again yourself. It’s not just about the cool new stuff–something old and unmaintained, if Open Source, can still be valuable.

I’ve placed all the source code I cobbled together back in a Github repository for the benefit of anyone else who can use it.

Now off to listen to that lecture!

January 7, 2016

grunt.file.match and grunt.file.isMatch Do Not Access File System

Filed under: JavaScript, Software Blog — marcstober @ 10:05 am

While trying to improve my team’s grunt scripts, I spent a while stuck trying to figure out why grunt.file.isMatch wasn’t working.

I was expecting this to be like a fancy “file exists” check, that would take some pattern and looking in the current directory and subdirectories (as specified by my globbing pattern) to tell me if the file exists. And I couldn’t figure it out, especially since there were two arguments, “patterns” and “filepaths”.

Ultimately, I looked at the source code and figured out I’d gotten in all wrong. Despite being methods of the file object, “match” and “isMatch” don’t look at anything in the file system. They’re just string pattern matching operations: completely deterministic functions that match “patterns” against”filepaths”.

What I’d really wanted to do was something like:

if (grunt.file.expand(“my-dir/**/*.js”).length > 0) { …

Posting this so hopefully the next person searching the web for a solution to the same problem finds this and doesn’t get stuck like I did!

Next Page »