Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
DaveWM
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
Real-Time Web Apps in Clojure
(blog.davemartin.me)
3 points
by
DaveWM
4y ago
|
0 comments
2.
▲
Critique of Pure Hooks
(blog.davemartin.me)
2 points
by
DaveWM
4y ago
|
0 comments
3.
▲
Building a CLI Application in Elixir
(blog.davemartin.me)
5 points
by
DaveWM
4y ago
|
0 comments
4.
▲
by
DaveWM
4y ago
Hey HN! In 2020, I stumbled across a productivity method called the "Ivy Lee method" [1], and found it made me much more productive. Basically, you write down 6 tasks you need to do throughout the day, then focus solely on them. I
5.
▲
Show HN: Only 6 – an Ivy Lee Method app
(play.google.com)
1 points
by
DaveWM
4y ago
|
1 comments
6.
▲
by
DaveWM
5y ago
Ah sorry, I don't know of a way of doing that in Clojure. What I usually do is figure out where the exception was thrown, wrap that form in `sc.api/spy`, and then somehow re-execute it.
7.
▲
by
DaveWM
5y ago
Nice!
8.
▲
by
DaveWM
5y ago
Cursive's debugger doesn't, but as one of the other posters mentioned there's a library called debug-repl which gives you this: https://github.com/gfredericks/debug-repl . However, as I mentioned in the a
9.
▲
by
DaveWM
5y ago
Thanks! Perhaps the wording isn't great in that paragraph, I intended the phrase "println debugging" to mean the general style of debugging, rather than specifically using the println function.
10.
▲
by
DaveWM
5y ago
I've heard good things about debug-repl, although I haven't used it myself. From what I understand, it fills a similar niche to scope-capture. However you do it, being able to capture the state at a certain point in the code is es
11.
▲
by
DaveWM
5y ago
Assuming the crash doesn't cause the process to completely exit, you could indeed use `scope-capture` for this. This works well for local dev. In theory, you could use `sc.api/spy` in production code, and then attach a remote repl
12.
▲
by
DaveWM
5y ago
Sayid does look really powerful. However, I declared Emacs bankruptcy years ago, and switched to Cursive. If I ever have the courage to switch back, I'll give Sayid a go :P
13.
▲
Debugging in Clojure
(blog.davemartin.me)
124 points
by
DaveWM
5y ago
|
27 comments
14.
▲
by
DaveWM
6y ago
SEEKING WORK - Functional Web Developer, UK or remote Hi, I'm an experienced Functional Web developer. I have 8 years' experience of web development (both frontend and backend), and 5 of functional programming with Clojure. I'
15.
▲
Import a CSV into Kafka, Using Babashka
(blog.davemartin.me)
1 points
by
DaveWM
6y ago
|
0 comments
16.
▲
by
DaveWM
6y ago
I've got a couple of side projects on the go: 1. Intention ( https://i.ntention.app ) - a todo app where your todos are arranged in a DAG. 2. JSON Viewer ( https://json-viewer.io ) - a simple web app for displaying
17.
▲
by
DaveWM
6y ago
Thanks very much! Best of luck with your Clojure journey
18.
▲
by
DaveWM
6y ago
Agreed! The only problem is that once you're used to hiccup, writing HTML becomes a chore!
19.
▲
by
DaveWM
6y ago
Thanks very much! I've made a few small static sites this way, and it's worked really well. However, it is missing several features that you need for larger (or more frequently changing) sites: asset minification, markdown compila
20.
▲
by
DaveWM
6y ago
I meant this article as a "thank you" to the brave doctors and nurses putting in extra time and effort to look after everyone else. Regardless of the state of NHS funding, it's just basic human decency to say thank you to th
21.
▲
by
DaveWM
6y ago
Definitely! Also, just being a bit more diligent around social distancing and washing your hands can help :)
22.
▲
Saying Thank You to the NHS, Using Clojure
(clojure-conundrums.co.uk)
60 points
by
DaveWM
6y ago
|
67 comments
23.
▲
by
DaveWM
7y ago
Sorry about that, it should be fixed now. There isn't a paid version at the moment, but there's a web app at https://i.ntention.app . If you're on android, it should ask you if you want to add it to your home scre
24.
▲
by
DaveWM
7y ago
Wow that's really cool, thanks for sharing
25.
▲
by
DaveWM
7y ago
Thanks very much for the feedback. To respond: - Is this in the list view or the graph view? I did originally have the list order reversed (i.e. root node at the bottom), but I found it very confusing. I could potentially add a setting to c
26.
▲
by
DaveWM
7y ago
That's a really good idea, I'll add it to the roadmap. If you have any suggestions for specific templates, please send them over to me (my email's on my profile).
27.
▲
by
DaveWM
7y ago
Haha looking forward to the competition ;). TaskDB sounds good, I'll keep an eye on it. Your approach to keeping the entire history of the graph is a good one, I'm using Datomic in Intention mainly for this reason. I do hope DAGs
28.
▲
by
DaveWM
7y ago
Got it, the app works well. I did consider using `react-digraph` for Intention, but the UX seems very focused on desktop (lots of clicking and dragging) and I wanted something more mobile focused.
29.
▲
by
DaveWM
7y ago
Nice! I got TaskGraph running locally, but couldn't figure out how to create a node. Seems like it's built on the same basic idea as Intention though - tasks structured into a graph. I'd be very interested to hear how you get
30.
▲
by
DaveWM
7y ago
The main reason is they're easier to market. I've tried to advertise web apps before, and had very little success. People seem to much prefer mobile apps over web apps, even if they have exactly the same functionality. At a guess,
More ›