Created
December 10, 2025 11:30
-
-
Save AndreiCherniaev/6105087750bb0a3173bd9c46d21398b9 to your computer and use it in GitHub Desktop.
How can I make the 'en_US' locale by default?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html itemscope itemtype="https://schema.org/QAPage" class="html__responsive " lang="en"> | |
| <head> | |
| <title>buildroot - How can I make the 'en_US' locale by default? - Stack Overflow</title> | |
| <link rel="shortcut icon" href="https://stackoverflow.com/Content/Sites/stackoverflow/Img/favicon.ico?v=ec617d715196"> | |
| <link rel="apple-touch-icon" href="https://stackoverflow.com/Content/Sites/stackoverflow/Img/apple-touch-icon.png?v=c78bd457575a"> | |
| <link rel="image_src" href="https://stackoverflow.com/Content/Sites/stackoverflow/Img/apple-touch-icon.png?v=c78bd457575a"> | |
| <link rel="search" type="application/opensearchdescription+xml" title="Stack Overflow" href="/opensearch.xml"> | |
| <link rel="canonical" href="https://stackoverflow.com/questions/79164807/how-can-i-make-the-en-us-locale-by-default" /> | |
| <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, minimum-scale=1.0"> | |
| <meta property="og:type" content= "website" /> | |
| <meta property="og:url" content="https://stackoverflow.com/questions/79164807/how-can-i-make-the-en-us-locale-by-default" /> | |
| <meta property="og:site_name" content="Stack Overflow" /> | |
| <meta property="og:image" content="https://stackoverflow.com/Content/Sites/stackoverflow/Img/apple-touch-icon@2.png?v=73d79a89bded" /> | |
| <script type="application/ld+json"> | |
| { | |
| "@context": "https://schema.org", | |
| "@graph": [ | |
| { | |
| "@type": "WebSite", | |
| "@id": "https://stackoverflow.com/#website", | |
| "name": "Stack Overflow", | |
| "url": "https://stackoverflow.com", | |
| "image": "https://stackoverflow.com/Content/Sites/stackoverflow/Img/apple-touch-icon@2.png?v=73d79a89bded", | |
| "publisher": { | |
| "@id": "https://stackoverflow.com/#organization" | |
| } | |
| }, | |
| { | |
| "@type": "Organization", | |
| "@id": "https://stackoverflow.com/#organization", | |
| "name": "Stack Overflow", | |
| "url": "https://stackoverflow.com", | |
| "logo": "https://stackoverflow.com/Content/Sites/stackoverflow/Img/logo.png?v=e47b208316da", | |
| "sameAs": [ | |
| "https://stackoverflow.co/", | |
| "https://www.facebook.com/officialstackoverflow/", | |
| "https://x.com/stackoverflow", | |
| "https://www.linkedin.com/company/stack-overflow", | |
| "https://www.youtube.com/c/StackOverflowOfficial", | |
| "https://twitter.com/stackoverflow" | |
| ], | |
| "contactPoint": [ | |
| { | |
| "@type": "ContactPoint", | |
| "contactType": "Customer support", | |
| "url": "https://stackoverflow.com/contact" | |
| }, | |
| { | |
| "@type": "ContactPoint", | |
| "contactType": "Stack Ads", | |
| "url": "https://stackoverflow.co/advertising/" | |
| }, | |
| { | |
| "@type": "ContactPoint", | |
| "contactType": "Stack Internal", | |
| "url": "https://stackoverflow.co/teams/" | |
| }, | |
| { | |
| "@type": "ContactPoint", | |
| "contactType": "Stack Data Licensing", | |
| "url": "https://stackoverflow.co/api-solutions/" | |
| } | |
| ], | |
| "description": "Q\u0026A for professional and enthusiast programmers" | |
| } | |
| ] | |
| } | |
| </script> | |
| <meta name="twitter:card" content="summary"/> | |
| <meta name="twitter:domain" content="stackoverflow.com"/> | |
| <meta name="twitter:title" property="og:title" content="How can I make the 'en_US' locale by default?" /> | |
| <meta name="twitter:description" property="og:description" content="I use Buildroot to build Linux with BusyBox (without systemd). How can I make the 'en_US' locale by default?
My Buildroot configuration is similar to qemu_x86_defconfig, but with the extra
" /> | |
| <script id="webpack-public-path" type="text/uri-list">https://stackoverflow.com/Content/</script> | |
| <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script> | |
| <script defer src="https://stackoverflow.com/Content/Js/third-party/npm/@stackoverflow/stacks/dist/js/stacks.min.js?v=c7bcc7a1b4fd"></script> | |
| <script src="https://stackoverflow.com/Content/Js/stub.en.js?v=c184083d0bdd"></script> | |
| <link rel="stylesheet" type="text/css" href="https://stackoverflow.com/Content/Shared/stacks.css?v=b2264ccf0463"> | |
| <link rel="stylesheet" type="text/css" href="https://stackoverflow.com/Content/Sites/stackoverflow/primary.css?v=5c3122f28a35"> | |
| <script defer src="https://stackoverflow.com/Content/Js/misc/copy.en.js?v=56d80b082861"></script><script type="application/json" data-role="module-args" data-module-name="entry-points/misc/copy.mod">{"sortType":4,"numberOfVisibleAnswers":2,"trackQuestions":true,"trackArticles":false,"userReputation":349,"userReputationBand":3,"sendPrizmEvent":false,"sendAEHEvent":true}</script><script> | |
| StackExchange.ready(function () { | |
| StackExchange.using("snippets", function () { | |
| StackExchange.snippets.initSnippetRenderer(); | |
| }); | |
| StackExchange.using("postValidation", function () { | |
| StackExchange.postValidation.initOnBlurAndSubmit($('#post-form'), 2, 'answer'); | |
| }); | |
| StackExchange.question.init({votesCast:[{"PostId":79165438,"VoteTypeId":2}],showTrendingSortLaunchPopover:false,showTrendingSortPostLaunchPopover:false,totalCommentCount:0,shownCommentCount:0,enableTables:true,questionId:79164807}); | |
| styleCode(); | |
| StackExchange.realtime.subscribeToQuestion('1', '79164807'); | |
| StackExchange.using("gps", function () { StackExchange.gps.trackOutboundClicks('#content', '.js-post-body'); }); | |
| }); | |
| </script> | |
| <link rel="stylesheet" type="text/css" href="https://stackoverflow.com/Content/Shared/Channels/channels.css?v=2c98e83b4da0"> | |
| <script> | |
| StackExchange.ready(function () { | |
| StackExchange.realtime.init('wss://qa.sockets.stackexchange.com'); | |
| StackExchange.realtime.subscribeToReputationNotifications('1'); | |
| StackExchange.realtime.subscribeToTopBarNotifications('1'); | |
| }); | |
| </script> | |
| <script type="application/json" data-role="module-args" data-module-name="args/options.mod">{"options":{"locale":"en","serverTime":1765366009,"routeName":"Questions/Show","stackAuthUrl":"https://stackauth.com","networkMetaHostname":"meta.stackexchange.com","site":{"name":"Stack Overflow","description":"Q\u0026A for professional and enthusiast programmers","isNoticesTabEnabled":true,"enableNewTagCreationWarning":true,"insertSpaceAfterNameTabCompletion":false,"id":1,"cookieDomain":".stackoverflow.com","childUrl":"https://meta.stackoverflow.com","negativeVoteScoreFloor":null,"enableSocialMediaInSharePopup":true,"protocol":"https"},"user":{"fkey":"d1f83c1994b568c66c8b04406aed1ef522b6eea430b95c8df84c5385ffc809d6","tid":"e6f53615-1bd5-4cc8-8a8b-d9e4fcc4a435","rep":349,"isRegistered":true,"userType":3,"userId":7915017,"accountId":10757521,"gravatar":"\u003cdiv class=\u0022gravatar-wrapper-32\u0022\u003e\u003cimg src=\u0022https://lh3.googleusercontent.com/-hDqf5L3uD_Y/AAAAAAAAAAI/AAAAAAAAABU/cVKH90USSb8/s32-rj/photo.jpg\u0022 alt=\u0022Andrei Cherniaev\u0026#39;s user avatar\u0022 width=\u002232\u0022 height=\u002232\u0022 class=\u0022bar-sm\u0022\u003e\u003c/div\u003e","profileUrl":"https://stackoverflow.com/users/7915017/andrei-cherniaev","canSeeDeletedPosts":false,"ab":{"satisfaction_survey_anon":{"v":"anon","g":1}}},"realtime":{"newest":false,"active":false,"tagged":true,"staleDisconnectIntervalInHours":0},"events":{"postType":{"question":1},"postEditionSection":{"title":1,"body":2,"tags":3}}}}</script> | |
| <script type="application/json" data-role="module-args" data-module-name="args/settings.mod">{"settings":{"intercom":{"appId":"inf0secd"},"questionLinkTitleReplacement":{"maxNumberOfSitesProcessed":10,"maxReplacementsPerSite":20},"tags":{},"userMessaging":{"showNewFeatureNotice":true},"comments":{},"mentions":{"maxNumUsersInDropdown":50},"search":{},"elections":{"opaVoteResultsBaseUrl":"https://www.opavote.com/results/"},"legal":{"oneTrustTCFConfigId":"c3d9f1e3-55f3-4eba-b268-46cee4c6789c","useCustomConsent":false},"markdown":{"enableTables":true},"questions":{"enableSavesFeature":true,"maxTitleSize":150,"questionTitleLengthStartLiveWarningChars":50,"enableQuestionTitleLengthLiveWarning":true},"subscriptions":{"defaultBasicMaxTrueUpSeats":250,"defaultFreemiumMaxTrueUpSeats":50,"defaultMaxTrueUpSeats":1000},"accounts":{"currentPasswordRequiredForChangingStackIdPassword":true},"paths":{"jQueryUICSSPath":"https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.0/themes/smoothness/jquery-ui.css","jQueryUIJSPath":"https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.0/jquery-ui.min.js"},"site":{"styleCode":true,"stacksEditorPreviewEnabled":true,"enableUserHovercards":true,"enableImageHttps":true,"allowImageUploads":true,"forceHttpsImages":true},"image":{"maxImageUploadSizeInBytes":10485760,"maxImageUploadSizeInBytesAnimatedGif":2097152},"auth":{"oauthInPopup":true},"snippets":{"stacksEditorSnippetsEnabledFor":{"Metadata":{"Name":"SnippetSettings.StacksEditorSnippetsEnabledFor","Filter":0},"AppliedFilter":0,"IsNobody":false,"All":true,"Anonymous":false,"LoggedIn":false,"ChannelsMembers":false,"Moderators":false,"Employees":false,"Developers":false,"TeamAdmins":false,"AccountIds":[],"ExcludedAccountIds":[],"Serialization":"All"},"renderDomain":"stacksnippets.net","snippetsEnabled":true},"flags":{"allowRetractingCommentFlags":true,"allowRetractingFlags":true}}}</script> | |
| <script>StackExchange.init();</script> | |
| <script> | |
| StackExchange.using.setCacheBreakers({"Js/adops.en.js":"6da43f5e0a84","Js/ask.en.js":"","Js/begin-edit-event.en.js":"dd955babf04d","Js/events.en.js":"","Js/explore-qlist.en.js":"ee2a4f8c3992","Js/full-anon.en.js":"11142b09fe4d","Js/full.en.js":"bd052bfe8fb3","Js/highlightjs-loader.en.js":"a4156c37da06","Js/inline-tag-editing.en.js":"8517756a2cb6","Js/keyboard-shortcuts.en.js":"c255a5a5979b","Js/markdown-it-loader.en.js":"9e901e1e3a2c","Js/mentions-transpiled.en.js":"adcf85e61d88","Js/moderator.en.js":"d3d27c3bdefd","Js/postCollections-transpiled.en.js":"27fabb0f4bf8","Js/post-validation.en.js":"44d59ccfc490","Js/question-editor.en.js":"","Js/review-v2-transpiled.en.js":"e327edff3102","Js/revisions.en.js":"9dd135bb585f","Js/stacks-editor.en.js":"0542c0190afe","Js/tageditor.en.js":"5b8f289d02ef","Js/tageditornew.en.js":"8a29c1ec524c","Js/tagsuggestions.en.js":"c54b483b692e","Js/wmd.en.js":"e65961906f11","Js/snippet-javascript-codemirror.en.js":"ede55efa5a37"}); | |
| StackExchange.using("gps", function() { | |
| StackExchange.gps.init(false); | |
| }); | |
| </script> | |
| <noscript id="noscript-css"><style>body,.s-topbar{margin-top:1.9em}</style></noscript> | |
| <script type="text/javascript"> | |
| +function(a,p,P,b,y){a.braze={};a.brazeQueue=[];for(var s="BrazeSdkMetadata DeviceProperties Card Card.prototype.dismissCard Card.prototype.removeAllSubscriptions Card.prototype.removeSubscription Card.prototype.subscribeToClickedEvent Card.prototype.subscribeToDismissedEvent Card.fromContentCardsJson ImageOnly CaptionedImage ClassicCard ControlCard ContentCards ContentCards.prototype.getUnviewedCardCount ControlMessage InAppMessage InAppMessage.SlideFrom InAppMessage.ClickAction InAppMessage.DismissType InAppMessage.OpenTarget InAppMessage.ImageStyle InAppMessage.Orientation InAppMessage.TextAlignment InAppMessage.CropType InAppMessage.prototype.closeMessage InAppMessage.prototype.removeAllSubscriptions InAppMessage.prototype.removeSubscription InAppMessage.prototype.subscribeToClickedEvent InAppMessage.prototype.subscribeToDismissedEvent InAppMessage.fromJson FullScreenMessage ModalMessage HtmlMessage SlideUpMessage User User.Genders User.NotificationSubscriptionTypes User.prototype.addAlias User.prototype.addToCustomAttributeArray User.prototype.addToSubscriptionGroup User.prototype.getUserId User.prototype.getUserId User.prototype.incrementCustomUserAttribute User.prototype.removeFromCustomAttributeArray User.prototype.removeFromSubscriptionGroup User.prototype.setCountry User.prototype.setCustomLocationAttribute User.prototype.setCustomUserAttribute User.prototype.setDateOfBirth User.prototype.setEmail User.prototype.setEmailNotificationSubscriptionType User.prototype.setFirstName User.prototype.setGender User.prototype.setHomeCity User.prototype.setLanguage User.prototype.setLastKnownLocation User.prototype.setLastName User.prototype.setPhoneNumber User.prototype.setPushNotificationSubscriptionType User.prototype.setLineId InAppMessageButton InAppMessageButton.prototype.removeAllSubscriptions InAppMessageButton.prototype.removeSubscription InAppMessageButton.prototype.subscribeToClickedEvent FeatureFlag FeatureFlag.prototype.getStringProperty FeatureFlag.prototype.getNumberProperty FeatureFlag.prototype.getBooleanProperty FeatureFlag.prototype.getImageProperty FeatureFlag.prototype.getJsonProperty FeatureFlag.prototype.getTimestampProperty Banner Banner.prototype.getStringProperty Banner.prototype.getNumberProperty Banner.prototype.getBooleanProperty Banner.prototype.getImageProperty Banner.prototype.getJsonProperty Banner.prototype.getTimestampProperty automaticallyShowInAppMessages hideContentCards showContentCards showInAppMessage deferInAppMessage toggleContentCards changeUser destroy getDeviceId getDeviceId initialize isPushBlocked isPushPermissionGranted isPushSupported logCardDismissal logContentCardImpressions logContentCardClick logCustomEvent logInAppMessageButtonClick logInAppMessageClick logInAppMessageHtmlClick logInAppMessageImpression logPurchase openSession requestPushPermission removeAllSubscriptions removeSubscription requestContentCardsRefresh refreshFeatureFlags requestImmediateDataFlush enableSDK isDisabled setLogger setSdkAuthenticationSignature addSdkMetadata disableSDK subscribeToContentCardsUpdates subscribeToInAppMessage subscribeToSdkAuthenticationFailures toggleLogging unregisterPush wipeData handleBrazeAction subscribeToFeatureFlagsUpdates getAllFeatureFlags logFeatureFlagImpression requestBannersRefresh insertBanner getAllBanners subscribeToBannersUpdates isInitialized".split(" "),i=0;i<s.length;i++){for(var m=s[i],k=a.braze,l=m.split("."),j=0;j<l.length-1;j++)k=k[l[j]];k[l[j]]=(new Function("return function "+m.replace(/\./g,"_")+"(){window.brazeQueue.push(arguments); return true}"))()}window.braze.getDeferredInAppMessage=function(){return new window.braze.InAppMessage};window.braze.getCachedContentCards=function(){return new window.braze.ContentCards};window.braze.getUser=function(){return new window.braze.User};window.braze.getFeatureFlag=function(){return new window.braze.FeatureFlag};window.braze.getBanner=function(){return new window.braze.Banner};window.braze.newBannerFromJson=function(){return new window.braze.Banner};(y=p.createElement(P)).type='text/javascript'; | |
| y.src='https://js.appboycdn.com/web-sdk/6.3/braze.min.js'; | |
| y.async=1;(b=p.getElementsByTagName(P)[0]).parentNode.insertBefore(y,b) | |
| }(window,document,'script'); | |
| </script> | |
| <script> | |
| StackExchange.ready(function () { | |
| braze.initialize('25d201d0-c5b6-4541-8963-638588a883e9', { | |
| baseUrl: 'sdk.iad-07.braze.com', | |
| enableLogging: false, | |
| enableSdkAuthentication: true, | |
| allowUserSuppliedJavascript: true | |
| }); | |
| braze.subscribeToSdkAuthenticationFailures((error) => { | |
| $.ajax({ | |
| type: "GET", | |
| url: "/braze/authentication" | |
| }).then(function(updated_jwt) { | |
| braze.setSdkAuthenticationSignature(updated_jwt); | |
| }); | |
| }); | |
| braze.automaticallyShowInAppMessages(); | |
| braze.changeUser('10757521', 'eyJhbGciOiJSUzI1NiIsImtpZCI6ImZHN3dIMkM5MnFmY3pNa1c0djNaVGxHVnVlejhxeGU5cUNyL09qYnd1MmM9IiwidHlwIjoiSldUIn0.eyJzdWIiOiIxMDc1NzUyMSIsImV4cCI6MTc2NTM2NjE4OX0.X7n1WFw-rkPMhpW7TF-Ptg9U3g37ZktvGLODkOrjGPQMdgE3K9Mty01EXCVt1RnIwpin2BCMTtGjHttG9iWShSZg2PPasBf9Nl21LuLsMMY2ip51Jq_nOJVpGdYjmqleaFIL6-1XkpL-642p9_ZXhXFSY2g4nM3PgktadEZhr-rWD2yTryU5HvfiGh5F59DxpmO7QzpPv6wEYUt1QklbkZoXntyhgPir75KltZJkTKsBNM8fWOjddnBy7CkqtyZd8uRwYRt9h2Fc93pPQqWaa-uxOvw-mlqMiVeh51Zd2cM7K7sRfEmvSnJZJYA87PhIWE83t_bppXVG3-LHjdwQMg'); | |
| braze.openSession(); | |
| }); | |
| </script> | |
| <script type="text/javascript">var abp;</script> | |
| <script type="text/javascript" src="/px.js?ch=1"></script> | |
| <script type="text/javascript" src="/px.js?ch=2"></script> | |
| </head> | |
| <body class="question-page unified-theme"> | |
| <meta itemprop="name" content="How can I make the 'en_US' locale by default?" /> | |
| <meta itemprop="description" content="Linux with BusyBox (without systemd). How can I make the 'en_US' locale by default?
My Buildroot configuration is similar to qemu_x86_defconfig, but with the extra
" /> | |
| <meta itemprop="image" content="https://stackoverflow.com/Content/Sites/stackoverflow/Img/apple-touch-icon@2.png?v=73d79a89bded" /> | |
| <meta itemprop="primaryImageOfPage" content="https://stackoverflow.com/Content/Sites/stackoverflow/Img/apple-touch-icon@2.png?v=73d79a89bded" /> | |
| <meta itemprop="url" content="https://stackoverflow.com/questions/79164807/how-can-i-make-the-en-us-locale-by-default" /> | |
| <meta itemprop="isPartOf" content="https://stackoverflow.com/#website" /> | |
| <meta itemprop="publisher" content="https://stackoverflow.com/#organization" /> | |
| <div id="notify-container"></div> | |
| <div id="custom-header"></div> | |
| <header class="s-topbar ps-fixed t0 l0 js-top-bar"> | |
| <a href="#content" class="s-topbar--skip-link">Skip to main content</a> | |
| <div class="s-topbar--container"> | |
| <a href="#" class="s-topbar--menu-btn js-left-sidebar-toggle" aria-haspopup="true" aria-controls="left-sidebar" aria-expanded="false"><span></span></a> | |
| <div class="topbar-dialog leftnav-dialog js-leftnav-dialog dno"> | |
| <div class="left-sidebar js-unpinned-left-sidebar" data-can-be="left-sidebar" data-is-here-when="sm"></div> | |
| </div> | |
| <a href="https://stackoverflow.com" class="s-topbar--logo js-gps-track" | |
| data-gps-track="top_nav.click({is_current:false, location:2, destination:8}); homelogo_nav.click({location:2})"> | |
| <span class="-img _glyph">Stack Overflow</span> | |
| </a> | |
| <ol class="s-navigation fw-nowrap" role="presentation"> | |
| <li> | |
| <button | |
| class="s-navigation--item js-gps-track" | |
| type="button" | |
| aria-controls="products-popover" | |
| aria-expanded="false" | |
| data-controller="s-popover" | |
| data-action="s-popover#toggle" | |
| data-s-popover-toggle-class="is-selected" | |
| data-gps-track="top_nav.products.click({location:2, destination:1})" | |
| data-ga="["top navigation","products menu click",null,null,null]"> | |
| <span class="s-navigation--item-text" data-text="Products">Products</span> | |
| </button> | |
| </li> | |
| </ol> | |
| <div class="s-popover ws2 mtn2 p0" | |
| id="products-popover" | |
| role="menu" | |
| aria-hidden="true"> | |
| <div class="s-popover--arrow"></div> | |
| <ol class="list-reset s-anchors s-anchors__inherit"> | |
| <li class="m6"> | |
| <a href="https://stackoverflow.co/internal/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=stack-overflow-for-teams" class="bar-sm p6 d-block h:bg-black-225 js-gps-track" | |
| data-gps-track="top_nav.products.click({location:2, destination:3})" | |
| data-ga="["top navigation","teams submenu click",null,null,null]"> | |
| <span class="fs-body1 d-block">Stack Internal</span> | |
| <span class="fs-caption d-block fc-black-400">Implement a knowledge platform layer to power your enterprise and AI tools.</span> | |
| </a> | |
| </li> | |
| <li class="m6"> | |
| <a href="https://stackoverflow.co/data-licensing/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=overflow-api" class="bar-sm p6 d-block h:bg-black-225 js-gps-track" | |
| data-gps-track="top_nav.products.click({location:2, destination:11})" | |
| data-ga="["top navigation","overflowapi submenu click",null,null,null]"> | |
| <span class="fs-body1 d-block">Stack Data Licensing</span> | |
| <span class="fs-caption d-block fc-black-400">Get access to top-class technical expertise with trusted & attributed content.</span> | |
| </a> | |
| </li> | |
| <li class="m6"> | |
| <a href="https://stackoverflow.co/advertising/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=stack-overflow-advertising" class="bar-sm p6 d-block h:bg-black-225 js-gps-track" | |
| data-gps-track="top_nav.products.click({location:2, destination:6})" | |
| data-ga="["top navigation","advertising submenu click",null,null,null]"> | |
| <span class="fs-body1 d-block">Stack Ads</span> | |
| <span class="fs-caption d-block fc-black-400">Connect your brand to the world’s most trusted technologist communities.</span> | |
| </a> | |
| </li> | |
| <li class="bt bc-black-200 py6 px6 bbr-md"> | |
| <a href="https://stackoverflow.blog/releases/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=releases" class="bar-sm p6 d-block h:bg-black-225 js-gps-track" | |
| data-gps-track="top_nav.products.click({location:2, destination:13})" | |
| data-ga="["top navigation","labs submenu click",null,null,null]"> | |
| <span class="fs-body1 d-block">Releases</span> | |
| <span class="fs-caption d-block fc-black-400">Keep up-to-date on features we add to Stack Overflow and Stack Internal.</span> | |
| </a> | |
| </li> | |
| <li class="bg-black-100 bt bc-black-200 py6 px6 bbr-md"> | |
| <a href="https://stackoverflow.co/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=about-the-company" class="fc-black-400 d-block py6 px6 h:fc-black-600" | |
| data-ga="["top navigation","about submenu click",null,null,null]">About the company</a> | |
| <a href="https://stackoverflow.blog/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=blog" class="fc-black-400 d-block py6 px6 h:fc-black-600" | |
| data-ga="["top navigation","blog submenu click",null,null,null]">Visit the blog</a> | |
| </li> | |
| </ol> | |
| </div> | |
| <form id="search" role="search" action=/search class="s-topbar--searchbar js-searchbar " autocomplete="off"> | |
| <div class="s-topbar--searchbar--input-group"> | |
| <input name="q" | |
| type="text" | |
| role="combobox" | |
| placeholder="Search…" | |
| value="" | |
| autocomplete="off" | |
| maxlength="240" | |
| class="s-input s-input__search js-search-field wmn1 " | |
| aria-label="Search" | |
| aria-controls="top-search" | |
| data-controller="s-popover" | |
| data-action="focus->s-popover#show" | |
| data-s-popover-placement="bottom-start" /> | |
| <svg aria-hidden="true" class="s-input-icon s-input-icon__search svg-icon iconSearch" width="18" height="18" viewBox="0 0 18 18"><path d="m18 16.5-5.14-5.18h-.35a7 7 0 1 0-1.19 1.19v.35L16.5 18zM12 7A5 5 0 1 1 2 7a5 5 0 0 1 10 0"/></svg> | |
| <div class="s-popover p0 wmx100 wmn4 sm:wmn-initial js-top-search-popover" id="top-search" role="menu"> | |
| <div class="s-popover--arrow"></div> | |
| <div class="s-popover--content"> | |
| <div class="js-spinner p24 d-flex ai-center jc-center d-none"> | |
| <div class="s-spinner s-spinner__sm fc-orange-400"> | |
| <div class="v-visible-sr">Loading…</div> | |
| </div> | |
| </div> | |
| <span class="v-visible-sr js-screen-reader-info"></span> | |
| <div class="js-ac-results overflow-y-auto hmx3 d-none"></div> | |
| <div class="js-search-hints" aria-describedby="Tips for searching"></div> | |
| </div> | |
| </div> | |
| </div> | |
| </form> | |
| <nav class="h100 ml-auto overflow-x-auto pr12" aria-label="Topbar"> | |
| <ol class="s-topbar--content"> | |
| <li><button class="s-topbar--item s-btn s-btn__icon s-btn__muted d-none sm:d-inline-flex js-searchbar-trigger" aria-label="Search" aria-haspopup="true" aria-controls="search" title="Click to show search"><svg aria-hidden="true" class="svg-icon iconSearch" width="18" height="18" viewBox="0 0 18 18"><path d="m18 16.5-5.14-5.18h-.35a7 7 0 1 0-1.19 1.19v.35L16.5 18zM12 7A5 5 0 1 1 2 7a5 5 0 0 1 10 0"/></svg></button></li> | |
| <li> | |
| <a href="/users/7915017/andrei-cherniaev" id="user-profile-button" class="s-topbar--item s-user-card s-user-card__small m0 px12 js-gps-track" data-gps-track="profile_summary.click()"> | |
| <div class="s-avatar s-avatar__24 s-user-card--avatar sm:m0" title="Andrei Cherniaev"><img src="https://lh3.googleusercontent.com/-hDqf5L3uD_Y/AAAAAAAAAAI/AAAAAAAAABU/cVKH90USSb8/s48-rj/photo.jpg" alt="Andrei Cherniaev's user avatar" width="24" height="24" class="bar-sm s-avatar--image js-avatar-me"></div> <span class="v-visible-sr">Andrei Cherniaev</span> | |
| <div class="s-user-card--info sm:d-none"> | |
| <ul class="s-user-card--awards"> | |
| <li class="s-user-card--rep js-header-rep" title="your reputation: 349" aria-hidden="true"> | |
| 349 | |
| <span class="v-visible-sr">, 349 reputation</span> | |
| </li> | |
| <li class="-badges mr0"> | |
| <span title="4 silver badges" aria-hidden="true"><span class="badge2">●</span><span class="badgecount">4</span></span><span class="v-visible-sr">4 silver badges</span><span title="17 bronze badges" aria-hidden="true"><span class="badge3">●</span><span class="badgecount">17</span></span><span class="v-visible-sr">17 bronze badges</span> </li> | |
| </ul> | |
| </div> | |
| </a> | |
| </li> | |
| <li> | |
| <a href="https://stackexchange.com/users/10757521?tab=inbox" class="s-topbar--item js-inbox-button" aria-label="Inbox (14 unread messages)" | |
| title="You have unread inbox messages" aria-haspopup="true" aria-expanded="false" data-unread-count="14"> | |
| <svg aria-hidden="true" class="svg-icon iconInbox" width="20" height="18" viewBox="0 0 20 18"><path d="M4.63 1h10.56a2 2 0 0 1 1.94 1.35L20 10.79V15a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-4.21l2.78-8.44c.25-.8 1-1.36 1.85-1.35m8.28 12 2-2h2.95l-2.44-7.32a1 1 0 0 0-.95-.68H5.35a1 1 0 0 0-.95.68L1.96 11h2.95l2 2z"/></svg> | |
| <span class="s-activity-indicator s-activity-indicator__danger js-unread-count">14</span> | |
| </a> | |
| </li> | |
| <li> | |
| <a href="https://stackexchange.com/users/10757521?tab=reputation" class="s-topbar--item js-achievements-button" data-unread-class="fc-success" | |
| aria-label="Achievements" title="Recent achievements: reputation, badges, and privileges earned" aria-haspopup="true" aria-expanded="false" data-unread-count="0" data-lit-up="false"> | |
| <svg aria-hidden="true" class="svg-icon iconAchievements" width="18" height="18" viewBox="0 0 18 18"><path d="M15 2V1H3v1H0v4c0 1.6 1.4 3 3 3v1c.4 1.5 3 2.6 5 3v2H5s-1 1.5-1 2h10c0-.4-1-2-1-2h-3v-2c2-.4 4.6-1.5 5-3V9c1.6-.2 3-1.4 3-3V2zM3 7c-.5 0-1-.5-1-1V4h1zm8.4 2.5L9 8 6.6 9.4l1-2.7L5 5h3l1-2.7L10 5h2.8l-2.3 1.8 1 2.7zM16 6c0 .5-.5 1-1 1V4h1z"/></svg> | |
| <span class="s-activity-indicator s-activity-indicator__success js-unread-count d-none">+0</span> | |
| </a> | |
| </li> | |
| <li> | |
| <a href="/help" class="s-topbar--item js-help-button" title="Help Center and other resources" aria-haspopup="true" aria-controls="topbar-help-dialog" | |
| data-ga="["top navigation","help menu click",null,null,null]"><svg aria-hidden="true" class="svg-icon iconHelp" width="18" height="18" viewBox="0 0 18 18"><path d="M9 1C4.64 1 1 4.64 1 9s3.64 8 8 8 8-3.64 8-8-3.64-8-8-8m.81 12.13c-.02.71-.55 1.15-1.24 1.13-.66-.02-1.17-.49-1.15-1.2.02-.72.56-1.18 1.22-1.16.7.03 1.2.51 1.17 1.23M11.77 8c-.59.66-1.78 1.09-2.05 1.97a4 4 0 0 0-.09.75c0 .05-.03.16-.18.16H7.88c-.16 0-.18-.1-.18-.15.06-1.35.66-2.2 1.83-2.88.39-.29.7-.75.7-1.24.01-1.24-1.64-1.82-2.35-.72-.21.33-.18.73-.18 1.1H5.75c0-1.97 1.03-3.26 3.03-3.26 1.75 0 3.47.87 3.47 2.83 0 .57-.2 1.05-.48 1.44"/></svg></a> | |
| <div class="topbar-dialog help-dialog js-help-dialog dno" id="topbar-help-dialog" role="menu"> | |
| <div class="modal-content"> | |
| <ul> | |
| <li> | |
| <a href="/tour" class="js-gps-track s-block-link" data-gps-track="help_popup.click({ item_type:1 })" | |
| data-ga="["top navigation","tour submenu click",null,null,null]"> | |
| Tour | |
| <span class="item-summary"> | |
| Start here for a quick overview of the site | |
| </span> | |
| </a> | |
| </li> | |
| <li> | |
| <a href="/help" class="js-gps-track s-block-link" | |
| data-gps-track="help_popup.click({ item_type:4 })" | |
| data-ga="["top navigation","help center",null,null,null]"> | |
| Help Center | |
| <span class="item-summary"> | |
| Detailed answers to any questions you might have | |
| </span> | |
| </a> | |
| </li> | |
| <li> | |
| <a href="https://meta.stackoverflow.com" class="js-gps-track s-block-link" data-gps-track="help_popup.click({ item_type:2 })" | |
| data-ga="["top navigation","meta submenu click",null,null,null]"> | |
| Meta | |
| <span class="item-summary"> | |
| Discuss the workings and policies of this site | |
| </span> | |
| </a> | |
| </li> | |
| <li> | |
| <a href="https://stackoverflow.co/" class="js-gps-track s-block-link" data-gps-track="help_popup.click({ item_type:6 })" | |
| data-ga="["top navigation","about us submenu click",null,null,null]"> | |
| About Us | |
| <span class="item-summary"> | |
| Learn more about Stack Overflow the company, and our products | |
| </span> | |
| </a> | |
| </li> | |
| </ul> | |
| </div> | |
| </div> | |
| </li> | |
| <li> | |
| <a href="https://stackexchange.com" class="s-topbar--item js-site-switcher-button js-gps-track" data-gps-track="site_switcher.show" | |
| aria-label="Site switcher" | |
| title="A list of all 183 Stack Exchange sites" | |
| aria-haspopup="true" aria-expanded="false" | |
| data-ga="["top navigation","stack exchange click",null,null,null]"> | |
| <svg aria-hidden="true" class="svg-icon iconStackExchange" width="18" height="18" viewBox="0 0 18 18"><path d="M15 1H3a2 2 0 0 0-2 2v2h16V3a2 2 0 0 0-2-2M1 13c0 1.1.9 2 2 2h8v3l3-3h1a2 2 0 0 0 2-2v-2H1zm16-7H1v4h16z"/></svg> | |
| </a> | |
| </li> | |
| <li class="js-topbar-dialog-corral"> | |
| <div class="topbar-dialog siteSwitcher-dialog dno" role="menu"> | |
| <div class="header fw-wrap"> | |
| <h3 class="flex--item"> | |
| <a href="https://stackoverflow.com">current community</a> | |
| </h3> | |
| <div class="flex--item fl1"> | |
| <div class="ai-center d-flex jc-end"> | |
| <button | |
| class="js-close-button s-btn s-btn__muted p0 ml8 d-none sm:d-block" | |
| type="button" | |
| aria-label="Close" | |
| > | |
| <svg aria-hidden="true" class="svg-icon iconClear" width="18" height="18" viewBox="0 0 18 18"><path d="M15 4.41 13.59 3 9 7.59 4.41 3 3 4.41 7.59 9 3 13.59 4.41 15 9 10.41 13.59 15 15 13.59 10.41 9z"/></svg> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="modal-content bg-blue-200 current-site-container"> | |
| <div class="d-none sm:d-block"> | |
| <div class="d-flex ai-end"> | |
| <div class="s-user-card flex--item fl1"> | |
| <a href="/users/7915017/andrei-cherniaev" class="s-avatar s-avatar__32 s-user-card--avatar"> | |
| <div class="gravatar-wrapper-32"><img src="https://lh3.googleusercontent.com/-hDqf5L3uD_Y/AAAAAAAAAAI/AAAAAAAAABU/cVKH90USSb8/s32-rj/photo.jpg" alt="Andrei Cherniaev's user avatar" width="32" height="32" class="bar-sm avatar s-avatar--image"></div> | |
| </a> | |
| <div class="s-user-card--info"> | |
| <a href="/users/7915017/andrei-cherniaev" class="s-user-card--link">Andrei Cherniaev</a> | |
| <div class="s-user-card--awards lh-unset fc-black-500 fw-bold"> | |
| <span class="reputation-score" title="reputation score " dir="ltr">349</span><span title="4 silver badges" aria-hidden="true"><span class="badge2"></span><span class="badgecount">4</span></span><span class="v-visible-sr">4 silver badges</span><span title="17 bronze badges" aria-hidden="true"><span class="badge3"></span><span class="badgecount">17</span></span><span class="v-visible-sr">17 bronze badges</span> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="related-links flex--item p8"> | |
| <a href="https://stackoverflow.com/users/logout" data-gps-track="site_switcher.click({ item_type:8 })">log out</a> | |
| </div> | |
| </div> | |
| </div> | |
| <ul class="current-site"> | |
| <li class="d-flex"> | |
| <div class="fl1"> | |
| <a href="https://stackoverflow.com" | |
| class="current-site-link d-flex gx8 site-link js-gps-track" | |
| data-id="1" | |
| data-gps-track="site_switcher.click({ item_type:3 })"> | |
| <div class="favicon favicon-stackoverflow site-icon flex--item" title="Stack Overflow"></div> | |
| <span class="flex--item fl1"> | |
| Stack Overflow | |
| </span> | |
| </a> | |
| </div> | |
| <div class="related-links"> | |
| <a href="https://stackoverflow.com/help" class="js-gps-track" data-gps-track="site_switcher.click({ item_type:14 })">help</a> | |
| <a href="https://chat.stackoverflow.com/?tab=explore" class="js-gps-track" data-gps-track="site_switcher.click({ item_type:6 })">chat</a> | |
| <a href="https://stackoverflow.com/users/logout" class="js-gps-track" data-gps-track="site_switcher.click({ item_type:8 })">log out</a> | |
| </div> | |
| </li> | |
| <li class="related-site d-flex"> | |
| <div class="L-shaped-icon-container"> | |
| <span class="L-shaped-icon"></span> | |
| </div> | |
| <a href="https://meta.stackoverflow.com" | |
| class="s-block-link px16 d-flex gx8 site-link js-gps-track" | |
| data-id="552" | |
| data-gps-track="site.switch({ target_site:552, item_type:3 }),site_switcher.click({ item_type:4 })"> | |
| <div class="favicon favicon-stackoverflowmeta site-icon flex--item" title="Meta Stack Overflow"></div> | |
| <span class="flex--item fl1"> | |
| Meta Stack Overflow | |
| </span> | |
| </a> | |
| </li> | |
| </ul> | |
| </div> | |
| <div class="header" id="your-communities-header"> | |
| <h3> | |
| <a href="https://stackexchange.com/users/10757521?tab=accounts">your communities</a> | |
| </h3> | |
| <a href="#" id="edit-pinned-sites">edit</a> | |
| <a href="#" id="cancel-pinned-sites" style="display: none;">cancel</a> | |
| </div> | |
| <div class="modal-content" id="your-communities-section"> | |
| <ul class="my-sites"> | |
| <li class="p0"> | |
| <a href="https://stackoverflow.com" | |
| class="s-block-link px16 d-flex gx8 site-link js-gps-track" | |
| data-id="1" | |
| data-gps-track="site.switch({ target_site:1, item_type:3 }),site_switcher.click({ item_type:1 })"> | |
| <div class="favicon favicon-stackoverflow site-icon flex--item" title="Stack Overflow"></div> | |
| <span class="flex--item fl1"> | |
| Stack Overflow | |
| </span> | |
| <span class="rep-score flex--item">349</span> | |
| </a> | |
| </li> | |
| <li class="p0"> | |
| <a href="https://unix.stackexchange.com" | |
| class="s-block-link px16 d-flex gx8 site-link js-gps-track" | |
| data-id="106" | |
| data-gps-track="site.switch({ target_site:106, item_type:3 }),site_switcher.click({ item_type:1 })"> | |
| <div class="favicon favicon-unix site-icon flex--item" title="Unix & Linux"></div> | |
| <span class="flex--item fl1"> | |
| Unix & Linux | |
| </span> | |
| <span class="rep-score flex--item">313</span> | |
| </a> | |
| </li> | |
| <li class="p0"> | |
| <a href="https://askubuntu.com" | |
| class="s-block-link px16 d-flex gx8 site-link js-gps-track" | |
| data-id="89" | |
| data-gps-track="site.switch({ target_site:89, item_type:3 }),site_switcher.click({ item_type:1 })"> | |
| <div class="favicon favicon-askubuntu site-icon flex--item" title="Ask Ubuntu"></div> | |
| <span class="flex--item fl1"> | |
| Ask Ubuntu | |
| </span> | |
| <span class="rep-score flex--item">188</span> | |
| </a> | |
| </li> | |
| <li class="p0"> | |
| <a href="https://arduino.stackexchange.com" | |
| class="s-block-link px16 d-flex gx8 site-link js-gps-track" | |
| data-id="540" | |
| data-gps-track="site.switch({ target_site:540, item_type:3 }),site_switcher.click({ item_type:1 })"> | |
| <div class="favicon favicon-arduino site-icon flex--item" title="Arduino"></div> | |
| <span class="flex--item fl1"> | |
| Arduino | |
| </span> | |
| <span class="rep-score flex--item">111</span> | |
| </a> | |
| </li> | |
| <li class="p0"> | |
| <a href="https://electronics.stackexchange.com" | |
| class="s-block-link px16 d-flex gx8 site-link js-gps-track" | |
| data-id="135" | |
| data-gps-track="site.switch({ target_site:135, item_type:3 }),site_switcher.click({ item_type:1 })"> | |
| <div class="favicon favicon-electronics site-icon flex--item" title="Electrical Engineering"></div> | |
| <span class="flex--item fl1"> | |
| Electrical Engineering | |
| </span> | |
| <span class="rep-score flex--item">111</span> | |
| </a> | |
| </li> | |
| </ul> | |
| <div class="pinned-site-editor-container" style="display: none;"> | |
| <input type="hidden" name="fkey" value="d1f83c1994b568c66c8b04406aed1ef522b6eea430b95c8df84c5385ffc809d6"> | |
| <div class="d-flex p12"> | |
| <div class="flex--item fl1 ps-relative"> | |
| <input id="js-site-search-txt" | |
| type="text" | |
| class="s-input s-input__sm w100 h100 site-filter-input" | |
| value="" | |
| placeholder="Add a Stack Exchange community"/> | |
| <ul class="js-found-sites found-sites hmx1 l0 r0 ps-absolute overflow-y-auto"></ul> | |
| </div> | |
| <button class="ml8 s-btn s-btn__sm" type="submit" id="pin-site-btn" disabled="disabled">Add</button> | |
| </div> | |
| <ul class="pinned-site-list sortable" data-custom-list="False"> | |
| </ul> | |
| <div class="d-flex p12 jc-end"> | |
| <a class="flex--item s-btn s-btn__sm js-reset-pinned-sites" href="#">Reset</a> | |
| <button class="ml8 flex--item s-btn s-btn__filled s-btn__sm" type="submit" id="save-pinned-sites-btn" disabled="disabled">Save</button> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="header"> | |
| <h3><a href="https://stackexchange.com/sites">more stack exchange communities</a> | |
| </h3> | |
| <a href="https://stackoverflow.blog" class="float-right">company blog</a> | |
| </div> | |
| <div class="modal-content"> | |
| <div class="child-content"></div> | |
| </div> | |
| </div> | |
| </li> | |
| </ol> | |
| </nav> | |
| </div> | |
| </header> | |
| <script> | |
| StackExchange.ready(function () { StackExchange.topbar.init(); }); | |
| StackExchange.scrollPadding.setPaddingTop(50, 10); | |
| </script> | |
| <div class="container"> | |
| <script defer src="https://stackoverflow.com/Content/Js/sprinkles/left-nav-events.en.js?v=2ac13fd60bf6"></script> | |
| <div id="left-sidebar" data-is-here-when="md lg" class="left-sidebar js-pinned-left-sidebar ps-relative"> | |
| <div class="left-sidebar--sticky-container js-sticky-leftnav"> | |
| <nav aria-label="Primary"> | |
| <ol class="nav-links"> | |
| <li> | |
| <ol class="nav-links"> | |
| <li class="ps-relative" aria-current="false"> | |
| <a | |
| href="/" | |
| class="s-block-link pl8 js-gps-track nav-links--link -link__with-icon" | |
| data-gps-track="top_nav.click({is_current: false, location:2, destination:8, has_activity_notification:False});home_nav.click({location:2})" | |
| aria-controls=" " | |
| data-controller=" " | |
| data-s-popover-placement="right" | |
| data-left-nav-events-navigation-destination-value="" | |
| data-left-nav-events-navigation-location-value="" | |
| data-left-nav-events-navigation-activity-notification-value="" | |
| data-action="" | |
| aria-current="false" | |
| data-s-popover-auto-show="true" data-s-popover-hide-on-outside-click="never" | |
| > | |
| <div class="d-flex ai-center"> | |
| <svg aria-hidden="true" class="svg-icon iconHome" width="18" height="18" viewBox="0 0 18 18"><path d="M15 10v5a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-5H0l9-9 9 9zm-8 1v6h4v-6z"/></svg> <span class="-link--channel-name pl8">Home</span> | |
| </div> | |
| </a> | |
| </li> | |
| <li class="ps-relative youarehere" aria-current="true"> | |
| <a id="nav-questions" | |
| href="/questions" | |
| class="s-block-link pl8 js-gps-track nav-links--link -link__with-icon" | |
| data-gps-track="top_nav.click({is_current: true, location:2, destination:1, has_activity_notification:False})" | |
| aria-controls=" " | |
| data-controller=" " | |
| data-s-popover-placement="right" | |
| data-left-nav-events-navigation-destination-value="" | |
| data-left-nav-events-navigation-location-value="" | |
| data-left-nav-events-navigation-activity-notification-value="" | |
| data-action="" | |
| aria-current="false" | |
| data-s-popover-auto-show="true" data-s-popover-hide-on-outside-click="never" | |
| > | |
| <div class="d-flex ai-center"> | |
| <svg aria-hidden="true" class="svg-icon iconQuestion" width="18" height="18" viewBox="0 0 18 18"><path d="m4 15-3 3V4c0-1.1.9-2 2-2h12c1.09 0 2 .91 2 2v9c0 1.09-.91 2-2 2zm7.75-3.97c.72-.83.98-1.86.98-2.94 0-1.65-.7-3.22-2.3-3.83a4.4 4.4 0 0 0-3.02 0 3.8 3.8 0 0 0-2.32 3.83q0 1.93 1.03 3a3.8 3.8 0 0 0 2.85 1.07q.94 0 1.71-.34.97.66 1.06.7.34.2.7.3l.59-1.13a5 5 0 0 1-1.28-.66m-1.27-.9a5 5 0 0 0-1.5-.8l-.45.9q.5.18.98.5-.3.1-.65.11-.92 0-1.52-.68c-.86-1-.86-3.12 0-4.11.8-.9 2.35-.9 3.15 0 .9 1.01.86 3.03-.01 4.08"/></svg> <span class="-link--channel-name pl8">Questions</span> | |
| </div> | |
| </a> | |
| </li> | |
| <li class="ps-relative" aria-current="false"> | |
| <a id="nav-askstack" | |
| href="https://stackoverflow.com/ai-assist" | |
| class="s-block-link h32 pl8 ai-center js-disable-askstack-new-link js-gps-track nav-links--link -link__with-icon" | |
| data-gps-track="top_nav.click({is_current: false, location:2, destination:33, has_activity_notification:False})" | |
| aria-controls=" " | |
| data-controller=" " | |
| data-s-popover-placement="right" | |
| data-left-nav-events-navigation-destination-value="" | |
| data-left-nav-events-navigation-location-value="" | |
| data-left-nav-events-navigation-activity-notification-value="" | |
| data-action="" | |
| aria-current="false" | |
| data-s-popover-auto-show="true" data-s-popover-hide-on-outside-click="never" | |
| > | |
| <div class="d-flex ai-center"> | |
| <div class="d-flex ai-center mln8 mrn8 myn8 bg-purple-400 baw3 bas-solid bc-purple-200 bar-circle fc-white p4"><svg aria-hidden="true" class="fc-white bg-transparent h16 w16 svg-icon iconAnswerAI" width="18" height="18" viewBox="0 0 18 18"><path d="M15 1a2 2 0 0 1 2 2v14l-3-3H3c-1.09 0-2-.91-2-2V3c0-1.09.91-2 2-2zM8.2 4.13a.2.2 0 0 0-.37 0l-.57 1.31a3.5 3.5 0 0 1-1.82 1.82l-1.3.57a.2.2 0 0 0 0 .36l1.3.57c.82.35 1.47 1 1.82 1.82l.57 1.3c.07.17.3.17.36 0l.57-1.3a3.5 3.5 0 0 1 1.82-1.82l1.3-.57a.2.2 0 0 0 0-.36l-1.3-.57a3.5 3.5 0 0 1-1.82-1.82zm4.9-1.07a.1.1 0 0 0-.2 0l-.28.66c-.17.4-.5.73-.9.9l-.66.29a.1.1 0 0 0 0 .18l.66.29c.4.17.73.5.9.9l.29.66a.1.1 0 0 0 .18 0l.29-.66c.17-.4.5-.73.9-.9l.66-.29a.1.1 0 0 0 0-.18l-.66-.29c-.4-.17-.73-.5-.9-.9z"/></svg></div> <span class="-link--channel-name pl8">AI Assist</span> | |
| </div> | |
| </a> | |
| </li> | |
| <script> | |
| $('.js-disable-askstack-new-link').on("click", function(e) { | |
| StackExchange.helpers.toggleAccountPreferenceFlags(4194304, true); | |
| return true; | |
| }); | |
| </script> | |
| <li class="ps-relative" aria-current="false"> | |
| <a | |
| href="/tags" | |
| class="s-block-link pl8 js-gps-track nav-links--link -link__with-icon" | |
| data-gps-track="top_nav.click({is_current: false, location:2, destination:2, has_activity_notification:False})" | |
| aria-controls=" " | |
| data-controller=" " | |
| data-s-popover-placement="right" | |
| data-left-nav-events-navigation-destination-value="" | |
| data-left-nav-events-navigation-location-value="" | |
| data-left-nav-events-navigation-activity-notification-value="" | |
| data-action="" | |
| aria-current="false" | |
| data-s-popover-auto-show="true" data-s-popover-hide-on-outside-click="never" | |
| > | |
| <div class="d-flex ai-center"> | |
| <svg aria-hidden="true" class="svg-icon iconTags" width="18" height="18" viewBox="0 0 18 18"><path d="M9.24 1a3 3 0 0 0-2.12.88l-5.7 5.7a2 2 0 0 0-.38 2.31 3 3 0 0 1 .67-1.01l6-6A3 3 0 0 1 9.83 2H14a3 3 0 0 1 .79.1A2 2 0 0 0 13 1z" opacity=".4"/><path d="M9.83 3a2 2 0 0 0-1.42.59l-6 6a2 2 0 0 0 0 2.82L6.6 16.6a2 2 0 0 0 2.82 0l6-6A2 2 0 0 0 16 9.17V5a2 2 0 0 0-2-2zM12 9a2 2 0 1 1 0-4 2 2 0 0 1 0 4"/></svg> <span class="-link--channel-name pl8">Tags</span> | |
| </div> | |
| </a> | |
| </li> | |
| <li class="ps-relative" aria-current="false"> | |
| <a | |
| href="/users/saves/7915017/all" | |
| class="s-block-link pl8 js-gps-track nav-links--link -link__with-icon" | |
| data-gps-track="top_nav.click({is_current: false, location:2, destination:8, has_activity_notification:False});home_nav.click({location:2})" | |
| aria-controls=" " | |
| data-controller=" " | |
| data-s-popover-placement="right" | |
| data-left-nav-events-navigation-destination-value="" | |
| data-left-nav-events-navigation-location-value="" | |
| data-left-nav-events-navigation-activity-notification-value="" | |
| data-action="" | |
| aria-current="false" | |
| data-s-popover-auto-show="true" data-s-popover-hide-on-outside-click="never" | |
| > | |
| <div class="d-flex ai-center"> | |
| <svg aria-hidden="true" class="svg-icon iconBookmark" width="18" height="18" viewBox="0 0 18 18"><path d="M3 17V3c0-1.1.9-2 2-2h8a2 2 0 0 1 2 2v14l-6-4z"/></svg> <span class="-link--channel-name pl8">Saves</span> | |
| </div> | |
| </a> | |
| </li> | |
| <li class="pb24"></li> | |
| <li class="ps-relative" aria-current="false"> | |
| <a id="nav-challenges" | |
| href="/beta/challenges" | |
| class="s-block-link h32 pl8 ai-center js-disable-challenges-new-link js-gps-track nav-links--link" | |
| data-gps-track="top_nav.click({is_current: false, location:2, destination:32, has_activity_notification:True})" | |
| aria-controls=" " | |
| data-controller=" " | |
| data-s-popover-placement="right" | |
| data-left-nav-events-navigation-destination-value="" | |
| data-left-nav-events-navigation-location-value="" | |
| data-left-nav-events-navigation-activity-notification-value="" | |
| data-action="" | |
| aria-current="false" | |
| data-s-popover-auto-show="true" data-s-popover-hide-on-outside-click="never" | |
| > | |
| <div class="d-flex ai-center"> | |
| <div class="flex--item d-flex "> | |
| <svg aria-hidden="true" class="svg-icon iconPeak" width="18" height="18" viewBox="0 0 18 18"><path d="M10.5 3.5 8 7.25l2 2.25L8.5 11l-3-3.5L1 14h16z"/></svg> | |
| </div> | |
| <div class="flex--item pl8 truncate lh-md pr12"> | |
| Challenges | |
| </div> | |
| <div class="s-activity-indicator ps-absolute flex--item r8 mx4 ml-auto"> | |
| 1 | |
| <div class="v-visible-sr">New questions have been asked in your community</div> | |
| </div> | |
| </div> | |
| </a> | |
| </li> | |
| <script> | |
| $('.js-disable-challenges-new-link').on("click", function(e) { | |
| StackExchange.helpers.toggleAccountPreferenceFlags(1048576, true); | |
| return true; | |
| }); | |
| </script> | |
| <li class="ps-relative"> | |
| <a id="nav-chat" | |
| href=https://chat.stackoverflow.com/?tab=explore | |
| class="s-block-link pl8 ai-center js-disable-chat-new-link js-ch-popover-controller js-gps-track nav-links--link -link__with-icon" | |
| aria-expanded="true" | |
| aria-current="false" | |
| data-gps-track="chat.click({ is_registered:true, rep_bucket:'200', origin:'Stack Overflow' })" | |
| data-controller=" " | |
| > | |
| <div class="d-flex ai-center"> | |
| <div class="d-flex ai-center mln8 mrn8 myn8 bg-purple-400 baw3 bas-solid bc-purple-200 bar-circle fc-white p4"><svg aria-hidden="true" class="fc-white bg-transparent svg-icon iconChatTest" width="18" height="18" viewBox="0 0 18 16"><path d="M17 3C17 1.89543 16.1046 1 15 1H7C5.89543 1 5 1.89543 5 3V5C5 6.10457 5.89543 7 7 7H15C16.1046 7 17 6.10457 17 5V3ZM7 3H15V5H7V3Z" /><path d="M17 10C17 8.89543 16.1046 8 15 8H7C5.89543 8 5 8.89543 5 10V14C5 15.1046 5.89543 16 7 16H15C16.1046 16 17 15.1046 17 14V10ZM7 10H15V14H7V10Z" /><path d="M1 9C1 8.44771 1.44772 8 2 8H3C3.55228 8 4 8.44772 4 9V10C4 10.5523 3.55228 11 3 11H2C1.44772 11 1 10.5523 1 10V9Z" /><path d="M2 1C1.44772 1 1 1.44772 1 2V3C1 3.55228 1.44772 4 2 4H3C3.55228 4 4 3.55228 4 3V2C4 1.44772 3.55228 1 3 1H2Z" /></svg></div> | |
| </div> | |
| <span class="-link--channel-name pl8">Chat</span> | |
| </a> | |
| </li> | |
| <li class="ps-relative" aria-current="false"> | |
| <a id="nav-articles" | |
| href="https://stackoverflow.blog/contributed?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=so-blog&utm_content=experiment-articles" | |
| class="s-block-link h32 pl8 js-disable-articles-new-link js-gps-track nav-links--link -link__with-icon" | |
| data-gps-track="top_nav.click({is_current: false, location:2, destination:13, has_activity_notification:False})" | |
| aria-controls=" " | |
| data-controller=" " | |
| data-s-popover-placement="right" | |
| data-left-nav-events-navigation-destination-value="" | |
| data-left-nav-events-navigation-location-value="" | |
| data-left-nav-events-navigation-activity-notification-value="" | |
| data-action="" | |
| aria-current="false" | |
| data-s-popover-auto-show="true" data-s-popover-hide-on-outside-click="never" | |
| > | |
| <div class="d-flex ai-center"> | |
| <svg aria-hidden="true" class="svg-icon iconDocumentAlt" width="18" height="18" viewBox="0 0 18 18"><path d="M5 3a2 2 0 0 0-2 2v10c0 1.1.9 2 2 2h7a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2zm2 3a1 1 0 1 1-2 0 1 1 0 0 1 2 0m-2 4.5c0-.28.22-.5.5-.5h6a.5.5 0 0 1 0 1h-6a.5.5 0 0 1-.5-.5m.5 1.5h6a.5.5 0 0 1 0 1h-6a.5.5 0 0 1 0-1M5 14.5c0-.28.22-.5.5-.5h6a.5.5 0 0 1 0 1h-6a.5.5 0 0 1-.5-.5"/><path d="M5.9 2h6.35A2.75 2.75 0 0 1 15 4.75v9.35c.62-.6 1-1.43 1-2.35v-7.5C16 2.45 14.54 1 12.75 1h-4.5c-.92 0-1.75.38-2.35 1" opacity=".4"/></svg> <span class="-link--channel-name pl8">Articles</span> | |
| </div> | |
| </a> | |
| </li> | |
| <li class="ps-relative" aria-current="false"> | |
| <a id="nav-users" | |
| href="/users" | |
| class="s-block-link pl8 js-gps-track nav-links--link -link__with-icon" | |
| data-gps-track="top_nav.click({is_current: false, location:2, destination:3, has_activity_notification:False})" | |
| aria-controls=" " | |
| data-controller=" " | |
| data-s-popover-placement="right" | |
| data-left-nav-events-navigation-destination-value="" | |
| data-left-nav-events-navigation-location-value="" | |
| data-left-nav-events-navigation-activity-notification-value="" | |
| data-action="" | |
| aria-current="false" | |
| data-s-popover-auto-show="true" data-s-popover-hide-on-outside-click="never" | |
| > | |
| <div class="d-flex ai-center"> | |
| <svg aria-hidden="true" class="svg-icon iconPeople" width="18" height="18" viewBox="0 0 18 18"><path d="M17 14c0 .44-.45 1-1 1H9a1 1 0 0 1-1-1H2c-.54 0-1-.56-1-1 0-2.63 3-4 3-4s.23-.4 0-1c-.84-.62-1.06-.59-1-3s1.37-3 2.5-3 2.44.58 2.5 3-.16 2.38-1 3c-.23.59 0 1 0 1s1.55.71 2.42 2.09c.78-.72 1.58-1.1 1.58-1.1s.23-.4 0-1c-.84-.61-1.06-.58-1-3s1.37-3 2.5-3 2.44.59 2.5 3c.05 2.42-.16 2.39-1 3-.23.6 0 1 0 1s3 1.38 3 4"/></svg> <span class="-link--channel-name pl8">Users</span> | |
| </div> | |
| </a> | |
| </li> | |
| <li class="pb24"></li> | |
| <li class="ps-relative" aria-current="false"> | |
| <a id="nav-companies" | |
| href="https://stackoverflow.com/jobs/companies?so_medium=stackoverflow&so_source=SiteNav" | |
| class="s-block-link pl8 js-gps-track nav-links--link -link__with-icon" | |
| data-gps-track="top_nav.click({is_current: false, location:2, destination:12, has_activity_notification:False})" | |
| aria-controls=" " | |
| data-controller=" " | |
| data-s-popover-placement="right" | |
| data-left-nav-events-navigation-destination-value="" | |
| data-left-nav-events-navigation-location-value="" | |
| data-left-nav-events-navigation-activity-notification-value="" | |
| data-action="" | |
| aria-current="false" | |
| data-s-popover-auto-show="true" data-s-popover-hide-on-outside-click="never" | |
| > | |
| <div class="d-flex ai-center"> | |
| <svg aria-hidden="true" class="svg-icon iconIndustry" width="18" height="18" viewBox="0 0 18 18"><path d="M10 16v-4H8v4H2V4c0-1.1.9-2 2-2h6c1.09 0 2 .91 2 2v2h2c1.09 0 2 .91 2 2v8zM4 4v2h2V4zm0 4v2h2V8zm4-4v2h2V4zm0 4v2h2V8zm-4 4v2h2v-2zm8 0v2h2v-2zm0-4v2h2V8z"/></svg> <span class="-link--channel-name pl8">Companies</span> | |
| </div> | |
| </a> | |
| </li> | |
| <li class="ml8 mt32 mb4"> | |
| <div class="d-flex jc-space-between ai-center"> | |
| <a | |
| class="s-link d-flex fl-grow1 fc-black-400 h:fc-black-600 fs-fine" | |
| href="javascript:void(0)" | |
| role="button" | |
| aria-controls="popover-discover-collectives" | |
| data-controller="s-popover" | |
| data-action="s-popover#toggle" | |
| data-s-popover-placement="top" | |
| data-s-popover-toggle-class="is-selected" | |
| data-gps-track="top_nav.click({is_current:false, location:2, destination:17})" | |
| > | |
| <div class="flex--item fl-grow1 tt-uppercase fc-black-600 fw-bold">Collectives</div> | |
| <div class="flex--item px12 js-collectives-navcta-toggle"> | |
| <svg aria-hidden="true" class="svg-icon iconPlusSm" width="14" height="14" viewBox="0 0 14 14"><path d="M8 2H6v4H2v2h4v4h2V8h4V6H8z"/></svg> | |
| </div> | |
| </a> | |
| </div> | |
| </li> | |
| <li class="ps-relative js-collectives-navcta-toggle"> | |
| <p class="fs-fine pr8 pl8 pt4 fc-black-400"> | |
| Communities for your favorite technologies. <a href="/collectives-all" class="s-link s-link__grayscale s-link__underlined fw-bold">Explore all Collectives</a> | |
| </p> | |
| </li> | |
| </ol> | |
| </li> | |
| <li class="d-flex ai-center jc-space-between ml8 mt32 mb8 js-create-team-cta"> | |
| <a href="javascript:void(0)" | |
| class="s-link d-flex fl-grow1 fc-black-400 h:fc-black-600 fs-fine js-gps-track" | |
| role="button" | |
| aria-controls="popover-teams-create-cta" | |
| data-controller="s-popover" | |
| data-action="s-popover#toggle" | |
| data-s-popover-placement="bottom-start" | |
| data-s-popover-toggle-class="is-selected" | |
| data-gps-track="teams.create.left-sidenav.click({ Action: ShowInfo })" | |
| data-ga="["teams left navigation","left nav show teams info",null,null,null]" | |
| > | |
| <div class="flex--item fl-grow1 fc-black-600 fw-bold tt-uppercase">Stack Internal</div> | |
| <div class="flex--item px12"> | |
| <svg aria-hidden="true" class="svg-icon iconPlusSm" width="14" height="14" viewBox="0 0 14 14"><path d="M8 2H6v4H2v2h4v4h2V8h4V6H8z"/></svg> | |
| </div> | |
| </a> | |
| </li> | |
| <li class="ps-relative js-create-team-cta"> | |
| <p class="fs-fine pr8 pl8 pb4 fc-black-400"> | |
| Bring the best of human thought and AI automation together at your work. | |
| <a href="https://stackoverflow.co/internal/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=side-bar&utm_content=explore-teams-compact" class="s-link s-link__grayscale s-link__underlined fw-bold">Learn more</a> | |
| </p> | |
| </li> | |
| <li class="mt8 px8"> | |
| <p class="w100 px0 fs-fine fc-medium"> | |
| Looking for | |
| <button | |
| aria-label="Stack Internal was moved popover" | |
| aria-controls="teams-were-moved-popover" | |
| aria-expanded="false" | |
| data-controller="s-popover" | |
| data-action="s-popover#toggle" | |
| data-s-popover-placement="bottom-start" | |
| data-gps-track="teams.sot_migration_notification_teams_moved.click()" | |
| class="s-link s-link__grayscale s-link__underlined fw-bold js-gps-track">your teams?</button> | |
| </p> | |
| </li> | |
| </ol> | |
| </nav> | |
| </div> | |
| <div class="s-popover mt4 ws3" | |
| id="teams-were-moved-popover" | |
| role="menu"> | |
| <div class="s-popover--arrow"></div> | |
| <p>Stack Internal has its own domain!</p> | |
| <p>You can now access your teams at <a href="https://stackoverflowteams.com" class="s-link fs-italic">stackoverflowteams.com</a>. Teams no longer appear in the left sidebar on <span class="fs-italic">stackoverflow.com</span>. Check your email to learn more about these changes.</p> | |
| </div> | |
| <div class="s-popover ws2" id="popover-discover-collectives" role="menu"> | |
| <div class="s-popover--arrow"></div> | |
| <div> | |
| <svg aria-hidden="true" class="fc-orange-400 float-right ml24 svg-spot spotCollective" width="48" height="48" viewBox="0 0 48 48"><path d="M25.5 7a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5M14 18.25c0-.69.56-1.25 1.25-1.25h22.5c.69 0 1.25.56 1.25 1.25V37.5a1 1 0 0 1-1.6.8l-4.07-3.05a1.3 1.3 0 0 0-.75-.25H15.25c-.69 0-1.25-.56-1.25-1.25zM7 24.5a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0M25.5 48a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5M48 24.5a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0" opacity=".2"/><path d="M21 3.5a3.5 3.5 0 1 1 7 0 3.5 3.5 0 0 1-7 0M24.5 2a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3M0 23.5a3.5 3.5 0 1 1 7 0 3.5 3.5 0 0 1-7 0M3.5 22a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3M21 44.5a3.5 3.5 0 1 1 7 0 3.5 3.5 0 0 1-7 0m3.5-1.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3m20-23a3.5 3.5 0 1 0 0 7 3.5 3.5 0 0 0 0-7M43 23.5a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0m-23.23-3.14a1 1 0 0 1-.13 1.4l-2.08 1.74 2.08 1.73a1 1 0 1 1-1.28 1.54l-2.42-2.02a1.63 1.63 0 0 1 0-2.5l2.42-2.02a1 1 0 0 1 1.4.13m7.6 1.41a1 1 0 1 1 1.28-1.54l2.42 2.02c.78.65.78 1.85 0 2.5l-2.42 2.02a1 1 0 1 1-1.28-1.54l2.08-1.73zM24.12 18a1 1 0 0 1 .87 1.12l-1 8a1 1 0 1 1-1.98-.24l1-8a1 1 0 0 1 1.11-.87M12.25 13C11.01 13 10 14 10 15.25v15.5c0 1.24 1 2.25 2.25 2.25h17.33q.09 0 .15.05l4.07 3.05a2 2 0 0 0 3.2-1.6V15.25c0-1.24-1-2.25-2.25-2.25zM12 15.25q.02-.23.25-.25h22.5q.23.02.25.25V34.5l-4.07-3.05q-.6-.45-1.35-.45H12.25a.25.25 0 0 1-.25-.25zm7.24-10.68a1 1 0 1 0-.48-1.94A22 22 0 0 0 2.91 17.7a1 1 0 1 0 1.92.58 20 20 0 0 1 14.4-13.72m11.06-1.65a1 1 0 0 0-.58 1.92c6.45 1.92 11.54 7 13.46 13.46a1 1 0 1 0 1.92-.58 22 22 0 0 0-14.8-14.8M4.57 28.76a1 1 0 0 0-1.94.48 22 22 0 0 0 16.13 16.13 1 1 0 1 0 .48-1.94A20 20 0 0 1 4.57 28.76m40.8.48a1 1 0 1 0-1.94-.48 20 20 0 0 1-13.72 14.41 1 1 0 0 0 .58 1.92 22 22 0 0 0 15.08-15.85"/></svg> | |
| <h5 class="pt4 fw-bold">Collectives™ on Stack Overflow</h5> | |
| <p class="my16 fs-caption fc-black-500">Find centralized, trusted content and collaborate around the technologies you use most.</p> | |
| <a href="/collectives" | |
| class="js-gps-track s-btn s-btn__filled s-btn__xs" | |
| data-gps-track="top_nav.click({is_current:false, location:2, destination:18})"> | |
| Learn more about Collectives | |
| </a> | |
| </div> | |
| </div> | |
| <div class="s-popover ws2" | |
| id="popover-teams-create-cta" | |
| role="menu" | |
| aria-hidden="true"> | |
| <div class="s-popover--arrow"></div> | |
| <div class="ps-relative overflow-hidden"> | |
| <p class="mb2"><strong>Stack Internal</strong></p> | |
| <p class="mb12 fs-caption fc-black-400">Knowledge at work</p> | |
| <p class="mb12 fs-caption fc-black-500">Bring the best of human thought and AI automation together at your work.</p> | |
| <a href="https://stackoverflow.co/internal/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=side-bar&utm_content=explore-teams-compact-popover" | |
| class="js-gps-track s-btn s-btn__filled s-btn__xs" | |
| data-gps-track="teams.create.left-sidenav.click({ Action: CtaClick })" | |
| data-ga="["teams left navigation","left nav cta","stackoverflow.com/teams",null,null]"> | |
| Explore Stack Internal | |
| </a> | |
| </div> | |
| <div class="ps-absolute t8 r8"> | |
| <svg aria-hidden="true" class="fc-orange-400 svg-spot spotPeople" width="48" height="48" viewBox="0 0 48 48"><path d="M13.5 28a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9M7 30a1 1 0 0 1 1-1h11a1 1 0 0 1 1 1v5h11v-5a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v10a2 2 0 0 1-2 2H33v5a1 1 0 0 1-1 1H20a1 1 0 0 1-1-1v-5H8a1 1 0 0 1-1-1zm25-6.5a4.5 4.5 0 1 0 9 0 4.5 4.5 0 0 0-9 0M24.5 34a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9" opacity=".2"/><path d="M16.4 26.08A6 6 0 1 0 7.53 26C5.64 26.06 4 27.52 4 29.45V40a1 1 0 0 0 1 1h9a1 1 0 1 0 0-2h-4v-7a1 1 0 1 0-2 0v7H6v-9.55c0-.73.67-1.45 1.64-1.45H16a1 1 0 0 0 .4-1.92M12 18a4 4 0 1 1 0 8 4 4 0 0 1 0-8m16.47 14a6 6 0 1 0-8.94 0A3.6 3.6 0 0 0 16 35.5V46a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V35.5c0-1.94-1.64-3.42-3.53-3.5M20 28a4 4 0 1 1 8 0 4 4 0 0 1-8 0m-.3 6h8.6c1 0 1.7.75 1.7 1.5V45h-2v-7a1 1 0 1 0-2 0v7h-4v-7a1 1 0 1 0-2 0v7h-2v-9.5c0-.75.7-1.5 1.7-1.5M42 22c0 1.54-.58 2.94-1.53 4A3.5 3.5 0 0 1 44 29.45V40a1 1 0 0 1-1 1h-9a1 1 0 1 1 0-2h4v-7a1 1 0 1 1 2 0v7h2v-9.55A1.5 1.5 0 0 0 40.48 28H32a1 1 0 0 1-.4-1.92A6 6 0 1 1 42 22m-2 0a4 4 0 1 0-8 0 4 4 0 0 0 8 0"/><g opacity=".35"><path d="M17 10a1 1 0 011-1h12a1 1 0 110 2H18a1 1 0 01-1-1m1-5a1 1 0 100 2h12a1 1 0 100-2zM14 1a1 1 0 00-1 1v12a1 1 0 001 1h5.09l4.2 4.2a1 1 0 001.46-.04l3.7-4.16H34a1 1 0 001-1V2a1 1 0 00-1-1zm1 12V3h18v10h-5a1 1 0 00-.75.34l-3.3 3.7-3.74-3.75a1 1 0 00-.71-.29z"/></g></svg> | |
| </div> | |
| </div> | |
| </div> | |
| <div id="content" class="snippet-hidden"> | |
| <div itemprop="mainEntity" itemscope itemtype="https://schema.org/Question"> | |
| <link itemprop="image" href="https://stackoverflow.com/Content/Sites/stackoverflow/Img/apple-touch-icon.png?v=c78bd457575a"> | |
| <div class="inner-content clearfix"> | |
| <div id="question-header" class="d-flex sm:fd-column"> | |
| <h1 itemprop="name" class="fs-headline1 ow-anywhere mb8 flex--item fl1"><a href="/questions/79164807/how-can-i-make-the-en-us-locale-by-default" class="question-hyperlink">How can I make the 'en_US' locale by default? [closed]</a></h1> | |
| <div class="ml12 aside-cta flex--item sm:ml0 sm:mb12 sm:order-first d-flex jc-end"> | |
| <div class="ml12 aside-cta flex--item print:d-none"> | |
| <a href="/questions/ask" class="ws-nowrap s-btn s-btn__filled"> | |
| Ask Question | |
| </a> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="d-flex fw-wrap pb8 mb16 bb bc-black-200"> | |
| <div class="flex--item ws-nowrap mr16 mb8" title="2024-11-07 02:02:06Z"> | |
| <span class="fc-black-400 mr2">Asked</span> | |
| <time itemprop="dateCreated" | |
| datetime="2024-11-07 02:02:06Z">1 year, 1 month ago</time> | |
| </div> | |
| <div class="flex--item ws-nowrap mr16 mb8"> | |
| <span class="fc-black-400 mr2">Modified</span> | |
| <a href="?lastactivity" class="s-link s-link__inherit" | |
| title="2025-11-03 00:14:15Z">1 month ago</a> | |
| </div> | |
| <div class="flex--item ws-nowrap mb8" | |
| title="Viewed 869 times"> | |
| <span class="fc-black-400 mr2">Viewed</span> | |
| 869 times | |
| </div> | |
| </div> | |
| <div id="mainbar" role="main" aria-label="question and answers"> | |
| <div class="question js-question deleted-answer py16" data-questionid="79164807" data-position-on-page="0" | |
| data-score="-2" | |
| data-author-username="Andrei Cherniaev" | |
| data-should-show-copy-button="True" | |
| data-se-share-sheet-license-name="CC BY-SA 4.0" | |
| data-author-reputation="349" | |
| data-is-edited="True" | |
| id="question"> | |
| <div class="post-layout "> | |
| <div class="votecell post-layout--left"> | |
| <div class="js-voting-container d-flex jc-center fd-column ai-center gs4 fc-black-300" data-post-id="79164807" data-referrer="None"> | |
| <button class="js-vote-up-btn flex--item s-btn s-btn__muted s-btn__outlined bar-pill bc-black-225 f:bc-theme-secondary-400 f:bg-theme-secondary-400 f:fc-black-050 h:bg-theme-primary-200" | |
| id="upvote-btn-79164807" | |
| data-controller="s-tooltip" | |
| data-s-tooltip-placement="right" | |
| title="This question shows research effort; it is useful and clear" | |
| aria-pressed="false" | |
| aria-label="Up vote" | |
| data-selected-classes="fc-theme-primary bc-theme-primary bg-theme-primary-100" | |
| data-unselected-classes="bc-black-225 f:bc-theme-secondary-400 f:bg-theme-secondary-400 f:fc-black-050 h:bg-theme-primary-200"> | |
| <svg aria-hidden="true" class="svg-icon iconArrowUp" width="18" height="18" viewBox="0 0 18 18"><path d="M1 12h16L9 4z"/></svg> | |
| </button> | |
| <input type="hidden" id="voteUpHash" value="70:3:31e,16:44f8adaced00dabc,10:1765366009,16:177c13a1493c7875,8:79164807,40d0f7900aeb5c3c3c2603b1216a7324c67219ee953ca38b970cccfa2c716876" /> | |
| <div class="js-vote-count flex--item d-flex fd-column ai-center fc-theme-body-font fw-bold fs-subheading py4" | |
| itemprop="upvoteCount" | |
| data-value="-2"> | |
| -2 </div> | |
| <button | |
| class="js-vote-down-btn js-vote-down-question flex--item mb8 s-btn s-btn__muted s-btn__outlined bar-pill bc-black-225 f:bc-theme-secondary-400 f:bg-theme-secondary-400 f:fc-black-050 h:bg-theme-primary-200" | |
| id=downvote-btn-79164807 | |
| title="This question does not show any research effort; it is unclear or not useful" | |
| aria-pressed="false" | |
| aria-label="Down vote" | |
| data-selected-classes="fc-theme-primary bc-theme-primary bg-theme-primary-100" | |
| data-unselected-classes="bc-black-225 f:bc-theme-secondary-400 f:bg-theme-secondary-400 f:fc-black-050 h:bg-theme-primary-200"> | |
| <svg aria-hidden="true" class="svg-icon iconArrowDown" width="18" height="18" viewBox="0 0 18 18"><path d="M1 6h16l-8 8z"/></svg> | |
| </button> | |
| <input type="hidden" id="voteDownHash" value="70:3:31e,16:32356fd23ee69fe1,10:1765366009,16:d4537795cc0a2884,8:79164807,b2cea21f99e25d74b3b9e5c06405f61dfd6d3f9bc07ba129288fd433b520357c" /> | |
| <button class="js-saves-btn s-btn s-btn__unset c-pointer py4" | |
| type="button" | |
| id="saves-btn-79164807" | |
| data-controller="s-tooltip" | |
| data-s-tooltip-placement="right" | |
| data-s-popover-placement="" | |
| title="Save this question." | |
| data-is-saved="false" | |
| aria-label="Save" | |
| data-post-id="79164807" | |
| data-post-type-id="1" | |
| data-user-privilege-for-post-click="11" | |
| aria-controls="" | |
| data-s-popover-auto-show="false" | |
| > | |
| <svg aria-hidden="true" class="fc-theme-primary-400 js-saves-btn-selected d-none svg-icon iconBookmark" width="18" height="18" viewBox="0 0 18 18"><path d="M3 17V3c0-1.1.9-2 2-2h8a2 2 0 0 1 2 2v14l-6-4z"/></svg> | |
| <svg aria-hidden="true" class="js-saves-btn-unselected svg-icon iconBookmarkAlt" width="18" height="18" viewBox="0 0 18 18"><path d="m9 10.6 4 2.66V3H5v10.26zM3 17V3c0-1.1.9-2 2-2h8a2 2 0 0 1 2 2v14l-6-4z"/></svg> | |
| </button> | |
| <a class="js-post-issue flex--item s-btn s-btn__unset c-pointer py6 mx-auto" href="/posts/79164807/timeline" data-shortcut="T" data-ks-title="timeline" data-controller="s-tooltip" data-s-tooltip-placement="right" title="Show activity on this post." aria-label="Timeline"><svg aria-hidden="true" class="mln2 mr0 svg-icon iconHistory" width="19" height="18" viewBox="0 0 19 18"><path d="M3 9a8 8 0 1 1 3.73 6.77L8.2 14.3A6 6 0 1 0 5 9l3.01-.01-4 4-4-4zm7-4h1.01L11 9.36l3.22 2.1-.6.93L10 10z"/></svg></a> | |
| </div> | |
| </div> | |
| <div class="postcell post-layout--right"> | |
| <div class="s-prose js-post-body" itemprop="text"> | |
| <div class="mt16"> | |
| <aside class="s-notice s-notice__info post-notice js-post-notice mb16" role="status"> | |
| <div class="d-flex fd-column fw-nowrap"> | |
| <div class="d-flex fw-nowrap"> | |
| <div class="flex--item mr8"> | |
| <svg aria-hidden="true" class="svg-icon iconEyeOff" width="18" height="18" viewBox="0 0 18 18"><path d="m5.02 9.44-2.22 2.2C1.63 10.25 1 9 1 9s3-6 8.06-6q1.13.01 2.12.38L9.5 5.03 9 5a4 4 0 0 0-3.98 4.44m2.03 3.05A4 4 0 0 0 13 9q-.01-1.1-.54-2l-1.51 1.54q.05.22.05.46a2 2 0 0 1-2.44 1.95zm7.11-7.22A15 15 0 0 1 17 9s-3 6-7.94 6c-1.31 0-2.48-.4-3.5-1l-1.97 2L2 14.41 14.59 2 16 3.41z"/></svg> | |
| </div> | |
| <div class="flex--item wmn0 fl1 lh-lg"> | |
| <div class="flex--item fl1 lh-lg"> | |
| <div> | |
| <b>This post is hidden</b>. It was <a href="/help/deleted-questions">deleted</a> <span dir="ltr" title="Nov 13 at 6:17"><span title='2025-11-13 06:17:03Z' class='relativetime'>27 days ago</span></span> by <a href="/users/7916438/tevemadar" dir="auto">tevemadar</a>, <a href="/users/5779732/amit-joshi" dir="auto">Amit Joshi</a>, <a href="/users/3074564/mofi" dir="auto">Mofi</a>. | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </aside> | |
| <aside class="s-notice s-notice__info post-notice js-post-notice mb16" role="status"> | |
| <div class="d-flex fd-column fw-nowrap"> | |
| <div class="d-flex fw-nowrap"> | |
| <div class="flex--item wmn0 fl1 lh-lg"> | |
| <div class="flex--item fl1 lh-lg"> | |
| <div> | |
| <b>Closed.</b> This question is <a href="/help/closed-questions">not about programming or software development</a>. It is not currently accepting answers. | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <hr class="my12 outline-none baw0 bb bc-blue-400" /> | |
| <div class="fw-nowrap fc-black-500"> | |
| <div class="d-flex fd-column lh-md"> | |
| <div class="mb0 d-flex"> | |
| <div class="flex--item mr8"> | |
| <svg aria-hidden="true" class="svg-icon iconLightbulb" width="18" height="18" viewBox="0 0 18 18"><path d="M15 6.38A6.5 6.5 0 0 0 7.78.04h-.02A6.5 6.5 0 0 0 2.05 5.6a6.3 6.3 0 0 0 2.39 5.75c.49.39.76.93.76 1.5v.24c0 1.07.89 1.9 1.92 1.9h2.75c1.04 0 1.92-.83 1.92-1.9v-.2c0-.6.26-1.15.7-1.48A6.3 6.3 0 0 0 15 6.37M4.03 5.85A4.5 4.5 0 0 1 8 2.02a4.5 4.5 0 0 1 5 4.36 4.3 4.3 0 0 1-1.72 3.44c-.98.74-1.5 1.9-1.5 3.08v.1H7.2v-.14c0-1.23-.6-2.34-1.53-3.07a4.3 4.3 0 0 1-1.64-3.94M10 18a1 1 0 0 0 0-2H7a1 1 0 1 0 0 2z"/></svg> | |
| </div> | |
| <p> This question does not appear to be about <a href="/help/on-topic">a specific programming problem, a software algorithm, or software tools primarily used by programmers</a>. You can edit the question so it's <a href="/help/on-topic">on-topic</a> or see if it can be answered on <a href="https://stackexchange.com/sites">another Stack Exchange site</a>, but be sure to read the on-topic page for a site before posting there.</p> | |
| </div> | |
| <div class="mb0 mt6 d-flex"> | |
| <p class="ml24 pl2">Closed <span title='2025-09-03 21:37:04Z' class='relativetime'>3 months ago</span>.</p> | |
| </div> | |
| <div class="ml24 pl2"> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="mt24 d-flex gsx gs8"> | |
| <a class="s-btn s-btn__outlined flex--item js-post-notice-edit-post" href="/posts/79164807/edit"> | |
| Edit question | |
| </a> | |
| </div> | |
| </aside> | |
| </div> | |
| <p>I use <a href="https://en.wikipedia.org/wiki/Buildroot" rel="nofollow noreferrer">Buildroot</a> to build Linux with <a href="https://en.wikipedia.org/wiki/BusyBox" rel="nofollow noreferrer">BusyBox</a> (without <a href="https://en.wikipedia.org/wiki/Systemd" rel="nofollow noreferrer">systemd</a>). How can I make the 'en_US' locale by default?</p> | |
| <p>My Buildroot configuration is similar to <a href="https://gitlab.com/buildroot.org/buildroot/-/blob/master/configs/qemu_x86_defconfig?ref_type=heads" rel="nofollow noreferrer">qemu_x86_defconfig</a>, but with the extra</p> | |
| <pre class="lang-none prettyprint-override"><code>BR2_ENABLE_LOCALE_WHITELIST="en_US" | |
| BR2_GENERATE_LOCALE="en_US" | |
| </code></pre> | |
| <p>After I try to start my hello world <a href="https://en.wikipedia.org/wiki/Qt_%28software%29" rel="nofollow noreferrer">Qt</a> application, I get a noisy warning:</p> | |
| <pre class="lang-none prettyprint-override"><code>Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8. | |
| Qt depends on a UTF-8 locale, but has failed to switch to one. | |
| If this causes problems, reconfigure your locale. See the locale(1) manual | |
| for more information. | |
| </code></pre> | |
| <p>Then I <a href="https://gitlab.com/buildroot.org/buildroot/-/issues/52" rel="nofollow noreferrer">build the locale</a> tool. Let's check by <a href="https://man7.org/linux/man-pages/man1/locale.1.html" rel="nofollow noreferrer">locale</a>:</p> | |
| <pre class="lang-none prettyprint-override"><code># Locale | |
| LANG= | |
| LC_CTYPE="POSIX" | |
| LC_NUMERIC="POSIX" | |
| LC_TIME="POSIX" | |
| LC_COLLATE="POSIX" | |
| LC_MONETARY="POSIX" | |
| LC_MESSAGES="POSIX" | |
| LC_PAPER="POSIX" | |
| LC_NAME="POSIX" | |
| LC_ADDRESS="POSIX" | |
| LC_TELEPHONE="POSIX" | |
| LC_MEASUREMENT="POSIX" | |
| LC_IDENTIFICATION="POSIX" | |
| LC_ALL= | |
| </code></pre> | |
| <p>But if I do</p> | |
| <pre class="lang-none prettyprint-override"><code>export LC_ALL=en_US.utf8 && ./myQt_app | |
| </code></pre> | |
| <p>Then works without warning. And <code>locale</code> also can see <em>en_US.utf8</em>... How can I export automatically?</p> | |
| </div> | |
| <div class="mt24 mb12"> | |
| <div class="post-taglist d-flex gs4 gsy fd-column"> | |
| <div class="d-flex ps-relative fw-wrap"> | |
| <ul class='ml0 list-ls-none js-post-tag-list-wrapper d-inline'><li class='d-inline mr4 js-post-tag-list-item'><a href="/questions/tagged/locale" class="s-tag post-tag" title="show questions tagged 'locale'" aria-label="show questions tagged 'locale'" rel="tag" aria-labelledby="tag-locale-tooltip-container" data-tag-menu-origin="Unknown">locale</a></li><li class='d-inline mr4 js-post-tag-list-item'><a href="/questions/tagged/buildroot" class="s-tag post-tag" title="show questions tagged 'buildroot'" aria-label="show questions tagged 'buildroot'" rel="tag" aria-labelledby="tag-buildroot-tooltip-container" data-tag-menu-origin="Unknown">buildroot</a></li><li class='d-inline mr4 js-post-tag-list-item'><a href="/questions/tagged/busybox" class="s-tag post-tag" title="show questions tagged 'busybox'" aria-label="show questions tagged 'busybox'" rel="tag" aria-labelledby="tag-busybox-tooltip-container" data-tag-menu-origin="Unknown">busybox</a></li></ul> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="mb0 "> | |
| <div class="mt16 d-flex gs8 gsy fw-wrap jc-end ai-start pt4 mb16"> | |
| <div class="flex--item mr16 fl1 w96"> | |
| <div class="js-post-menu pt2" data-post-id="79164807" data-post-type-id="1"> | |
| <div class="d-flex gs8 s-anchors s-anchors__muted fw-wrap"> | |
| <div class="flex--item"> | |
| <a href="/q/79164807/7915017" | |
| rel="nofollow" | |
| itemprop="url" | |
| class="js-share-link js-gps-track" | |
| title="Short permalink to this question" | |
| data-gps-track="post.click({ item: 2, priv: 11, post_type: 1 })" | |
| data-controller="se-share-sheet" | |
| data-se-share-sheet-title="Share a link to this question" | |
| data-se-share-sheet-subtitle="(Includes your user id)" | |
| data-se-share-sheet-post-type="question" | |
| data-se-share-sheet-social="facebook twitter devto" | |
| data-se-share-sheet-location="1" | |
| data-se-share-sheet-license-url="https%3a%2f%2fcreativecommons.org%2flicenses%2fby-sa%2f4.0%2f" | |
| data-se-share-sheet-license-name="CC BY-SA 4.0" | |
| data-s-popover-placement="bottom-start">Share</a> | |
| </div> | |
| <div class="flex--item"> | |
| <a href="/posts/79164807/edit" class="js-edit-post js-gps-track" data-gps-track="post.click({ item: 6, priv: 11, post_type: 1 })" title="Revise and improve this post">Edit</a> | |
| </div> | |
| <div class="flex--item"> | |
| <button type="button" | |
| class="js-close-question-link s-btn s-btn__link js-gps-track" | |
| data-gps-track="post.click({ item: 10, priv:11, post_type: 1 })" | |
| title="Vote to reopen this question (when reopened, new answers can be added again)" | |
| data-show-interstitial="" | |
| data-is-closed="true" | |
| data-has-active-vote="false"> | |
| Reopen | |
| </button> | |
| </div> | |
| <div class="flex--item"> | |
| <button type="button" | |
| href="#" | |
| title="You voted to undelete. 2 more votes from other users are needed to undelete this post." | |
| class="js-delete-post s-btn s-btn__link js-gps-track deleted-post" | |
| data-fancy-delete="false" | |
| data-gps-track="post.click({ item: 8, priv: 11, post_type: 1 })" | |
| data-prompt="Warning! Are you sure you want to retract your vote to undelete? You won’t be able to vote to undelete again on this post." | |
| data-is-deleted="true" | |
| data-has-active-vote="true" | |
| data-has-deleted-vote="false"> | |
| Undelete (1*) | |
| </button> | |
| </div> | |
| <div class="flex--item"> | |
| <button type="button" | |
| class="js-flag-post-link s-btn s-btn__link js-gps-track" | |
| data-gps-track="post.click({ item: 5, priv: 11, post_type: 1 })" | |
| title="Flag this post for serious problems or moderator attention"> | |
| Flag | |
| </button> | |
| </div> | |
| </div> | |
| <div class="js-menu-popup-container"></div> | |
| </div> | |
| </div> | |
| <div class="post-signature flex--item"> | |
| <div class="user-info user-hover "> | |
| <div class="d-flex "> | |
| <div class="user-action-time fl-grow1"> | |
| <a href="/posts/79164807/revisions" title="show all edits to this post" | |
| class="js-gps-track" | |
| data-gps-track="post.click({ item: 4, priv: 11, post_type: 1 })">edited <span title='2025-11-03 00:14:15Z' class='relativetime'>Nov 3 at 0:14</span></a> | |
| </div> | |
| </div> | |
| <div class="user-gravatar32"> | |
| <a href="/users/63550/peter-mortensen"><div class="gravatar-wrapper-32"><img src="https://i.sstatic.net/RIZKi.png?s=64" alt="Peter Mortensen's user avatar" width="32" height="32" class="bar-sm"></div></a> | |
| </div> | |
| <div class="user-details"> | |
| <a href="/users/63550/peter-mortensen" dir="auto">Peter Mortensen</a> | |
| <div class="-flair"> | |
| <span class="reputation-score" title="reputation score 31,360" dir="ltr">31.4k</span><span title="22 gold badges" aria-hidden="true"><span class="badge1"></span><span class="badgecount">22</span></span><span class="v-visible-sr">22 gold badges</span><span title="110 silver badges" aria-hidden="true"><span class="badge2"></span><span class="badgecount">110</span></span><span class="v-visible-sr">110 silver badges</span><span title="134 bronze badges" aria-hidden="true"><span class="badge3"></span><span class="badgecount">134</span></span><span class="v-visible-sr">134 bronze badges</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="post-signature flex--item"> | |
| <div class="user-info "> | |
| <div class="d-flex "> | |
| <div class="user-action-time fl-grow1"> | |
| asked <span title='2024-11-07 02:02:06Z' class='relativetime'>Nov 7, 2024 at 2:02</span> | |
| </div> | |
| </div> | |
| <div class="user-gravatar32"> | |
| <a href="/users/7915017/andrei-cherniaev"><div class="gravatar-wrapper-32"><img src="https://lh3.googleusercontent.com/-hDqf5L3uD_Y/AAAAAAAAAAI/AAAAAAAAABU/cVKH90USSb8/s64-rj/photo.jpg" alt="Andrei Cherniaev's user avatar" width="32" height="32" class="bar-sm"></div></a> | |
| </div> | |
| <div class="user-details" itemprop="author" itemscope itemtype="http://schema.org/Person"> | |
| <a href="/users/7915017/andrei-cherniaev" itemprop="url" dir="auto">Andrei Cherniaev</a><meta itemprop="name" content="Andrei Cherniaev"/> | |
| <div class="-flair"> | |
| <span class="reputation-score" title="reputation score " dir="ltr">349</span><span title="4 silver badges" aria-hidden="true"><span class="badge2"></span><span class="badgecount">4</span></span><span class="v-visible-sr">4 silver badges</span><span title="17 bronze badges" aria-hidden="true"><span class="badge3"></span><span class="badgecount">17</span></span><span class="v-visible-sr">17 bronze badges</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <span class="d-none" itemprop="commentCount"></span> | |
| <div class="post-layout--right js-post-comments-component" data-has-opted-out="False"> | |
| <div id="comments-79164807" class="comments js-comments-container bt bc-black-200 mt12 dno" data-post-id="79164807" data-min-length="15"> | |
| <ul class="comments-list js-comments-list" | |
| data-remaining-comments-count="0" | |
| data-canpost="false" | |
| data-cansee="false" | |
| data-comments-unavailable="true" | |
| data-addlink-disabled="true"> | |
| </ul> | |
| </div> | |
| <div id="comments-link-79164807" > | |
| <span class="disabled-link">Comments disabled on deleted / locked posts / reviews</span> | |
| <span class="js-link-separator dno"> | </span> | |
| <a | |
| class="js-show-link comments-link dno" | |
| title="Expand to show all comments on this post" | |
| href=# | |
| onclick="" | |
| role="button"> | |
| </a> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div id="answers" class=""> | |
| <a name="tab-top"></a> | |
| <div id="answers-header"> | |
| <div class="answers-subheader d-flex ai-center mb8"> | |
| <div class="flex--item fl1"> | |
| <h2 class="mb0" data-answercount="2"> | |
| 2 Answers <span style="display:none;" itemprop="answerCount">2</span> | |
| </h2> | |
| </div> | |
| <div class="flex--item"> | |
| <div class="d-flex g4 gsx ai-center sm:fd-column sm:ai-start"> | |
| <div class="d-flex fd-column ai-end sm:ai-start"> | |
| <label class="flex--item fs-caption" for="answer-sort-dropdown-select-menu"> | |
| Sorted by: | |
| </label> | |
| <a | |
| class="js-sort-preference-change s-link flex--item fs-fine d-none" | |
| data-value="ScoreDesc" | |
| href="/questions/79164807/how-can-i-make-the-en-us-locale-by-default?answertab=scoredesc#tab-top" | |
| > | |
| Reset to default | |
| </a> | |
| </div> | |
| <div class="flex--item s-select"> | |
| <select id="answer-sort-dropdown-select-menu"> | |
| <option | |
| value=scoredesc | |
| selected=selected | |
| > | |
| Highest score (default) | |
| </option> | |
| <option | |
| value=trending | |
| > | |
| Trending (recent votes count more) | |
| </option> | |
| <option | |
| value=modifieddesc | |
| > | |
| Date modified (newest first) | |
| </option> | |
| <option | |
| value=createdasc | |
| > | |
| Date created (oldest first) | |
| </option> | |
| </select> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="s-pagination site1 themed pager-answers"> | |
| </div> | |
| <a name="79168922"></a> | |
| <div id="answer-79168922" class="answer js-answer deleted-answer " data-answerid="79168922" | |
| data-parentid="79164807" data-score="0" data-position-on-page="1" | |
| data-highest-scored="1" | |
| data-question-has-accepted-highest-score="0" | |
| data-author-username="Andrei Cherniaev" | |
| data-author-reputation="349" | |
| data-should-show-copy-button=True | |
| data-se-share-sheet-license-name="CC BY-SA 4.0" | |
| data-is-edited="True" | |
| itemprop="suggestedAnswer" | |
| itemscope itemtype="https://schema.org/Answer"> | |
| <div class="post-layout "> | |
| <div class="votecell post-layout--left"> | |
| <div class="js-voting-container d-flex jc-center fd-column ai-center gs4 fc-black-300" data-post-id="79168922" data-referrer="None"> | |
| <button class="js-vote-up-btn flex--item s-btn s-btn__muted s-btn__outlined bar-pill bc-black-225 f:bc-theme-secondary-400 f:bg-theme-secondary-400 f:fc-black-050 h:bg-theme-primary-200" | |
| id="upvote-btn-79168922" | |
| data-controller="s-tooltip" | |
| data-s-tooltip-placement="right" | |
| title="This answer is useful" | |
| aria-pressed="false" | |
| aria-label="Up vote" | |
| data-selected-classes="fc-theme-primary bc-theme-primary bg-theme-primary-100" | |
| data-unselected-classes="bc-black-225 f:bc-theme-secondary-400 f:bg-theme-secondary-400 f:fc-black-050 h:bg-theme-primary-200"> | |
| <svg aria-hidden="true" class="svg-icon iconArrowUp" width="18" height="18" viewBox="0 0 18 18"><path d="M1 12h16L9 4z"/></svg> | |
| </button> | |
| <input type="hidden" id="voteUpHash" value="70:3:31e,16:b8540d885d811b01,10:1765366009,16:36cf5f5de5c4b58f,8:79168922,f046d659eaeb7bf4b3ce0f0cfc0551d3c0c53242f5886af61c6b9f0fa909e3e2" /> | |
| <div class="js-vote-count flex--item d-flex fd-column ai-center fc-theme-body-font fw-bold fs-subheading py4" | |
| itemprop="upvoteCount" | |
| data-value="0"> | |
| 0 </div> | |
| <button | |
| class="js-vote-down-btn flex--item mb8 s-btn s-btn__muted s-btn__outlined bar-pill bc-black-225 f:bc-theme-secondary-400 f:bg-theme-secondary-400 f:fc-black-050 h:bg-theme-primary-200" | |
| id=downvote-btn-79168922 | |
| title="This answer is not useful" | |
| aria-pressed="false" | |
| aria-label="Down vote" | |
| data-selected-classes="fc-theme-primary bc-theme-primary bg-theme-primary-100" | |
| data-unselected-classes="bc-black-225 f:bc-theme-secondary-400 f:bg-theme-secondary-400 f:fc-black-050 h:bg-theme-primary-200"> | |
| <svg aria-hidden="true" class="svg-icon iconArrowDown" width="18" height="18" viewBox="0 0 18 18"><path d="M1 6h16l-8 8z"/></svg> | |
| </button> | |
| <input type="hidden" id="voteDownHash" value="70:3:31e,16:c264963b1b6b183f,10:1765366009,16:aa93c31936f3d28e,8:79168922,9012a7680fdbd2edbe973fe18358dbe76c3c0156025d5f286f36cb642c9258ec" /> | |
| <button class="js-saves-btn s-btn s-btn__unset c-pointer py4" | |
| type="button" | |
| id="saves-btn-79168922" | |
| data-controller="s-tooltip" | |
| data-s-tooltip-placement="right" | |
| data-s-popover-placement="" | |
| title="Save this answer." | |
| data-is-saved="false" | |
| aria-label="Save" | |
| data-post-id="79168922" | |
| data-post-type-id="2" | |
| data-user-privilege-for-post-click="11" | |
| aria-controls="" | |
| data-s-popover-auto-show="false" | |
| > | |
| <svg aria-hidden="true" class="fc-theme-primary-400 js-saves-btn-selected d-none svg-icon iconBookmark" width="18" height="18" viewBox="0 0 18 18"><path d="M3 17V3c0-1.1.9-2 2-2h8a2 2 0 0 1 2 2v14l-6-4z"/></svg> | |
| <svg aria-hidden="true" class="js-saves-btn-unselected svg-icon iconBookmarkAlt" width="18" height="18" viewBox="0 0 18 18"><path d="m9 10.6 4 2.66V3H5v10.26zM3 17V3c0-1.1.9-2 2-2h8a2 2 0 0 1 2 2v14l-6-4z"/></svg> | |
| </button> | |
| <button class="js-accept-answer-btn flex--item s-btn s-btn__unset c-pointer" | |
| aria-pressed="false" | |
| data-selected-classes="fc-green-400" | |
| data-title-accept="Accept this answer if it solved your problem or was the most helpful in finding your solution" | |
| data-title-unaccept="You accepted this answer (select to undo)" | |
| aria-label="Accept answer"> | |
| <svg aria-hidden="true" class="m0 svg-icon iconCheckmarkLg" width="36" height="36" viewBox="0 0 36 36"><path d="m6 14 8 8L30 6v8L14 30l-8-8z"/></svg> | |
| </button> | |
| <a class="js-post-issue flex--item s-btn s-btn__unset c-pointer py6 mx-auto" href="/posts/79168922/timeline" data-shortcut="T" data-ks-title="timeline" data-controller="s-tooltip" data-s-tooltip-placement="right" title="Show activity on this post." aria-label="Timeline"><svg aria-hidden="true" class="mln2 mr0 svg-icon iconHistory" width="19" height="18" viewBox="0 0 19 18"><path d="M3 9a8 8 0 1 1 3.73 6.77L8.2 14.3A6 6 0 1 0 5 9l3.01-.01-4 4-4-4zm7-4h1.01L11 9.36l3.22 2.1-.6.93L10 10z"/></svg></a> | |
| </div> | |
| </div> | |
| <div class="answercell post-layout--right"> | |
| <div class="s-prose js-post-body" itemprop="text"> | |
| <div> | |
| <aside class="s-notice s-notice__info post-notice js-post-notice mb16" role="status"> | |
| <div class="d-flex fd-column fw-nowrap"> | |
| <div class="d-flex fw-nowrap"> | |
| <div class="flex--item mr8"> | |
| <svg aria-hidden="true" class="svg-icon iconEyeOff" width="18" height="18" viewBox="0 0 18 18"><path d="m5.02 9.44-2.22 2.2C1.63 10.25 1 9 1 9s3-6 8.06-6q1.13.01 2.12.38L9.5 5.03 9 5a4 4 0 0 0-3.98 4.44m2.03 3.05A4 4 0 0 0 13 9q-.01-1.1-.54-2l-1.51 1.54q.05.22.05.46a2 2 0 0 1-2.44 1.95zm7.11-7.22A15 15 0 0 1 17 9s-3 6-7.94 6c-1.31 0-2.48-.4-3.5-1l-1.97 2L2 14.41 14.59 2 16 3.41z"/></svg> | |
| </div> | |
| <div class="flex--item wmn0 fl1 lh-lg"> | |
| <div class="flex--item fl1 lh-lg"> | |
| <div> | |
| <b>This answer is hidden</b>. This answer was deleted <span dir="ltr" title="Nov 13 at 6:17"><span title='2025-11-13 06:17:03Z' class='relativetime'>27 days ago</span></span> along with its parent question. | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </aside> | |
| </div> | |
| <p><a href="https://stackoverflow.com/questions/79164807/how-can-i-make-the-en-us-locale-by-default/79165438#79165438">Arnout's solution</a> works! I ask my profile to upload my script:</p> | |
| <pre class="lang-none prettyprint-override"><code>cat <<EOF > /etc/profile.d/export_locale.sh | |
| export LC_ALL=en_US.utf8 | |
| EOF | |
| </code></pre> | |
| <p>Then I log out and log back in.</p> | |
| </div> | |
| <div class="mt24"> | |
| <div class="d-flex fw-wrap ai-start jc-end gs8 gsy"> | |
| <time itemprop="dateCreated" datetime="2024-11-08 05:35:52Z"></time> | |
| <div class="flex--item mr16" style="flex: 1 1 100px;"> | |
| <div class="js-post-menu pt2" data-post-id="79168922" data-post-type-id="2"> | |
| <div class="d-flex gs8 s-anchors s-anchors__muted fw-wrap"> | |
| <div class="flex--item"> | |
| <a href="/a/79168922/7915017" | |
| rel="nofollow" | |
| itemprop="url" | |
| class="js-share-link js-gps-track" | |
| title="Short permalink to this answer" | |
| data-gps-track="post.click({ item: 2, priv: 11, post_type: 2 })" | |
| data-controller="se-share-sheet" | |
| data-se-share-sheet-title="Share a link to this answer" | |
| data-se-share-sheet-subtitle="(Includes your user id)" | |
| data-se-share-sheet-post-type="answer" | |
| data-se-share-sheet-social="facebook twitter devto" | |
| data-se-share-sheet-location="2" | |
| data-se-share-sheet-license-url="https%3a%2f%2fcreativecommons.org%2flicenses%2fby-sa%2f4.0%2f" | |
| data-se-share-sheet-license-name="CC BY-SA 4.0" | |
| data-s-popover-placement="bottom-start">Share</a> | |
| </div> | |
| <div class="flex--item"> | |
| <a href="/posts/79168922/edit" class="js-edit-post js-gps-track" data-gps-track="post.click({ item: 6, priv: 11, post_type: 2 })" title="Revise and improve this post">Edit</a> | |
| </div> | |
| <div class="flex--item"> | |
| <button type="button" | |
| href="#" | |
| title="Vote to undelete this post" | |
| class="js-delete-post s-btn s-btn__link js-gps-track deleted-post" | |
| data-fancy-delete="false" | |
| data-gps-track="post.click({ item: 8, priv: 11, post_type: 2 })" | |
| data-prompt="Vote to undelete this post? (You have 4 votes left today)" | |
| data-is-deleted="true" | |
| data-has-active-vote="false" | |
| data-has-deleted-vote="false"> | |
| Undelete | |
| </button> | |
| </div> | |
| <div class="flex--item"> | |
| <button type="button" | |
| class="js-flag-post-link s-btn s-btn__link js-gps-track" | |
| data-gps-track="post.click({ item: 5, priv: 11, post_type: 2 })" | |
| title="Flag this post for serious problems or moderator attention"> | |
| Flag | |
| </button> | |
| </div> | |
| </div> | |
| <div class="js-menu-popup-container"></div> | |
| </div> | |
| </div> | |
| <div class="post-signature flex--item fl0"> | |
| <div class="user-info user-hover "> | |
| <div class="d-flex "> | |
| <div class="user-action-time fl-grow1"> | |
| <a href="/posts/79168922/revisions" title="show all edits to this post" | |
| class="js-gps-track" | |
| data-gps-track="post.click({ item: 4, priv: 11, post_type: 2 })">edited <span title='2025-11-03 00:12:42Z' class='relativetime'>Nov 3 at 0:12</span></a> | |
| </div> | |
| </div> | |
| <div class="user-gravatar32"> | |
| <a href="/users/63550/peter-mortensen"><div class="gravatar-wrapper-32"><img src="https://i.sstatic.net/RIZKi.png?s=64" alt="Peter Mortensen's user avatar" width="32" height="32" class="bar-sm"></div></a> | |
| </div> | |
| <div class="user-details"> | |
| <a href="/users/63550/peter-mortensen" dir="auto">Peter Mortensen</a> | |
| <div class="-flair"> | |
| <span class="reputation-score" title="reputation score 31,360" dir="ltr">31.4k</span><span title="22 gold badges" aria-hidden="true"><span class="badge1"></span><span class="badgecount">22</span></span><span class="v-visible-sr">22 gold badges</span><span title="110 silver badges" aria-hidden="true"><span class="badge2"></span><span class="badgecount">110</span></span><span class="v-visible-sr">110 silver badges</span><span title="134 bronze badges" aria-hidden="true"><span class="badge3"></span><span class="badgecount">134</span></span><span class="v-visible-sr">134 bronze badges</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="post-signature owner flex--item fl0"> | |
| <div class="user-info "> | |
| <div class="d-flex "> | |
| <div class="user-action-time fl-grow1"> | |
| answered <span title='2024-11-08 05:35:52Z' class='relativetime'>Nov 8, 2024 at 5:35</span> | |
| </div> | |
| </div> | |
| <div class="user-gravatar32"> | |
| <a href="/users/7915017/andrei-cherniaev"><div class="gravatar-wrapper-32"><img src="https://lh3.googleusercontent.com/-hDqf5L3uD_Y/AAAAAAAAAAI/AAAAAAAAABU/cVKH90USSb8/s64-rj/photo.jpg" alt="Andrei Cherniaev's user avatar" width="32" height="32" class="bar-sm"></div></a> | |
| </div> | |
| <div class="user-details" itemprop="author" itemscope itemtype="http://schema.org/Person"> | |
| <a href="/users/7915017/andrei-cherniaev" itemprop="url" dir="auto">Andrei Cherniaev</a><meta itemprop="name" content="Andrei Cherniaev"/> | |
| <div class="-flair"> | |
| <span class="reputation-score" title="reputation score " dir="ltr">349</span><span title="4 silver badges" aria-hidden="true"><span class="badge2"></span><span class="badgecount">4</span></span><span class="v-visible-sr">4 silver badges</span><span title="17 bronze badges" aria-hidden="true"><span class="badge3"></span><span class="badgecount">17</span></span><span class="v-visible-sr">17 bronze badges</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="post-layout--right"> | |
| <div id="follow-ups-container-79168922"> | |
| <!--[--><div class="mt16"><div class="mb8 d-flex ai-center g8" role="button" tabindex="0"><h2 class="mb0">Comments</h2> <!--[!--><!--]--></div> <div class="mb12"><!--[!--><button type="button" class="s-btn s-btn__muted s-btn__outlined w100 d-flex ai-center p8 comments-link" data-so-test="parent-answer-79168922"><!--[--><div class="flex--item"><img class="s-avatar s-avatar--image" src="https://lh3.googleusercontent.com/-hDqf5L3uD_Y/AAAAAAAAAAI/AAAAAAAAABU/cVKH90USSb8/s128-rj/photo.jpg" alt="user avatar"/></div><!--]--> <div class="flex--item ml8"><p class="mb0">Add a comment</p></div></button><!--]--></div> <!--[--><div role="list"><!--[--><!--]--></div> <!--[!--><!--]--><!----><!--]--> <!--[!--><!--]--></div><!--]--> | |
| </div> | |
| <script type="application/json" data-role="module-args" data-module-name="islands/follow-ups/index.mod">{"replies":[],"postId":79168922,"currentUserProfileImageUrl":"https://lh3.googleusercontent.com/-hDqf5L3uD_Y/AAAAAAAAAAI/AAAAAAAAABU/cVKH90USSb8/s128-rj/photo.jpg","currentUserIsMod":false,"currentUserIsAnonymous":false,"commentFlagsRemainingToday":10,"maxNestingLevel":3,"hasOptedOut":false,"showCtaUnderComments":false,"containerElementId":"follow-ups-container-79168922","fKey":"d1f83c1994b568c66c8b04406aed1ef522b6eea430b95c8df84c5385ffc809d6","questionId":79164807,"questionAuthorId":7915017,"answerId":79168922,"answerPositionOnPage":0,"newUiSettings":{"largerFontSize":false},"showFirstTimeCommentingModal":false,"isMentionEnabled":false,"showSpamFlag":true,"mergeUnfriendlyAndRudeFlags":true,"allowRetractingCommentFlags":true,"commentMinLength":15}</script> | |
| </div> | |
| </div> | |
| </div> | |
| <a name="79165438"></a> | |
| <div id="answer-79165438" class="answer js-answer deleted-answer " data-answerid="79165438" | |
| data-parentid="79164807" data-score="0" data-position-on-page="2" | |
| data-highest-scored="1" | |
| data-question-has-accepted-highest-score="0" | |
| data-author-username="Arnout" | |
| data-author-reputation="3497" | |
| data-should-show-copy-button=True | |
| data-se-share-sheet-license-name="CC BY-SA 4.0" | |
| data-is-edited="True" | |
| itemprop="suggestedAnswer" | |
| itemscope itemtype="https://schema.org/Answer"> | |
| <div class="post-layout "> | |
| <div class="votecell post-layout--left"> | |
| <div class="js-voting-container d-flex jc-center fd-column ai-center gs4 fc-black-300" data-post-id="79165438" data-referrer="None"> | |
| <button class="js-vote-up-btn flex--item s-btn s-btn__muted s-btn__outlined bar-pill bc-black-225 f:bc-theme-secondary-400 f:bg-theme-secondary-400 f:fc-black-050 h:bg-theme-primary-200" | |
| id="upvote-btn-79165438" | |
| data-controller="s-tooltip" | |
| data-s-tooltip-placement="right" | |
| title="This answer is useful" | |
| aria-pressed="false" | |
| aria-label="Up vote" | |
| data-selected-classes="fc-theme-primary bc-theme-primary bg-theme-primary-100" | |
| data-unselected-classes="bc-black-225 f:bc-theme-secondary-400 f:bg-theme-secondary-400 f:fc-black-050 h:bg-theme-primary-200"> | |
| <svg aria-hidden="true" class="svg-icon iconArrowUp" width="18" height="18" viewBox="0 0 18 18"><path d="M1 12h16L9 4z"/></svg> | |
| </button> | |
| <input type="hidden" id="voteUpHash" value="70:3:31e,16:06faa9a454fcea55,10:1765366009,16:11047f7eb21f2a22,8:79165438,0383259e95cf443dfb51a4ec343f3ddc946857e408ad5e0f42d352742834dfa6" /> | |
| <div class="js-vote-count flex--item d-flex fd-column ai-center fc-theme-body-font fw-bold fs-subheading py4" | |
| itemprop="upvoteCount" | |
| data-value="0"> | |
| 0 </div> | |
| <button | |
| class="js-vote-down-btn flex--item mb8 s-btn s-btn__muted s-btn__outlined bar-pill bc-black-225 f:bc-theme-secondary-400 f:bg-theme-secondary-400 f:fc-black-050 h:bg-theme-primary-200" | |
| id=downvote-btn-79165438 | |
| title="This answer is not useful" | |
| aria-pressed="false" | |
| aria-label="Down vote" | |
| data-selected-classes="fc-theme-primary bc-theme-primary bg-theme-primary-100" | |
| data-unselected-classes="bc-black-225 f:bc-theme-secondary-400 f:bg-theme-secondary-400 f:fc-black-050 h:bg-theme-primary-200"> | |
| <svg aria-hidden="true" class="svg-icon iconArrowDown" width="18" height="18" viewBox="0 0 18 18"><path d="M1 6h16l-8 8z"/></svg> | |
| </button> | |
| <input type="hidden" id="voteDownHash" value="70:3:31e,16:f6e9526356aab07e,10:1765366009,16:8993097f2d12499b,8:79165438,fdc4bbfc74f984020354ee68a424db210586536ee9c02e57686a14ccbb02e374" /> | |
| <button class="js-saves-btn s-btn s-btn__unset c-pointer py4" | |
| type="button" | |
| id="saves-btn-79165438" | |
| data-controller="s-tooltip" | |
| data-s-tooltip-placement="right" | |
| data-s-popover-placement="" | |
| title="Save this answer." | |
| data-is-saved="false" | |
| aria-label="Save" | |
| data-post-id="79165438" | |
| data-post-type-id="2" | |
| data-user-privilege-for-post-click="11" | |
| aria-controls="" | |
| data-s-popover-auto-show="false" | |
| > | |
| <svg aria-hidden="true" class="fc-theme-primary-400 js-saves-btn-selected d-none svg-icon iconBookmark" width="18" height="18" viewBox="0 0 18 18"><path d="M3 17V3c0-1.1.9-2 2-2h8a2 2 0 0 1 2 2v14l-6-4z"/></svg> | |
| <svg aria-hidden="true" class="js-saves-btn-unselected svg-icon iconBookmarkAlt" width="18" height="18" viewBox="0 0 18 18"><path d="m9 10.6 4 2.66V3H5v10.26zM3 17V3c0-1.1.9-2 2-2h8a2 2 0 0 1 2 2v14l-6-4z"/></svg> | |
| </button> | |
| <button class="js-accept-answer-btn flex--item s-btn s-btn__unset c-pointer" | |
| aria-pressed="false" | |
| data-selected-classes="fc-green-400" | |
| data-title-accept="Accept this answer if it solved your problem or was the most helpful in finding your solution" | |
| data-title-unaccept="You accepted this answer (select to undo)" | |
| aria-label="Accept answer"> | |
| <svg aria-hidden="true" class="m0 svg-icon iconCheckmarkLg" width="36" height="36" viewBox="0 0 36 36"><path d="m6 14 8 8L30 6v8L14 30l-8-8z"/></svg> | |
| </button> | |
| <a class="js-post-issue flex--item s-btn s-btn__unset c-pointer py6 mx-auto" href="/posts/79165438/timeline" data-shortcut="T" data-ks-title="timeline" data-controller="s-tooltip" data-s-tooltip-placement="right" title="Show activity on this post." aria-label="Timeline"><svg aria-hidden="true" class="mln2 mr0 svg-icon iconHistory" width="19" height="18" viewBox="0 0 19 18"><path d="M3 9a8 8 0 1 1 3.73 6.77L8.2 14.3A6 6 0 1 0 5 9l3.01-.01-4 4-4-4zm7-4h1.01L11 9.36l3.22 2.1-.6.93L10 10z"/></svg></a> | |
| </div> | |
| </div> | |
| <div class="answercell post-layout--right"> | |
| <div class="s-prose js-post-body" itemprop="text"> | |
| <div> | |
| <aside class="s-notice s-notice__info post-notice js-post-notice mb16" role="status"> | |
| <div class="d-flex fd-column fw-nowrap"> | |
| <div class="d-flex fw-nowrap"> | |
| <div class="flex--item mr8"> | |
| <svg aria-hidden="true" class="svg-icon iconEyeOff" width="18" height="18" viewBox="0 0 18 18"><path d="m5.02 9.44-2.22 2.2C1.63 10.25 1 9 1 9s3-6 8.06-6q1.13.01 2.12.38L9.5 5.03 9 5a4 4 0 0 0-3.98 4.44m2.03 3.05A4 4 0 0 0 13 9q-.01-1.1-.54-2l-1.51 1.54q.05.22.05.46a2 2 0 0 1-2.44 1.95zm7.11-7.22A15 15 0 0 1 17 9s-3 6-7.94 6c-1.31 0-2.48-.4-3.5-1l-1.97 2L2 14.41 14.59 2 16 3.41z"/></svg> | |
| </div> | |
| <div class="flex--item wmn0 fl1 lh-lg"> | |
| <div class="flex--item fl1 lh-lg"> | |
| <div> | |
| <b>This answer is hidden</b>. This answer was deleted <span dir="ltr" title="Nov 13 at 6:17"><span title='2025-11-13 06:17:03Z' class='relativetime'>27 days ago</span></span> along with its parent question. | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </aside> | |
| </div> | |
| <p>There isn’t any Unix standard for specifying a default locale.</p> | |
| <p><code>systemd</code> uses <em>/etc/locale.conf</em> to configure the default locale. You can manipulate this file at runtime with <code>localectl</code>, or you can put it in the <a href="https://buildroot.org/downloads/manual/manual.html#rootfs-custom" rel="nofollow noreferrer">rootfs overlay</a>.</p> | |
| <p>For non-<em>systemd</em> init systems, you have to cook up something yourself by setting <a href="https://www.man7.org/linux/man-pages/man7/locale.7.html" rel="nofollow noreferrer">the locale environment variables</a>. You can put it in <code>/etc/profile</code>, but that only works for programs that are started through a shell. If you start a program directly from <code>inittab</code>, there isn’t any way to pass in environment variables, so you need a wrapper script.</p> | |
| </div> | |
| <div class="mt24"> | |
| <div class="d-flex fw-wrap ai-start jc-end gs8 gsy"> | |
| <time itemprop="dateCreated" datetime="2024-11-07 07:46:29Z"></time> | |
| <div class="flex--item mr16" style="flex: 1 1 100px;"> | |
| <div class="js-post-menu pt2" data-post-id="79165438" data-post-type-id="2"> | |
| <div class="d-flex gs8 s-anchors s-anchors__muted fw-wrap"> | |
| <div class="flex--item"> | |
| <a href="/a/79165438/7915017" | |
| rel="nofollow" | |
| itemprop="url" | |
| class="js-share-link js-gps-track" | |
| title="Short permalink to this answer" | |
| data-gps-track="post.click({ item: 2, priv: 11, post_type: 2 })" | |
| data-controller="se-share-sheet" | |
| data-se-share-sheet-title="Share a link to this answer" | |
| data-se-share-sheet-subtitle="(Includes your user id)" | |
| data-se-share-sheet-post-type="answer" | |
| data-se-share-sheet-social="facebook twitter devto" | |
| data-se-share-sheet-location="2" | |
| data-se-share-sheet-license-url="https%3a%2f%2fcreativecommons.org%2flicenses%2fby-sa%2f4.0%2f" | |
| data-se-share-sheet-license-name="CC BY-SA 4.0" | |
| data-s-popover-placement="bottom-start">Share</a> | |
| </div> | |
| <div class="flex--item"> | |
| <button type="button" class="s-btn s-btn__link js-error-click js-gps-track" data-gps-track="post.click({ item: 6, priv: 11, post_type: 2 })" title="Revise and improve this post" data-error-message="Post is deleted.">Edit</button> | |
| </div> | |
| <div class="flex--item"> | |
| <button type="button" | |
| id="btnFollowPost-79165438" class="s-btn s-btn__link js-follow-post js-follow-answer js-gps-track" | |
| data-gps-track="post.click({ item: 14, priv: 11, post_type: 2 })" | |
| data-controller="s-tooltip " data-s-tooltip-placement="bottom" | |
| data-s-popover-placement="bottom" aria-controls="" | |
| title="Follow this answer to receive notifications"> | |
| Follow | |
| <input type="hidden" id="voteFollowHash" value="70:3:31e,16:1cdff96a2f1a7681,10:1765366009,16:3ee22f196c0fba62,8:79165438,c5f2a2e6dd18aa05def0844aff2c843f3c02de4f32608504d7b1187fd7503788" /> | |
| </button> | |
| </div> | |
| <div class="flex--item"> | |
| <button type="button" | |
| class="js-flag-post-link s-btn s-btn__link js-gps-track" | |
| data-gps-track="post.click({ item: 5, priv: 11, post_type: 2 })" | |
| title="Flag this post for serious problems or moderator attention"> | |
| Flag | |
| </button> | |
| </div> | |
| </div> | |
| <div class="js-menu-popup-container"></div> | |
| </div> | |
| </div> | |
| <div class="post-signature flex--item fl0"> | |
| <div class="user-info user-hover "> | |
| <div class="d-flex "> | |
| <div class="user-action-time fl-grow1"> | |
| <a href="/posts/79165438/revisions" title="show all edits to this post" | |
| class="js-gps-track" | |
| data-gps-track="post.click({ item: 4, priv: 11, post_type: 2 })">edited <span title='2025-11-03 00:05:34Z' class='relativetime'>Nov 3 at 0:05</span></a> | |
| </div> | |
| </div> | |
| <div class="user-gravatar32"> | |
| <a href="/users/63550/peter-mortensen"><div class="gravatar-wrapper-32"><img src="https://i.sstatic.net/RIZKi.png?s=64" alt="Peter Mortensen's user avatar" width="32" height="32" class="bar-sm"></div></a> | |
| </div> | |
| <div class="user-details"> | |
| <a href="/users/63550/peter-mortensen" dir="auto">Peter Mortensen</a> | |
| <div class="-flair"> | |
| <span class="reputation-score" title="reputation score 31,360" dir="ltr">31.4k</span><span title="22 gold badges" aria-hidden="true"><span class="badge1"></span><span class="badgecount">22</span></span><span class="v-visible-sr">22 gold badges</span><span title="110 silver badges" aria-hidden="true"><span class="badge2"></span><span class="badgecount">110</span></span><span class="v-visible-sr">110 silver badges</span><span title="134 bronze badges" aria-hidden="true"><span class="badge3"></span><span class="badgecount">134</span></span><span class="v-visible-sr">134 bronze badges</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="post-signature flex--item fl0"> | |
| <div class="user-info user-hover "> | |
| <div class="d-flex "> | |
| <div class="user-action-time fl-grow1"> | |
| answered <span title='2024-11-07 07:46:29Z' class='relativetime'>Nov 7, 2024 at 7:46</span> | |
| </div> | |
| </div> | |
| <div class="user-gravatar32"> | |
| <a href="/users/957841/arnout"><div class="gravatar-wrapper-32"><img src="https://www.gravatar.com/avatar/ef02f11ecbda985cd8136f4f68d60364?s=64&d=identicon&r=PG" alt="Arnout's user avatar" width="32" height="32" class="bar-sm"></div></a> | |
| </div> | |
| <div class="user-details" itemprop="author" itemscope itemtype="http://schema.org/Person"> | |
| <a href="/users/957841/arnout" itemprop="url" dir="auto">Arnout</a><meta itemprop="name" content="Arnout"/> | |
| <div class="-flair"> | |
| <span class="reputation-score" title="reputation score " dir="ltr">3,497</span><span title="20 silver badges" aria-hidden="true"><span class="badge2"></span><span class="badgecount">20</span></span><span class="v-visible-sr">20 silver badges</span><span title="28 bronze badges" aria-hidden="true"><span class="badge3"></span><span class="badgecount">28</span></span><span class="v-visible-sr">28 bronze badges</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="post-layout--right"> | |
| <div id="follow-ups-container-79165438"> | |
| <!--[--><div class="mt16"><div class="mb8 d-flex ai-center g8" role="button" tabindex="0"><h2 class="mb0">Comments</h2> <!--[!--><!--]--></div> <div class="mb12"><!--[!--><button type="button" class="s-btn s-btn__muted s-btn__outlined w100 d-flex ai-center p8 comments-link" data-so-test="parent-answer-79165438"><!--[--><div class="flex--item"><img class="s-avatar s-avatar--image" src="https://lh3.googleusercontent.com/-hDqf5L3uD_Y/AAAAAAAAAAI/AAAAAAAAABU/cVKH90USSb8/s128-rj/photo.jpg" alt="user avatar"/></div><!--]--> <div class="flex--item ml8"><p class="mb0">Add a comment</p></div></button><!--]--></div> <!--[--><div role="list"><!--[--><!--]--></div> <!--[!--><!--]--><!----><!--]--> <!--[!--><!--]--></div><!--]--> | |
| </div> | |
| <script type="application/json" data-role="module-args" data-module-name="islands/follow-ups/index.mod">{"replies":[],"postId":79165438,"currentUserProfileImageUrl":"https://lh3.googleusercontent.com/-hDqf5L3uD_Y/AAAAAAAAAAI/AAAAAAAAABU/cVKH90USSb8/s128-rj/photo.jpg","currentUserIsMod":false,"currentUserIsAnonymous":false,"commentFlagsRemainingToday":10,"maxNestingLevel":3,"hasOptedOut":false,"showCtaUnderComments":false,"containerElementId":"follow-ups-container-79165438","fKey":"d1f83c1994b568c66c8b04406aed1ef522b6eea430b95c8df84c5385ffc809d6","questionId":79164807,"questionAuthorId":7915017,"answerId":79165438,"answerPositionOnPage":0,"newUiSettings":{"largerFontSize":false},"showFirstTimeCommentingModal":false,"isMentionEnabled":false,"showSpamFlag":true,"mergeUnfriendlyAndRudeFlags":true,"allowRetractingCommentFlags":true,"commentMinLength":15}</script> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="s-pagination site1 themed pager-answers"> | |
| </div> | |
| </div> | |
| </div> | |
| <div id="sidebar" class="show-votes" role="complementary" aria-label="sidebar"> | |
| <div class="s-sidebarwidget s-sidebarwidget__yellow s-anchors s-anchors__grayscale mb16" data-tracker="cb=1"> | |
| <ul class="s-sidebarwidget--content s-sidebarwidget__items p0"> | |
| <li class="s-sidebarwidget--header"> | |
| The Overflow Blog | |
| </li> | |
| <li class="s-sidebarwidget--item d-flex px16"> | |
| <div class="flex--item1 fl-shrink0"> | |
| <svg aria-hidden="true" class="va-text-top svg-icon iconPencilSm" width="14" height="14" viewBox="0 0 14 14"><path fill="#F1B600" d="m2 10.12 6.37-6.43 1.88 1.88L3.88 12H2z"/><path fill="#E87C87" d="m11.1 1.71 1.13 1.12c.2.2.2.51 0 .71L11.1 4.7 9.21 2.86l1.17-1.15c.2-.2.51-.2.71 0"/></svg> </div> | |
| <div class="flex--item wmn0 ow-break-word"> | |
| <a href="https://stackoverflow.blog/2025/12/08/the-shift-in-enterprise-ai-what-we-learned-on-the-floor-at-microsoft-ignite/" class="js-gps-track" data-ga="["community bulletin board","The Overflow Blog","https://stackoverflow.blog/2025/12/08/the-shift-in-enterprise-ai-what-we-learned-on-the-floor-at-microsoft-ignite/",null,null]" data-gps-track="communitybulletin.click({ priority: 1, position: 0, location: questionpage })">The shift in enterprise AI—what we learned on the floor at Microsoft Ignite</a> | |
| </div> | |
| </li> | |
| <li class="s-sidebarwidget--item d-flex px16"> | |
| <div class="flex--item1 fl-shrink0"> | |
| <svg aria-hidden="true" class="va-text-top svg-icon iconPencilSm" width="14" height="14" viewBox="0 0 14 14"><path fill="#F1B600" d="m2 10.12 6.37-6.43 1.88 1.88L3.88 12H2z"/><path fill="#E87C87" d="m11.1 1.71 1.13 1.12c.2.2.2.51 0 .71L11.1 4.7 9.21 2.86l1.17-1.15c.2-.2.51-.2.71 0"/></svg> </div> | |
| <div class="flex--item wmn0 ow-break-word"> | |
| <a href="https://stackoverflow.blog/2025/12/09/ai-is-a-crystal-ball-into-your-codebase/" class="js-gps-track" data-ga="["community bulletin board","The Overflow Blog","https://stackoverflow.blog/2025/12/09/ai-is-a-crystal-ball-into-your-codebase/",null,null]" data-gps-track="communitybulletin.click({ priority: 1, position: 1, location: questionpage })">AI is a crystal ball into your codebase</a> | |
| </div> | |
| </li> | |
| <li class="s-sidebarwidget--header"> | |
| Featured on Meta | |
| </li> | |
| <li class="s-sidebarwidget--item d-flex px16"> | |
| <div class="flex--item1 fl-shrink0"> | |
| <div class="favicon favicon-stackexchangemeta" title="Meta Stack Exchange"></div> </div> | |
| <div class="flex--item wmn0 ow-break-word"> | |
| <a href="https://meta.stackexchange.com/questions/415115/ai-assist-is-now-available-on-stack-overflow" class="js-gps-track" data-ga="["community bulletin board","Featured on Meta","https://meta.stackexchange.com/questions/415115/ai-assist-is-now-available-on-stack-overflow",null,null]" data-gps-track="communitybulletin.click({ priority: 3, position: 2, location: questionpage })">AI Assist is now available on Stack Overflow</a> | |
| </div> | |
| </li> | |
| <li class="s-sidebarwidget--item d-flex px16"> | |
| <div class="flex--item1 fl-shrink0"> | |
| <div class="favicon favicon-stackexchangemeta" title="Meta Stack Exchange"></div> </div> | |
| <div class="flex--item wmn0 ow-break-word"> | |
| <a href="https://meta.stackexchange.com/questions/415259/native-ads-coming-soon-to-stack-overflow-and-stack-exchange" class="js-gps-track" data-ga="["community bulletin board","Featured on Meta","https://meta.stackexchange.com/questions/415259/native-ads-coming-soon-to-stack-overflow-and-stack-exchange",null,null]" data-gps-track="communitybulletin.click({ priority: 3, position: 3, location: questionpage })">Native Ads coming soon to Stack Overflow and Stack Exchange</a> | |
| </div> | |
| </li> | |
| <li class="s-sidebarwidget--item d-flex px16"> | |
| <div class="flex--item1 fl-shrink0"> | |
| <div class="favicon favicon-stackoverflowmeta" title="Meta Stack Overflow"></div> </div> | |
| <div class="flex--item wmn0 ow-break-word"> | |
| <a href="https://meta.stackoverflow.com/questions/421831/policy-generative-ai-e-g-chatgpt-is-banned" class="js-gps-track" data-ga="["community bulletin board","Featured on Meta","https://meta.stackoverflow.com/questions/421831/policy-generative-ai-e-g-chatgpt-is-banned",null,null]" data-gps-track="communitybulletin.click({ priority: 6, position: 4, location: questionpage })">Policy: Generative AI (e.g., ChatGPT) is banned</a> | |
| </div> | |
| </li> | |
| </ul> | |
| </div> | |
| <style> | |
| </style> | |
| <div class="js-zone-container zone-container-sidebar"> | |
| <div id="dfp-tsb" class="everyonelovesstackoverflow everyoneloves__top-sidebar"></div> | |
| <div class="js-report-ad-button-container " style="width: 300px"></div> | |
| </div> | |
| <div class="js-zone-container zone-container-sidebar"> | |
| <div id="dfp-msb" class="everyonelovesstackoverflow everyoneloves__mid-sidebar"></div> | |
| <div class="js-report-ad-button-container " style="width: 300px"></div> | |
| </div> | |
| <div id="hireme"></div> | |
| <div id="fragment-container-626-796" class="s-anchors mb24"></div><script defer src="https://stackoverflow.com/Content/Js/webpack-chunks/svelte.en.js?v=18cfe3f37799"></script><script defer src="https://stackoverflow.com/Content/Js/islands/fragment-proxy.en.js?v=ac4eec5390ce"></script><script type="application/json" data-role="module-args" data-module-name="islands/fragment-proxy/index.mod">{"ContainerElementId":"fragment-container-626-796","FragmentAddress":"/stackheartbeat/heartbeat","TraceHeaders":[]}</script> | |
| <div class="module sidebar-related"> | |
| <h4 id="h-related">Related</h4> | |
| <div class="related js-gps-related-questions" data-tracker="rq=1"> | |
| <div class="spacer" data-question-id="2499794"> | |
| <a href="/questions/2499794/how-to-fix-a-locale-setting-warning-from-perl" title="Question score (upvotes - downvotes)" > | |
| <div class="answer-votes answered-accepted large">883</div> | |
| </a> | |
| <a href="/questions/2499794/how-to-fix-a-locale-setting-warning-from-perl" class="question-hyperlink">How to fix a locale setting warning from Perl</a> | |
| </div> | |
| <div class="spacer" data-question-id="9494950"> | |
| <a href="/questions/9494950/howto-config-mod-dav-svn-locale-under-apache2" title="Question score (upvotes - downvotes)" > | |
| <div class="answer-votes answered-accepted default">0</div> | |
| </a> | |
| <a href="/questions/9494950/howto-config-mod-dav-svn-locale-under-apache2" class="question-hyperlink">Howto Config mod_dav_svn locale under apache2?</a> | |
| </div> | |
| <div class="spacer" data-question-id="14389349"> | |
| <a href="/questions/14389349/android-get-current-locale-not-default" title="Question score (upvotes - downvotes)" > | |
| <div class="answer-votes answered-accepted large">390</div> | |
| </a> | |
| <a href="/questions/14389349/android-get-current-locale-not-default" class="question-hyperlink">Android get current Locale, not default</a> | |
| </div> | |
| <div class="spacer" data-question-id="10955582"> | |
| <a href="/questions/10955582/displaying-utf-8-encoded-chinese-characters-in-r" title="Question score (upvotes - downvotes)" > | |
| <div class="answer-votes answered-accepted default">9</div> | |
| </a> | |
| <a href="/questions/10955582/displaying-utf-8-encoded-chinese-characters-in-r" class="question-hyperlink">Displaying UTF-8 encoded Chinese characters in R</a> | |
| </div> | |
| <div class="spacer" data-question-id="2264874"> | |
| <a href="/questions/2264874/changing-locale-within-the-app-itself" title="Question score (upvotes - downvotes)" > | |
| <div class="answer-votes answered-accepted large">206</div> | |
| </a> | |
| <a href="/questions/2264874/changing-locale-within-the-app-itself" class="question-hyperlink">Changing Locale within the app itself</a> | |
| </div> | |
| <div class="spacer" data-question-id="37221494"> | |
| <a href="/questions/37221494/how-to-change-the-locale-in-the-chrome-browser" title="Question score (upvotes - downvotes)" > | |
| <div class="answer-votes answered-accepted large">228</div> | |
| </a> | |
| <a href="/questions/37221494/how-to-change-the-locale-in-the-chrome-browser" class="question-hyperlink">How to change the locale in the Chrome browser</a> | |
| </div> | |
| <div class="spacer" data-question-id="55452460"> | |
| <a href="/questions/55452460/preventing-from-using-en-us-as-the-default-locale" title="Question score (upvotes - downvotes)" > | |
| <div class="answer-votes answered-accepted default">0</div> | |
| </a> | |
| <a href="/questions/55452460/preventing-from-using-en-us-as-the-default-locale" class="question-hyperlink">Preventing from using en_US as the default locale</a> | |
| </div> | |
| <div class="spacer" data-question-id="45995530"> | |
| <a href="/questions/45995530/manpath-cant-set-the-locale-make-sure-lc-and-lang-are-correct" title="Question score (upvotes - downvotes)" > | |
| <div class="answer-votes default">88</div> | |
| </a> | |
| <a href="/questions/45995530/manpath-cant-set-the-locale-make-sure-lc-and-lang-are-correct" class="question-hyperlink">manpath: can't set the locale; make sure $LC_* and $LANG are correct</a> | |
| </div> | |
| <div class="spacer" data-question-id="2522248"> | |
| <a href="/questions/2522248/how-to-get-locale-from-its-string-representation-in-java" title="Question score (upvotes - downvotes)" > | |
| <div class="answer-votes answered-accepted large">145</div> | |
| </a> | |
| <a href="/questions/2522248/how-to-get-locale-from-its-string-representation-in-java" class="question-hyperlink">How to get Locale from its String representation in Java?</a> | |
| </div> | |
| <div class="spacer" data-question-id="6613110"> | |
| <a href="/questions/6613110/what-is-the-best-way-to-deal-with-the-nsdateformatter-locale-feature" title="Question score (upvotes - downvotes)" > | |
| <div class="answer-votes answered-accepted large">174</div> | |
| </a> | |
| <a href="/questions/6613110/what-is-the-best-way-to-deal-with-the-nsdateformatter-locale-feature" class="question-hyperlink">What is the best way to deal with the NSDateFormatter locale "feature"?</a> | |
| </div> | |
| </div> | |
| </div> | |
| <script type="text/javascript"> | |
| $(function() { | |
| $(".js-gps-related-questions .spacer").on("click", function () { | |
| fireRelatedEvent($(this).index() + 1, $(this).data('question-id')); | |
| }); | |
| function fireRelatedEvent(position, questionId) { | |
| StackExchange.using("gps", function() { | |
| StackExchange.gps.track('related_questions.click', | |
| { | |
| position: position, | |
| originQuestionId: 79164807, | |
| relatedQuestionId: +questionId, | |
| location: 'sidebar', | |
| source: 'Baseline_Fallback' | |
| }); | |
| }); | |
| } | |
| }); | |
| </script> | |
| <div id="hot-network-questions" class="module tex2jax_ignore"> | |
| <h4> | |
| <a href="https://stackexchange.com/questions?tab=hot" | |
| class="js-gps-track s-link s-link__inherit" | |
| data-gps-track="posts_hot_network.click({ item_type:1, location:11 })"> | |
| Hot Network Questions | |
| </a> | |
| </h4> | |
| <ul> | |
| <li > | |
| <div class="favicon favicon-biology" title="Biology Stack Exchange"></div><a href="https://biology.stackexchange.com/questions/118168/do-indoor-plants-significantly-lower-indoor-carbon-dioxide-levels" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:11, target_site:375 }); posts_hot_network.click({ item_type:2, location:11 })"> | |
| Do indoor plants significantly lower indoor carbon dioxide levels? | |
| </a> | |
| </li> | |
| <li > | |
| <div class="favicon favicon-chess" title="Chess Stack Exchange"></div><a href="https://chess.stackexchange.com/questions/47538/why-does-open-position-favor-black" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:11, target_site:435 }); posts_hot_network.click({ item_type:2, location:11 })"> | |
| Why does open position favor black? | |
| </a> | |
| </li> | |
| <li > | |
| <div class="favicon favicon-electronics" title="Electrical Engineering Stack Exchange"></div><a href="https://electronics.stackexchange.com/questions/761990/zero-cross-detector-with-lm393-9-vac-wall-adapter" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:11, target_site:135 }); posts_hot_network.click({ item_type:2, location:11 })"> | |
| Zero-Cross Detector with LM393 + 9 VAC Wall Adapter | |
| </a> | |
| </li> | |
| <li > | |
| <div class="favicon favicon-math" title="Mathematics Stack Exchange"></div><a href="https://math.stackexchange.com/questions/5113191/are-theorems-the-same-semantically-as-definitions-or-axioms" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:11, target_site:69 }); posts_hot_network.click({ item_type:2, location:11 })"> | |
| Are theorems the same, semantically, as definitions? Or axioms? | |
| </a> | |
| </li> | |
| <li > | |
| <div class="favicon favicon-politics" title="Politics Stack Exchange"></div><a href="https://politics.stackexchange.com/questions/93946/why-were-the-2025-mayoral-elections-in-the-uk-put-off" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:11, target_site:475 }); posts_hot_network.click({ item_type:2, location:11 })"> | |
| Why were the 2025 mayoral elections in the UK put off? | |
| </a> | |
| </li> | |
| <li class="dno js-hidden"> | |
| <div class="favicon favicon-matheducators" title="Mathematics Educators Stack Exchange"></div><a href="https://matheducators.stackexchange.com/questions/29900/if-ai-solves-the-problem-what-are-we-grading" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:11, target_site:548 }); posts_hot_network.click({ item_type:2, location:11 })"> | |
| If AI solves the problem, what are we grading? | |
| </a> | |
| </li> | |
| <li class="dno js-hidden"> | |
| <div class="favicon favicon-tex" title="TeX - LaTeX Stack Exchange"></div><a href="https://tex.stackexchange.com/questions/755963/tikz-comma-shape" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:11, target_site:85 }); posts_hot_network.click({ item_type:2, location:11 })"> | |
| Tikz comma shape | |
| </a> | |
| </li> | |
| <li class="dno js-hidden"> | |
| <div class="favicon favicon-worldbuilding" title="Worldbuilding Stack Exchange"></div><a href="https://worldbuilding.stackexchange.com/questions/270984/revival-drug-is-this-possible" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:11, target_site:579 }); posts_hot_network.click({ item_type:2, location:11 })"> | |
| "Revival drug" Is this possible? | |
| </a> | |
| </li> | |
| <li class="dno js-hidden"> | |
| <div class="favicon favicon-physics" title="Physics Stack Exchange"></div><a href="https://physics.stackexchange.com/questions/865422/the-weight-of-a-free-falling-object" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:11, target_site:151 }); posts_hot_network.click({ item_type:2, location:11 })"> | |
| The weight of a free falling object | |
| </a> | |
| </li> | |
| <li class="dno js-hidden"> | |
| <div class="favicon favicon-puzzling" title="Puzzling Stack Exchange"></div><a href="https://puzzling.stackexchange.com/questions/135216/begin" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:11, target_site:559 }); posts_hot_network.click({ item_type:2, location:11 })"> | |
| B⠀⠀⠀E⠀⠀⠀G⠀⠀⠀I⠀⠀⠀N | |
| </a> | |
| </li> | |
| <li class="dno js-hidden"> | |
| <div class="favicon favicon-electronics" title="Electrical Engineering Stack Exchange"></div><a href="https://electronics.stackexchange.com/questions/761946/can-i-use-a-1n4007-to-replace-a-1n4004-diode" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:11, target_site:135 }); posts_hot_network.click({ item_type:2, location:11 })"> | |
| Can I use a 1N4007 to replace a 1N4004 diode? | |
| </a> | |
| </li> | |
| <li class="dno js-hidden"> | |
| <div class="favicon favicon-bicycles" title="Bicycles Stack Exchange"></div><a href="https://bicycles.stackexchange.com/questions/98813/making-your-own-brake-pads-for-mechanical-disc-brakes" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:11, target_site:126 }); posts_hot_network.click({ item_type:2, location:11 })"> | |
| Making your own brake pads for mechanical disc brakes | |
| </a> | |
| </li> | |
| <li class="dno js-hidden"> | |
| <div class="favicon favicon-quantumcomputing" title="Quantum Computing Stack Exchange"></div><a href="https://quantumcomputing.stackexchange.com/questions/45865/cnot-cost-of-toffoli-and-simplified-toffoli" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:11, target_site:694 }); posts_hot_network.click({ item_type:2, location:11 })"> | |
| CNOT cost of Toffoli and simplified Toffoli | |
| </a> | |
| </li> | |
| <li class="dno js-hidden"> | |
| <div class="favicon favicon-cooking" title="Seasoned Advice"></div><a href="https://cooking.stackexchange.com/questions/135498/is-it-fine-if-i-bake-chicken-thighs-whole-then-dice-them-once-cooked-when-maki" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:11, target_site:49 }); posts_hot_network.click({ item_type:2, location:11 })"> | |
| Is it fine if I bake chicken thighs whole, then dice them once cooked, when making stir fry? | |
| </a> | |
| </li> | |
| <li class="dno js-hidden"> | |
| <div class="favicon favicon-aviation" title="Aviation Stack Exchange"></div><a href="https://aviation.stackexchange.com/questions/113725/altitude-management-during-base-turn-in-jeppesen-terminal-procedures" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:11, target_site:528 }); posts_hot_network.click({ item_type:2, location:11 })"> | |
| Altitude Management During Base Turn in Jeppesen Terminal Procedures | |
| </a> | |
| </li> | |
| <li class="dno js-hidden"> | |
| <div class="favicon favicon-networkengineering" title="Network Engineering Stack Exchange"></div><a href="https://networkengineering.stackexchange.com/questions/88642/why-does-a-default-gateway-use-a-layer-3-address" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:11, target_site:496 }); posts_hot_network.click({ item_type:2, location:11 })"> | |
| Why does a (default) gateway use a layer 3 address? | |
| </a> | |
| </li> | |
| <li class="dno js-hidden"> | |
| <div class="favicon favicon-skeptics" title="Skeptics Stack Exchange"></div><a href="https://skeptics.stackexchange.com/questions/60382/do-wooden-cutting-boards-have-antimicrobial-properties" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:11, target_site:212 }); posts_hot_network.click({ item_type:2, location:11 })"> | |
| Do wooden cutting boards have antimicrobial properties? | |
| </a> | |
| </li> | |
| <li class="dno js-hidden"> | |
| <div class="favicon favicon-mathoverflow" title="MathOverflow"></div><a href="https://mathoverflow.net/questions/504800/ultrafilters-and-monochromatic-sets" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:11, target_site:504 }); posts_hot_network.click({ item_type:2, location:11 })"> | |
| Ultrafilters and monochromatic sets | |
| </a> | |
| </li> | |
| <li class="dno js-hidden"> | |
| <div class="favicon favicon-apple" title="Ask Different"></div><a href="https://apple.stackexchange.com/questions/484351/chance-upgrading-iphone-to-ios-26-will-prevent-me-from-backing-up-to-catalina-ma" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:11, target_site:118 }); posts_hot_network.click({ item_type:2, location:11 })"> | |
| Chance upgrading iPhone to iOS 26 will prevent me from backing up to Catalina Mac Mini? | |
| </a> | |
| </li> | |
| <li class="dno js-hidden"> | |
| <div class="favicon favicon-hsm" title="History of Science and Mathematics Stack Exchange"></div><a href="https://hsm.stackexchange.com/questions/19071/pascual-jordans-paper-on-the-fermi-dirac-statistics" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:11, target_site:587 }); posts_hot_network.click({ item_type:2, location:11 })"> | |
| Pascual Jordan's paper on the "Fermi-Dirac" statistics | |
| </a> | |
| </li> | |
| <li class="dno js-hidden"> | |
| <div class="favicon favicon-puzzling" title="Puzzling Stack Exchange"></div><a href="https://puzzling.stackexchange.com/questions/135227/where-should-the-bridges-be-built-to-minimize-the-length-of-the-path-between-two" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:11, target_site:559 }); posts_hot_network.click({ item_type:2, location:11 })"> | |
| Where should the bridges be built to minimize the length of the path between two towns? | |
| </a> | |
| </li> | |
| <li class="dno js-hidden"> | |
| <div class="favicon favicon-blender" title="Blender Stack Exchange"></div><a href="https://blender.stackexchange.com/questions/342854/black-and-white-effect" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:11, target_site:502 }); posts_hot_network.click({ item_type:2, location:11 })"> | |
| Black and White effect | |
| </a> | |
| </li> | |
| <li class="dno js-hidden"> | |
| <div class="favicon favicon-puzzling" title="Puzzling Stack Exchange"></div><a href="https://puzzling.stackexchange.com/questions/135241/what-is-an-ambidextrous-word" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:11, target_site:559 }); posts_hot_network.click({ item_type:2, location:11 })"> | |
| What is an ambidextrous word™? | |
| </a> | |
| </li> | |
| <li class="dno js-hidden"> | |
| <div class="favicon favicon-literature" title="Literature Stack Exchange"></div><a href="https://literature.stackexchange.com/questions/31171/what-was-a-supers-banner" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:11, target_site:668 }); posts_hot_network.click({ item_type:2, location:11 })"> | |
| What was "a super's banner"? | |
| </a> | |
| </li> | |
| </ul> | |
| <a href="#" | |
| class="show-more js-show-more js-gps-track" | |
| data-gps-track="posts_hot_network.click({ item_type:3, location:11 })"> | |
| more hot questions | |
| </a> | |
| </div></div> | |
| </div> | |
| <script>StackExchange.ready(function(){$.get('/posts/79164807/ivc/21c5?prg=97a03455-cbd9-415a-8214-c8eee3af59cb');});</script> | |
| <noscript><div><img src="/posts/79164807/ivc/21c5?prg=97a03455-cbd9-415a-8214-c8eee3af59cb" class="dno" alt="" width="0" height="0"></div></noscript><div style="display:none" id="js-codeblock-lang"></div> | |
| <div id="js-follow-ups-flag-modal"></div> | |
| <div id="js-follow-ups-mention"></div> | |
| </div> | |
| <script defer src="https://stackoverflow.com/Content/Js/questions/show.en.js?v=d15b41efd982"></script> | |
| <script type="application/json" data-role="module-args" data-module-name="entry-points/questions/show.mod">{"doMarkObsolete":false,"doTimeOnPage":false,"sendAnswerEditorEventsToAEH":true,"sendAnswerEditorEventsToPrizm":true,"questionId":79164807,"sendAuthQuestionVisitToAEH":true,"sendAuthQuestionVisitToPrizm":true,"answerCount":2,"followUpsUIExperimentGroup":"test","tags":["locale","buildroot","busybox"]}</script> | |
| <script defer src="https://stackoverflow.com/Content/Js/webpack-chunks/svelte.en.js?v=18cfe3f37799"></script><script defer src="https://stackoverflow.com/Content/Js/webpack-chunks/stacks-svelte.en.js?v=96ea86654128"></script><script defer src="https://stackoverflow.com/Content/Js/webpack-chunks/1130.en.js?v=8bb363934465"></script><script defer src="https://stackoverflow.com/Content/Js/webpack-chunks/502.en.js?v=dba126a6fbb4"></script><script defer src="https://stackoverflow.com/Content/Js/webpack-chunks/4128.en.js?v=09748ad6405b"></script><script defer src="https://stackoverflow.com/Content/Js/islands/follow-ups.en.js?v=2692a00ef2bd"></script> | |
| <script defer src="https://stackoverflow.com/Content/Js/webpack-chunks/svelte.en.js?v=18cfe3f37799"></script><script defer src="https://stackoverflow.com/Content/Js/webpack-chunks/stacks-svelte.en.js?v=96ea86654128"></script><script defer src="https://stackoverflow.com/Content/Js/islands/follow-ups-flag-modal.en.js?v=46926568a212"></script> | |
| <script type="application/json" data-role="module-args" data-module-name="islands/follow-ups-flag-modal/index.mod">{"ContainerElementId":"js-follow-ups-flag-modal","FKey":"d1f83c1994b568c66c8b04406aed1ef522b6eea430b95c8df84c5385ffc809d6","ShowSpamFlag":true,"MergeUnfriendlyAndRudeFlags":true,"EnableCodeOfConduct":true}</script> | |
| <div id="js-follow-ups-experiment-group" data-value="test" class="d-none" data-site-url=""></div> | |
| <div id="redirect-action-modal-container"></div> | |
| <script type="application/json" data-role="module-args" data-module-name="islands/redirect-action-modal/index.mod">{"ContainerElementId":"redirect-action-modal-container","FKey":"d1f83c1994b568c66c8b04406aed1ef522b6eea430b95c8df84c5385ffc809d6","UpvoteHeaderImageUrl":"https://stackoverflow.com/Content/Img/modal/img-upvote.png?v=fce73bd9724d","DownvoteHeaderImageUrl":"https://stackoverflow.com/Content/Img/modal/img-downvote.png?v=d15b4e291f8c","EnableUpvoteModal":true,"SuggestEditAvailable":true,"PostTagNames":["locale","buildroot","busybox"],"EnableFreeVotesModal":false,"FreeVotesHeaderImageUrl":"https://stackoverflow.com/Content/Img/modal/img-free-votes-downvote.png?v=9c648c09ee33","FreeVotesEarnReputationHelpCenterUrl":"https://stackoverflow.com/help/whats-reputation","FreeVotesLearnMoreHelpCenterUrl":"https://stackoverflow.com/help/whats-free-votes","HasUpvotePrivilege":true,"EnableDownVoteRepRequiredRedirectActionPopover":true,"AnswerDownVoteRepChange":1}</script> | |
| <script defer src="https://stackoverflow.com/Content/Js/webpack-chunks/svelte.en.js?v=18cfe3f37799"></script><script defer src="https://stackoverflow.com/Content/Js/webpack-chunks/stacks-svelte.en.js?v=96ea86654128"></script><script defer src="https://stackoverflow.com/Content/Js/islands/redirect-action-modal.en.js?v=9d264bb3bb1c"></script> | |
| </div> | |
| </div> | |
| <script> | |
| window.dataLayer = window.dataLayer || []; | |
| function gtag() { dataLayer.push(arguments); } | |
| gtag('consent', 'default', { | |
| 'ad_storage': 'denied', | |
| 'analytics_storage': 'denied', | |
| 'ad_user_data': 'denied', | |
| 'ad_personalization': 'denied' | |
| }); | |
| </script> | |
| <!-- Google tag (gtag.js) --> | |
| <script async src="https://www.googletagmanager.com/gtag/js?id=G-WCZ03SZFCQ"></script> | |
| <script> | |
| window.dataLayer = window.dataLayer || []; | |
| function gtag() { dataLayer.push(arguments); } | |
| </script> | |
| <script> | |
| StackExchange.ready(function() { | |
| var ga3Settings = { | |
| autoLink: ["stackoverflow.blog","info.stackoverflowsolutions.com","stackoverflowsolutions.com"], | |
| sendTitles: true, | |
| tracker: window.ga, | |
| trackingCodes: [ | |
| 'UA-108242619-1' | |
| ], | |
| checkDimension: 'dimension42' | |
| }; | |
| var customGA4Dimensions = {}; | |
| customGA4Dimensions["requestid"] = "97a03455-cbd9-415a-8214-c8eee3af59cb"; | |
| customGA4Dimensions["routename"] = "Questions/Show"; | |
| customGA4Dimensions["post_id"] = "79164807"; | |
| customGA4Dimensions["tags"] = "|locale|buildroot|busybox|"; | |
| var ga4Settings = { | |
| tracker: gtag, | |
| trackingCodes: [ | |
| 'G-WCZ03SZFCQ' | |
| ], | |
| consentsToPerformanceCookies: "denied", | |
| consentsToTargetingCookies: "denied", | |
| eventParameters: customGA4Dimensions, | |
| checkForAdBlock: true, | |
| sendTitles: true, | |
| trackClicks: false, | |
| }; | |
| StackExchange.ga.init({ GA3: ga3Settings, GA4: ga4Settings }); | |
| StackExchange.ga.setDimension('dimension1', '10757521'); | |
| StackExchange.ga.setDimension('dimension2', '|locale|buildroot|busybox|'); | |
| StackExchange.ga.setDimension('dimension3', 'Questions/Show'); | |
| StackExchange.ga.setDimension('dimension7', "1765366009.1389413446"); | |
| StackExchange.ga.trackPageView(); | |
| }); | |
| </script> | |
| <script src="https://cdn.cookielaw.org/scripttemplates/gpp.stub.js"></script> | |
| <script src="https://cdn.cookielaw.org/scripttemplates/otSDKStub.js" charset="UTF-8" data-document-language="true" data-domain-script="c3d9f1e3-55f3-4eba-b268-46cee4c6789c"></script> | |
| <script defer src="https://stackoverflow.com/Content/Js/sprinkles/cookie-consent.en.js?v=7ee6963139c5"></script> | |
| <script type="text/javascript"> | |
| var cam = cam || { opt: {} }; | |
| var clcGamLoaderOptions = cam || { opt: {} }; | |
| var opt = clcGamLoaderOptions.opt; | |
| opt.omni = 'BwoLCKrc56-h-ts-EAUQkcuQBRiH698lIAIoAjADOhp8bG9jYWxlfGJ1aWxkcm9vdHxidXN5Ym94fEAASAAKyKBc2_ZvNuy5'; | |
| opt.refresh = !1; | |
| opt.refreshInterval = 30; | |
| opt.sf = !0; | |
| opt.hb = !1; | |
| opt.ll = !0; | |
| opt.tlb_position = 0; | |
| opt.personalization_consent = false; | |
| opt.targeting_consent_set = true; | |
| opt.performance_consent_set = true; | |
| opt.targeting_consent = false; | |
| opt.performance_consent = false; | |
| opt.targeting = {Registered:['true'],Reputation:['200'],'so-tag':['locale','buildroot','busybox'],'tag-reportable':['locale','buildroot','busybox'],NumberOfAnswers:['2'],'ProductVariant':['Light'],cf_bot_score:'91 - 99'}; | |
| opt.acceptableAdsEnabled = !0; | |
| opt.adReportEnabled = !0; | |
| opt.adReportUrl = '/ads/report-ad'; | |
| opt.adReportText = 'Report this ad'; | |
| opt.adReportFileTypeErrorMessage = 'Please select a PNG or JPG file.'; | |
| opt.adReportFileSizeErrorMessage = 'The file must be under 2 MiB.'; | |
| opt.adReportErrorText = 'Error uploading ad report.'; | |
| opt.adReportThanksText = 'Thanks for your feedback. We’ll review this against our code of conduct and take action if necessary.'; | |
| opt.adReportLoginExpiredMessage = 'Your login session has expired, please login and try again.'; | |
| opt.adReportLoginErrorMessage = 'An error occurred when loading the report form - please try again'; | |
| opt.adReportModalClass = 'js-ad-report'; | |
| opt.countryCode = 'KR'; | |
| opt.qualtricsSurveyData = '{"isRegistered":"True","repBucket":"200","referrer":"https%3a%2f%2fstackoverflow.com%2fquestions%2f79164807%2fhow-can-i-make-the-en-us-locale-by-default","accountAge":"3151"}'; | |
| opt.perRequestGuid = '97a03455-cbd9-415a-8214-c8eee3af59cb'; | |
| opt.responseHash = 'OKRNELprW9VkE93qS3uUtX2qb+oHkTlswXs45K3PbUM='; | |
| opt.targeting.TargetingConsent = ['False_Active']; | |
| opt.allowAccountTargetingForThisRequest = !1; | |
| const urlParams = new URLSearchParams(window.location.search); | |
| if (urlParams.has('dfptestads')) { | |
| const dfptestads = urlParams.get('dfptestads'); | |
| opt.targeting.DfpTestAds = dfptestads; | |
| } | |
| </script> | |
| <script>;(()=>{"use strict";var __webpack_modules__={23:(e,t,s)=>{s.d(t,{Z7:()=>h,eq:()=>g,kG:()=>c,xQ:()=>l,ys:()=>i,z0:()=>p});const n="248424177",o=i(location.pathname),a="ai-assist";function i(e){return/^\/tags\//.test(e)||/^\/questions\/tagged\//.test(e)?"tag-pages":/^\/discussions\//.test(e)||/^\/beta\/discussions/.test(e)?"discussions":/^\/$/.test(e)||/^\/home/.test(e)?"home-page":/^\/ai-assist/.test(e)?"ai-assist":/^\/jobs$/.test(e)||/^\/jobs\//.test(e)?"jobs":"question-pages"}let r=location.hostname;const d={slots:{lb:[[728,90]],mlb:[[728,90]],smlb:[[728,90]],bmlb:[[728,90]],sb:e=>"dfp-tsb"===e?[[300,250],[300,600]]:[[300,250]],"tag-sponsorship":[[730,135]],"mobile-below-question":[[320,50],[300,250]],msb:[[300,250],[300,600]],"talent-conversion-tracking":[[1,1]],"site-sponsorship":[[230,60]],"native-question":["fluid"]},ids:{"dfp-tlb":"lb","dfp-mlb":"mlb","dfp-smlb":"smlb","dfp-bmlb":"bmlb","dfp-tsb":"sb","dfp-isb":"sb","dfp-tag":"tag-sponsorship","dfp-msb":"msb","dfp-sspon":"site-sponsorship","dfp-nativequestion-*":"native-question","dfp-m-aq":"mobile-below-question"},idsToExcludeFromAdReports:["dfp-sspon"]};function l(){return a}function c(){return Object.keys(d.ids)}function g(e){return d.idsToExcludeFromAdReports.indexOf(e)<0}function p(e){return e.indexOf("/native-question/")>=0}function h(e,t){var s=e.split("_")[0],a=d.ids[s];if(!a)for(var i=Object.keys(d.ids),l=0;l<i.length;l++)if(i[l].indexOf("*")>=0){var c=i[l].substring(0,i[l].length-1);s.indexOf(c)>=0&&(a=d.ids[i[l]])}let g=d.slots[a];return"function"==typeof g&&(g=g(s)),{path:`/${n}/${t||r}/${a}/${o}`,sizes:g,zone:a}}},865:(e,t,s)=>{function n(e){return"string"==typeof e?document.getElementById(e):e}function o(e){return!!(e=n(e))&&"none"===getComputedStyle(e).display}function a(e){return!o(e)}function i(e){return!!e}function r(e){return/^\s*$/.test(n(e).innerHTML)}function d(e){const{style:t}=e;t.height=t.maxHeight=t.minHeight="auto",t.display="none"}function l(e){const{style:t}=e;t.height=t.maxHeight=t.minHeight="auto",t.display="none",[].forEach.call(e.children,l)}function c(e){const{style:t}=e;t.height=t.maxHeight=t.minHeight="auto",t.removeProperty("display")}function g(e){const t=document.createElement("script");t.src=e,document.body.appendChild(t)}function p(e){return s=e,(t=[]).push=function(e){return s(),delete this.push,this.push(e)},t;var t,s}function h(e){let t="function"==typeof HTMLTemplateElement;var s=document.createElement(t?"template":"div");return e=e.trim(),s.innerHTML=e,t?s.content.firstChild:s.firstChild}s.d(t,{$Z:()=>c,Bv:()=>h,Gx:()=>g,Nj:()=>n,QZ:()=>p,cf:()=>d,pn:()=>a,wo:()=>l,xb:()=>r,xj:()=>o,yb:()=>i})},147:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{t:()=>AdReports});var _common_helper__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(865),_console__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(406),_ad_units__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(23);window.googletag=window.googletag||{cmd:[]};class AdReports{constructor(e){this.cam=e,this.allowedFileTypes=["image/png","image/jpg","image/jpeg"],this.ignoreValidation=!1,_console__WEBPACK_IMPORTED_MODULE_1__.cM("Ad reporting init"),googletag.cmd.push(()=>{if(this.cam=e,this.callOnButtonClick=e=>this.onButtonClick(e),googletag.pubads().addEventListener("slotRenderEnded",e=>this.handleSlotRendered(e)),Array.isArray(e.slotsRenderedEvents)){_console__WEBPACK_IMPORTED_MODULE_1__.cM("Adding report button to "+e.slotsRenderedEvents.length+" events that have transpired");for(var t=0;t<e.slotsRenderedEvents.length;t++)this.handleSlotRendered(e.slotsRenderedEvents[t])}})}handleSlotRendered(e){if(e&&e.slot&&!e.isEmpty&&(e.creativeId||e.lineItemId||!e.isEmpty)){var t=e.slot.getSlotElementId(),s=e.slot.getAdUnitPath();if(t){var n=document.getElementById(t);if(n)if((0,_ad_units__WEBPACK_IMPORTED_MODULE_0__.eq)(t)){var o=n?.closest(".js-zone-container"),a=n?.closest(".js-zone-container")?.querySelector(".js-report-ad-button-container");a?(a.innerHTML="",a.append(this.createButton(e)),a.style.height="24px",_console__WEBPACK_IMPORTED_MODULE_1__.cM("Added report button to the bottom of "+t)):_console__WEBPACK_IMPORTED_MODULE_1__.cM("Ad report button not found, may be intentional, element: "+t),o&&(0,_ad_units__WEBPACK_IMPORTED_MODULE_0__.z0)(s)&&(o.classList.add("bb"),o.classList.add("mt24"))}else _console__WEBPACK_IMPORTED_MODULE_1__.cM("Not adding report button to the bottom of "+t+": shouldHaveReportButton = false");else _console__WEBPACK_IMPORTED_MODULE_1__.cM("Not adding report button to the bottom of "+t+": resolved invalid adUnit element")}else _console__WEBPACK_IMPORTED_MODULE_1__.cM("Not adding report button to the bottom of element: invalid adUnitElementId")}else _console__WEBPACK_IMPORTED_MODULE_1__.cM("Not adding report button to the bottom of element: invalid SlotRenderEndedEvent")}async onButtonClick(e){e.preventDefault();let t=e.target;const s=t.dataset.modalUrl,n=t.dataset.googleEventData;return await this.loadModal(s,t,n),!1}createButton(e){let t=document.createElement("button");var s=JSON.stringify(e);return t.dataset.googleEventData=s,t.dataset.modalUrl=this.cam.opt.adReportUrl,t.dataset.adUnit=e.slot.getSlotElementId(),t.classList.add("js-report-ad","s-btn","s-btn__link","fs-fine","mt2","float-right"),t.append(document.createTextNode(this.cam.opt.adReportText)),t.removeEventListener("click",this.callOnButtonClick),t.addEventListener("click",this.callOnButtonClick),t}async loadModal(url,$link,googleEventData){try{await window.StackExchange.helpers.loadModal(url,{returnElements:window.$($link)}),this.initForm(googleEventData)}catch(e){var message="",response=e.responseText?eval(`(${e.responseText})`):null;message=response&&response.isLoggedOut?this.cam.opt.adReportLoginExpiredMessage:this.cam.opt.adReportLoginErrorMessage,window.StackExchange.helpers.showToast(message,{type:"danger"})}}removeModal(){window.StackExchange.helpers.closePopups(document.querySelectorAll("."+this.cam.opt.adReportModalClass),"dismiss")}initForm(e,t=!1){this.ignoreValidation=t,this.$form=document.querySelector(".js-ad-report-form"),this.$googleEventData=this.$form.querySelector(".js-json-data"),this.$adReportReasons=this.$form.querySelectorAll(".js-ad-report-reason"),this.$adReportReasonOther=this.$form.querySelector(".js-ad-report-reason-other"),this.$fileUploaderInput=this.$form.querySelector(".js-file-uploader-input"),this.$imageUploader=this.$form.querySelector(".js-image-uploader"),this.$clearImageUpload=this.$form.querySelector(".js-clear-image-upload"),this.$imageUploaderText=this.$form.querySelector(".js-image-uploader-text"),this.$imageUploaderPreview=this.$form.querySelector(".js-image-uploader-preview"),this.$fileErrorMessage=this.$form.querySelector(".js-file-error");const s=this.$form.querySelector(".js-drag-drop-enabled"),n=this.$form.querySelector(".js-drag-drop-disabled");this.$googleEventData.value=e,this.$adReportReasons.forEach((e,t)=>e.addEventListener("change",e=>{this.$adReportReasonOther.classList.toggle("d-none","3"!==e.target.value)})),this.$fileUploaderInput.addEventListener("change",()=>{this.validateFileInput()&&this.updateImagePreview(this.$fileUploaderInput.files)}),this.$clearImageUpload.addEventListener("click",e=>{e.preventDefault(),this.clearImageUpload()});try{this.$fileUploaderInput[0].value="",this.$imageUploader.addEventListener("dragenter dragover dragleave drop",this.preventDefaults),this.$imageUploader.addEventListener("dragenter dragover",this.handleDragStart),this.$imageUploader.addEventListener("dragleave drop",this.handleDragEnd),this.$imageUploader.addEventListener("drop",this.handleDrop)}catch(e){s.classList.add("d-none"),n.classList.remove("d-none")}this.$form.removeEventListener("",this.handleDragEnd),this.$form.addEventListener("submit",async e=>(e.preventDefault(),this.submitForm(),!1))}clearImageUpload(){this.$fileUploaderInput.value="",this.$imageUploaderPreview.setAttribute("src",""),this.$imageUploaderPreview.classList.add("d-none"),this.$clearImageUpload.classList.add("d-none"),this.$imageUploaderText.classList.remove("d-none"),this.$imageUploader.classList.add("p16","ba","bas-dashed","bc-black-100")}preventDefaults(e){e.preventDefault(),e.stopPropagation()}handleDragStart(e){this.$imageUploader.classList.remove("bas-dashed"),this.$imageUploader.classList.add("bas-solid","bc-black-100")}handleDragEnd(e){this.$imageUploader.classList.remove("bas-solid","bc-black-100"),this.$imageUploader.classList.add("bas-dashed")}handleDrop(e){var t=e.originalEvent.dataTransfer.files;FileReader&&t&&1===t.length&&(this.$fileUploaderInput.files=t,this.validateFileInput()&&this.updateImagePreview(t))}setError(e){this.$fileErrorMessage.parentElement.classList.toggle("has-error",e)}updateImagePreview(e){this.$imageUploader.classList.remove("p16","ba","bas-dashed","bc-black-100"),this.$clearImageUpload.classList.remove("d-none"),this.$imageUploaderText.classList.add("d-none");var t=new FileReader;t.onload=e=>{null!=e.target&&(this.$imageUploaderPreview.setAttribute("src",e.target.result),this.$imageUploaderPreview.classList.remove("d-none"))},t.readAsDataURL(e[0])}validateFileInput(){if(this.ignoreValidation)return!0;const e=this.cam.opt.adReportFileTypeErrorMessage,t=this.cam.opt.adReportFileSizeErrorMessage;if(null==this.$fileUploaderInput.files)return!1;var s=this.$fileUploaderInput.files[0];return null==s?(this.setError(!0),!1):this.allowedFileTypes.indexOf(s.type)<0?(this.$fileErrorMessage.textContent=e,this.$fileErrorMessage.classList.remove("d-none"),this.setError(!0),!1):s.size>2097152?(this.$fileErrorMessage.textContent=t,this.$fileErrorMessage.classList.remove("d-none"),this.setError(!0),!1):(this.$fileErrorMessage.classList.add("d-none"),this.setError(!1),!0)}async gatherDiagnosticInfo(){return{BrowserVersion:await this.getBrowserVersion()}}getElementSource(e){return e.outerHTML}getNestedIFrameElement(e){var t=e.querySelector("iframe");return t.contentDocument?t.contentDocument.documentElement:t.contentWindow.document.documentElement}async getBrowserVersion(){try{return await window.navigator.userAgentData.getHighEntropyValues(["fullVersionList"]).then(e=>JSON.stringify(e.fullVersionList))}catch(e){return""}}async submitForm(){if(!this.validateFileInput())return!1;this.$form.querySelector("[type=submit]").setAttribute("disabled","true");var e=JSON.parse(this.$googleEventData.value||"{}");e.Reason=parseInt(this.$form.querySelector(".js-ad-report-reason:checked").value,10),e.Description=this.$adReportReasonOther.value,this.$googleEventData.value=JSON.stringify(e);var t=new FormData(this.$form);if("1"===t.get("shareDiagnosticInfo")){var s=await this.gatherDiagnosticInfo();Object.keys(s).forEach(e=>t.append(e,s[e]))}try{const e=await window.fetch(this.$form.getAttribute("action"),{method:this.$form.getAttribute("method"),body:t,cache:"no-cache"}),s=e.headers.get("content-type")||"",o=await e.text();if(!e.ok)throw new Error("response not valid");if(0===s.indexOf("text/html")){var n=(0,_common_helper__WEBPACK_IMPORTED_MODULE_2__.Bv)(o);const e=n?n.querySelector(".js-modal-content"):null;if(_console__WEBPACK_IMPORTED_MODULE_1__.cM("$popupContent"),_console__WEBPACK_IMPORTED_MODULE_1__.cM(e),!e)throw new Error(`Could not find .js-modal-content in response from ${this.$form.getAttribute("action")}`);document.querySelector(".js-modal-content").replaceWith(e)}else window.StackExchange.helpers.showToast(this.cam.opt.adReportThanksText,{type:"success"}),this.removeModal()}catch(e){window.StackExchange.helpers.showToast(this.cam.opt.adReportErrorText,{type:"danger"})}finally{let e=this.$form.querySelector("[type=submit]");e&&e.removeAttribute("disabled")}}}},406:(e,t,s)=>{function n(...e){}function o(...e){}s.d(t,{cM:()=>n,vU:()=>o})}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var s=__webpack_module_cache__[e]={exports:{}};return __webpack_modules__[e](s,s.exports,__webpack_require__),s.exports}__webpack_require__.d=(e,t)=>{for(var s in t)__webpack_require__.o(t,s)&&!__webpack_require__.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var __webpack_exports__={};(()=>{var e=__webpack_require__(406),t=(e=>(e[e.Above=0]="Above",e[e.Below=1]="Below",e))(t||{});const s=Object.assign({},{"lib":"https://clc.stackoverflow.com/Content/bundles/js/gam_loader_script.bundle.741.efde0ed837e9bdef3d33.js?v=b6feb5389be8","style":null,"u":null,"wa":true,"kt":2000,"tto":true,"h":"clc.stackoverflow.com","allowed":"^(((talent\\.)?stackoverflow)|(blog\\.codinghorror)|(serverfault|askubuntu)|([^\\.]+\\.stackexchange))\\.com$","wv":true,"al":false,"abd":true,"cpa_liid":[5882654614],"cpa_cid":[138377597667],"dp":false,"tgt_to":1000,"tgt_u":"http://clc.stackoverflow.com/get-user-acct-tgt","tgt_e":true,"tgt_p":100,"dv_enabled":false,"upo":""});var n=__webpack_require__(23),o=__webpack_require__(865);window.googletag=window.googletag||{cmd:[]};class a{constructor(t){this.cam=t,e.cM("AcceptableAds init"),window.googletag.cmd.push(()=>{if(this.cam=t,window.googletag.pubads().addEventListener("slotRenderEnded",e=>this.handleSlotRendered(e)),Array.isArray(t.slotsRenderedEvents)){e.cM("Adding report button to "+t.slotsRenderedEvents.length+" events that have transpired");for(var s=0;s<t.slotsRenderedEvents.length;s++)this.handleSlotRendered(t.slotsRenderedEvents[s])}})}handleSlotRendered(t){if(!window.abp)return;if(!function(e){return!(!e||!e.slot)}(t))return void e.cM("Not adding Acceptable Ads overlay: invalid SlotRenderEndedEvent... no event and/or slot");if(!function(t){const s=t.slot.getSlotElementId();if(!s)return e.cM("Not adding report button to the bottom of element: invalid adUnitElementId"),!1;const n=document.getElementById(s);return n?!((t.isEmpty||!t.creativeId&&!t.lineItemId&&t.isEmpty)&&0===n.innerHTML.trim().length):(e.cM("Not adding report button to the bottom of "+s+": adUnit element not found"),!1)}(t))return void e.cM("Not adding Acceptable Ads overlay: No ad rendered");const s=t.slot.getSlotElementId(),n=document.getElementById(s);e.cM("Adding Acceptable Ads overlay to "+s),this.createAcceptableAdsOverlayDiv(n)}createAcceptableAdsOverlayDiv(e){let t=document.createElement("div");return t.append(document.createTextNode("AD")),t.style.position="absolute",t.style.top="1px",t.style.left="1px",t.style.padding="6px",t.style.background="rgba(255,255,255,0.7)",t.style.color="#444",t.style.fontSize="10px",t.style.fontWeight="bold",t.style.fontFamily="sans-serif",t.style.zIndex="4000",e.parentElement.appendChild(t),e.parentElement.style.isolation="isolate",e.parentElement.style.position="relative",t}}var i=__webpack_require__(147);window.googletag=window.googletag||{cmd:[]};class r{constructor(t){this.interval=t,e.cM("Ad refresh init. interval: "+t),googletag.cmd.push(()=>{googletag.pubads().addEventListener("impressionViewable",e=>this.onImpressionViewable(e)),e.cM("done enabling ad refresh")})}onImpressionViewable(t){var s=t.slot,o=s.getAdUnitPath();e.cM("Should we refresh ad slot "+s.getSlotElementId()+" "+s.getAdUnitPath()+"?"),(0,n.z0)(o)?e.cM("Not scheduling refresh for slot "+s.getSlotElementId()+", path "+o):(e.cM("ad refresh - slot "+s.getSlotElementId()+" is viewable, initializing refresh"),this.scheduleRefresh(s))}scheduleRefresh(e){setTimeout(()=>this.refreshAdSlot(e),1e3*this.interval)}static refreshMyAd(t){googletag.cmd.push(()=>{let s=googletag.pubads().getSlots().find(e=>e.getSlotElementId()===t);s&&(e.cM("refreshMyAd - refreshing ad slot "+t),googletag.pubads().refresh([s]))})}static removeMyAd(t){googletag.cmd.push(()=>{let s=googletag.pubads().getSlots().find(e=>e.getSlotElementId()===t);s&&(e.cM("removeMyAd - destroying ad slot "+t),googletag.destroySlots([s]))})}refreshAdSlot(t){var s=t.getSlotElementId();this.isElementVisibleInBrowser(s)?(e.cM("refreshing ad slot "+s),t.setTargeting("Refresh","true"),googletag.pubads().refresh([t])):(e.cM("refresh skipped this time; ad slot not viewable:"+s),this.scheduleRefresh(t))}isElementVisibleInBrowser(e){var t=document.getElementById(e);if(null!==t){var s=t.getBoundingClientRect();if(s.top>=0&&s.left>=0&&s.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&s.right<=(window.innerWidth||document.documentElement.clientWidth))return!0}return!1}}var d=(e=>(e.Off="Off",e.PreSurvey="PreSurvey",e.Collect="Collect",e.PostSurvey="PostSurvey",e))(d||{});class l{constructor(e,t){this.lineItemImpressions=[],this.surveysIdsCompleted=[],this.lineItemImpressions=e,this.surveysIdsCompleted=t}addImpression(e,t){let s={brandId:e,lineItemId:t,timestamp:new Date};this.lineItemImpressions.push(s)}addBrandSurveyCompleted(e){-1===this.surveysIdsCompleted.indexOf(e)&&this.surveysIdsCompleted.push(e)}getTotalBrandImpressions(){let e=new Map;for(let t of this.lineItemImpressions)if(e.has(t.brandId)){let s=e.get(t.brandId);e.set(t.brandId,s+1)}else e.set(t.brandId,1);return e}getBrandLineItemImpressions(e){let t={};for(let s of this.lineItemImpressions)if(s.brandId==e)if(void 0!==t[s.lineItemId]){let e=t[s.lineItemId];t[s.lineItemId]=e+1}else t[s.lineItemId]=1;return t}}class c{constructor(){this.surveyEngagementLocalStorageKey="clc-survey-engagement"}getBrandSurveyEngagement(){let e=localStorage.getItem(this.surveyEngagementLocalStorageKey);if(null===e)return new l([],[]);let t=JSON.parse(e);return new l(t.lineItemImpressions,t.surveysIdsCompleted)}saveBrandSurveyEngagement(e){let t=JSON.stringify(e);localStorage.setItem(this.surveyEngagementLocalStorageKey,t)}}class g{constructor(){this.surveyRepository=new c}getBrandSurveyEngagement(){return this.surveyRepository.getBrandSurveyEngagement()}recordImpression(e,t){let s=this.getBrandSurveyEngagement();s.addImpression(e,t),this.surveyRepository.saveBrandSurveyEngagement(s)}recordBrandSurveyCompleted(e){let t=this.getBrandSurveyEngagement();t.addBrandSurveyCompleted(e),this.surveyRepository.saveBrandSurveyEngagement(t)}}window.googletag=window.googletag||{cmd:[]};class p{constructor(t){this.brandSettings=t,this.brandSlotMap=new Map,this.brandSurveyEngagementService=new g,e.cM("Brand Survey init: "+JSON.stringify(t)),void 0!==t?googletag.cmd.push(()=>{googletag.pubads().addEventListener("slotRenderEnded",e=>this.handleSlotRendered(e)),googletag.pubads().addEventListener("impressionViewable",e=>this.onImpressionViewable(e)),e.cM("done enabling Brand Survey")}):e.cM("Brand Survey init: brandSettings is undefined, not initializing")}handleSlotRendered(t){e.cM("Brand Survey - slot rendered - slot:"+JSON.stringify(t.slot.getSlotElementId())+" lineItem: "+t.lineItemId);let s=this.findItemWithId(t.lineItemId);if(null===s||s.mode!==d.Collect)this.brandSlotMap.delete(t.slot.getSlotElementId());else{let e={brandId:s.brandId,lineItemId:t.lineItemId};this.brandSlotMap.set(t.slot.getSlotElementId(),e)}}onImpressionViewable(t){let s=t.slot;if(e.cM("ad - Brand Survey - impression viewable. Details: "+JSON.stringify(s.getSlotElementId())),e.cM("ad - Brand Survey - slot "+s.getSlotElementId()+" is viewable"),this.brandSlotMap.has(s.getSlotElementId())){let t=this.brandSlotMap.get(s.getSlotElementId());e.cM("Brand Survey - brand "+t.brandId+" is viewable"),this.recordImpression(this.brandSlotMap.get(s.getSlotElementId()))}}recordImpression(t){e.cM("ad - Brand Survey - recording impression for brand "+t.brandId),this.brandSurveyEngagementService.recordImpression(t.brandId,t.lineItemId)}findItemWithId(t){return e.cM("brand settings: "+JSON.stringify(this.brandSettings)),this.brandSettings.find(e=>e.lineItemIds.includes(t))||null}}const h="response-brand-survey-submit|",m="request-brand-survey-metadata|",u="record-metric-on-server|",f="request-dsp-tags",v="response-dsp-tags|";class b{static refreshAdIfBrandSurveyIsDuplicated(e,t){if(this.alreadyCompletedThisBrandSurvey(e)){var s=document.getElementById(t).closest(".js-zone-container");r.removeMyAd(t),s&&s.remove()}}static alreadyCompletedThisBrandSurvey(e){return(new g).getBrandSurveyEngagement().surveysIdsCompleted.includes(e)}}window.cam=new class{constructor(t=null){if(this.gptImported=!1,this.slotsRenderedEvents=[],this.collapsed={},e.cM("constructor"),this.clc_options=s,window.clcGamLoaderOptions)Object.assign(this,window.clcGamLoaderOptions);else if(void 0===this.opt){let e=window.opt;e&&(this.opt=e)}var o=(0,n.ys)(location.pathname);this.disableInitialLoad=o==(0,n.xQ)(),this.enableAdRefreshForPage=o!=(0,n.xQ)()}init(){if(e.cM("init"),void 0===this.opt)throw new Error("opt not set, required by GAM Loader");e.cM("init brand survey service"),this.getUserMetaPromise=this.getUserMeta(),e.cM("setup message handler"),window.addEventListener("message",e=>{this.onmessage(e)})}handleSlotRenderedNoAdReport(){googletag.cmd.push(()=>{if(googletag.pubads().addEventListener("slotRenderEnded",e=>this.applyExtraMarginBottom(e)),Array.isArray(this.slotsRenderedEvents))for(var e=0;e<this.slotsRenderedEvents.length;e++)this.applyExtraMarginBottom(this.slotsRenderedEvents[e])})}onmessage(t){let s="omni";if(t.data&&("string"==typeof t.data||t.data instanceof String))if(0===t.data.indexOf("get-omni-")){e.cM("Recevied get-omni message, sending back omni");var n=t.source,a=this.opt.omni,i="string"==typeof a?a:"";n.postMessage([s,i,this.opt.perRequestGuid].join("|"),"*")}else if(0===t.data.indexOf("collapse-")){e.cM("Recevied collapse message, collapse ad iframe"),e.cM(t);for(var r=t.source.window,d=document.getElementsByTagName("IFRAME"),l=0;l<d.length;l++){var c=d[l];if(c.contentWindow==r)return void(0,o.wo)(c.parentElement.parentElement.parentElement)}}else if(0===t.data.indexOf("resize|")){e.cM("Recevied resize message, resize ad iframe"),e.cM(t);let s=this._getFrameByEvent(t),n=t.data.indexOf("|")+1,o=t.data.slice(n),a=parseFloat(o)+.5;e.cM("New iframe height "+a),s.height=a.toString(),s.parentElement.style.height=a.toString()+"px"}else if(0===t.data.indexOf("getmarkup|")){let s=t.data.indexOf("|")+1,n=t.data.slice(s);e.cM("Recevied get markup message: "+n);let o=this._getFrameByEvent(t).closest(".everyonelovesstackoverflow");const a=document.createElement("script");a.dataset.adZoneId=o.id,a.src=n,document.body.appendChild(a)}else if(0===t.data.indexOf("window-location|")){let s=t.data.indexOf("|")+1,n=t.data.slice(s);e.cM("Recevied window location message: "+n),n.startsWith("/")||(n="/"+n),window.open(window.location.protocol+"//"+window.location.host+n,"_blank")}else if(0===t.data.indexOf("request-brand-survey-submit|")){let s=t.data.split("|"),n=s[1],o=s[2],a=s[3],i=JSON.parse(a);e.cM(n),e.cM(o),e.cM(a),e.cM("Received brand survey "+n+" response message: "+o);var p=new FormData;for(var _ in i)p.append(_,i[_]);let r=this._getFrameByEvent(t);if(b.alreadyCompletedThisBrandSurvey(+n))return e.cM("Already completed this brand survey. Not submitting duplicate to server."),void r.contentWindow.postMessage("response-brand-survey-submit-duplicate|","*");e.cM("Send the brand survey to the server"),fetch(o,{method:"POST",body:p}).then(e=>e.json()).then(e=>r.contentWindow.postMessage({messageType:h},"*")).catch(e=>r.contentWindow.postMessage({messageType:h},"*"))}else if(0===t.data.indexOf("brand-survey-completed-store|")){let s=t.data.split("|"),n=(s[1],s[2]);if(e.cM("Received brand survey completed store message for survey ID "+n),b.alreadyCompletedThisBrandSurvey(+n))return void e.cM("Already completed this brand survey. Not recording duplicate locally.");e.cM("Record brand survey completion locally"),(new g).recordBrandSurveyCompleted(+n)}else if(0===t.data.indexOf(m)){let s=t.data.split("|"),n=s[1],o=s[2];e.cM("Received message: "+m+" with Brand Survey ID "+o);let a=(new g).getBrandSurveyEngagement().getBrandLineItemImpressions(+n),i=JSON.stringify(a),r=this._getFrameByEvent(t);e.cM("sending impression data: "+i),r.contentWindow.postMessage("response-brand-survey-metadata|"+this.opt.responseHash+"|"+this.opt.perRequestGuid+"|"+i+"|"+this.opt.countryCode+"|"+this.opt.qualtricsSurveyData,"*")}else if(0===t.data.indexOf("refresh-if-duplicate-brand-survey|")){let e=t.data.split("|")[1],s=this.getSlotElementIdByEvent(t);b.refreshAdIfBrandSurveyIsDuplicated(+e,s)}else if(0===t.data.indexOf(u)){e.cM("Received message: "+u+" with args: "+t.data);let s=t.data.split("|"),n=s[1],o=s[2],a=s[3],i=s[4],r=new FormData;r.append("brandSurveyId",a.toString()),r.append("responseHash",this.opt.responseHash),r.append("perRequestGuid",this.opt.perRequestGuid),r.append("questionNumber",n.toString()),r.append("metricType",i.toString()),fetch(o,{method:"POST",body:r}).then(e=>e.ok).catch(t=>{e.cM("SendMetricToServer: Error sending metric to server: "+t)})}else if(0===t.data.indexOf(f)){e.cM("Received message: "+f+" with args: "+t.data);let s=this._getFrameByEvent(t);if(!this.opt.targeting["so-tag"])return void s.contentWindow.postMessage(v,"*");const n=this.opt.targeting["so-tag"].join(",");e.cM("sending targeting tags: "+n),s.contentWindow.postMessage(v+n,"*")}else e.cM("Received unhandled message")}getSlotElementIdByEvent(e){let t=this._getFrameByEvent(e),s=t.parentElement?.parentElement?.id;return s||""}_getFrameByEvent(e){return Array.from(document.getElementsByTagName("iframe")).filter(t=>t.contentWindow===e.source)[0]}classifyZoneIds(t){e.cM("classifyZoneIds",t),t=this.extrapolateAdUnits(t),e.cM("After extrapolation, classifyZoneIds",t);const s=t.map(o.Nj).filter(o.yb);return{eligible:s.filter(o.xb).filter(o.pn),ineligible:s.filter(o.xj)}}extrapolateAdUnits(t){for(var s=[],n=0;n<t.length;n++)if(t[n].indexOf("*")>=0){var o=t[n].substring(0,t[n].length-1);e.cM("Extrapolating ad units for id pattern: "+o);for(var a=document.querySelectorAll("[id^="+o+"]"),i=0;i<a.length;i++)s.push(a[i].id)}else s.push(t[n]);return s}applyExtraMarginBottom(t){if(t&&t.slot&&!t.isEmpty&&(t.creativeId||t.lineItemId||!t.isEmpty)){var s=t.slot.getSlotElementId();if(s){var o=document.getElementById(s);if(o)if((0,n.eq)(s)){var a=o?.closest(".js-zone-container");a.style.marginBottom="24px",e.cM("Applied extra margin to the bottom of "+s)}else e.cM("Not applying extra margin to the bottom of "+s+": shouldHaveReportButton = false");else e.cM("Not applying extra margin to the bottom of "+s+": resolved invalid adUnit element")}else e.cM("Not applying extra margin to the bottom of element: invalid adUnitElementId")}else e.cM("Not applying extra margin to the bottom of element: invalid SlotRenderEndedEvent")}async load(s=(0,n.kG)()){const d=this.opt.tlb_position===t.Above?["dfp-mlb","dfp-smlb"]:["dfp-mlb","dfp-smlb","dfp-tlb"];if(this.disableInitialLoad)return e.cM("Initial load of ads disabled"),void(this.disableInitialLoad=!1);if(!this.isGptReady())return e.cM("Initializing..."),this.initGpt(),void googletag.cmd.push(()=>this.load(s));this.opt.acceptableAdsEnabled&&(e.cM("Acceptable Ads enabled"),this.acceptableAds=new a(this)),this.opt.adReportEnabled?(e.cM("Ad reporting enabled"),this.adReports=new i.t(this)):(e.cM("Ad reporting not enabled"),this.handleSlotRenderedNoAdReport()),this.opt.refresh&&this.enableAdRefreshForPage?(e.cM("Ad refresh enabled"),this.adRefresh=new r(this.opt.refreshInterval)):e.cM("Ad refresh not enabled"),this.opt.brandSurveyEnabled&&(e.cM("Brand Survey enabled"),this.brandSurvey=new p(this.opt.brandSurveySettings)),e.cM("Attempting to load ads into ids: ",s);const{eligible:l,ineligible:c}=this.classifyZoneIds(s);if(this.initDebugPanel(googletag,l.concat(c)),l.forEach(e=>(0,o.cf)(e)),c.forEach(o.wo),0===l.length)return void e.cM("Found no ad ids on page");e.cM("Eligible ids:",l),this.opt.abd&&this.appendAdblockDetector();var g=googletag.pubads().getSlots();if(g){var h=g.filter(e=>s.indexOf(e.getSlotElementId())>=0);googletag.destroySlots(h)}this.opt.sf&&(googletag.pubads().setForceSafeFrame(!0),googletag.pubads().setSafeFrameConfig({allowOverlayExpansion:!0,allowPushExpansion:!0,sandbox:!0})),e.cM("Targeting consent: Checking...");let m=!1,u=!1;void 0!==this.opt.targeting_consent&&(u=!0,e.cM("Targeting consent: Parameter set"),e.cM("Targeting consent: Consent given? ",this.opt.targeting_consent),m=this.opt.targeting_consent),void 0!==this.opt.personalization_consent&&(e.cM("Personalization consent: Parameter set"),e.cM("Personalization consent: Consent given? ",this.opt.personalization_consent),m=m&&this.opt.personalization_consent),m=m&&u,this.setPrivacySettings(m),this.opt.ll||googletag.pubads().enableSingleRequest(),cam.sreEvent||(googletag.pubads().addEventListener("slotRenderEnded",e=>this.onSlotRendered(e)),cam.sreEvent=!0),await this.setTargeting();var f=l.filter(e=>!this.opt.ll||d.indexOf(e.id)<0),v=l.filter(e=>!!this.opt.ll&&d.indexOf(e.id)>=0);e.cM("Up front ids:",f),e.cM("Lazy loaded ids:",v),f.forEach(t=>{e.cM(`Defining ad for element ${t.id}`),this.defineSlot(t.id,googletag),t.setAttribute("data-dfp-zone","true")}),googletag.enableServices(),f.forEach(t=>{e.cM(`Displaying ad for element ${t.id}`),this.clc_options.dv_enabled?window.onDvtagReady(function(){googletag.display(t.id)}):googletag.cmd.push(()=>googletag.display(t.id))}),this.opt.ll&&(e.cM("Enabling lazy loading for GAM"),googletag.pubads().enableLazyLoad({fetchMarginPercent:0,renderMarginPercent:0}),e.cM("Setting up lazy loaded ad units"),v.forEach(t=>{e.cM(`Lazy loading - Defining Slot ${t.id}`),this.defineSlot(t.id,googletag)}),v.forEach(t=>{e.cM(`Lazy loading - Displaying ad for element ${t.id}`),this.clc_options.dv_enabled?window.onDvtagReady(function(){googletag.display(t.id)}):googletag.cmd.push(()=>googletag.display(t.id))}))}setPrivacySettings(e){e||googletag.pubads().setPrivacySettings({nonPersonalizedAds:!0,restrictDataProcessing:!0,limitedAds:!0})}async setTargeting(){if(!googletag)throw new Error("googletag not defined");let t=this.opt.targeting;if(!t)throw new Error("Targeting not defined (is "+typeof t+")");Object.keys(t).forEach(s=>{e.cM(`-> targeting - ${s}: ${t[s]}`),googletag.pubads().setTargeting(s,t[s])});let s=!1;if(void 0!==this.opt.targeting_consent&&(s=this.opt.targeting_consent),s){let t=(new g).getBrandSurveyEngagement();if(t.getTotalBrandImpressions().forEach((t,s)=>{e.cM(`-> targeting - BrandImpressions: ${s}: ${t}`),googletag.pubads().setTargeting("brand_"+s.toString()+"_impressions",t.toString())}),t.surveysIdsCompleted.forEach(t=>{e.cM(`-> targeting - SurveysTaken: ${t}`),googletag.pubads().setTargeting("survey_"+t+"_taken","true")}),this.clc_options.tgt_e&&this.getUserMetaPromise){let t=await this.getUserMetaPromise;t&&t.tgt_acct?(e.cM("-> targeting - User Account: "+t.tgt_acct),googletag.pubads().setTargeting("user-acct",t.tgt_acct.company_name),googletag.pubads().setTargeting("user_acct_top",t.tgt_acct.company_name),googletag.pubads().setTargeting("user_industry",t.tgt_acct.industry),googletag.pubads().setTargeting("user_employee_count",t.tgt_acct.employee_range)):e.cM("-> targeting - User Account: Not Found"),t&&Object.prototype.hasOwnProperty.call(t,"is_high_rep_earner")?(e.cM("-> targeting - High Rep Earner: "+t.is_high_rep_earner),googletag.pubads().setTargeting("IsHighRepEarner",t.is_high_rep_earner?"true":"false")):e.cM("-> targeting - High Rep Earner: not found")}if(localStorage){e.cM('Checking local storage for "jobs-last-clicked" key.');let t=localStorage.getItem("jobs-last-clicked")?"true":"false";e.cM(`-> targeting - jobs_clicked: ${t}`),googletag.pubads().setTargeting("jobs_clicked",t)}}googletag.pubads().setTargeting("aa",window.abp?"true":"false")}appendAdblockDetector(){const e=document.createElement("div");e.className="adsbox",e.id="clc-abd",e.style.position="absolute",e.style.pointerEvents="none",e.innerHTML=" ",document.body.appendChild(e)}onSlotRendered(s){try{const i=s.slot.getSlotElementId();let r=[];i||r.push("id=0");const d=document.getElementById(i);if(i&&!d&&r.push("el=0"),0!==r.length)return void this.stalled(r.join("&"));const{path:l,sizes:c,zone:g}=(0,n.Z7)(i,this.clc_options.upo);if(this.collapsed[g]&&s.isEmpty)return e.cM(`No line item for the element #${d.id}... collapsing.`),void(0,o.wo)(d);if(this.slotsRenderedEvents.push(s),s.lineItemId||s.creativeId||!s.isEmpty){e.cM(`Rendered ad for element #${d.id} [line item #${s.lineItemId}]`),e.cM(s);var a=d.parentElement;if(a.classList.contains("js-zone-container")){switch((0,o.cf)(a),i){case"dfp-tlb":this.opt.tlb_position===t.Above?a.classList.add("mb8"):a.classList.add("mt16");break;case"dfp-tag":a.classList.add("mb8");break;case"dfp-msb":a.classList.add("mt16");break;case"dfp-mlb":case"dfp-smlb":case"dfp-bmlb":a.classList.add("my8");break;case"dfp-isb":a.classList.add("mt24");break;case"dfp-m-aq":a.classList.add("my12"),a.classList.add("mx-auto")}(0,o.$Z)(a),(0,o.$Z)(d)}else e.cM(`No ad for element #${d.id}, collapsing`),e.cM(s),(0,o.wo)(d)}}catch(t){e.cM("Exception thrown onSlotRendered"),e.cM(t),this.stalled("e=1")}}stalled(e){(new Image).src=`https://${this.clc_options.h}/stalled.gif?${e}`}defineSlot(t,s){"dfp-isb"===t&&(e.cM("-> targeting - Sidebar: Inline"),s.pubads().setTargeting("Sidebar",["Inline"])),"dfp-tsb"===t&&(e.cM("-> targeting - Sidebar: Right"),s.pubads().setTargeting("Sidebar",["Right"]));const{path:o,sizes:a,zone:i}=(0,n.Z7)(t,this.clc_options.upo);e.cM(`Defining slot for ${t}: ${o}, sizes: ${JSON.stringify(a)}`),s.defineSlot(o,a,t).addService(s.pubads())}importGptLibrary(){if(!this.gptImported){this.gptImported=!0;var e=["AT","BE","BG","HR","CY","CZ","DK","EE","FI","FR","DE","GB","GR","HU","IS","IE","IT","LV","LT","LU","MT","NL","NO","PL","PT","RO","SK","SI","ES","SE"].indexOf(this.opt.countryCode)>=0;this.opt.targeting_consent||!this.opt.targeting_consent_set&&!e?(0,o.Gx)("https://securepubads.g.doubleclick.net/tag/js/gpt.js"):(0,o.Gx)("https://pagead2.googlesyndication.com/tag/js/gpt.js")}}importDvLibrary(){this.clc_options.dv_enabled&&(e.cM("Adding DoubleVerify library"),(0,o.Gx)("https://pub.doubleverify.com/dvtag/21569774/DV1289064/pub.js"),e.cM("Adding DoubleVerify onDvtagReady handler"),window.onDvtagReady=function(t,s=750){e.cM("DoubleVerify onDvtagReady called"),window.dvtag=window.dvtag||{},dvtag.cmd=dvtag.cmd||[];const n={callback:t,timeout:s,timestamp:(new Date).getTime()};dvtag.cmd.push(function(){dvtag.queueAdRequest(n)}),setTimeout(function(){const e=n.callback;n.callback=null,e&&e()},s)})}isGptReady(){return"undefined"!=typeof googletag&&!!googletag.apiReady}initGpt(){e.cM("Adding gpt.js and DV"),"undefined"==typeof googletag?window.googletag={cmd:(0,o.QZ)(()=>{this.importGptLibrary(),this.importDvLibrary()})}:(this.importGptLibrary(),this.importDvLibrary())}getUserMeta(){if(this.opt.allowAccountTargetingForThisRequest&&this.clc_options.tgt_e&&this.clc_options.tgt_p>0){if(e.cM("Targeting enabled."),this.clc_options.tgt_p<100){e.cM("Targeting rate limit enabled. Rolling the dice...");const t=Math.floor(100*Math.random())+1;if(e.cM("Rolled "+t+" and the max is "+this.clc_options.tgt_p),t>this.clc_options.tgt_p)return void e.cM("Will not request targeting.")}return e.cM("Will request targeting."),function(e,t,s,n){if(t){const t=new Headers;return t.append("Accept","application/json"),async function(e,t={},s=5e3){if("number"!=typeof s&&null!=s&&!1!==s){if("string"!=typeof s)throw new Error("fetchWithTimeout: timeout must be a number");if(s=parseInt(s),isNaN(s))throw new Error("fetchWithTimeout: timeout must be a number (or string that can be parsed to a number)")}const n=new AbortController,{signal:o}=n,a=fetch(e,{...t,signal:o}),i=setTimeout(()=>n.abort(),s);try{const e=await a;return clearTimeout(i),e}catch(e){throw clearTimeout(i),e}}(s+"?"+new URLSearchParams({omni:e}),{method:"GET",mode:"cors",headers:t},n).then(e=>e.json())}return Promise.reject("No consent")}(this.opt.omni,this.opt.targeting_consent,this.clc_options.tgt_u,this.clc_options.tgt_to).catch(t=>{e.vU("Error fetching user account targeting"),e.vU(t)})}e.cM("Targeting disabled. Will not request account targeting data.")}initDebugPanel(t,s){e.cM("initDebugPanel"),e.cM("Not showing debug panel.")}},window.clcGamLoaderOptions&&(cam.init(),cam.load())})()})();</script> | |
| <footer id="footer" class="site-footer js-footer theme-light__forced" role="contentinfo"> | |
| <div class="site-footer--container"> | |
| <div class="site-footer--logo"> | |
| <a href="https://stackoverflow.com" aria-label="Stack Overflow"><svg aria-hidden="true" class="native svg-icon iconGlyphMd" width="32" height="37" viewBox="0 0 32 37"><path fill="#BCBBBB" d="M26 33v-9h4v13H0V24h4v9z"/><path fill="#F48024" d="m21.5 0-2.7 2 9.9 13.3 2.7-2zM26 18.4 13.3 7.8l2.1-2.5 12.7 10.6zM9.1 15.2l15 7 1.4-3-15-7zm14 10.79.68-2.95-16.1-3.35L7 23zM23 30H7v-3h16z"/></svg></a> | |
| </div> | |
| <nav class="site-footer--nav" aria-label="Footer"> | |
| <div class="site-footer--col"> | |
| <h5 class="-title"><a href="https://stackoverflow.com" class="js-gps-track" data-gps-track="footer.click({ location: 2, link: 15})">Stack Overflow</a></h5> | |
| <ul class="-list js-primary-footer-links"> | |
| <li><a href="/questions" class="js-gps-track -link" data-gps-track="footer.click({ location: 2, link: 16})">Questions</a></li> | |
| <li><a href="/help" class="js-gps-track -link" data-gps-track="footer.click({ location: 2, link: 3 })">Help</a></li> | |
| <li><a class="js-gps-track -link" data-gps-track="footer.click({ location: 2, link: 5 })" href="https://chat.stackoverflow.com/?tab=explore">Chat</a></li> | |
| </ul> | |
| </div> | |
| <div class="site-footer--col"> | |
| <h5 class="-title"><a href="https://stackoverflow.co/" class="js-gps-track" data-gps-track="footer.click({ location: 2, link: 19 })">Business</a></h5> | |
| <ul class="-list"> | |
| <li><a href="https://stackoverflow.co/internal/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=footer&utm_content=teams" class="js-gps-track -link" data-ga="["teams traffic","footer - site nav","stackoverflow.com/teams",null,{"dimension4":"teams"}]" data-gps-track="footer.click({ location: 2, link: 29 })">Stack Internal</a></li> | |
| <li><a href="https://stackoverflow.co/data-licensing/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=footer&utm_content=data-licensing" class="js-gps-track -link" data-gps-track="footer.click({ location: 2, link: 44 })">Stack Data Licensing</a></li> | |
| <li><a href="https://stackoverflow.co/advertising/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=footer&utm_content=advertising" class="js-gps-track -link" data-gps-track="footer.click({ location: 2, link: 21 })">Stack Ads</a></li> | |
| </ul> | |
| </div> | |
| <div class="site-footer--col"> | |
| <h5 class="-title"><a class="js-gps-track" data-gps-track="footer.click({ location: 2, link: 1 })" href="https://stackoverflow.co/">Company</a></h5> | |
| <ul class="-list"> | |
| <li><a class="js-gps-track -link" data-gps-track="footer.click({ location: 2, link: 1 })" href="https://stackoverflow.co/">About</a></li> | |
| <li><a class="js-gps-track -link" data-gps-track="footer.click({ location: 2, link: 27 })" href="https://stackoverflow.co/company/press/">Press</a></li> | |
| <li><a class="js-gps-track -link" data-gps-track="footer.click({ location: 2, link: 9 })" href="https://stackoverflow.co/company/work-here/">Work Here</a></li> | |
| <li><a class="js-gps-track -link" data-gps-track="footer.click({ location: 2, link: 7 })" href="https://stackoverflow.com/legal">Legal</a></li> | |
| <li><a class="js-gps-track -link" data-gps-track="footer.click({ location: 2, link: 8 })" href="https://stackoverflow.com/legal/privacy-policy">Privacy Policy</a></li> | |
| <li><a class="js-gps-track -link" data-gps-track="footer.click({ location: 2, link: 37 })" href="https://stackoverflow.com/legal/terms-of-service/public">Terms of Service</a></li> | |
| <li><a class="js-gps-track -link" data-gps-track="footer.click({ location: 2, link: 13 })" href="/contact">Contact Us</a></li> | |
| <li id="consent-footer-link"><button type="button" data-controller="cookie-settings" data-action="click->cookie-settings#toggle" class="s-btn s-btn__link py4 js-gps-track -link" data-gps-track="footer.click({ location: 2, link: 38 })" data-consent-popup-loader="footer"> | |
| Cookie Settings </button></li> | |
| <li><a class="js-gps-track -link" data-gps-track="footer.click({ location: 2, link: 39 })" href="https://policies.stackoverflow.co/stack-overflow/cookie-policy">Cookie Policy</a></li> | |
| </ul> | |
| </div> | |
| <div class="site-footer--col site-footer--categories-nav"> | |
| <div> | |
| <h5 class="-title"><a href="https://stackexchange.com" data-gps-track="footer.click({ location: 2, link: 30 })">Stack Exchange Network</a></h5> | |
| <ul class="-list"> | |
| <li> | |
| <a href="https://stackexchange.com/sites#technology" class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 24 })"> | |
| Technology | |
| </a> | |
| </li> | |
| <li> | |
| <a href="https://stackexchange.com/sites#culturerecreation" class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 24 })"> | |
| Culture & recreation | |
| </a> | |
| </li> | |
| <li> | |
| <a href="https://stackexchange.com/sites#lifearts" class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 24 })"> | |
| Life & arts | |
| </a> | |
| </li> | |
| <li> | |
| <a href="https://stackexchange.com/sites#science" class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 24 })"> | |
| Science | |
| </a> | |
| </li> | |
| <li> | |
| <a href="https://stackexchange.com/sites#professional" class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 24 })"> | |
| Professional | |
| </a> | |
| </li> | |
| <li> | |
| <a href="https://stackexchange.com/sites#business" class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 24 })"> | |
| Business | |
| </a> | |
| </li> | |
| <li class="mt16 md:mt0"> | |
| <a href="https://api.stackexchange.com/" class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 24 })"> | |
| API | |
| </a> | |
| </li> | |
| <li> | |
| <a href="https://data.stackexchange.com/" class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 24 })"> | |
| Data | |
| </a> | |
| </li> | |
| </ul> | |
| </div> | |
| </div> | |
| </nav> | |
| <div class="site-footer--copyright fs-fine md:mt24"> | |
| <ul class="-list -social md:mb8"> | |
| <li><a class="js-gps-track -link" data-gps-track="footer.click({ location: 2, link:4 })" href="https://stackoverflow.blog?blb=1">Blog</a></li> | |
| <li><a href="https://www.facebook.com/officialstackoverflow/" class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 31 })">Facebook</a></li> | |
| <li><a href="https://twitter.com/stackoverflow" class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 32 })">Twitter</a></li> | |
| <li><a href="https://linkedin.com/company/stack-overflow" class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 33 })">LinkedIn</a></li> | |
| <li><a href="https://www.instagram.com/thestackoverflow" class="-link js-gps-track" data-gps-track="footer.click({ location: 2, link: 36 })">Instagram</a></li> | |
| </ul> | |
| <p class="md:mb0"> | |
| <span>Site design / logo © 2025 Stack Exchange Inc; </span> | |
| <span>user contributions licensed under </span> | |
| <a class="-link s-link td-underline" href="https://stackoverflow.com/help/licensing">CC BY-SA</a> | |
| <span>. </span> | |
| <span id="svnrev">rev 2025.12.8.37763</span> | |
| </p> | |
| </div> | |
| </div> | |
| </footer> | |
| <script>(function(){function c(){var b=a.contentDocument||a.contentWindow.document;if(b){var d=b.createElement('script');d.innerHTML="window.__CF$cv$params={r:'9abc63b6a81bc8ca',t:'MTc2NTM2NjAwOS4wMDAwMDA='};var a=document.createElement('script');a.nonce='';a.src='/cdn-cgi/challenge-platform/scripts/jsd/main.js';document.getElementsByTagName('head')[0].appendChild(a);";b.getElementsByTagName('head')[0].appendChild(d)}}if(document.body){var a=document.createElement('iframe');a.height=1;a.width=1;a.style.position='absolute';a.style.top=0;a.style.left=0;a.style.border='none';a.style.visibility='hidden';document.body.appendChild(a);if('loading'!==document.readyState)c();else if(window.addEventListener)document.addEventListener('DOMContentLoaded',c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);'loading'!==document.readyState&&(document.onreadystatechange=e,c())}}}})();</script></body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment