News for hackers. Stuff that matters.

tincholio

Re:Programming Used to Be Free on Monday April 13, 2026 @10:47AM (#47752801)
Well, way back in the day, dev tools weren't free, either, for the most part.
It's excciting, but I saw a review of a pre-release c2 on youtube [0] the other day, and it seemed extremely slow in the interactions. Otherwise, it seems like a cool device.

[0] https://youtu.be/5titW5dclwg

He looks like Dracula on LinkedIn
Re:It's insulting to read your AI-generated blog post on Monday November 03, 2025 @08:11AM (#45798611)
My take on this is that when outsourcing the code writing, you miss out on building a mental model of how it works that you do develop when doing it yourself. The degree to which that is a problem is probably variable, I suppose.
Most of those are not really "frameworks" as such (with some exceptions, like Biff or Fulcro), but rather libraries, or curated collections of libraries. Most Clojure people tend to roll their own set of libraries, rather than use actual frameworks.
Re:Show HN: Demo of My Hyprland Setup on Wednesday September 10, 2025 @07:27AM (#45196133)
I've been experimenting with this (it's in Babashka, which is for scripting Clojure, but you can do it with just bash, if your bash-fu is stronger than mine :D ):

    #!/bin/env bb
    
    (ns switch
      (:require [clojure.java.shell :as sh]
                [babashka.process :refer [pipeline pb shell process]]
                [clojure.string :as str]))
    
    (def workspace-ids
      (-> (pipeline (pb "hyprctl workspaces")
                    (pb "grep 'workspace ID'")
                    (pb "awk '{print $3}'"))
          last
          :out
          slurp
          (str/split #"\n")
          (->> (reduce (fn[acc e]
                         (try (let [ee (Integer/parseInt e)]
                                (conj acc ee))
                              (catch Exception e acc))) [])
               (filter #(and (pos? %)
                             (not= 10 %))))))
    
    
    
    (doseq [w workspace-ids]
      (-> (process (str "hyprctl dispatch moveworkspacetomonitor " w " 1"))
          deref
          :exit
          println))
    
    (process "hyprctl dispatch workspace 8")

It basically just moves all workspaces with positive IDs (so not the special workspace) to the external monitor, which seems to have a consistent ID of 1.
Re:Show HN: Demo of My Hyprland Setup on Wednesday September 10, 2025 @07:23AM (#45196112)
Indeed!
Re:Show HN: Demo of My Hyprland Setup on Wednesday September 10, 2025 @07:22AM (#45196103)
I have been having some issues with X/i3 (using i3 as a WM for Plasma), mostly with multiple screen setups (windows getting all screwy when connecting/disconnecting, lots of flickering, etc.), and also with my trackpoint's middle button scrolling randomly going away, and needing to use xinput incantations to fix it. I tried Hyprland with QuickShell, and after some QS-related pains, I just dropped to plain Hyprland. It's been working quite nicely so far. There was a lot of trial and error, and there's still some bits that could use improvement, but overall things just work nicely. The main sticking point for me now is that the screen-sharing and using Flameshot is a bit convoluted, and that the workspaces configuration does not support multiple external monitors (as in, the one in my office, and the one home, it needs some resetting each time I change those, or at least I haven't found the way to configure it properly as I had on i3).

So far, it has been a moderately positive change.

Re:Vibe Debugging: Enterprises' Up and Coming Nightmare on Friday August 22, 2025 @03:26PM (#44988783)
> the ones that like to think everything up-front before doing anything.

I don't think that's the case. If they were really thinking up-front, they'd be doing proper req analysis and design work, rather than interactively growing a ball of mud that "does the minimal thing to pass a test". To me, it seems like TDD is sold as this "foolproof" design / dev approach, which is anything but.

Re:Clojure Async Flow Guide on Monday August 18, 2025 @06:14PM (#44945866)
Not the parent poster, but I suspect he's thinking of stuff like Lighttable, or Liquid. Editors that were written in Clojure, or specifically for Clojure, and had cool features that were not available elsewhere at the time. (I'm boring myself, and pretty much only ever used Emacs with Cider)
Re:The Kuzma Self-Playing Guitar System on Saturday August 16, 2025 @03:47AM (#44921184)
I think it's because the playing sounds mechanical, there's very little articulation and dynamics.
Re:The Kuzma Self-Playing Guitar System on Friday August 15, 2025 @09:34AM (#44912240)
It's pretty impressive engineering, yet it sounds like crappy MIDI... Doubt many people will go dropping 40K on this.
Re:No traffic deaths in Helsinki for a year on Sunday August 03, 2025 @04:10AM (#44774987)
And the cost of parking... Parking your car in Hki is eye-watering
I had to specifically block those from being shown, they were all over for me. I don't have any issue with them, but my kids use my steam deck, and game on my pc, and I didn't want them seeing those.
Re:Quarkdown: A modern Markdown-based typesetting system on Tuesday June 03, 2025 @12:09PM (#44171570)
It's the standard in most hard science fields. Also common in some humanities, too.
Re:Using Ed(1) as My Static Site Generator on Sunday June 01, 2025 @09:45AM (#44150816)
?
Re:Philip K. Dick: Stanisław Lem Is a Communist Committee on Wednesday April 16, 2025 @03:25AM (#43702492)
Seems like he honored his surname with his attitude :)
Re:The Future Is Niri on Thursday March 13, 2025 @01:44AM (#43350667)
Mixing can work pretty well. I'm using Plasma with i3 as a WM, and it hits the perfect spot for me. Not sure if the same thing can be done on Wayland, though?
Re:Thank HN: My bootstrapped startup got acquired today on Friday January 24, 2025 @03:07AM (#42811379)
Congrats man! Just as a side note, "paras" means best, in Finnish, so that'd make you the Best Chopra!
Re:TikTok divestment law upheld by federal appeals court on Monday December 09, 2024 @04:00PM (#42370515)
Friends' posts are a tiny fraction of what you see on FB nowadays.
Re:Himalaya: CLI to Manage Emails on Monday December 09, 2024 @01:30PM (#42368945)
The Slack blocks format is horrendous, and not very powerful.
Re:Emacs Arbitrary Code Execution and How to Avoid It on Wednesday November 27, 2024 @01:35PM (#42258468)
?
Re:Between the Booms: AI in Winter – Communications of the ACM on Thursday November 21, 2024 @01:42AM (#42201763)
It's been a common problem with HN. I remember when NodeJS came out, it was exactly the same, and then with all the crypto-craze.
Re:Five Unusual Raku Features on Wednesday November 13, 2024 @04:42AM (#42124505)
Nil punning in Clojure gives you that kind of experience, for example. Things that would break in other languages, just "work as you'd expect them" in Clojure (except when you drop down to host primitives, and then nils don't behave nicely anymore). In general, it makes for a really pleasant dev experience, I find.
I actually wrote a (not so polished) clone of that in Ruby, way back when...
Re:Jaywalking Legalized in New York City on Wednesday October 30, 2024 @04:50AM (#41993015)
Finland, for one
That only works if the workspace is on an actual screen, because it's otherwise not rendered. Maybe the virtual monitor solution via xrandr would work for that, but I haven't yet tried that.
Re:Notes on the Crystal Language on Monday September 30, 2024 @02:11PM (#41700197)
See Babashka.
Re:The Design of Text Editors on Monday September 30, 2024 @02:07PM (#41700163)
I've also used it fairly extensively, both in academia and in industry jobs (using Emacs org-mode, with several target languages, often combined). I found it very useful when thinking through a problem, and as documentation for myself later on. At some point it starts to become a bit unwieldy. Nowadays, most of my work is in Clojure, and I find that the literate workflow gets in the way of REPL-driven development, so I haven't been using it as much lately.

Overall, I'd highly recommend it.

Re:Uber charges more if you have credits in your account on Friday September 27, 2024 @07:08AM (#41668904)
NPS is utter bullshit, and has been thoroughly debunked, yet it's so widespread...

Older »