DEV Community

Andrew (he/him) profile picture

Andrew (he/him)

Got a Ph.D. looking for dark matter, but not finding any. Now I code full-time. Je parle un peu français.

Education

Ph.D. in [Astroparticle] Physics

Work

Software Development Engineer III at Workday

Last 250 comments

Introducing Regcode - Create Regular Expressions Easily with Code

In a similar vein, this reminded me of the Rosie Pattern Lang...

Building a Raspberry Pi Hadoop / Spark Cluster

I don't know how how the 8GB ones would run (pretty hot, I im...

Building a Raspberry Pi Hadoop / Spark Cluster

In this setup, yes, there is enough space (a few mm above the...

My Public Inbox

What advice do you have for an American moving to Canada?

Using Bitwise Operators: Why Waste Space Use Many Bits When Few Bits Do Trick?

Upvoted on the title alone

5 Tips for Writing Articles People Will Want to Read

Hi. I recommend that you don't work for a website that helps ...

Code: The Hidden Language of Computer Hardware and Software by Charles Petzold

My favorite CS book by far 😍

Implementing a Ternary Operator in Scala

Fair enough! So what you're saying is you'd have the ifTrue a...

Implementing a Ternary Operator in Scala

This is nicer, but it only works if ifTrue and ifFalse have t...

What's your most embarrassing coding story?

I think most people tend to make their biggest mistakes a few...

🇬🇧🕵️ GDPR, can I avoid that giant preference modal?

I think most companies do that just to make it extremely obvi...

5 Tips for Writing Articles People Will Want to Read

Hit the ellipsis ... button at the bottom of the page, next t...

5 Tips for Writing Articles People Will Want to Read

I don't blame you. I didn't either 😁

Getting a Hey Invite Code using a Twitter Bot

en.wikipedia.org/wiki/Purchasing_p...

What's your most embarrassing coding story?

On GitHub, I think there's an option to forbid force pushing ...

What's your most embarrassing coding story?

That's a good story! But those poor cows :-(

What's your most embarrassing coding story?

I still do this sometimes. It just goes to show how helpful s...

What's your most embarrassing coding story?

I'm intrigued

What's your most embarrassing coding story?

I remember doing this really early on, too. One thing I remem...

What's your most embarrassing coding story?

"No code" before it was trendy 😁

What's your most embarrassing coding story?

It really was the wild west before test automation...

What's your most embarrassing coding story?

Sounds like the first words of a "PHP Programmers Anonymous" ...

What's your most embarrassing coding story?

Surely someone has created the DEV logo in one div with just ...

What's your most embarrassing coding story?

I only recently started working with microservices and I thin...

What's your most embarrassing coding story?

all senior devs left the team when I joined That sounds su...

What's your most embarrassing coding story?

💀 Do you remember what you were updating at 4am? I can't eve...

What's your most embarrassing coding story?

no backup *shudder*

What's your most embarrassing coding story?

Oh man, I know the feeling. I've gotten CI/CD pipeline failur...

Manage multiple Java versions on Linux

(I used to use jEnv, too, until I discovered SDKMAN! I haven'...

Manage multiple Java versions on Linux

+1 for SDKMAN! Changed my life. It's stupid easy to download ...

Super Simple Markdown

Je travaille pour une entreprise appelée Workday. L'entrepris...

How much coffee do you drink?

Americano with one spoon of sugar per 12oz give or take, and ...

How much coffee do you drink?

Too much. At least 5-6 cups per day.

Do we really need getters/setters?

Private fields with getters and setters that do nothing other...

Do we really need getters/setters?

It's unusual, for sure, but so is directly getting and settin...

Do we really need getters/setters?

Getters and setters are used when data needs to be encapsulat...

Daily Challenge #254 - The Vowel Code

A nice, simple, symmetric solution in Scala: val toIndex = ...

Imperative vs Declarative Programming

Imperative and declarative programming are similar to the imp...

Code is Political

Interesting choice of counterexample, since agriculture is on...

Code is Political

en.wikipedia.org/wiki/Synecdoche

Code is Political

No, but you're welcome to write your own article in response.

Code is Political

Right. Code has the power to do tremendous good, but also tre...

Code is Political

"First they came for the socialists, and I did not speak out—...

I Wrote a BrainF*** Interpreter and REPL in TypeScript!

🤓

Why No Modern Programming Language Should Have a 'Character' Data Type

@mortoray with the smart commentary, as usual 😎

Why No Modern Programming Language Should Have a 'Character' Data Type

Zalgo is just an extreme form of combining marks / joiner cha...

Why No Modern Programming Language Should Have a 'Character' Data Type

UTF-8 tries to straddle performance and usability. By using a...

Why No Modern Programming Language Should Have a 'Character' Data Type

You're right. When UTF-16 was introduced, it was fixed-width....

Why No Modern Programming Language Should Have a 'Character' Data Type

This is, I think, the compromise that comes closest to making...

Why No Modern Programming Language Should Have a 'Character' Data Type

I think 4-byte len UTF-8 is possible (not essentially max to...

Covid-19 India Tracker Shiny WebDashboard in R

Hey Mrinal, it looks like the link is broken. I think you're ...

ELI5: What is an API?

You can think of the API as the "surface area" of the library...

20 Most-Recommended Books for Software Developers

I thought about this as I was making this list, but wasn't ab...

Daily Challenge #236 - RGB to Hex Conversion

A similar solution in R rgb <- function(r, g, b) { h &...

Daily Challenge #236 - RGB to Hex Conversion

Scala, providing the shortest and most elegant solution so fa...

Daily Challenge #233 - Get Planet Name by ID

switch statements don't exist in Python like they do in some ...

State of Markdown Editors 2019

Looks promising! Once they get an Android version, I'll tes...

How to manage multiple Java JDK versions on macOS X

Hey Marc, you should check out SDKMAN!, you can easily swit...

What was your win this week?

I made a little COVID data explorer app using R Shiny! aww...

Java Daily Coding Problem #006

Thanks Abby! Glad you liked it.

Tell us what your top unpopular tech opinion is 😈

<marquee> is the only useful HTML tag

All Pluralsight Content is Free in April

Hi Jeremy, am I correct in reading that this only allows up...

Are newer developers pushed too exclusively towards web development?

Speaking as someone who's not a web dev, I feel like nearly...

How to delete a file permanently in git

Tell your collaborators to rebase: $ git rebase ...t...

Wouldn't it be cool if DEV could render LaTeX?

∫(ωοwtℏαt′s⋅amazing)∫ \int\left(\frac{\omega \omicron^w...

Scala Daily Coding Problem #002

Smart! You can avoid calculating and then removing that extra...

Scala Daily Coding Problem #001

Thanks for pointing that out! How would you solve this in a...

20 Reasons to Move On from Java 8

Yeah, Hadoop still doesn't work on Java >8, as far as I ...

Travis: Unable to Evaluate Symlinks in Dockerfile path

I'm going through the same tutorial on Udemy and hit the same...

Java Daily Coding Problem #004

What are the time and space complexities of your solution?

Just launched our first product called FelloWage 🎉

How does this improve on Glassdoor?

What I Learned From Bombing An Amazon Coding Assessment

It depends on the rules of the specific challenge. It's alw...

what should be best technology stack for R project?

You should look into shiny. With shiny, you can connect to ...

Found My Old Zune... What Should I Do With It?

I KNOW. What an investment.

Who are your favorite writers here on DEV?

Thanks for the shout-out, Jean-Michel!

Hello World! (first post, what's this?)

I haven't! It looks interesting, though, thanks for bringin...

Anybody keeping up with TruffleRuby?

I know the Truffle languages are built for GraalVM, a new p...

Recursive Programming in a Nutshell

This is a nice introduction to iteration vs. recursion. It ...

Hello World! (first post, what's this?)

Hey rodolphito, how's it going? I write about a lot of diff...

My DEV birthday gift for you: DEV.to Analytics!

This is great, Sandor, thanks! DEV has a "premium" mode whe...

Writing Documentation

Documentation is one of those things that seems obvious unt...

Light Switch

Cute! Would be good for dark mode / light mode switching!

3 Things I wish I'd spent more time on in my first year of uni

My advice is to do as many different things as you can. Go ...

The Power of Regular Expressions

The only regular expression here is #(\d+) which look...

The Power of Regular Expressions

This one? ^https?://([^/]*)/([^/]*)$ Here's an explan...

Team Lead’s Guide: How to Deliver Software Effectively

Thanks for this, Irek. Definitely worth referring back to r...

Book review: The Unicorn Project

Thanks for the review, Raoul! I'll have to add this to my r...

Confessions of a Conference Attendee

I saw your tweet but didn't realise you were on DEV, too! F...

I built just the ultimate content aggregator with python3

Looks great! A bit of formatting to spruce up the emails co...

Introducing "Dead Simple Python"

I don't know how I'm only discovering this series now. It l...

Announcing TinaCMS

Is... Is this named after the llama from Napoleon Dynamite?

Java is Dead - Long Live Java

This is a great article, Jan, thanks for writing it! I have...

The DRY Principle Reexamined

DRYOTCAY Catchy! Seriously, though, some good advice he...

Software Quality Defense in Depth

Sounds interesting, Matt! Looking forward to it!

The single most timesaving bash shortcut

If you like that, check out popd and pushd

20 Intriguing, Unusual, and Goofy Programming Languages

No worries! It is Monday, after all

20 Intriguing, Unusual, and Goofy Programming Languages

It does?

An introduction to CSS Variables

Thanks for this introduction, Alberto! 🔖 bookmarked!

CSS Quickies: border-radius

MAXIMUM ROUND

CSS Quickies: border-radius

This is a great series, Michael, thanks for writing it. I'v...

How To Tackle A Technical Interview By Using Soft Skills

Some great tips here!

JS == vs ===

=== vs. == is how JavaScript implements equality vs. equiva...

Why I Don't Use Foo/Bar/Baz

Thankfully, it seems like the community is, on the whole, m...

DEV is Amazing for me, it changed my entire career

Congrats on the job, Aashir! 40k+ views on a post is really...

DEV is Amazing for me, it changed my entire career

Unfortunately, there are some bad apples who can make the c...

A guide to accessing databases in Java

Wow! What a comprehensive guide! Thanks for writing this! ...

How To Hack Your Resume Experience Section with "WOW-Effects" and Get Hired

Great tips, Alex. I've bookmarked this for future reference...

I promise you'll know promises after this

Nice intro! Are there any mechanisms in JavaScript to preve...

WTF is "Developer Focused"?

So do you think that only organisations and companies which...

Intro to Linux for New Developers

Great intro, Amber! For anyone interested, Ubuntu is also a...

Spring Boot Part 1: Minimum Web Server, Devtools, and Actuator

This is a great resource. Thanks for writing it, Allen!

Add this to your project's README for maximum impact

Great tips, Nick! I also try to add code coverage, CI, and ...

Non-native English speakers of dev.to how do you keep your English skills sharp!

As a native English speaker, I just want to tell you all that...

#100DaysOfPython Day 1: Hello World, Data Types & Strings

Hi Tae'lur! I follow you on Twitter! Good to see you here o...

Learning programming on a Chromebook?

Would Raspberry Pi fit your use case? Without peripherals (ke...

20 Small Steps to Become a Regex Master

sed and grep are fantastic tools! 100% recommended!

What have you accomplished this decade?

It sounds like you overcame some incredible challenges, Jea...

20 Intriguing, Unusual, and Goofy Programming Languages

"...there is nothing new under the sun." [ source ] Emoj...

20 Intriguing, Unusual, and Goofy Programming Languages

Thanks for the clarification, Mike! I need to do some more ...

📈 What is the size of dev.to community we could expect in a year?

Hey Alex, planning on doing a follow-up post soon?

Should I change from Windows 10 to Ubuntu?

It's really a personal preference, I think. Why are you con...

20 Intriguing, Unusual, and Goofy Programming Languages

Aren't functions, strings, and numbers just particular kind...

20 Intriguing, Unusual, and Goofy Programming Languages

So are APL and Q#. I included them because I thought they w...

I'm programming a sumobot with the world's safest programming language

Yeah formal verification is really neat. Like type-checking...

I'm programming a sumobot with the world's safest programming language

This sounds really cool, Blaine. I've read about SPARK in A...

What have you accomplished this decade?

Nice! What kind of video games? Retro or modern? PC or cons...

Apples announces new 16-inch Macbook Pro

Oh god I'm not ready to spend $3k on a laptop.

What have you accomplished this decade?

Do you have a practice space where you live for your instru...

20 Small Steps to Become a Regex Master

Happy to hear that, Prashant! Thanks for reading!

20 Small Steps to Become a Regex Master

Thank you for reading!

20 Small Steps to Become a Regex Master

Yeah the photo is of the chapel at Thanks-Giving Square in ...

20 Small Steps to Become a Regex Master

A classic

Why is our source code so boring?

Morgan Freeman reading LISP sounds terrible and soothing at...

Why is our source code so boring?

Fair enough, the idea of "information density" was discusse...

Why is our source code so boring?

Code is interpreted and understood differently in our brai...

Why is our source code so boring?

The funny thing is, APL probably has a higher "information ...

Why is our source code so boring?

A quiputer. 😉 I suppose that's true re: writing. But surel...

Why is our source code so boring?

I see your point, but it's still just different characters ...

Building a Raspberry Pi Hadoop / Spark Cluster

Looks nice! Thanks, Razvan!

20 Ways to Fight Impostor Syndrome

Thanks Jamie!

20 Ways to Fight Impostor Syndrome

Every viewpoint is valid, Navid. Even if you're still just ...

20 Ways to Fight Impostor Syndrome

Similarly, there are things I was great at 5 years ago that...

20 Ways to Fight Impostor Syndrome

Dev had a mentoring program, but it's been discontinued unf...

Darwinism in Programming Language Proliferation

The tl;dr of the article is that: C is still going strong...

Share your favorite Halloween tunes!

A classic:

Starting my journey!

Write things down! That's my best advice for remembering th...

Why I'm sort of leaving Linux

Relevant. 😉

Why I'm sort of leaving Linux

I know, but it's at basically the same price point. I wante...

Why I'm sort of leaving Linux

It's good to be critical, but I think Microsoft is making s...

Why I'm sort of leaving Linux

They're overpriced but they're gorgeous. More of a status s...

How can I upload pdf files in Egnyte using Rest API and Java

This is a very specific question. Could I ask why you need to...

Give Your Terminal Super Powers: tmux Cheatsheet!

tmux is one of those things that -- along with Git -- seeme...

Why Dev.to?

This is a great read, Adam. Thanks for writing it. I think...

State of Markdown Editors 2019

I'm still using it since I wrote this post and the single t...

Welcome Thread - v46

Medium's the worst

My home office is coming along nicely

The people have spoken @ben

20 Fantastically Bad Predictions Made About Computing and Technology

Related: qr.ae/TWo1hM

My home office is coming along nicely

If I may make a suggestion:

20 Fantastically Bad Predictions Made About Computing and Technology

Unfortunately, we'll always be limited -- to some extent --...

20 Fantastically Bad Predictions Made About Computing and Technology

I need the shiny, Jason. I need it.

What was your win this week?

Sometimes the little things are the most important

What was your win this week?

My team at NIBRT won the "Small Project of the Year" award ...

What does a dev's personal website need to include?

I do back-end work and my site is just a "hub" which refere...

For fun, how infinite can we go?!

Those notifications though

For fun, how infinite can we go?!

It's my birthday!

Joyeux anniversaire :)

I think Dev's server is down...

They should unionize!

Simulating millions of particles to create the Sun

Looks great, Darren!

Which dev.to loading GIF do you prefer?

Pulse 1, for sure

Can we separate the artist from their art? Should we?

That's probably the best approach. Different levels of acce...

Using Levenshtein Distances to Find Similar Strings

Have you thought about possible improvements to the algorit...

Can we separate the artist from their art? Should we?

I would say so, yes. Others may disagree with me, of course...

Can we separate the artist from their art? Should we?

Also, related: en.wikipedia.org/wiki/Godwin%27s_law

Can we separate the artist from their art? Should we?

You're the one who drew a direct line from Sonmez to Stalin...

Can we separate the artist from their art? Should we?

This Wagner?

Underrepresented Authors Promotion Thread

That's probably a bias on my part, as I only searched Engli...

Can we separate the artist from their art? Should we?

That's a different issue, because those were very impactful...

Can we separate the artist from their art? Should we?

What church arsonists do you listen to? It's not Mayhem, is...

Can we separate the artist from their art? Should we?

Thanks, Joe. That's sort of my opinion on the matter. Obvio...

Can we separate the artist from their art? Should we?

I think you're right that it's a case-by-case basis sort of...

Can we separate the artist from their art? Should we?

Yikes. Didn't know about the YouTube channel. This guy is a...

Installing and Running Hadoop and Spark on Windows

Hi Chinanu. I haven't encountered an error like this before...

Is anyone else interested in #esolangs?

That's neat! And to have written it all in Assembly... I'm ...

Is anyone else interested in #esolangs?

GET TO THE CHOPPER

Is anyone else interested in #esolangs?

I consider Shakespeare and Chef to be in the same category ...

DEV, meet Site Reliability Engineering

Congrats Molly! I should have suspected a move to Dev when ...

The 7 Most Popular DEV Posts from the Past Week

Thanks for the shout-out!

Is anyone else interested in #esolangs?

I've never heard of that one!

Is anyone else interested in #esolangs?

I love the idea of hiding a Whitespace program within anoth...

20 Most-Recommended Books for Software Developers

Yeah that's fair enough. If you assume that the reading hab...

20 Most-Recommended Books for Software Developers

Thanks for the recommendations, Jason. I'll add them to my ...

20 Most-Recommended Books for Software Developers

That is The Long Room in the Old Library at Trinity College...

20 Most-Recommended Books for Software Developers

I tried to read it and it's so dry I am now a shrivelled hu...

Has Stack Overflow Become An Antipattern?

One thing that SO desperately needs is a way to "update" an a...

20 Most-Recommended Books for Software Developers

Mine hasn't been delivered yet! Pre-ordered though 😎

Announcing: 20 Lists for 2020

I will, Jean-Michel! It doesn't show up if there's only one...

This is probably the funniest Codepen I found this year!

That's awesome!

Java Developers, What's in Your Toolkit?

How do you like GraalVM? Do you actually use it for polyglo...

🎧 Do you listen to music while you code?

Instrumental music is my favorite for coding, too. Lyrics a...

Java Developers, What's in Your Toolkit?

Haha, all these packages have ridiculous names nowadays, yo...

Java Developers, What's in Your Toolkit?

What's Javalin? I'm not sure I've heard of that one before

Java Developers, What's in Your Toolkit?

It looks really neat! I'll have to play around with it. Tha...

Java Developers, What's in Your Toolkit?

I haven't had the pleasure of working with Jira yet, though...

Java Developers, What's in Your Toolkit?

We're setup twins! Though all these comments here have me w...

Java Developers, What's in Your Toolkit?

Good ol' Apache Commons. Failsafe looks interesting... cou...

Java Developers, What's in Your Toolkit?

Is "Manual" a tool or are you actually doing everything by ...

Java Developers, What's in Your Toolkit?

I guess I'm moving to Gradle and IntelliJ, haha! Does Kotli...

Java Developers, What's in Your Toolkit?

That testing framework with Testcontainers sounds awesome, ...

Java Developers, What's in Your Toolkit?

Thanks, Jean-Michel! And thanks for the discussion with Cor...

Java Developers, What's in Your Toolkit?

I'll definitely check it out! How, specifically, does it im...

Java Developers, What's in Your Toolkit?

Ooh, what's GitKracken?

Java Developers, What's in Your Toolkit?

Do you ever run into problems with lack of support for Grad...

Java Developers, What's in Your Toolkit?

I've seen a lot of support for IntelliJ... is it that much ...

Java Developers, What's in Your Toolkit?

Ive never used Gitea... how does it compare to GitHub?

Java Developers, What's in Your Toolkit?

Why so passionate about Gradle? I thought Maven was the de ...

Java Developers, What's in Your Toolkit?

Yeah I meant it more as "trying to get a flavor for" Androi...

Java Developers, What's in Your Toolkit?

I've never heard of Team City, what is that?

5 Best Free Note Taking Apps for Programmers

This is what I use. It's great, and really easy to get used...

Fuzzy branches: a brief example of a git custom command.

Leeeeeeeroyyyyyyy Jenkins

Sued for Being Inaccessible

Your post looks fantastic, Ben. I'll have a read.

Sued for Being Inaccessible

"The ADA covers employers with 15 or more employees, inclu...

Daily Hacktoberfest Miscellaneous discussion (October 5th)

Just finished building this Chrome extension to shave about...

#RoastMySetup

Maybe one exists, but I haven't yet found a way to quickly an...

Feedback on Small Java Package

Yeah I'm sort of fighting against OOP here. I don't want to...

Feedback on Small Java Package

Great tip!

Java Daily Coding Problem #008

If there's one thing Java ain't, it's succinct. Great solut...

Introducing Caligator: A Simple Yet Powerful Open-Source Calculator & Convertor

That's slick

Introducing Caligator: A Simple Yet Powerful Open-Source Calculator & Convertor

Maybe you can draw some inspiration from the Wolfram|Alpha ...

Shareable CLI demo?

Better than rewriting the whole thing in JavaScript, though...

Shareable CLI demo?

Can you cut and paste the relevant bits into a file? And in...

Shareable CLI demo?

Have you considered repl.it?

Building a Raspberry Pi Hadoop / Spark Cluster

Did you follow these steps? Create the Directo...

Feedback on Small Java Package

There are example ones in the package! at src/main/resourc...

Installing and Running Hadoop and Spark on Windows

Hadoop uses JAVA_HOME to determine where your Java distribu...

Installing and Running Hadoop and Spark on Windows

I don't, sorry, David. I'm not sure why that should be hard...

Installing and Running Hadoop and Spark on Windows

Maybe it's doing something with your working directory path...

Installing and Running Hadoop and Spark on Windows

Are there any spaces on your %PATH% at all?

Installing and Running Hadoop and Spark on Windows

Hadoop doesn't like spaces in paths. I think the only thing...

Installing and Running Hadoop and Spark on Windows

I would start from scratch, and make sure the correct versi...

Installing and Running Hadoop and Spark on Windows

So start-dfs.cmd works, but start-yarn.cmd doesn't? Weird. ...

Installing and Running Hadoop and Spark on Windows

Huh. Can you run: C:\> dir C:\BigData\hadoop-2.9.1\sbi...

Installing and Running Hadoop and Spark on Windows

Okay, I think we're getting close. Can you echo %PATH% and ...

Installing and Running Hadoop and Spark on Windows

Right, so hadoop is working fine. yarn isn't a command that...

Installing and Running Hadoop and Spark on Windows

These error messages are giving you hints about what's goin...

Installing and Running Hadoop and Spark on Windows

Hi David, It sounds like you're trying to run this program...

loading...