← Înapoi la Urmăritori

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 196
  1. I have a cron job that opens a program every day at a certain time.

  2. pbcopy, no cat

    My friend Josh recently wrote about a common mistake using pbcopy, Apple’s pasteboard utility.

  3. I recently learned a practice for customer communication that I’d like to document.

  4. Anytime Chrome loads a webpage, you can pause script execution without a debugger.

  5. One common trait among early-career programmers is seeing technology choices in black-and-white.

  6. My definition of “I don’t understand” debugging.

  7. I’ve been organizing Meetups for a decade, starting with Vim Chicago and Chicago Elixir, and now running Maine JS from Portland, Maine.

  8. My Annual Review 2024

    Here’s my annual review covering 2024.

  9. This post is about how to write software well.

  10. TONY: We should take this outside.

  11. I was the third engineer hired by my company, not counting our technical co-founder.

  12. Today I’d like to talk about a quality that’s essential to success as a computer programmer.

  13. Often, when you work as an engineer on a small team, you don’t have dedicated designers on staff.

  14. Our industry has a concept of “10x engineers”, individual contributors who have the impact of ten colleagues.

  15. If you’re creating a hyperlink with query params, and those param values can have plus signs, it’s important to encode them values.

  16. Sometimes in TypeScript we’d like to say a function can either have one typed prop, or the other, never both and never neither.

  17. Exploring your JS dependencies locally is a great way to learn and experiment.

  18. Filtering By Identity

    I’m reading Functional-Light JavaScript by Kyle Simpson, and learning a lot!

  19. If you’ve ever watched me debug, you might think I’m moving slowly.

  20. Reviewing code is tricky.

  21. Today I solved a mystery: a file was being Git-ignored in a new project that didn’t have a .gitignore.

  22. I’m using a JavaScript text editor library and when it fails to load, there is no form field on the page at all.

  23. Complex HTML forms often end up with multiple submit buttons.

  24. In Zsh, if you type man cd, instead of a manual page, you’ll get this: See the built-in command description in the appropriate shell manual page.

  25. Autofocus a Form Field

    autofocus is a global attribute that sets a field as focused on page load.

  26. When using radio, you might experience a strange phenomenon: the radio clock refuses to stay correctly set.

  27. When doing web programming in a context where scroll might be expected, you may see some surprising behavior in the scrollable HTML– an inexplicable gray bar on the bottom or right of the element.

  28. Today I had a situation where I wanted a child component to re-render on command.

  29. Be careful when making a network request like this to a Rails controller with strong parameters: // const employee = { name: "Jake" }; const updateEmployee = (id: number, employee: Employee) => axios.put<Employee>(`/employees/${id}`, employee) def empl…

  30. When testing a serialized Rails API with RSpec, a common mistake is to assert about the response body, only to find that it’s an empty string.

  31. Conditional Props

    Passing props conditionally a component makes sense in many situations.

  32. Want to connect a list of React components with a delimiter, like a comma?

  33. Suppose you want to append to a file that’s write-protected and can only be edited via sudo.

  34. Anytime you add a header to a markdown file, GitHub attaches an href with its downcased name.

  35. Reviewing a GitHub PR on that contains a lot of whitespace changes?

  36. The Chrome DevTools Network Tab is incredibly useful for frontend web development, but it can be noisy.

  37. I recently calculated that I merge 0.8 pull requests every day into my team repo.

  38. XCode Run Hotkey

    ⌘ + R.

  39. I’ve been a practitioner of Shawn Wang’s ‘Learn in Public’ for years.

  40. I recently hit a decade of professional programming.

  41. My Annual Review 2023

    Here’s my annual professional review covering 2023.

  42. React Router’s Link component isn’t just for internal links; it can work like an anchor tag, too, sending users outside the application.

  43. When you combine cat (concatenate) with > (output redirection), you can create and write to a file from the command line. $ cat > test.txt Hit enter after the file name, and your terminal will wait for input.

  44. With the new as const construct, we can derive a TypeScript union type from a JavaScript array!

  45. When I was learning to program, I was fortunate to pair with very experienced engineers.

  46. Open Chrome DevTools, and click the three dots in the top right corner.