Viewing profile — ajusa
ajusa
HN member- Joined
- Fri, Sep 29, 2017, 11:06 PM UTC
- HN karma
- 220
- Public activity
- 47 items
- HN profile
- View on Hacker News ↗
About ajusa
No profile information was provided.
Recent public activity
-
comment
Comment #45733592
(author here) It's exactly this - I do regret using "db" a bit now after reading all of the comments here, as it's taken away focus from the main point. But yes, the post had to fi…
-
comment
Comment #45728169
(author here) This is actually closer to the way the first draft of this article was written. Unfortunately, some readability was lost to make it fit on a single page. 100% agree t…
-
comment
Comment #43080861
Which book is being read in that screenshot? Looks interesting. I did a few searches based on the text and couldn't find it.
-
comment
Comment #39507219
I still have a Dell Latitude D820 kicking around at home with the same display specs. I threw in a 256gb SSD, 4GB of RAM, and might have upgraded the CPU (can't remember exactly). …
- story
-
comment
Comment #38342331
Honestly - CLI apps that need to run on multiple platforms. I once built a version of https://github.com/lovebrew/lovebrew (back when it was written in Nim) using Cosmopolitan 2, a…
-
comment
Comment #30492598
https://github.com/yglukhov/nimpy gives very, very solid access to the Python ecosystem from Nim - I've copied code from Python docs and have had it work with hardly any changes. H…
-
comment
Comment #30489061
This is a really fantastic resource for learning programming with Nim. I've started recommending it to folks that are newer to programming that want to try Nim out for various reas…
-
comment
Comment #30092159
Yeah, that must be a Safari thing. I pulled out my Nexus 5 (circa 2013) and everything feels instant. I don't have any working iOS devices lying around to test on unfortunately.
-
comment
Comment #30090660
Sorry for that (and thanks to all the folks that pointed out the word matching code was wrong). I've pushed an updated version, it's 63 lines now. Turns out, HN finds and reports b…
-
comment
Comment #30089820
Looks like they doubled the size by accident, in the network debugger the first is a 302 that resolves to the actual file. It shows 84kb twice because of that.
-
comment
Comment #30089776
Yep, I have the wrong meta tag I believe: That should fix it, I'll push a new version after fixing the word matching issue others have pointed out. I underestimated Wordle's comple…
-
comment
Comment #30086712
Yup, exactly. I've considered adding a bloom filter check for words but I've accomplished what I wanted to try out. Maybe if I'm ever interested in the future! It'd be very easy to…
-
comment
Comment #30086694
Oh wow, I never noticed that myself. I'll fix it once I'm at my computer, thanks for pointing it out! The fix will probably be something like if letter not in (.bg-warning in first…
- comment
-
story
Show HN: A simple Wordle clone in 60 lines, using Hyperscript
Hello HN! I've been playing a lot with https://hyperscript.org/ recently (not to be confused with the other hyperhype hyperscript). I threw together a quick Wordle clone in an even…
- story
- story
-
comment
Comment #29607058
+1 to what planetis mentioned. I didn't include a full explanation of the macro because I was more or less showing off a project - not doing a full tutorial of all of the internal …
-
comment
Comment #29600066
If I understood your point correctly you are talking about the binary size? Me naively compiling with `nim c -d:release` and running `strip` on it gives the server binary to be aro…
-
comment
Comment #29599840
As far as Nim's dependencies go in this case, it's literally just Karax (no dependencies), Jester (depends on httpbeast which has no dependencies) and treeform's ws library (no dep…
-
comment
Comment #29597203
(Author here) Thanks! The inputs aren't sanitized in this example, but the output (the generated HTML) actually is in this case. Specifically this part: text ": " & sentMessage.get…
-
comment
Comment #29592197
In case you want a quick example of a backend application in Nim, I've written a small post[1] describing how to create a room based chat using it and HTMX. In total, it's around 7…
-
comment
Comment #29532584
I doubt it for two reasons: 1. nginx has had many more years of performance tuning (it's 17 years old) than a project made in the last few years. 2. redbean is x86 only if I'm not …
- story