HNHacker News
TopNewBestAskShowJobs

prologic

201 karma · joined July 9, 2020

"Problems are Solved by Method"

Website: https://prologic.dev/ Twtxt: https://twtxt.net/~prologic Blog: https://prologic.blog/ Git: https://git.mills.io/prologic

submissionscomments
prologic··on Show HN: I made a game where you build a CPU from logic gates
To the author of this; Are you able to make it save your progress so you can come back and continue playing?
prologic··on I made a game where you build a CPU from logic gates
Stick with it! Hint: A NAND gate is an AND + NOT circuit. It outputs a 0 when both inputs are a 1, otherwise outputs a 1.
prologic··on SVGO repository has been made private
Thanks!
prologic··on I made a game where you build a CPU from logic gates
This is cool! I like it! Let's see if I can get past the NAND level!
prologic··on SVGO repository has been made private
Well umm linking to a private repo isn't much use now is it? You just get the "404 Not Found". So what was SVGO anyway? (never heard of it)
prologic··on What it means for an API to be RESTful
I could be wrong, but I also think the article kind of gets it wrong too
prologic··on Show HN: ABSL – 100% Integer-Only Neural Network Training in Rust
Wow! This kid is only 15 and built some pretty cool shit™ here! Can anyone explain how this works beyond trying to read/understand the code (which might take a while). I think I get the idea of 3-hidden neurons in the hidden layer, but not how this results in how it bypasses integer quantization bottlenecks.
prologic··on What it means for an API to be RESTful
It's kind of interesting to go through the examples in the article, because it largely really describes a HAL-style JSON API really. It in parts also described the Web Linking Standard (RFC 8288) too.
prologic··on What it means for an API to be RESTful
Isn't this well defined already? https://en.wikipedia.org/wiki/REST

> REST (Representational State Transfer) is a software architectural style that was created to describe the design and guide the development of the architecture for the World Wide Web. REST defines a set of constraints for how the architecture of a distributed, Internet-scale hypermedia system, such as the Web, should behave.

And isn't it always misused, mis-represented basically all the time? Often confused with things that are basically just JSON API(s)?

prologic··on GCC steering committee announces AI policy
I actually read one of the linked comments pointing to the source code of the page, not the article itself (until after) :D

And not to play the blind card, but you should try zooming in your screen (if you have the capability) and try to read where you can only see at most a line at a time and a few characters and see if you miss things too! Being blind isn't fun!

prologic··on GCC steering committee announces AI policy
Nevermind:

It uses the definition of "legally significant" from the GNU Project maintainer guidelines, which holds that the threshold is "around 15 lines of code and/or text" to qualify as significant for copyright purposes.

prologic··on GCC steering committee announces AI policy
Do we have any idea what "legally significant" or "legally insignificant" means here?
prologic··on EYG: A Programming Language for Humans
Functional programming paradigms? Matching? Complex syntax? Sorry but either I've missed the point, or you've lost me. If we're trying to create tools for non-Developers to build software, this isn't it. You can pretty much already just ask Claude/Codex/whatever and it'll build you a thing™ and it'll probably work. You don't even need to read the code.
prologic··on Removing React.js from the codebase and adapting Htmx for UI interactivity (2023)
Yes! Check out https://swag.mills.io and the examples in the repo.
prologic··on Removing React.js from the codebase and adapting Htmx for UI interactivity (2023)
I would recommend you have a look at Swag: https://swag.mills.io
prologic··on Removing React.js from the codebase and adapting Htmx for UI interactivity (2023)
You have to build a proper PWA with a fully formed manifest.json first off. Web Push (i.e: Push Notifications) are fully supported on both iOS and Android. The Only thing that doesn't work is "background" work (but preactically speaking I haven't really needed it).

If you'd like to find out how I build Mobile-first apps with Go, HTML and HTMX hit me up.

prologic··on So what is your programming setup? Hype is making fundamentals confusing
I still use Vim (actually Neovim). I occasionally use VSCodium (with the Neovim plugin). But these days I usually don't writ emuch code, instead I guide/steer Claude Code (Optus/Fable) to do most of the "code writing" for me, so really I just use iTerm2 (macOS).
prologic··on Removing React.js from the codebase and adapting Htmx for UI interactivity (2023)
I've found this to not be true at all. You can do quite a lot with just HTMX. Any client-side Javascript™ you strictly need can often be done fairly minimally with Locality of Behaviour (LoB).
prologic··on Removing React.js from the codebase and adapting Htmx for UI interactivity (2023)
I basically use HTMX for all my Web Apps, including PWA(s) that run as ~near native apps on iOS/Android. It's great! I aso pair this with DaisyUI+TailwindCSS. YOu really can't go wrong, there is something quite pleasant about writing your web apps in ordinary HTML with partials and the extensions that HTMX adds to the browser for SPA-like interactivity.
prologic··on [dead]
I also have first hand experienced with my neighbours LG TV (older model) that I helped them block outbound network requests that "spy" (or used to) on what they watch.
prologic··on Ask HN: Protecting your Sites/Services from Unwanted Traffic?
I'm actually almost tempted to build a reverse proxy that detects this type of "scanning" behaviour and just drops it to the floor.
prologic··on Ask HN: Protecting your Sites/Services from Unwanted Traffic?
How do you deal with DDoS attacks on your infra / sites? Especially ones from residential proxies or vpn networks? These are the hardest to defend against as they often are relentless and no amount of proof-of-work, captchas or otherwise seems to stop them from coming. I don't think it's something you can easily block at any firewall level, the sheer volume of IP(s) and Subnets is too much.
prologic··on X-OS – Building an Operating System for the AI Era
Why does it have to be called X? We already have x.com -- In fact what is it with this infactuation with calling everything "somethingX" or "X something"
prologic··on No Stack Overflow, No Autocomplete: What Coding Felt Like in the 80s
> But something also got lost along the way, and it's that obligation to read slowly, to understand every line because there was no shortcut available

Not really sure what got "lost" here. But fundamentally nothing has really changed much, except for deeper abstractions, more powerful tools and the cost of "generating" (or producing) code approaching near zero (if you discount the cost of subscriptions to Claude/Codex, etc and the underlying costs of running those st scale).

You still have to understand, and read every line. Although now we just get tools to do so for us. But the understanding is still a requirement.

prologic··on Elevated Errors for Opus 5
What happens one day when there is a significant outage of Claude or Codex and reliance on these tools as SaaS services is so great that it start to impact productivity and work? Will we just pack up our tools and go home?
prologic··on Upd.dev: Free Git hosting, including the freedom to vibe code
> Therefore, there is no ... or «global stance on AI usage».

The fact that we're not starting to see alternative "code hosting" services because of the divide in our industry of the use of AI assisted or generated code is quite worrisome to me. Why? Because we shouldn't be in this socio-political situation in the first place, we should be getting along, with common goals, the love of creating, coding, whatever. Why do we now have to be so divided over new technology when we are the creators (or some of us anyway) of said technology?

Sure competition is good. Codeberg, Upd.dev, and many others. But can we somehow figure out a way to avoid being so polarizing?

prologic··on Claude Code Cut Their System Prompt by 80%. Does That Work for Small Models Too?
I don't think so. Having build a custom agent with Anthrpic's SDK (in Go) and even running the agent on smaller quantized (non-frontier) models using Ollama, I seriously doubt you'd get good results. I read the same blog post, and I get the impression that the larger model with greater capabilities is able to infer more accurately without being constrained by large(r) system prompts, but I don't think this works so well for smaller less capable models.
prologic··on Chat, we've made a terrible mistake
I think I missed it in your article somewhere, somehow... But what was the mistake?
prologic··on 95CSS: A Windows 95-style CSS framework
This is of course very cool and all, and quite nostalgic. But why do these old UI(s) look so damn bad these days? Well done in any case
prologic··on Stinkpot: SQLite-backed shell history
Does this automatically handle deduplication?
← PreviousPage 3 of 5Next →