Înapoi la articole →

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 108
  1. Stow

    I recently migrated my dotfiles from rcm to GNU Stow.

  2. URI Encoding

    I had to URI-encode the components of a URL in node the other day.

  3. Codeberg

    GitHub’s enshittification has gotten entirely out of hand.

  4. Setup Actions Don't Scale

    I see a lot of this-setup or setup-that GitHub actions around.

  5. Endo Configo

    Semigroups are, quite possibly, my favorite part of Haskell.

  6. Haskell Coverage Reports

    Test coverage is a tricky topic.

  7. Reader for Free

    This may be obvious or well-known to some, but I discovered the other day that you can make a MonadReader env instance for any MonadState env m trivially.

  8. Phantom Types and Globbing Bugs

    I love concrete examples that illustrate the day-to-day of the professional Haskell programmer, and show the inspiration for that entirely-untrue quip, “if it compiles, it works”.

  9. Some may say that you shouldn’t write shell beyond a certain, very low bar of complexity.

  10. Caching Docker Layers on CI

    For as long as I’ve built Docker images on CI, I’ve fought the layer caching problem.

  11. GoogleEmail2 Deprecation

    I maintain an Auth plugin for authenticating with Google OAuth2 in a Yesod application.

  12. Haskell Project Checklist

    The following are all the things I want in place for a Haskell project.

  13. In a recent effort to keep my latest laptop more standard and less customized, I’ve been experimenting with XTerm over my usual choice of rxvt-unicode.

  14. Deleting Git Tags with Style

    Deleting Git tags that have already been pushed to your remote is something I have to google literally every time I do it; why the invocation is so arcane, I don’t know.

  15. tee-io Lessons Learned

    A while back, I launched a side project called tee-io.

  16. While reading Understanding Computation again last night, I was going back through the chapter where Tom Stuart describes deterministic and non-deterministic finite automata.

  17. Applicative Functors

    Every time I read Learn You a Haskell, I get something new out of it.

  18. Writing JSON APIs with Yesod

    Lately at work, I’ve been fortunate enough to work on a JSON API which I was given the freedom to write in Yesod.

  19. Random Numbers without Mutation

    In lecture 5A of Structure & Interpretation of Computer Programs, Gerald Sussman introduces the idea of assignments, side effects and state.

  20. Hspec is a BDD library for writing Rspec-style tests in Haskell.

  21. In my continuing efforts to strip my computing experience of any non-essential parts, I’ve decided to ditch my statusbars.

  22. On Staticness

    For almost 7 years, now I’ve had a desktop at home, running, serving (among many things) my personal blog.

  23. Mocking Bash

    Have you ever wanted to mock a program on your system so you could write fast and reliable tests around a shell script which calls it?

  24. Email Encryption

    The recent hullabaloo with Snowden and the NSA is very scary.

  25. The Advent of IO

    What if we wanted to write a Haskell program to behave something like this: $ runhaskell hello.hs Hello who?

  26. Cloud Music: A Comparison

    For the longest time, my interaction with music was via MPD.

  27. Parsing DATABASE_URL

    A while back, I made a post about deploying yesod apps to heroku.

  28. For the Library Authors

    Recently, Yesod released version 1.2.

  29. Faster Mail

    I hear and see a lot of passing complaints about dealing with a large amount of mail.

  30. Disable All The Caps

    If you’re like me and absolutely abhor the Caps Lock key, you’ve probably figured out some way to replace it with a more suitable function.

  31. Aurget v4

    Aurget was one of the first programs I ever wrote.

  32. Chromebook

    I’ve heard rumors that a Google Chromebook can make a surprisingly sweet machine for a developer.

  33. Chruby

    Once I start my new job at thoughtbot, I’ll be working on a variety of ruby and rails projects at the same time.

  34. Hard Mode

    Recently, while watching Corey Haines and Aaron Patterson pair-program, I heard Mr.

  35. Testing POROs In Rails

    A lot of smarter people than I have come up with the idea that moving your business logic out of framework based classes and into Plain Old Ruby Objects (POROs) is a Good Thing.

  36. Systemd-User

    BIG FAT WARNING One thing to note, and the reason why I’m no longer using this setup: screen sessions started from within X cannot survive X restarts.

  37. Git-SVN

    If you work on a project that’s been around for a while, chances are it might still be using SVN for version control.

  38. Easy Change

    for each desired change, make the change easy (warning: this may be hard), then make the easy change — Kent Beck, September 25, 2012 Here’s some code from our main application helper.

  39. Dvd2iso

    My latest bash-to-ruby rewrite was dvdcopy to dvd2iso.

  40. The following was written for [issue 7][issue] of Web & PHP magazine.

  41. Extension by Module

    Ruby’s open classes are great for adding behavior to existing objects.

  42. Fake S3

    Fake S3 is a gem designed to run a small server on localhost that will correctly handle AWS/S3 GETs and PUTs (among others) while using the local filesystem as the storage backend.

  43. Deploying Yesod Apps On Heroku

    Update This post describes compiling a Yesod application locally using a VM to achieve the compilation on a Heroku-like machine, then pushing the binary up to Heroku to be run.

  44. Sharpening Your Tools

    Regardless of what editor you choose or how deeply you decide to extend or configure it, the most important thing for a professional programmer regarding her tool set is awareness.

  45. I’m a big fan of Avdi Grimm’s thoughts about writing confident ruby.

  46. Vagrant

    Despite the enormous increase in popularity lately, it seems some people still don’t know about this project or how it can improve your development work-flow.

  47. Raury

    tl;dr: it’s just like aurget but more stable and faster Developing aurget was getting cumbersome.

  48. Console TDD with String IO

    If you write console based applications in ruby, chances are you’re going to want to get some test coverage on that eventually.

  49. Yesod Deployments with Keter

    Keter is Michael Snoyman’s answer to the Yesod deployment “problem”.

  50. Maybe In Ruby

    Sometimes it’s fun to do something completely useless.