News for hackers. Stuff that matters.

comma_at

Re:Writing Is Closer to Thought Than Code on Monday October 26, 2026 @11:16AM (#50245218)
Laws are full of holes and contradictions. For example, megacorps evade tax. We want them to pay the tax. See, the _intent_ is for them to pay, but the _execution_ of the intent fails. If you take the current laws as the basis and want to improve upon them, how do you improve? What counts as improvement? "Megacorps must pay tax too" is a clear intent/goal. It captures the requirement. If you read the laws, can you deduce this requirement? Can you improve upon them without the requirement?
Re:Gemma 4 12B: A unified, encoder-free multimodal model on Wednesday June 03, 2026 @02:06PM (#48387504)
Are there qwen or minimax or other open weight models of same hardware requirements that outperform this?
Re:Ask HN: Who wants to be hired? (April 2026) on Friday April 03, 2026 @02:25PM (#47630177)

  Location: Slovakia (GMT+1)
  Remote: Yes
  Willing to relocate: No
  Technologies: Clojure, Docker, Common Lisp, Bash/Zsh, Python ...
  Email: [email protected]
Résumé/CV: https://drive.google.com/file/d/1YzYDnSo-u823VNVIljVHH6vt8cd...

I am currently a core maintainer of Electric Clojure (https://github.com/hyperfiddle/electric), a full-stack, reactive, differential language we use for building rich, dynamic UIs. Most notably I developed the last 2 generations of our compiler and pioneered the UI composition pattern we use today. I work with Clojure for 7+ years, but also did a lot (4y+) of infrastructure work before - Docker, Kubernetes, ELK stack, Kibana and more. I worked in many other languages. I am a systems-level thinker who derives solutions from first principles. I am looking for a new challenge.

Re:Local-First Software Is Easier to Scale on Sunday July 06, 2025 @10:25AM (#44481077)
If the problem fits into the limited local resources, if there's no syncing required, no login, no multiplayer, ... Sure, do it. But don't pretend this solves all business cases.
Instead of doing the side effect you return a description and let the framework handle it. E.g. you don't call `transact(db, data)` but return `["transact", db, data]`. Now your function is pure. The framework will expect you to provide the transact handler, e.g. as `register_handler("transact", (db, data) => {..})`.

Personally I'm not a fan of this abstraction (another layer of indirection). I'd rather take a `transact` function as an argument.

Re:Electric Clojure: unified fullstack application compiler on Tuesday February 14, 2023 @08:42AM (#34789087)
The only way for the client to set a server-side symbol to a value is to explicitly request it in code

    (e/server (let [is-admin? (e/client ...)]))
Even with mutable atoms you'd have to write the `reset!` on the server.
I think SBCL starts up fast enough as-is, no? If you want a batteries included version with libraries, just load them and save a new base image with SAVE-LISP-AND-DIE
So it's OK to let them spy since we get spied on from other sources anyway.
Re:Advanced Metaprogramming in C: A select statement on Thursday August 11, 2022 @03:21PM (#32430488)
libmill's goal was to be as close to Go as possible. If you look at it in that light, it's an accomplishment.

Then came libdill, which created the whole "structured concurrency" movement and brought new concepts to light that are now being replicated in python, kotlin, java...

Re:Writing Snake in 12 Lines of PyTorch on Thursday August 11, 2022 @03:07PM (#32430297)
I'll wait for the 1-line APL/J/K implementation in the comments.
I'd like to syntax highlight code blocks. I tried to add PrismJS to the html file. The CSS survives, but my <script> tag seems to disappear no matter where I put it. I guess this is because Feather Wiki is rewriting itself. How can I add a <script> tag that survives?
Re:Notes on Virtual Threads and Clojure on Friday May 13, 2022 @02:58PM (#31371301)
At a bare minimum your code might have different behavior. Your `run! deref` will wait for each future one by one. What if the last one threw an exception while the others are running? You'd probably want the other tasks to get canceled immediately. I'm not sure what Executor.close() does exactly, but in theory it could do this for you automatically. Not something I want to write by hand for sure[1].

> In Go for example, I don't remember having to clean up fibers manually.

And that is awful if you think about it a bit. There's no composition happening, your go block just goes off somewhere without you having any control of it. It's like goto, only it forks first and never gives back the process handle[2].

[1] https://clojureverse.org/t/missionary-new-release-with-strea... [2] https://vorpus.org/blog/notes-on-structured-concurrency-or-g...

Re:4x Smaller, 50x Faster on Tuesday November 30, 2021 @03:11AM (#29390019)
> What’s not great is loading the entire closure VM environment into my browser

There's no VM in clojurescript, it compiles to JS, it is tree-shaken and heavily optimized and minified through Google's Closure compiler.

> resulting in the software running (in this case) 50x slower

The speedup is not a result of abandoning clojurescript, it's from moving from immutable data structures to mutable arrays and primitives. The same can be done in clojurescript or javascript.

I think this is a common misunderstanding, that's why I'm reacting. Nobody claims immutable data structures to be the silver bullet. Computation-heavy parts need to be done in low level code and with primitive types.

Re:Flatpak Is Not the Future on Tuesday November 23, 2021 @11:23AM (#29319659)
This is all good and true, but it's looking at the problem from the Linux distribution's perspective. The user wants a working application. Something like AppImage allows a small team to distribute a working package for every distro. Now imagine that team of 5, working on their app, packaging it for ubuntu, fedora, arch, rhel, ... It's just not possible.

What would solve this issue? A common package manager and central repository, across all Linux distributions. Then the small team only needs to package and ship to one repository, in 1 format.

Re:Why is Excalidraw so good? on Friday November 05, 2021 @06:38AM (#29117451)
select them and group them (Ctrl+G or find it under Actions on the left bottom part of the screen)
Re:Open Steno Project – Freeing stenography on Tuesday November 02, 2021 @09:38AM (#29081019)
> it's just not worth learning steno if you mainly do programming

I think this will be better answered by someone who has crossed that bridge than you simply jumping to that conclusion with no experience or data to back up your claim.

Re:Open Steno Project – Freeing stenography on Friday October 29, 2021 @07:40AM (#29037354)
To balance the views, Mirabai, the person who started this project, does live transcription in vim and uses it for editing the notes as well. Ted, one of the lead developers, uses steno daily for programming. Emily, another user and plugin developer, has developed dictionaries to help with symbolic input and modifiers (e.g. ctrl+shift+x). There are plugins for changing case (camel, lower, snake etc.)
Re:Open Steno Project – Freeing stenography on Friday October 29, 2021 @07:35AM (#29037326)
Learning a steno system is similar to learning a new spoken language - it takes time, and the time it takes differs based on the time you invest daily, personal experience, type of study... Some have reached 100wpm in 2 months, some take 2 years. As a reference number - to be a certified stenographer you need to pass a test with at least 225wpm with 99% precision. The classes take 2 years, I think.

Being a pianist might be handy, but you'll still need to practice a lot to see progress.

Re:Open Steno Project – Freeing stenography on Friday October 29, 2021 @07:30AM (#29037304)
Switching dictionaries/systems is possible and used every day by people who use it with more than 1 language. Think of it as switching to colemak or dvorak on your keyboard.
Re:Open Steno Project – Freeing stenography on Friday October 29, 2021 @07:26AM (#29037281)
https://danluu.com/productivity-velocity/

Docstrings, writing documentation, talking to colleagues on Slack, asking questions on stackoverflow, writing mails, browsing, working in the terminal. We spend a lot of time writing. How much time could one save by e.g. doubling the speed?

Another aspect is of the working memory - will it free your brain's resources? Will allow writing at the speed of thought allow for new/more thoughts?

I think we should explore these waters, and steno is a solid choice.

Re:Tools to Run Kubernetes Locally on Friday August 06, 2021 @02:06PM (#28090845)
In k3d this is already available. https://k3d.io/usage/commands/k3d_image_import/
Re:Project Oberon Emulator in JavaScript and Java on Thursday July 08, 2021 @11:37AM (#27773356)
So... what is right? What is your preferred toolset?
Re:Neovim 0.5 is overpowering on Wednesday May 26, 2021 @02:20PM (#27294145)
You think 280loc as a starter is not much?
Re:Six years of professional Clojure development on Thursday May 06, 2021 @02:30PM (#27067354)
I agree, constraints often bring benefits. The question for a language is which ones to bring in and which ones to leave open. From that perspective I value clojure's choices (and don't value js every-io-is-a-callback design).

Any project of the size you mention needs technical leadership and constrained choices (for IO we use this, we do http this way..). This will be true regardless of what language you're using.

Re:Six years of professional Clojure development on Thursday May 06, 2021 @10:24AM (#27063704)
No it is not. People still reach out from stack when a dependency has updates and it's not in stack yet.

Nobody cares if it compiles together. The point is if a new feature or a bug fix is introduced in a breaking way you cannot bump your dependency and start using it, or progressively move to the new API.

Older »