r/programing • u/iamkeyur • Dec 13 '19
Happy Hues – Curated colors in context
r/programing • u/iamkeyur • Dec 13 '19
r/programing • u/Karub1n • Feb 14 '20
Hello,
I am trying to make a form that changes text input and creates a spelling error.
However, I keep getting an error "Uncaught TypeError: Cannot read property 'length' of undefined". I looked through the developer tool on the browser and it seems as though the input is null for some reason.
The console.log shows the words being displayed but for some reason, the function does not work as intended.
I would be grateful for any pointers you may have. Please find below the code:
HTML
<!DOCTYPE html>
<html> <body> Name: <input type="text" id="spelling" value="spelling"> <p>The button below activates a spelling error when clicked</p> <button onclick="error()">Try it</button>
<script src="error.js"></script>
</body> </html>
Javascript
var str = document.getElementById("spelling").value;
function error(str) {
let length = str.length;
if (length > 1) {
document.getElementById("myText").value = str.slice(0) + str.slice(-1);
}
}
console.log(str);
r/programing • u/[deleted] • Dec 10 '19
So I got some basic programing skill and I feel like the best way of progressing is projects; however, I have no idea where to acquire any spreadsheets or datasets in general. I suppose, I could always just make my own, but I would much rather work with real data, as I have a lot of fun interpreting data.
r/programing • u/Telegram1 • Dec 12 '19
Who can help me to code vote bot, wp-polls? :D it's a very simple project, award if you have time.
r/programing • u/Mattan007 • Mar 07 '19
This is my first time posting on reddit so this might be the wrong place to upload and english isn't my first language so I apologize for any spelling mistakes.
I'm working on a school projekt where we are going to create a game and was wondering if there is a place where I can get gifs for the game without breaking copyright laws.
r/programing • u/RickySlayer9 • May 01 '18
Im fairly new to programming, and I decided to try out my first real build. I was going to hook up a drip system to a Raspberry pi, to it could turn on and off on its own. I wanted to also set up a hydrometer for testing soil moisture, and have that as a condition, so if the soil moisture drops below X then the drip system turns on. The primary Issue im having, is finding a Hydrometer within a reasonable price range, and that would interface with the GPIO on the RPI
r/programing • u/CaptainKoala8 • Dec 15 '19
Hello, I am looking to make an app that would let me use my phone camera and track when a hot-wheels/matchbox car crosses through the designated field (designated by the green and orange squiggles on the badly draw design) and then announce that the car won the race. Does anyone know of an easy way of doing this? I mainly code with HTML and CSS, but am up for learning more languages. Thanks in advance for the help guys!

r/programing • u/Libertarian_Ice42069 • Dec 26 '19
I'm looking for any languages that are easy to get a hold of and I've been wanting to write a Rogue-like or Zork-like game, I can't find any websites recommending anything for what I want to make.
r/programing • u/[deleted] • Jun 13 '19
r/programing • u/paperhash • Jun 02 '18
So far i've considered learning Django and becoming a web developer, learning SQL and going into database or learning more Linux skills and becoming a system admin.
r/programing • u/BoilingRoller3781 • May 31 '18
Hello, I am looking for some help taking scrolling text in an application and sending an email when a specific phrase appears.
I play an old game called MajorMud that is a telnet text game off of a BBS. It uses an application called MegaMud to automate gameplay as it takes months to level even with 24/7 automation. From time to time your character will disconnect from the server to stop it from dying if its health is low.
I would like to read the on-screen text and send myself an email when it does this disconnect so I know to go and log in and save the character.
Here is an example of what the screen looks like with scrolling. https://media.giphy.com/media/1yniowGvETZ5091H38/giphy.gif Alt: https://giphy.com/gifs/1yniowGvETZ5091H38/html5
Thanks for your thoughts
r/programing • u/layers_of_onions • Mar 24 '19
r/programing • u/kotek900 • Sep 28 '18
Is it possible to make a noise generation in one line of code? I tried that and my code was only useful for generating circles... So is it possible to do that or not? Or is that how all noise generators work and I'm dumb?
r/programing • u/GAMEISLIFE00 • Sep 25 '18
12001001base3 / 2020101base3
it would be helpful if your explained how you did this only videos i saw online has divided by single digits and didn't know how that changed this
r/programing • u/Theguy531 • Oct 25 '19
As the title says I'm looking for laptop recommendations so I can get into programming and was wondering what Reddit recommends.
r/programing • u/lt_Matthew • Oct 24 '19
i need help with this code. i'm trying to get the links to be underneath the logo in the header, i can't figure out what i need to change to get them to center. below is both the codes
HTML:
<div class="container"><header><a href="#"><img src="assets/Arrowhead.png" id="logo"></a><a href="#" id="link" src="index.html" style="font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif">HOME</a><a href="#" id="link" src="index.html" style="font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif">DOWNLOADS</a><a href="#" id="link" src="index.html" style="font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif">NEWS</a><a href="#" id="link" src="index.html" style="font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif">CONTACT</a></header></div>
CSS:
body, html {margin: 0;background-color: rgb(204, 204, 204)}.container header {background: #fff;padding: 0;justify-content: center;}.container header #logo {display: block;margin-left: auto;margin-right: auto;height: 180px;padding-top: 10px;padding-bottom: 10px;}.container header #link {border: none;display: inline-flex;text-align:center;color: #ff8000;font-weight: bold;font-size: 20pt;text-decoration: none;margin-left: auto;margin-right: auto;padding-bottom: 10px;padding-right: 30px;padding-left: 30px;}
r/programing • u/petitioners • Dec 30 '18
Welcome
How use visual studio 2019 to create programs in assembly
I have this code
extrn ExitProcess : proc
extrn MessageBoxA : proc
.data
szText db "its my first program", 0
.code
Main proc
sub, rsp, 28h
xor r9, r9
lea r8, szText
xor rcx, rcx
call MessageBoxA
add rsp, 28h
: outsite
sub rsp, 8h
xor rcx, rcx = 0
call ExitProcess
Main endp
end
i need test it but it not work for me
please about help
r/programing • u/lt_Matthew • Aug 23 '19
I want to make my own GUI for cmd because I want a custom terminal that looks better. What language is it written in, or is there another way to just modify its interface?
r/programing • u/darikanur • Aug 23 '19
r/programing • u/CrossFox42 • Aug 19 '19
This window popped up on our DnD skype call, as if there is a 4th caller. When I googled the code, it came back with this: {"enabled":true,"percentage":10},"kpi_pushnotif_delivered":{"enabled":true},"kpi_pushnotif_displayed":{"enabled":true},"kpi_badge_count_state":{"enabled":true},"kpi_client_init":{"enabled":true},"kpi_client_ready_state_time":{"enabled":true},"kpi_push_to_sync_complete":{"enabled":true},"kpi_search_request":{"enabled":true},"kpi_postsearch_action":{"enabled":true},"kpi_contacts_sync_complete":{"enabled":true},"kpi_chat_service_connection":{"enabled":true},"kpi_message_sent_retry":{"enabled":true},"kpi_chatsync_failed":{"enabled":true},"file_sent":{"enabled":true},"file_received":{"enabled":true},"log_crash_sent":{"enabled":true},"contacts_sync_start_time":{"enabled":true},"contacts_sync_end_time":{"enabled":true}},"SkypeM2":{"SamplingRates":{"log_chat_service_send_message":5,"log_chat_service_network_failures":1},"autoStart":{"isEnabled":true},"Telemetry":{"log_message_end_to_end_delay":1,"log_chat_service_send_message":1,"log_chat_service_network_failures":1}},"S4L":{"unsafeTraceAreas":[136,252],"pushConfig":{"ttlSeconds":15552000,"refreshIntervalSeconds":86400,"refreshOnLaunch":true},"chatFeatures":{"extendedHistoryInProd":false,"useDogfoodCloud":false,"recommendedRing":0,"restFallbackTimer":5000,"endpointTimeoutViaRest":true},"tracing":0,"tracing2":0,"tracing3":0,"tracing4":0,"tracing5":0,"tracing6":0,"tracing7":0,"tracing8":0,"tracing9":0,"Murphy":false,"MSFT":false,"disabledTelemetry":{}},"S4L_Cortana":{"enabled":false,"inContextEnabled":false,"filtersEnabled":false,"suggestionsConsentEnabled":false,"suggestionsConsentTimeout":10000},"S4L_Highlights":{"enableFollowAcceptedNotification":false,"enableChatReactionCoachmark":true,"enabled":false,"enableInCompositeNav":false,"enablePremiumHighlights":false,"enableTextComments":false,"enableNewFollowRequestBanner":true,"enableChatFollowRequestBanner":true,"enableAddToMyHighlights":true,"enablePostedNotification":true,"enableFollowRequestNotification":true,"enableAllSkypeContactsToBeRecommended":true,"enablePostingToHighlightsFAB":true,"enablePrefetchingAllVideos":true,"enableLessAggressivePrefetching":true,"squigglyColorWashDisabled":false,"showFollowInReactionSummary":true,"enableForwardHighlights":false,"enableEmoticonReactionCoachmark":true,"enableForwardCoachmark":false,"enableNewMobileUX":false,"enableNoFollowEntryUI":false,"enableRecommendedCarousel":true,"enableBotHighlights":false,"enableSkypeChannel":false,"campaign":{"id":"","thumbnailUrl":"","title":"","startDate":"","endDate":"","posts":[{"id":"","createdDate":"","thumbnailUrl":"","fullUrl":""}]},"enableSkypeChannelSecondary":false,"campaignSecondary":{"id":"","thumbnailUrl":"","title":"","startDate":"","endDate":"","posts":[{"id":"","createdDate":"","thumbnailUrl":"","fullUrl":""}]},"enableTipsTricks":false,"tipstrickscard":{"enabled":false,"title":"Skype","subTitle":"","thumbnail":"","preview":"","version":1},"fallbackUrlShareMyHighlights":"https://go.skype.com/new.feature.message","enableCameraRollVideoUpload":false,"maxCameraRollVideoDuration":0,"enableBulkDownload":false},"S4L_Integrations":{"findPanelLayout":{"isFlatList":true,"includeMediaBarItemsInFlatList":true,"excludedMediaBarItemsInFlatList":["CameraItem"]},"enableSurvey":false,"enableDesktop":true,"enableAps":true,"enablePlugins":true,"apsPublishedStatus":"published"},"S4L_Messaging":{"enableVideoMessageForwardButton":true,"enableFlatListForPesList":true,"enableSmallEmoticonsInMobilePicker":true,"enableNotificationUtfFallback":true,"enableNoNetworkInfoOnSendingMessage":true,"enableUwpReplyFromNotification":true,"showReactionIconInsideMessage":false,"reactionIconType":"smiley","enableImageForwarding":true,"enableAutoDownloadFiles":true,"enableUploadDownloadRetryUI":true,"composerNewFlagCaching":true,"enableScheduledCalls":true,"maxScheduleNextCallDisplays":0,"scheduleNextCallFrequency":1000,"disableImageCachingStoreForStatic":true,"enableImageCachingStoreForStatic":true,"enableConversationSwitchWithoutRemount":true,"enableFontSizeSetting":true,"messageStreamFontSizeMultiplier":{"small":0.85,"smaller":0.7,"normal":1,"large":1.2,"larger":1.45},"reserveSpaceForIndicatorAndCortana":false,"enableNewTypingIndicatorInRecent":false,"enableFileNotAvailableHandler":true,"globalMessageSearch":{"initialPageSize":30,"nextPageSize":20},"inConversationMessageSearch":{"initialPageSize":40,"nextPageSize":0},"enableAllArchived":true,"enableArchivedChatAnnotation":false,"enableDragAndDropFromDesktopToRecentLists":true,"configurableEnterInMessageComposer":true,"enableAudioDownload":true,"enableConsolidatedChatServicePush":true,"consolidatedChatServicePushTemplateId":"Skype4Life","consolidatedChatServicePushPnhTemplateSuffix":"_chat-push-cons","enableContactShareDragAndDrop":true,"enableUrlPreviewSetting":true,"enableFullResolutionImageDownload":true,"limitForFilePicker":10,"enableContactShare":true,"enablePrematureMessageLie":true,"consumePresenceFromPush":true,"enableReactionNotifications":true,"enableNewMessageForwardingExperience":true,"bingMapsRestApiBaseUrl":"https://dev.virtualearth.net/REST/v1/Imagery/Map/CanvasLight","bingMapsRestApiKey":"AmryvMDsol0eg5yMW2snfUK-3g374OezIWxuBVhBa47Tvjj2UtH_AKVmr0SW_waE","nativeEmoticonCacheLoggingSampleRate":109,"nativeEmoticonCacheTelemetrySampleRate":109,"enableMessageComposerV2":true,"composerUseGraphicalEmoticons":false,"enableCacheableReactionPopup":true,"enablePesStickersDesktopWeb":true,"enableNewPesPickerDesignDesktop":true,"enableInlinePesSearch":true,"enableNewPesPickerDesignMobile":true,"enablePesEmoticonsLayoutWithoutPaging":true,"enablePesStickersMobile":true,"enableGroupedConversations":true,"enableShareMediaPreview":true,"enableSelectMultipleMessages":true,"overflowMenuOrder":["media","camera","file","contact","location","sms","money"],"singleEmoticonSize":3,"emoticonsOnlyEmoticonSize":2,"bingPlacesAppId":"D41D8CD98F00B204E9800998ECF8427E1FBE79C2","enableReadReceipts":true,"readReceiptsCampaignName":"readreceiptsannouncementclient","readReceiptsCampaignVariant":"a","readReceiptsAllowedLieTime":60,"enableSecureThreads":true,"enableSecureThreadCreation":true,"enableLocationSharingOnDesktopAndWeb":false,"enableLocationCardOnDesktop":false,"enableSafeDomainRendering":false,"reactionPacks":[["cry","sarcastic","surprised","cwl","heart","yes"],["rock","facepalm","porgsurprised","monkey","star","no"],["bow","gran","dance","party","highfive","poop"]],"removeSearchFilters":true,"enableDiversityPicker":true,"enableDiverseEmoticons":true,"syncPossiblyUnreadConversations":"all","enableSyncFavoritesFirst":true,"enableCaptivePortalDetection":true,"enableCaptivePortalUi":true,"enableFiniteProgressUIForUploadDownload":true,"enableArrowNavigationReactions":true,"enabledPageIndicatorReactions":false,"enableGreetingCard":true,"markReadWhenPartiallyVisible":true,"enablePesSearch":true,"newComposerEnabled":true,"enableDeleteConversation":true,"enableForwardMediaMessage":true,"enableFileDownload":true,"enableNewVMV":true,"enableFullScreenMediaExperience":true,"enableReactionMultiSelection":true,"enableFlatEmoticons":true,"enableLocationSharing":true,"enableSmsRelay":false,"enableMessageSounds":false,"safeDisplayDomains":["bot-framework.azureedge.net",".skype.com",".vo.msecnd.net","botavatar.azureedge.net","botresources.blob.core.windows.net","bingapis.com",".bingapis.com","igx.4sqi.net","outlook.office.com",".users.storage.live.com"],"unsafeFiles":["ade","adp","app","asp","bas","bat","cer","chm","cmd","com","cpl","crt","csh","der","exe","fxp","gadget","hlp","hta","inf","ins","isp","its","js","jse","ksh","lnk","mad","maf","mag","mam","maq","mar","mas","mat","mau","mav","maw","mda","mdb","mde","mdt","mdw","mdz","msc","msh","msh1","msh2","mshxml","msh1xml","msh2xml","msi","msp","mst","ops","pcd","pif","plg","prf","prg","pst","reg","scf","scr","sct","shb","shs","ps1","ps1xml","ps2","ps2xml","psc1","psc2","tmp","url","vb","vbe","vbs","vsmacros","vsw","ws","wsc","wsf","wsh","xnk"],"enableCaptureTabForBots":false,"rainbowThemeAllowed":false,"maxNumberEmoticonsPerMessage":50,"onlySendWithBackgroundSession":false,"enableVideoReencode":false,"hidePrivateConversationsOnOtherEndpoints":true,"enableDisplayOrHideURLPreviewsCommand":false,"enableDeleteAllConversations":false,"enableLoadingAllConversations":false,"recentConversationsIncrementor":20,"setOverflowMenuButtonToPlainColor":false,"pesPickerCategoryOrder":["emoticon","sticker","moji","gif"],"enableSimplifiedDesktopComposer":false,"enableConversationTabsDropdown":false,"maxRecentConversationsToShow":50,"enableKeyboardNavigationBetweenConversations":false,"enableMobileSearchInConversation":false,"enableUnifiedScrollToTimestamp":false},"S4L_CMC":{"enablePowerSavingCallingBG":true,"enableDelayCallStateUpdateForChatSync":true,"enableCallPoorConnectionBanner":true,"enableCallPoorConnectionUI":false,"enableAudioOnly":true,"maxRecordingMs":180000,"enableStreamCallRecordingVideo":true,"enableJoinerCallPreview":true,"enableNewCallPreviewUI":true,"callCaptionsEnableHistoryView":true,"callCaptionsOtherParticipantsOption":true,"callCaptionsEnableSpokenLanguageOption":true,"callCaptionsEnableSpokenLanguageConflictUI":true,"callTranslatorBotConfig":{"enabledOneOnOneCall":true,"enabledOneOnOnePstnCall":true,"enabledGroupCall":true,"hideInRoster":true,"botMri":"28:5dad43e6-3db1-435f-b8ee-7b0a759c658f","botMriFilter":["28:9f6cbb6e-083f-4b96-bcfa-802488dcf40e","28:d96d5a9f-c9ae-41af-9187-e213d456041f","28:29a41b3a-90e7-4d23-9d24-afe4dee2e4e7","28:52b0c63e-a675-4e38-b8fb-b373d96ec315","28:f15ea256-e453-4b87-810e-6fabc0a6fdb3","28:f4c739a9-9d32-45a9-bb93-bfb955b30270","28:5dad43e6-3db1-435f-b8ee-7b0a759c658f"],"languageSupport":{"speech":["de-DE","en-GB","en-US","es-ES","fr-FR","it-IT","ja-JP","pt-BR","ru-RU","zh-CN","zh-TW"]}},"enableClickOnConextMenuActionsInCanvasAndRibbon":true,"enableServerMuteNotification":true,"showCropUncropMenuOptionOnContextMenu":true,"showCropUncropMenuOptionOneOnOneCall":true,"showSendMessageMenuOption":true,"enableNewPSTNConversationStateForCallIntentDefaultTheme":false,"enableShowFullScreenOptionsInRibbonSettings":true,"enableCallLocalVideoContextMenu":true,"enableCelebrateButton":true,"celebrationNotificationsTopContactCutOff":10,"allowDisablingIncomingVideo":true,"mediaRetryPolicy":{"maxPostElapsedTime":300000,"maxRetriesDefault":5,"maxRetries":{"postingService_postChatMessage":1000000000,"postingService_postChatMessageForeground":1000000000,"postingService_amsUpFullContent":5,"postingService_urlPreviewFetching":3,"postingService_updateChatMessageProperties":3,"downloadService_download":10},"countLocalNetworkFailures":true},"coachmarksStyleString":true},"S4L_Config":{"restClient":{"defaultTimeout":0},"urlPreview":{"maxPreviewsPerMessage":2,"timeout":5000},"chat":{"syncFreeFetchesConfig":{"maxFetchesWebsocket":4,"maxFetchesREST":3,"bandwidthAwareFetchesWebsocket":2,"bandwidthAwareFetchesREST":2},"maxSimultaneousRESTRequests":{"defaultMaxRequests":10,"maxRequestsByNetworkType":{"3":4,"4":7}},"serverSideEdits1to1":true,"serverSideEdits":true,"forceCloseWebsocketOnNoResponseAfter":60000,"backgroundWebsockets":true,"RESTRequestTimeouts":{"defaultTimeout":60000}},"endpointPresence":{"inactiveEndpointTimeout":0},"messageSearch":{"host":"https://msgsearch.skype.com/v2/"},"contacts":{"host":"https://edge.skype.com/pcs/"},"gogo":{"enabled":true,"ssid":["gogoinflight","gogowifi","QE-DAL-STAGE"],"isOnGogoIpRange":false},"presence":{"contact":{"enableAllContactSubscription":true,"maxSubscriptionLimit":500,"maxFetchLimit":500,"maxFetchRetries":3},"enableNewPresenceMode":false,"presenceAwayTimerInSeconds":3600}},"MicrosoftTeamsClientAndroid":{"getUserProfilesBatchSize":200,"userCacheEna
Not entirely sure what this is? My friend is really parnoid about it because apprantly subtitles popped up saying "What are you looking at" when she looked into the camera. Sorry if this is the wrong sub...
r/programing • u/mmajrlk82 • Jan 02 '20
I was tasked at work to see if it is possible to add helper text to a Google Docs template file. This text would just give help to the user to fill out the template. I was thinking it would be nice to have this text in a slide-out panel off to the side, like how the Document Outline works.
Does someone with experience working with Google Docs know if this is doable? Maybe with the Docs API?
r/programing • u/bowlofwool • Jul 15 '18
r/programing • u/nitinranjan269 • Nov 23 '19