DEV Community

loading...
sam profile picture

sam

i don't like webdev.

Work

Software Engineer at Ground.Work

All 32 comments

CSS focus powered dropdown menu

well that's a bummer--there's no shim or any other option?

CSS focus powered dropdown menu

It doesn't seem to work on ios chrome?

What to Except When You're Excepting: Python error handling dos & don'ts

yeah, depending on what you're trying to do—if everything's d...

What to Except When You're Excepting: Python error handling dos & don'ts

potentially! but like i said, it might be worth refactoring t...

What to Except When You're Excepting: Python error handling dos & don'ts

technically you don't, in this case, because of the return. b...

Solving Algorithm Challenges in Haskell: Anagrams

You could use Control.Monad.replicateM_ instead of your hand-...

Daily Challenge #251 - Largest Number in a Sequence

import Data.List (tails) digit5 :: Int -> Int digit5 = max...

What types of features typically lead to lots of tech debt?

I've worked at a lot of places with a lot of tech debt and af...

What apps do you use for development?

ubuntu 20.04, neovim, chromium

Daily Challenge #225 - Square'n'Sum

Point free baby! import Data.Monoid (Sum(..)) squareSum ...

Daily Challenge #78 - Number of Proper Fractions with Denominator d

import GHC.Real (Ratio(..)) isProper n x = let (a :% b) = ...

Daily Challenge #53 - Faro Shuffle

import Control.Arrow (arr, (&&&)) faroShuffle ...

What was your win this week?

This week, I got a new job! I'd been out of work for a few ...

Calling all Full-Stack Haters

What they really meant, was "come do two jobs for us at the s...

Functional program boundaries

the boundary in haskell is main, not do, although that has ...

It's wrong to treat "Draft" mode as a state on the way to "Final"

depending on specifics, you might want to consider composit...

If you could only achieve one thing as a programmer during the next year, what would it be?

huge reach: get paid to do something besides django margina...

What’s a concept you understand now, but took you forever to grasp?

monads!

Why is your preferred programming language your go-to?

I actually looked into Elm--it's got a lot to recommend it,...

Why is your preferred programming language your go-to?

i write python for my job, but if i had my druthers i'd be ...

why branching on git is wrong

writing new features and integrating them into preexisting ...

What are the hardest programming languages you have ever learned?

if i might: use stack the only language extension you shoul...

Do you like JavaScript and for how long have you been working with it?

I've been dealing with js off and on for ~5 years. I used t...

Applicative functors in Haskell

I don't think your Either example will work as written--sin...

How to demo your localhost app using ngrok

They can say that, but without access to their source code ...

How to demo your localhost app using ngrok

Thanks for letting me know. I'm personally very uncomfortab...

How to demo your localhost app using ngrok

is ngrok open source?

Error handling - Returning Results

Results are great when they're supported by a language (e.g...

Which editor/IDE do you use and why?

vim! You get to feel smug and also it's basically guarantee...

What are your programming goals for 2017?

more haskell (I want to grok monad transformers) less Web d...

loading...