Nic Barker

Open source developer & programming educator. github.com/nicbarker for my projects. youtube.com/@nicbarkeragain for programming videos. ex engineering @canva & game dev @cerebralfix
Joined August 2023
  • A frustrating side effect of search becoming "smarter" in general is that we seem to have lost the capability to just match on a substring. Across the various search boxes I use daily (apple spotlight, google search, github search) they all now fail to find "bar" in "foobar"
    View on BlueskyShow all post labels
  • I've recently had to write a significant amount of code in the tools that I use for making videos - with no auto complete, no syntax highlighting, no error squiggles, nothing. And I've noticed that the next time I write actual code, I'm way more likely to 1 shot it correctly.
    View on BlueskyShow all post labels
  • Odd to think that there is now a “vintage” of college degrees that were earned before ChatGPT existed. I honestly wouldn’t be surprised if most companies dropped degrees from hiring requirements before the end of the decade if nothing drastic changes.
    View on BlueskyDownload imageShow all post labels
  • Spend enough years working on an artistic or scientific pursuit and you start to realise that the bell curve meme is actually the sine wave meme
    View on BlueskyDownload imageShow all post labels
  • When I first released Clay the README was around 2x the line count of the actual library itself. I personally believe that open source, for all it's amazing benefits, has also created enormous pollution in the form of wasting people's time. The issue is complex and has two sides.
    View on BlueskyShow all post labels
  • I know it's easy to hate on the web as a software platform but every so often I have to fill out one of those turing complete PDFs for some government service in acrobat and it reminds me that there was more than one circle in Dante's inferno.
    View on BlueskyShow all post labels
  • Nothing quite like the adrenaline rush of undoing 100+ steps and veeeery carefully copying some old code then redoing 100+ steps into the future again. We've all been traumatised by that one time fat fingering ctrl+x and having to redo everything 🥲
    View on BlueskyShow all post labels
  • There is an insidious idea that has crept into software through the open source movement, which is that software no longer being modified is "abandoned". It's very possible - even desirable - for software to simply be "finished". To serve its purpose reliably, as a tool should.
    View on BlueskyShow all post labels
  • I find it interesting to think of the work a compiler does as similar to the concept of "simplifying" an algebraic expression - searching for redundancy, combining like terms, replacing identities, etc. Anyone have any academic terms / links for me to have a dig in this space?
    View on BlueskyShow all post labels
  • The problem with programming language debates is that the critics present the worst possible thing a language is capable of, the supporters present the best possible thing, and precisely 0% of real world projects using that language are either of those things.
    View on BlueskyShow all post labels
  • Anyone know the name of this phenomenon in human endeavor? Gen 1: Spends career mastering difficult process Gen 2: Learns with difficult process, invents tools to greatly increase productivity Gen 3: Learns with new tools, similar or reduced productivity vs Gen 1
    View on BlueskyShow all post labels
  • There is so much "mitochondria are the powerhouse of the cell" type trivia in programming - one is that "the stack grows downwards" is always mentioned immediately in stack vs heap discussions. Functionally useless in practise, but a very common question for comp sci exams!
    View on BlueskyShow all post labels
  • Does anyone know of a "sandboxed real mode" style system, i.e. machine is still running in protected mode, but within each process you have free reign over the entire address space, and peripherals and IO are mapped into special fixed memory regions rather than being syscalls?
    View on BlueskyShow all post labels
  • You know how explorers love to put their names on things like mountains and rivers? Turns out academics do the same thing, but for ideas. Problem is, inevitably 10 people think of the same idea independently, and then students get taught 10 words that mean the same thing.
    View on BlueskyShow all post labels
  • Programming jargon can seem intimidating until you figure out that a fancy term like "immutable variable" means "unchanging changeable", and it becomes clear that technical language is just a crowd sourced API design with serious backward compatibility issues
    View on BlueskyShow all post labels
  • I suspect "what do you think about global variables?" would be quite an enlightening interview question.
    View on BlueskyShow all post labels
  • I totally agree with the current sentiment of “use a profiler before you try to optimise” - but it’s also important to remember that a profiler won’t reveal quadratic loops, resource contention problems etc that only appear under certain circumstances. Intuition matters too!
    View on BlueskyShow all post labels
  • Might sound counterintuitive but I think the best advice for improving your high performance programming is to get a much worse computer. It's so easy to commit crimes on an apple M series that you could never get away with on the type of machine most people in the world are on.
    View on BlueskyShow all post labels
  • It's amusing to me to think that other disciplines like mathematics must have the same type of tribalism as software - there must be an equivalent of the C people, the Rust people, the Haskell people etc in math research
    View on BlueskyShow all post labels
  • Anyone know of any data / research that explains why the "lose/loose" misspelling became so common online? I find it fascinating - there are so many other more common words that are easier to misspell. Why loose? Possibly driven by some phone keyboard auto correct failure?
    View on BlueskyShow all post labels
  • The way that people point at large language models like ChatGPT and say “AI is a trillion dollar technology” reminds me of how people used to point at Beat Saber and say “VR is a trillion dollar technology”
    View on BlueskyShow all post labels
  • It appears to me that all the programming focused AI tools are heading in the direction of "write all the code for me", but does anyone know of any models focused instead on "I want to ask conceptual questions about programming", that can respond with diagrams, references, etc?
    View on BlueskyShow all post labels
  • I'm working on a video about recursion and I _almost_ caught myself using the fibonacci sequence as a basic example. It's what I was first taught in university, but in hindsight I think it's such a poor starting point for teaching intuition around recursion / recursive functions.
    View on BlueskyShow all post labels
An unhandled error has occurred. Reload 🗙