Readit News logoReadit News
minus7 commented on Agentic Development Environment by JetBrains   air.dev... · Posted by u/NumerousProcess
minus7 · 22 days ago
JetBrains should stop building stupid AI shit and fix their IDEs. 2025 versions are bordering on unusable.
minus7 · 22 days ago
Issues I observed, mostly using GoLand:

- syntax errors displaying persistently even after being fixed (frequently; until restarted; not seen very recently)

- files/file tree not detecting changes to files on disk (frequent; until restarted; not seen very recently)

- cursor teleporting to specific place on the screen when ctrl is pressed (occasionally; until restarted)

- and most recently: it not accepting any mouse/keyboard input (occasionally; until killed))

minus7 commented on Agentic Development Environment by JetBrains   air.dev... · Posted by u/NumerousProcess
minus7 · 22 days ago
JetBrains should stop building stupid AI shit and fix their IDEs. 2025 versions are bordering on unusable.
minus7 commented on A million ways to die from a data race in Go   gaultier.github.io/blog/a... · Posted by u/ingve
minus7 · a month ago
All code is inherently not concurrency-safe unless it says so. The http.Client docs mention concurrent usage is safe, but not modification.

The closure compiler flag trick looks interesting though, will give this a spin on some projects.

minus7 commented on Dark mode by local sunlight (2021)   ctnicholas.dev/articles/d... · Posted by u/gaws
jader201 · 2 months ago
Most people that I know that prefer dark mode (myself included) prefer it regardless of sunlight or ambient lighting.
minus7 · 2 months ago
In my experience that's because most users run their monitors on 100% brightness instead of turning that down. I prefer light mode unless it's really dark.
minus7 commented on Web Translator API   developer.mozilla.org/en-... · Posted by u/kozika
minus7 · 6 months ago
I was excited that Firefox finally exposed its local translations as API, but it's Chrome-only (still?). Will be nice for userscripts, for example to replace Twitter's translation button that hardly ever works
minus7 commented on Getting forked by Microsoft   philiplaine.com/posts/get... · Posted by u/phillebaba
paxys · 8 months ago
If the author has ethical concerns with companies using their work there's a simple way to make that explicit and unambigious – the license. No one can read their mind otherwise.
minus7 · 8 months ago
If you consult with someone over their project, then proceed to fork it behind their back, that's just being a dick, even if it was perfectly legal. We should not accept that kind of behavior. And that's even ignoring that the consultation was unpaid and the project was actually even stolen.
minus7 commented on Kmart lied to me, so I hacked their lamp [video]   youtube.com/watch?v=E_6Y1... · Posted by u/jackedEngineer
danbruc · 8 months ago
I am really missing an explaination of how the cable and PCB were non-standard and if that would have been fixable. This feels more like building a new lamp for an existing housing than hacking the existing one.
minus7 · 8 months ago
There's a pinned comment on the video about the cable:

    For everyone that's interested, the included USB cable is wired like this:
    
    GND    -------> GND
    D+  -------> VCC
    D-   -------> VCC
    VCC -------> VCC
    
    So it is a non-standard cable! I measured by checking continuity between the USB A plug, and the USB C connector with a USB A adapter on it. None of my probes are small enough for a USB C connector's pins directly.

    There was a bit in the video about this that ended up on the cutting room floor, my bad!

minus7 commented on Imagine telling 2010 devs that in 2025, collapsing a div would require $8/ month   old.reddit.com/r/webdev/c... · Posted by u/_kush
minus7 · 9 months ago
No one's gonna pay just for the sidebar being collapsible. Maybe someone is going to because it was the last straw, but most are just going to be annoyed. Better ask for money only for something with real value (which I'm sure the pro tier also includes).
minus7 commented on Show HN: Rill – Composable concurrency toolkit for Go   github.com/destel/rill... · Posted by u/destel
destel · a year ago
Hi everyone. Posting on HN for the first time. I'd like to share Rill - a toolkit for composable channel-based concurrency, that makes it easy to build concurrent programs from simple, reusable parts

Example of what it looks like:

    // Convert a slice into a channel
    ids := rill.FromSlice([]int{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}, nil)


    // Read users from API with concurrency=3
    users := rill.Map(ids, 3, func(id int) (*User, error) {
        return api.GetUser(ctx, id)
    })

    // Process users with concurrency=2
    err := rill.ForEach(users, 2, func(u *User) error {
        if !u.IsActive {
            u.IsActive = true
            return api.SaveUser(ctx, u)
        }
        return nil
    })

    // Handle errors
    fmt.Println("Error:", err)

Key features:

  - Makes concurrent code composable and clean
  - Works for both simple cases and complex pipelines
  - Built-in batching support
  - Order preservation when needed
  - Centralized error handling
  - Zero dependencies
The library grew from solving real concurrency challenges in production. Happy to discuss the design decisions or answer any questions.

minus7 · a year ago
Hey,

I found your library a few weeks ago when I was annoyed by nothing like this being built into the standard library. It’s been a breeze to use so far.

A neat trick I found to gauge bottlenecks in pipelines is using Buffers between steps and running a goroutine that periodically prints `len(buffered)/cap(buffered)`

minus7 commented on Ask HN: Do you vendor Go dependencies or lean on the package proxy?    · Posted by u/bitbasher
minus7 · a year ago
Used to vendor for a bit, but it's messy in git. If anything disappears, it should still be easy enough to recover it from somewhere.

u/minus7

KarmaCake day229January 11, 2014View Original