Creează un cont pentru a te abona la acest blog și a-i urmări articolele pe pagina Lectură.
-
Intro I've been building Backdrop, a desktop app, in Clojure for the last few months.
-
Have you ever been there?
-
In case you don’t know it, we can use raw strings, like embedding JS code, in hiccup.
-
Sometimes, we may want a few examples of a Clojure API for inspiration while developing, especially when reading other people's or open source code.
-
So you're more than excited to find out how Clojure's thread macros can make code clean and concise, you just love it!
-
It's amazingly easy to group things in Clojure.
-
When you’re building a side project, chances are you need to collect user events so that you can understand user behaviors better and eventually improve your product.
-
In Clojure, we can use comment (aka Rich Comment Blocks) for tests or experiments in development.
-
Intro A few years ago, I made a simple web app in Flask to deal with some text processing problems from my daily work.
-
I was wondering how to construct a multi-key map conditionally while I was coding in Clojure.
-
Here is the outline for my cider tutorial on YouTube, covering basic things you need to know to get started with cider, and starting exploring the fun of clojure programming with the REPL-driven programming approach.
-
Recently I've used babashka/fs a little bit, here are some quick notes for it: Path vs File.
-
While refactoring the live reload feature of Clay, I realized I'd better break long functions into smaller and functional ones (as many as I can), which is also a common practice in the clojure community.
-
While developing the live reload feature for Clay, a minimalistic Clojure tool for data visualization and literate programming, I found that it constantly takes ~1 minute for beholder to watch a directory.
-
Just re-organize the TailwindCSS Docs index in a flatter and more searchable way.
-
While impletenting the live reload feature for Clay a few weeks ago, unfortunately, I was bitten by the laziness of map.
-
While debugging a live reload issue of Clay a few days ago, I learned from Markus Agwin that we can actually add dependencies on the fly from the command line, just like this: clj -Sdeps "{:deps {org.scicloj/clay {:mvn/version \"2-beta21\"}}}".
-
While adding the live reload feature to Clay, I encountered a problem of applying anonymous functions to thread macros.
-
While troubleshooting and fixing a live reload bug in Clay today, which required to start a minimal Clojure environment, I figured out how to start a nREPL from the command line.
-
It has been some time since I came along the idea of the w/join-lines command to join lines.
-
If you've been using Emacs for a while, I bet you must have encountered the annoying problem that your Emacs window layout gets messed up after some operations, such as looking for a help (e.g.
-
Long story short, I came up with an idea to emphasize content while I was reviewing an org-mode document a few months ago after I was tired of typing tedious * around the content repeatedly.
-
So sometimes I need to join a few lines by a separator while I'm coding, for example, turn the below lines, foo bar baz into foo + bar + baz.
-
When I started to use Hugo to write this blog last year, I noticed that there is an easy-hugo package of Emacs many people use.
-
Auto-complete accounts from another accounts.bean file If you're using Beancount with Emacs, you may be using beancount-mode.
-
In this blog post, I'd like to share a bookmarklet for copying a web page's URL as an org-mode link on Firefox, Chrome, or whatever web browsers support bookmarklets.
-
If you are new to Emacs, you may run into some errors, especially after you copied some elisp snippets from the Internet or elsewhere.
-
Duplicate the current in Emacs Duplicating the current line is frequent editing for me when I am coding.
-
Adjust the screen brightness in Emacs If you're using i3wm on Linux, how do you adjust the laptop's screen brightness?
-
Selecting Emacs windows using ace-window Recently I've been building a simple Emacs config for myself, along the way I re-discovered some fantastic packages, for example, I found that ace-window is a simple yet powerful package to enhance the default othe…
-
Scrapy Architecture Scrapy provides a few item exporters by default to export items in commonly used file formats like CSV/JSON/XML.
-
Hey, welcome to my blog site!
-
LSP, or Language Server Protocol, makes programming easier by introducing features like more precise auto-completion and definition lookup.
-
Sometimes I want to change the status (i3status) of i3wm temporarily, but it seems that i3wm doesn't support it directly, although reloading the config for i3wm itself is a piece of cake (bindsym $mod+Shift+c reload in the config, or i3-msg -t command rel…
-
So I'm trying to improve my English speaking skill by shadowing while watching TV episodes.
-
Note: watch my live coding session of this article: Intro If you've heard some rumors of Emacs that it has a very steep learning curve (or that Emacs makes a computer slow), you may be too scared to look at it.
-
Beautiful Soup Detailed docs: the Beautiful Soup 4 Docs.
-
As a practice, I managed to illustrate Clojure files using illustrate.clj, but my original idea was to annotate org-mode files of blogs.
-
To get my hands dirty with Clojure, I am trying to find or implement Clojure's string functions in the sense of Python.
-
These days I like to write scripts for some tasks in Python instead of shell.
-
Python string APIs are powerful and concise, that is an important reason I use it to do a lot of scripting these days, join, split, strip, to name a few.
-
I barely use notifications, but recently I think it's a valuable way to remind me things like helping me nurture habits, or to notify me of emergencies like a critically low laptop battery.
-
I'm used to learning by practicing, so when I learned Clojure, I always kept an eye on chances to write code in it.
-
As a programmer, I know that grep, sed and awk are powerful for processing text, but they sometimes aren't that straight-forward for specific tasks, as I need to think about how to filter the lines and the columns out.
-
Doxygen is a nice tool for generating documentations for well-annotated C/C++ projects, the one feature that I like most is generating call graphs and class diagrams, so that I can learn a project quickly by browsing the diagrams from a higher point of vi…
-
Traditionally we are used to storing data in an RDBMS like MySQL, and avoid using in-memory solutions such as Redis, to have a confidence of no data loss.
-
There are many packages of Emacs that leverage subprocesses to do their jobs, Magit, eglot, elpy, to name a few.
-
If you are a C/C++ programmer like me, you may experience jumping around different machines to write and compile your code, or you may write code on different machines for different projects, and scp/rsync/ftp the projects around.
-
Binary search algorithm is a search algorithm that finds the position of a target value within a sorted array.
-
I used to manage SSH connection with such GUI apps as MobaXterm, when I wrote code on Windows at work.