1. 22

    This is some next level determination/stubbornness.

    1. 1

      So they’re doing a bunch of unnecessary work so that they can get an RYF checkbox, but doing this extra work doesn’t really make the platform any more or less open.

      1. 6

        If you can’t get rid of the firmware blobs, isolating them seems like the next-best option to me.

        1. 5

          AFAIK, RYF was designed with the goal of changing the market by influencing what consumers demand. If some commercially viable device can attribute its success to RYF, then a big company might aspire to get RYF on its devices… and the big company can pressure the upstream manufacturer to provide blobless hardware (perhaps by releasing the source material for the blobs, for example).

          I admire the FSF’s optimism enough to give them money.

          1. 1

            I guess it makes more sense when you think about it like that. Thanks.

        1. 3

          Here’s the title of the post:

          There’s No Such Thing as a Full Stack Developer

          And here’s the footer:

          Brian Rinaldi is a Developer Advocate at Progress. Brian has been a developer for nearly 20 years, working with front-end and back-end technologies mostly focused on the web.

          So you’re saying you’re a full stack developer?

          1. 2

            I have been working on different things at different times. My strengths and weaknesses ebb and flow based on the focus of my work, but I recognize my inability to know it all at any given time.

          1. 8

            For people who aren’t quite as ambitious about heat pipes, there are several nice little fanless kits from companies like Zotac that will give you a machine that’s passively cooled and only needs some RAM and an SSD.

            They’re basically the 80% lowers of fanless computing.

            1. 2

              Hi, a Zotac user here. CPU is a bit slower than I expected, but overall I’m very happy with my setup. Zotac CI527 is cheap, well built, and silent!

              1. 2

                It seems like the best Zotac fanless PC is the ZBOX-CI549NANO-P which uses an i5-7300u. The author of the post installed an AMD Ryzen 5 1600.

                2 cores/4 threads vs 6 cores/12 threads.

                1. 1

                  Thanks for the link! A few thoughts:

                  Wow, Zotac is really bad at selling silent computers. They have a ton of models and I don’t see a way to see only passively cooled models.

                  The silent PC crowd are all about x86 at the moment. I wonder how ARM fares here. Are all end user ARM machines like Raspberry Pi? (Its CPU is too slow and it has bad IO connectivity.)

                  1. 2
                    1. 2

                      Ha! The displays are a tad small for desktop computing though. 🙂

                1. [Comment removed by author]

                  1. 10

                    I think it’s usually because “that’s what work is buying me”.

                    1. 10

                      Can anyone show me a laptop that doesn’t lose to a macbook in any of these categories?

                      • performance
                      • price
                      • form factor
                      • fit and finish
                      1. 5

                        I really like Lenovo X1 Carbon.

                        1. 2

                          Very happy with 5th gen x1c. If only I could get 16:10 though…

                        2. 5

                          Personally I like the Dell XPS 13 and 15. The 4K screens are really amazing to see in person. You can configure with an i7 processor, optional fingerprint reader, fast SSDs up to 1TB, up to 32GB RAM, touch/non-touch display options, up to 97Wh battery in the ~4.5lb model or 56Wh in the 4lb if you want to go lighter (benchmarks). For ports, it has an SD card slot, 2 USB-A 3.0 with PowerShare, 1 HDMI, and a Thunderbolt 3 (including power in/out).

                          I feel they compete in several of the categories and are worth checking out in person somewhere (Frys, etc) if you’re in the market. Just earlier today someone posted a link to this guy’s experience spending a year away from MacOS and he winds up with an XPS 15, which he mostly likes.

                          1. 8

                            Too many QA issues to compete with a MacBook. Just check /r/dell.

                            1. 8

                              Not a chancee, my favooritee part is the firmwware feature that douboles up my keypressese!

                          2. 2

                            I went from a 2011 macbook pro 15” to a thinkpad 460p running kubuntu, its not as flush as the macbook but it beats performance & price for me. Form factor, I should’ve got a 15” again but thats my choice. Fit & finish on the macbook is better but then I can easily remove my battery and get to all the internals of the laptop, so I prefer the thinkpad.

                            1. 1

                              I can try, though I am not sure what “fit and finish” means or how to measure it.

                              Ignoring that, I would offer up both the Dell XPS 13 or Lenovo X1 Carbon.
                              There are reasons to pick one over the other, but for me it was the X1 Carbon for having matte screen.

                              1. 1

                                Fit and finish covers build quality and aesthetics. According to this page it’s an automotive term.

                              2. 1

                                The new Huawei Matebook X?

                                1. 1

                                  How about the ASUS ZenBook Pro? I don’t have experience with it, but superficially it’s got very similar form factor and design to a MacBook. Aluminum uni-body and all. And being not-Apple, you obviously get better performance for the price.

                                  1. 1

                                    Thinkpad P71. Well, except for the form factor (I’d rather get stronger arms than have to compromise on other factors), it beats the Macbook Pro on all fronts.

                                  2. 5

                                    I’ve run Linux on a Macbook because my employer wouldn’t give me anything else. Reason was: effort of IT team vs my effort of running Linux.

                                    But pretty sure my effort was extensive compared to what their effort would have been :)

                                    1. [Comment removed by author]

                                      1. 2

                                        Yeah, but then you’re stuck with the clunky old macOS rather than a nice modern UI like StumpWM, dwm or i3.

                                    2. 4

                                      16:10 screen, wide-gamut display, correct ppi (X1C is too low, and the high-res Dells too high).

                                      The last ThinkPad (of which I have many) to have a 16:10 screen was T410, which is now 8 years old.

                                      Personally, there’s no other modern laptop I’d rather use, regardless of operating system. To me nothing is more important than a good and proper screen.

                                      If anybody comes up with a laptop that has a 4:3 screen, I’ll reconsider.

                                      1. 1

                                        Doesn’t the pixelbook have a nice tall aspect ratio? Ignoring linux compatibility and the fact that it’s a chromebook, I feel like you’d like the hardware.

                                        1. 2

                                          It does, but tragically it’s ruined by a glossy finish on the screen. I bought one for the aspect ratio and brightness but almost threw it out the window several times in frustration before giving it away.

                                      2. 2

                                        I don’t think many people buy new Apple hardware with the intention of immediately wiping it and installing Linux.

                                        My MBP, for example, is running OSX because I need it (or Windows) to use Capture One photo software. When I upgrade to a new machine I’m going to put Linux on the old one and use it for everything else. I did the same thing with my iMac years ago.

                                        I personally still think the build quality of Apple laptops are better than the alternatives. The trackpad in my old MBP, for example, still feels better than the trackpads I’ve used on newer machines from other brands. The performance and specs are less important to me as long as it’s “fast enough” and the build is solid.

                                        All that said, I’m not buying any more Apple products because their software quality has completely gone down the toilet the last few years.

                                        1. 2

                                          In this case I didn’t really have a choice. I had tried asking for a PC before I started this job; but they tried to get me in really fast and provisioned a Mac without even asking me. My boss made up some bullshit about how you have to have them for developers laptops as the PCs the company bought didn’t have the specs (16GB of ram and such). I’m really glad I got Linux booting on it and not have to use it in VMWare (which does limit your max ram to 12GB and doesn’t give you access to the logical HT cores).

                                          But yea if it was my personal laptop, I wouldn’t even bother buying a mac to being with. My recent HP had everything supported on it with the latest Ubuntu or on Gentoo with a stock kernel tree right out of the box.

                                          1. 1

                                            I got given a macbook so I had no choice what laptop to use so I installed linux on it and it works well enough.

                                          1. 25

                                            Original linker here.

                                            I think it’s ridiculous. Literally every link aggregator and forum that has NSFW/“sensitive” tagging quickly realizes that nobody defines it the same and they should have been more specific!

                                            If you want to filter out anything having to do with sex, then have a sex tag. Same goes for graphic/gory images. Also, we should differentiate between the word “sex” in writing and photos of people having sex, so we’ll want a sexual imagery tag (and then, to be fair to the weebs, hentai, yaoi, yuri, futa and the rest so they can still see just the types they approve of). Plus a tag or, better yet, trigger warnings for my acute trypophobia. And then a tag for profanity because I might have children walk behind me while I’m at a bus stop and I don’t want some kid picking up new words because of me. Oh, and tag anything mentioning my employer’s competitor, because I don’t want to be caught with their logo big as day on my screen when my boss walks by. Plus any posts linking to Linux newsgroups will need a threats of physical violence tag because of that truculent Fin!

                                            Or we can just remain a technology-focused link aggregator and flag+remove anything off-topic and leave the things that are reasonable for that site description, even if they have the horrible, no-good, very bad word “sex”.

                                            1. 8

                                              Please don’t get overboard. This response draws in a lot of unrelated things that didn’t happen here and we generally react on actual issues. Many of the things you describe have not happened, so it’s no use to bring them into the discussion. For example, no one mentioned trigger warnings, it’s you introducing them. (we can have a trigger warning discussion elsewhere, I find them useful for $reasons, but have had no practical need here)

                                              As useless as I find an NSFW or sensitive tag, keeping the discussion at a serious and constrained level is also important. It’s a valid point to raise, please don’t make it seem like is not.

                                              My stance on the issue is that your title made it sufficiently clear what the topic of linked post is.

                                              1. 12

                                                This is not about what any of us may think—it’s about what our respective employers may think, and I’m pretty sure they are, with few exceptions, pretty conservative on the issue.

                                                I don’t think your slippery slope is very compelling. What’s being proposed is a single tag to broadly indicate to employed lobsters—most of us, by all indications—that a given story could generate awkward conversations with one’s boss. I think it’s pretty clear what “NSFW” means, and objective criteria aren’t required—the suggestion mechanism will handle edge cases just fine.

                                                1. 5

                                                  Yep. So, I look at aggregators on my phone so nobody can see any stuff that pops up. Few workplaces would ban smartphones but allow people to goof off on computers. Seems like it’s easy to solve for people worrying about it. Plus, I dont force others to put work into meeting my preferences that came with the job I chose.

                                                  I dont object to a nsfw tag, though. It’s pretty common practice on social media. Im for courtesy. Im just also for realism. People concerned about a web page getting them fired should take precautions cuz this is random people on the Internet posting stuff.

                                                  1. 4

                                                    What is Not Safe For Work? Here in the United States, nudity is pretty much Not Safe For Work, but in Europe, maybe not (I don’t know, I don’t live in Europe). Conversely, violence is okay here in the United States (sadly) but it’s probably Not Safe For Work in Europe.

                                                    Much better then to have tags like “nudity”, “sexual imagry”, “violence” etc. than just one NSFW tag.

                                                    1. 3

                                                      If it’s not safe for your work, suggest the tag. If it is don’t worry about it. I’d rather get some false positives than some false negatives. After all I can always open on my phone with the tag not hidden. I think tagging with nudity, sexual imagery etc is way too complicated, and frankly I don’t care why it’s not safe for work. I just care that someone felt that they couldn’t show it at their job.

                                                    2. 3

                                                      it’s about what our respective employers may think

                                                      I’ll bite - your employeer’s unreasonable work-monitoring policies should not be our problem or nuisance.

                                                      1. 8

                                                        I completely fail to see how an nsfw tag rises to the level of a problem or a nuisance.

                                                        This is not about “work monitoring”. My workplace is fairly permissive, but it would still be awkward if my boss happened to see an article about smart dildoes on my screen. Many, many workplaces would go beyond just an awkward moment. I think it’s safe to say that most users here are employed, and I think it’s also safe to say that most are not employed at a workplace so free-wheeling as to be completely unconcerned if its employees are visiting inappropriate pages.

                                                        1. 5

                                                          Sure, but if an article about smart dildoes is on your screen, you already clicked a link that says “Deldo is a sex toy control and teledildonics mode for Emacs”. How would the tag have helped you? It’s not like someone hid the nature of the content.

                                                          1. 3

                                                            That title is on the front page of lobste.rs regardless, and there’s nothing resembling a guarantee that titles are always so explicit.

                                                    3. 8

                                                      A rather sanctimonious response to someone who just wants to be able to look at a programming site at their job. If you think it could be NSFW, then mark it, if not and someone does they’ll mark it. I was the one who made the comment on your post, and I read the article at home. It’s really great that you work at a place where you can scroll through titles about dildos or are willing and wealthy enough to get fired out of principle. To those of us without those liberties, you sound like an asshole.

                                                      1. 3

                                                        I find that problem description weird. If you can run into problems of getting fired for the link titles on a news page, we cannot reliably save you from that.

                                                        1. 4

                                                          Cool to ignore the thing that I said would work, and works for literally nearly every site on the web. Why is there push back on this? I’m not saying we should hide content, or censor anything. I merely would like to be able to filter out NSFW things at work. I find this whole conversation super weird. If there’s no way to filter NSFW content on lobsters, then I’m going to have to start reporting every “NSFW” article and that seems frankly draconian. A lot of american jobs are like this, you are the one in the bubble. I don’t think it’s right that our workplaces are like this, I think its shitty and regressive but I also am not in denial about the reality of the average american workplace.

                                                      2. 5

                                                        I agree. It’s impossible to come up with a consensus about what is “sensitive” and what’s not. I think that by looking at the title and the URL that is being linked to, a reasonable person should be able to decide if it’s “safe” for them to open the link. If it’s borderline, then don’t open it or click the “save” button and view it at home.

                                                        1. 8

                                                          The linked poster wants the tag so that the title itself can be filtered from the homepage, not as a warning not to open it.

                                                          1. 1

                                                            I understand the purpose of a filter. The filter will always be flawed because it will filter out what the hivemind/mods/vocal minority think is sensitive, not what the user thinks is sensitive and it will generate all sorts of low value meta discussion about whether an article is/isn’t sensitive.

                                                            1. 1

                                                              Sensitive is fundamentally the wrong direction to go. Instead NSFW is much better. There is no debating if it is NSFW or not, you merely say this is not safe for my work and the poster tags as NSFW. Anyone who is at work will be grateful to be spared a potential risk. False positives here are not a problem, if you don’t want any false positives don’t filter the tag. Anyone who is not at work can read it without issue and life moves on.

                                                        2. 2

                                                          Hey, I agree with your position–just running the process. :)

                                                          1. 13

                                                            It’s already tagged with emacs; that should make most reasonable people not want to open it anyhow 😉

                                                        1. 12

                                                          Dijkstra may have seen this too. Look at the tail end of this quote.

                                                          “APL is a mistake, carried through to perfection. It is the language of the future for the programming techniques of the past: it creates a new generation of coding bums.” - Edsger W.Dijkstra

                                                            1. 11

                                                              Dijkstra is the battle rapper of computer scientists

                                                              1. 2

                                                                Imagining him battling Alan Perlis.

                                                          1. 10

                                                            I’m actually going to send this article to a few peers, maybe even my manager. I live about 1h away from the office when there’s no traffic. If I want to encounter no traffic, I have to leave home at the latest at 5 AM, or no sooner than 8:45. This essentially means working from 6:00-6:30 to 15:00, or from 9:45-10:00 to 18:00. There’s also traffic on the way back.

                                                            I don’t want to get closer to the office because: this is my childhood neighborhood, I live right across the street from my parents (which is great when you have 4 kids and/or a cordial relationship with your parents), and the land + house that we have would be worth 2.5 ~ 3 times as much if I moved to a closer location.

                                                            Logistics aside, this is also much better for my concentration, I get much less often interrupted too. I need more of this.

                                                            1. 14

                                                              one really cool side effect of having a remote-friendly team is that it makes it normal for people to work from home occasionally – one person on my team has kids and he’ll pretty frequently work from home so that it’s easier for him to pick up his kids from school or something, and it’s not an issue at all since half the team is remote anyway :)

                                                              1. 5

                                                                My commute isn’t quite as bad as yours. When I started my current job, I negotiated the expectation that I would be working from home about half of the days. I now work from home 2 days a week some weeks and 3 days a week on other weeks. My commute is still terrible half the time, but on average it’s not a bad commute. I would phrase it as “I’m feeling burnt out because of my commute and I don’t think I can keep doing it 5 days a week for much longer. I would like to begin working X days per week from home so that I can continue to work for the company”. This doesn’t send an aggressive ultimatum, but it signals that you’re probably going to quit soon if they don’t accommodate you. If that doesn’t work, it’s probably time to find a new job.

                                                              1. 5

                                                                Wow… maybe tone down the shade of red in the progress bar?

                                                                The color signals “WARNING ALL ACCOUNTS COMPROMISED!”, even though it’s consistent with the color of boiled lobster…

                                                                1. 3

                                                                  Sure. It was the standard #ac130d that’s used around the site, but I’ve dimmed it to #740804.

                                                                  1. 3

                                                                    Alternatively, change the bar into a conga line of lobster emojis.

                                                                    1. 1

                                                                      Sadly I don’t think the actual emoji is released yet?

                                                                      1. 1

                                                                        Could use the one referenced here -> https://www.thesun.co.uk/fabulous/5647842/lobster-emoji-issue/ maybe?

                                                                  1. 2

                                                                    The stress of remote work depends a lot on whether it’s common in the company you work for. If most people work in the office and you work remotely, then there is very little chance of getting promoted to a position where you are managing people. Also, companies who don’t have a lot of remote workers tend to lack systems and culture which facilitates easier remote work.

                                                                    I currently work remotely roughly 40% of the time because my commute is 1 hour each way otherwise and I refused to do that when negotiating my position. It’s a pretty good compromise for getting things done effectively in a traditional company. I can just schedule important meetings/discussions when I am in the office and focus on heads down work when I am at home.

                                                                    1. 4

                                                                      If you’re using btrfs, I think it makes sense to perform a snapshot of your filesystem and then running the backup program against the snapshot so that every file in your backup is from a consistent time.

                                                                      1. 2

                                                                        Does static mean something different than what I think it does? Why does a static blog need flask?

                                                                        1. 3

                                                                          Asking people to do a multi-hour take-home quiz is kind of shitty regardless of their experience level. I think it’s better to bring someone in and ask them to work through a few problems of increasing difficultly. That way both the candidate and the interviewer’s time are equally “wasted”. As for senior people being insulted by being asked simple question… Check your ego. There are lots of terrible developers out there. Do you really want those people getting through the interview process at the company you’re applying to?

                                                                          1. 2

                                                                            Someone is definitely going to lose a finger/arm/head hanging around that thing.

                                                                            1. 8

                                                                              People who mess around with exposed engines on test stands are familiar with those kinds of hazards, and (usually) operate them in controlled environments (garages), where catastrophic failure is a calculated risk. Full scale afterburner tests probably represent the extreme end of this, but here’s an example of a hobbyists small scale mock up:

                                                                              https://www.youtube.com/watch?v=WHEHMFbEH8I

                                                                              Here’s a full-scale afterburner test:

                                                                              https://www.youtube.com/watch?v=Oj4w7i-TqsE

                                                                            1. 36

                                                                              They should have included a cell phone without a headphone jack.

                                                                              1. 7

                                                                                Sorry, no DragonFly BSD tag so I used release.

                                                                                1. 9

                                                                                  +1 for adding that tag

                                                                                  1. 3

                                                                                    It seems like there is already an OpenBSD, FreeBSD and OpenBSD tag, so I guess it makes sense to have a DragonFlyBSD tag as well. I wonder if a BSD tag would have been sufficient though. I’m guessing that most people who care about one BSD are interested in at least seeing headlines for other BSDs.

                                                                                    1. 4

                                                                                      Hehe, I thought the same and looked for a BSD tag.

                                                                                      1. 4

                                                                                        I figure a BSD tag would be all we need since I can usually guess which BSD it is by submitter’s affiliation.

                                                                                        1. 2

                                                                                          By that reasoning, ruby, python and perl could share a tag, too. Which obviously sucks whenever the distinction of scripting language does actually matter.

                                                                                          1. 6

                                                                                            We did do that consolidation with vcs, rather than having separate git, svn, cvs, hg, darcs, etc. I don’t think the tags here have any real philosophical basis, more pragmatics about how many stories there are in different areas and how correlated interest is.

                                                                                            1. 3

                                                                                              I would appreciate vcs being split up but that’s a separate discussion.

                                                                                            2. 1

                                                                                              It’s true. The difference is there’s only a few BSD’s of which only one is really popular. Another is pretty popular here. The total number of articles hitting the front page is pretty small. As are people looking for them. Then, you mention three languages with massive uptake leading to large numbers of guides, tools, and so on. Makes sense just on a volume basis to provide separate tags for them.

                                                                                              1. 3

                                                                                                Then again, is there harm done in having tags for things that aren’t so common? If anything, that should help them stand out. Which is great if you’re interested in that particular thing.

                                                                                                I could imagine feeling disappointed if there was only a generic bsd tag and story after story I find freebsd postings (which I’m not really into). The openbsd tag is great for me, and dragonfrybsd tag would no doubt be great for all who care about it.

                                                                                                1. 1

                                                                                                  I see your concern. One can always just put the name of the OS in the title as I told stsp. @trn and I periodically share obscure OS’s without them having tags. Most make it to front page. If we tagged all the obscure stuff, we’d have a lot of tags to manage. See Timeline of Operating Systems or list of programming languages on Wikipedia. ;)

                                                                                                2. 1

                                                                                                  Sounds like you’re reading a different lobsters than I am.

                                                                                                  I suppose that’s why tags exist :)

                                                                                                  1. 1

                                                                                                    I read it unfiltered. Right now, there’s one BSD, one Linux, and 3+ articles on web-oriented languages. The BSD and Linux articles have project’s name in the title. Typical scenario where tag isn’t necessary for ID. However, if they help you curate your view, then by all means enjoy them. :)

                                                                                      1. 4

                                                                                        It makes me sad there there are so many different instant messaging platforms in common use today and they are all proprietary and unfederated walled gardens.

                                                                                        • iMessage
                                                                                        • Skype
                                                                                        • Facebook messenger
                                                                                        • Snapchat
                                                                                        • Google Hangouts
                                                                                        • Google Allo
                                                                                        • WeChat
                                                                                        • SnapChat

                                                                                        I would like for something like XMPP to be successful, but it seems more and more unlikely as time goes on.

                                                                                        1. 4

                                                                                          I until recently would have agreed. However, I think that Conversations on Android showed that you can make a good client that people seem to be able to agree upon. Having something like that (a dominant, fully featured, yet simple to use) application, maybe web application could make things better again when using XMPP.

                                                                                          If not I hope that Matrix picks up some steam. It looks promising, however I think it’s too early. Currently the clients are very rough around the corners and only techy people seem to use it. That’s not a complaint, other than against myself, for not helping out - or not having time to.

                                                                                          This is all based on the assumption that the major reason for not using XMPP is the lack of easily working desktop/mobile sync, especially in combination with encryption. OMEMO to me is the best thing that has happened in a while.

                                                                                          1. 3

                                                                                            I’ve sometimes thought that the only reason we have good email interoperability is because there was no profit in running email systems back when the standard was written.

                                                                                            It seems that there’s no way to create a commons once a market develops. (I’m happy to be proven wrong, and would love to see counterexamples!)

                                                                                            1. 3

                                                                                              XMPP is evolving with the times. You can now get end-to-end encryption, and mobile-friendly optimizations that minimize polling and save battery life.

                                                                                              Android client: https://conversations.im/

                                                                                              iOS client: https://chatsecure.org/

                                                                                              Eventual codebase unification: https://chatsecure.org/blog/chatsecure-conversations-zom/

                                                                                              Riot/Matrix isn’t XMPP but is similarly open: https://matrix.org/docs/projects/client/riot.html

                                                                                              1. 3

                                                                                                Not to mention KakaoTalk, WhatsApp, and LINE, which are crazy popular in places that aren’t the US.

                                                                                                1. 3

                                                                                                  You listed Snapchat twice!

                                                                                                  1. 2

                                                                                                    I think there is a slight difference with iMessage. When it comes to the Mac app, you could plug in all sorts of services that had XMPP as their baseline. This fell apart over time as Facebook, Google, etc. all closed up and in the High Sierra version of Messages you can only add smaller Jabber/XMPP services.

                                                                                                    For a lot of those services, they did start out as open XMPP services, but it’s likely the case that they realized they didn’t want the competition on the client side.

                                                                                                    1. 1

                                                                                                      I think part of the issue has been XMPP’s lack of adoption of new market features, and how hard it’s been to keep up with the pace of innovation throughout the entire XMPP federated network. If those challenges can be made simple, I’d expect there to be an increase in adoption. I don’t know if that would be enough to start chipping away at the network effect however.

                                                                                                    1. -4

                                                                                                      The importance of being able to write generic datatypes?

                                                                                                      1. 1

                                                                                                        Baked in git support seems like a terrible idea. It would be much better to have some sort of a plugin hook so that developers could add support for whatever they want.

                                                                                                        1. 1

                                                                                                          like a shell script wrapping it ? :^)

                                                                                                        1. 2

                                                                                                          This is an interesting write-up, but the solution is a bit bogus. If I’m understanding correctly, the author found that the WiFi enable/disable hardware switch wasn’t being read properly, so he just disabled the checking of the switch rather than fixing the code that checks the switch.