• Shaarli
  • Tag cloud
  • Picture wall
  • Daily
  • RSS
  • Login
4367 shaares
 
Filters
10 results tagged coding

How to Build an Agent

QRCode

Building a fully functional, code-editing agent in less than 400 lines.

https://ampcode.com/notes/how-to-build-an-agent
April 16, 2026 at 9:55:32 AM EDT *
llm coding
FILLER

The Four Fundamental Principles ofHuman-Centered Design and Application – Don Norman's JND.org

QRCode

Human-centered design has four major principles:

  1. Understand and Address the Core Problems;
  2. Be People-Centered;
  3. Use a Systems Approach;
  4. Use Rapid Iterations of Prototyping and Testing.
https://jnd.org/the-four-fundamental-principles-ofhuman-centered-design-and-application/
April 13, 2026 at 2:39:17 PM EDT *
design coding webdesign ux
FILLER

Chandra: Cross-Platform Desktop GUIs in Perl - DEV Community

QRCode

Building desktop applications has traditionally been a challenge in the Perl ecosystem. While we have... Tagged with perl, c, xs, programming.

https://dev.to/lnationorg/chandra-cross-platform-desktop-guis-in-perl-1ah2
April 6, 2026 at 10:19:03 AM EDT *
perl gui coding
FILLER

Beautiful Perl feature: "heredocs", multi-line strings embedded in source code

QRCode

A piece of "heredoc" data can appear anywhere in a Perl expression. It starts with an initial operator written either << or <<~. The second variant with an added tilde ~, available since Perl v5.26, introduces an indented heredoc, where initial spaces on the left of each line are automatically removed by the interpreter.

Empty string as delimiter

The delimiter string can also be .. an empty string! In that case the heredoc content ends at the next empty line; this is an elegant way to minimize noise around the data.

Several heredocs can start on the same line, as in this example:

my @blogs = $dbh->selectall_array(<<~END_OF_SQL, {}, split(/\n/, <<~END_OF_BIND_VALUES));

https://dev.to/damil/beautiful-perl-feature-heredocs-multi-line-strings-embedded-in-source-code-863
March 30, 2026 at 10:47:38 AM EDT *
perl coding heredoc
FILLER

Shell Tricks That Actually Make Life Easier (And Save Your Sanity) | Larvitz Blog

QRCode

Watch someone backspace 40 characters instead of pressing CTRL+W, and you’ll understand why this list exists.

Hacker News:
https://news.ycombinator.com/item?id=47525243

https://blog.hofstede.it/shell-tricks-that-actually-make-life-easier-and-save-your-sanity/
March 30, 2026 at 10:09:08 AM EDT *
shell linux coding
FILLER

Unit Tests As Documentation: Why Tests Are Living Docs

QRCode

Unit tests act as living documentation, showing code behavior, staying up-to-date with changes, and covering edge cases to improve code clarity and reliability.

  • Unit tests explain code behavior

  • Unit tests are always in sync with the code

  • Unit tests cover edge cases

https://news.ycombinator.com/item?id=41871629

https://read.thecoder.cafe/p/unit-tests-as-documentation
October 27, 2025 at 10:20:00 AM EDT *
testing coding career documentation
FILLER

Losing the imitation game

QRCode

AI cannot develop software for you, but that's not going to stop people from trying to make it happen anyway. And that is going to turn all of the easy software development problems into hard problems.

  • A computer can never be held accountable. Therefore, a computer must never make a management decision.

Programming as Theory Building

Non-trivial software changes over time. The requirements evolve, flaws need to be corrected, the world itself changes and violates assumptions we made in the past, or it just takes longer than one working session to finish. And all the while, that software is running in the real world. All of the design choices taken and not taken throughout development; all of the tradeoffs; all of the assumptions; all of the expected and unexpected situations the software encounters form a hugely complex system that includes both the software itself and the people building it. And that system is continuously changing.

To circle back to AI like ChatGPT, recall what it actually does and doesn't do. It doesn't know things. It doesn't learn, or understand, or reason about things. What it does is probabilistically generate text in response to a prompt.

https://jenniferplusplus.com/losing-the-imitation-game/
April 2, 2024 at 11:40:51 AM EDT *
coding ai software career
FILLER

Syntax Across Programming Languages

QRCode

You know one language and want to find the corresponding operator or function in another language

sprintf-like

sprintf Awk, C, C++, F#, Maple, Matlab, merd, OCaml, Perl, Perl6, PHP, Pike, Ruby
printf  Haskell
%       Python, Ruby
http://rigaux.org/language-study/syntax-across-languages.html
May 2, 2023 at 6:26:48 PM EDT *
programming coding
FILLER

Why Do Developers Care About API-First? | Postman Blog

QRCode

There’s a lot of talk lately about API-first as an approach to design and development. While there are many paths to API-first, usually the people driving this initiative within their organizations have job titles like API architect, API designer, and API platform leader. It makes sense because they are most invested in the efficiency, interoperability, and quality of the organization’s APIs.

https://www.postman.com/api-first/

https://blog.postman.com/why-do-developers-care-about-api-first/
May 2, 2023 at 3:00:54 PM EDT *
api coding
FILLER

Kent C. Dodds’ .filter() Trick Will Change How You Use JavaScript | by Dr. Derek Austin 🥳 | Coding at Dawn | Jun, 2021 | Medium

QRCode

Kent C. Dodds’ .filter() Trick Will Change How You Use JavaScript. This one-liner uses the Boolean constructor to magically remove all falsy values from an array ✨.

https://twitter.com/kentcdodds/status/1009918457394225152

const plugins = [
    isProd ? optimizePlug : null,
    isProd ? prodOnlyPlug : null,
    !isProd ? testingPlug : null,
    usefulPlug,
].filter( Boolean );
https://medium.com/coding-at-dawn/kent-c-dodds-filter-trick-will-change-how-you-use-javascript-87b5112f9f6d
July 9, 2021 at 9:31:51 AM EDT *
javascript coding perl
FILLER
Shaarli · The personal, minimalist, super fast, database-free, bookmarking service by the Shaarli community · Documentation
Fold Fold all Expand Expand all Are you sure you want to delete this link? Are you sure you want to delete this tag? The personal, minimalist, super fast, database-free, bookmarking service by the Shaarli community