One of the things I liked about Perl was string interpolation. If you use a variable name in a string,…
Continue Readingstring
Build a Scalable Search Engine for Fuzzy String Matching
Actually we match 9 n-grams exactly. Lets just build a lookup dictionary then. First we map all n-grams to all…
Continue ReadingCleaning PySpark DataFrames
Yes, there is an empty cell in literally every row. Here's where we benefit from passing column names to subset:df…
Continue ReadingMaybe don’t use StringBuilder
But, as long as I was testing things, I thought I would add in String. Format and string iterpolation just…
Continue ReadingComparing C# Serialization Techniques: Be wary of XML
Comparing C# Serialization Techniques: Be wary of XMLMorgan KenyonBlockedUnblockFollowFollowingJun 17Photo by NASA on UnsplashIf you do any type of web programming, serialization…
Continue ReadingText Processing Is Coming
Text Processing Is ComingHow to use Regular Expression (Regex) and the Natural Language Toolkit (NLTK) on Game of Thrones Book 1Madeline McCombeBlockedUnblockFollowFollowingJun…
Continue ReadingCode Cards: How to Use Python String Literal Modifiers
Code Cards: How to Use Python String Literal ModifiersLearn this simple technique for modifying the behavior of Python stringsJonathan HsuBlockedUnblockFollowFollowingJun 3..…
Continue ReadingPandas for Football Player Value
Pandas for Football Player ValueA Web-Scraping and Pandas Guided TutorialStephen FordhamBlockedUnblockFollowFollowingJun 1In Football, January offers a chance for teams in the League…
Continue ReadingWorking with strings in JavaScript
Working with strings in JavaScriptNikhil SwainBlockedUnblockFollowFollowingMay 15HTML is a text-based, so if you’re reading or writing data on a web…
Continue ReadingSwift Basics
This is not fair. Age is an integer why are you declaring it as String you may ask. Well, we…
Continue ReadingHow to make HTTP requests in Flutter
How to make HTTP requests in FlutterSuragchBlockedUnblockFollowFollowingMay 18This is a repost of an answer I wrote on Stack Overflow. This answer…
Continue ReadingUnder the Hood of C# Alias Types and Namespaces
Code helping deal with Input/Output needs. C# must be able to locate your classes in order to compile and run…
Continue ReadingModel-View-Controller (MVC) Explained with Food, Because Food is Delicious
Well obviously asking your bread basket to replicate won’t accomplish much. You would need to ask the server for more…
Continue ReadingPython eval function — the right and wrong way
Python eval function — the right and wrong waySolomon AkinyemiBlockedUnblockFollowFollowingMay 13Whilst optimising a program I wrote about a year ago, I came across…
Continue ReadingGenerating BI Reports on Encrypted Data using Azure Databricks
Generating BI Reports on Encrypted Data using Azure DatabricksProsenjit ChakrabortyBlockedUnblockFollowFollowingMay 7Data encryption in cloud is an important factor for the…
Continue ReadingIntro to C++: Managing Arrays & Strings
shEOSBlockedUnblockFollowFollowingMay 1What’s in an Array?An array is a variable that can store multiple items of data unlike a regular variable that…
Continue ReadingA Scala tutorial for Java developers
A Scala tutorial for Java developersDima StatzBlockedUnblockFollowFollowingApr 20IntroductionI was asked to prepare a 30-min presentation about the Scala programming language.…
Continue ReadingVaex: A DataFrame with super strings
Three ingredients are involved: C++, Apache Arrow and the Global Interpreter Lock GIL (GIL). In Python multithreading is hampered by…
Continue ReadingChords, Conversations and the Kotlin Client Library
From our intent functions we used the provided data to call the handleChordRequest function — this is what is going to fetch…
Continue ReadingBig data analytics: Predicting customer churn with PySpark
They could be subscribing to a competitor’s business, or abandoning the service altogether. Design by Artpunk101In case you missed it,…
Continue ReadingIntroducing Google Guava
You don’t want empty strings to be part of my result. So, split() method is leaving something to be desired.…
Continue ReadingDeclarative deployment for AEM application
Declarative deployment for AEM applicationThanhBlockedUnblockFollowFollowingMar 12The objective of this article is to describe how to create an AEM-CLI (AEM Command…
Continue ReadingUnderstanding Variables and Constant in PHP
”;$bool = false;print “Bool is set to” ;print (int) $bool;This time the script output 1 and 0 as we wanted.…
Continue ReadingHow to Unmarshal an Array of JSON Objects of Different Types into a Go Struct
How to Unmarshal an Array of JSON Objects of Different Types into a Go StructAlain DroletBlockedUnblockFollowFollowingMar 2AbstractThis article describes a way…
Continue ReadingDecode JSON in Swift with intermediate types
Decode JSON in Swift with intermediate typesJeroen de VrindBlockedUnblockFollowFollowingMar 1Photo by Jantine Doornbos on UnsplashThe BasicsTo decode a JSON structure and…
Continue Reading