Useful Uses of cat
When I write shell one-liners that transform the contents of some file, they often look something like
Following is a selection of the best articles based on various criteria. If you’re new here, they may be a good place to start!
Visit two-wrongs.com → RSS feedOn Hacker News Jun 2015 – Jul 2024
Software Engineering 4Tools & Productivity 3Programming Languages 3Systems & Performance 2Life, Learning & Writing 2Math & Algorithms 1
When I write shell one-liners that transform the contents of some file, they often look something like
any speed above, say, maybe 80 wpm , isn’t going to hinder anyone when trying to put anything into the computer
There are few pieces of software as widely misunderstood as Emacs. Emacs is frequently advertised and discussed as a text editor, but please be clear on this: Emacs is not just a text editor .
There’s some 2015 research out of Microsoft titled Code Reviews Do Not Find Bugs 1 1 Code Reviews Do Not Find Bugs; How the Current Code Review Best Practice Slows Us Down ; Czerwonka, Greiler, Tilford; IEEE International Conference on Software Engineering; 2015. which seems strangely named because reviewers do find…
I have been steeping myself in probabilistic exercises recently, because it’s an area where I feel like I could benefit from building better intuition. I have found a recurring key to solving many of them: conditioning on an intermediary state, and then computing the value of that intermediary state separately. This…
I have in front of me two books that immediately struck me with their similarity: The c Programming Language 1 1 The c Programming Language ; Kernighan & Ritchie; Prentice Hall; 1988. and The awk Programming Language 2 2 The awk Programming Language ; Aho, Kernighan & Weinberger; Addison-Wesley; 1988. Available…
I run the Ganglia Monitoring System on the home lan to keep an eye on temperatures, loads, disk usages, network throughput and such on the gateway and, more recently, my desktop workstation as well 1 1 The primary reason is that I have noticed some instability, and I would like to know if it’s related to temperature…
I sometimes get asked why I use Perl so much. Am I not a fan of strongly typed functional programming? Yeah, I am. Ask me to write something that is known, for sure , to become a big system and I’ll pick strongly typed functional programming without hesitation. 1 1 And, of course, put me in a team that uses Blub, and…
For the past few days, I have been toying with an idea for a board game. To test it out, I wanted to write a simple implementation of it. Here’s an example of a type we might need in a critical phase of the game.
I heard a story on the way to work this morning. This story starts out like many stories about software projects start out: with a weird specification.
I sometimes get asked why I use Perl so much. Am I not a fan of strongly typed functional programming? Yeah, I am. Ask me to write something that is known, for sure , to become a big system and I’ll pick strongly typed functional programming without hesitation. 1 1 And, of course, put me in a team that uses Blub, and…
Almost five years ago I wrote a brief history about .net on non-Windows platforms . I stumbled over that article now and it resurfaced traumatic memories of navigating .net development on Linux and MacOS.
Request rate is the number of requests that arrive, or are serviced, or leave, during some period.
So yesterday I saw someone ask about how many times the variable m gets evaluated in the following Haskell snippet:
Mark Karpov wrote in his article on Migrating text metrics to pure Haskell how he originally did foreign calls out to C for many of the functions in his text metric package, but now ported them to Haskell when he learned that Haskell can give you performance comparable to C.