News for hackers. Stuff that matters.

devjam

Re:Herdr has released native app on Friday October 30, 2026 @03:28AM (#50300776)
Telemetry does not include any data from your terminals, or names of files, folders or projects. In fact they even provide an example JSON payload for you to inspect in the settings dialog.
Re:Setting Up SSH Keys on macOS with Touch ID on Wednesday October 21, 2026 @06:46AM (#50178756)
You can also use a password manager like 1Password [1] to store your private keys, and use a local socket for your SSH agent to automatically unlock using TouchID.

[1] https://1password.com/developers/ssh

While Apple does make nice hardware and appear to be listening to their users in that respect, don't forget that Tahoe has not been particularly well-received.
Re:Rob Pike Goes Nuclear over GenAI on Friday December 26, 2025 @05:48PM (#46397210)
While I agree with your sentiment, the actual quote is subtly different, which changes the meaning:

"Think of how stupid the average person is, and realize half of them are stupider than that."

Re:Alan.app – Add a Border to macOS Active Window on Thursday November 27, 2025 @12:25AM (#46065979)
That was my first thought too! but then realised Allan Border has a double L, while the app's name is "Alan"
Re:What AI Is Really For on Thursday November 20, 2025 @05:48AM (#45991305)
Nothing is in its "final form" today.

I'm a long time SWE and in the last week, I've made and shipped production changes across around 6 different repos/monorepos, ranging from Python to Golang, to Kotlin to TS to Java. I'd consider myself "expert" in maybe one or two of those codebases and only having a passing knowledge of the others.

I'm using AI, not to fire-and-forget changes, but to explain and document where I can find certain functionality, generate snippets and boilerplate, and produce test cases for the changes I need. I read, review and consider that every line of code I commit has my name against it, and treat it as such.

Without these tools I'd estimate being around 25% as effective when it comes to getting up to speed on unfamiliar code and service. For that alone, AI tooling is utterly invaluable.

Re:Major AWS Outage Happening on Monday October 20, 2025 @06:16PM (#45650120)
> Easiest day for engineers on-call everywhere

I have three words for you: cascading systems failure

Re:RSS Is Awesome on Friday August 29, 2025 @01:18AM (#45060490)
> ... Feedly that pretend to care about RSS but layer on features unrelated to the protocol

I've been using Feedly since Google killed reader, and while I like the RSS functionality it offers, I do agree that they've slowly been adding more and more features I don't care for.

Maybe it's time to migrate to something like TFA suggests.

I also agree with your other comments; it's huge a shame.

Re:I'm Archiving Picocrypt on Wednesday August 06, 2025 @08:00AM (#44810830)
I see what you did there
Re:Is It JavaScript? on Monday June 02, 2025 @04:11AM (#44156646)
There appears to be a link to an RFC1918 address on that page: http://192.168.4.56:5001
Re:You might want to stop running atop on Tuesday March 25, 2025 @11:18PM (#43478545)
"Don't put your hand in the fire."
Re:Better Shell History Search on Tuesday March 25, 2025 @11:13PM (#43478513)
I've been using McFly [1] recently, and like it a lot.

> McFly replaces your default ctrl-r shell history search with an intelligent search engine that takes into account your working directory and the context of recently executed commands. McFly's suggestions are prioritized in real time with a small neural network.

[1] https://github.com/cantino/mcfly

Re:Bug squash: An underrated interview question on Wednesday August 21, 2024 @12:45AM (#41306865)
As was also pointed out in the TFA, while you may not be "marking people down" because of unfamiliarity with syntax, an interviewee who has more experience with the language (and it's debugging tools) used in the interview will have an inherent advantage over someone who isn't as familiar.
Re:Adventures Making Vegemite on Sunday April 07, 2024 @09:43PM (#39965499)
I agree, nice and thick, with lots of butter! Don't listen to the advice in the article :-)

> The trick is not to spread it thickly like peanut butter; instead, you take about a quarter of a teaspoon’s worth and scrape it thinly over the entire slice.

Re:Go Run on Wednesday February 21, 2024 @09:48PM (#39462566)
And if your main.go is in a sub-directory, e.g. cmd/pathto/cli/main.go:

    $ go run ./cmd/pathto/cli
Re:What you've got is in fact a people problem on Wednesday February 14, 2024 @10:52PM (#39378913)
From the Wikipedia entry:

> After his death Machiavelli's name came to evoke unscrupulous acts of the sort he advised most famously in his work, The Prince. He claimed that his experience and reading of history showed him that politics have always been played with deception, treachery, and crime. He also notably said that a ruler who is establishing a kingdom or a republic, and is criticized for his deeds, including violence, should be excused when the intention and the result are beneficial to him.

Re:The Catalogue of UK Entrances to Hell on Tuesday February 13, 2024 @06:09AM (#39356631)
Save, open FTP/SCP client, copy to webserver, maybe poke/restart a service via SSH, back to browser, refresh... dammit, error, rinse repeat.

We're certainly spoiled having formatting, linting, tests and coverage all run on save these days :-)

Re:The Catalogue of UK Entrances to Hell on Tuesday February 13, 2024 @05:43AM (#39356429)
What a gem! And a few more from the HTML source:

    <META NAME="Keywords" CONTENT="entrances2hell, entrancestohell, entrances to hell, Hell, Canterbury, Kent,">
As well as a style tag missing a closing '>' on the page template:

    </style
Re:How Programming Languages Got Their Names on Thursday February 08, 2024 @05:04AM (#39300227)
Practical Extraction and Reporting Language
Re:From slow to SIMD: A Go optimization story on Wednesday January 24, 2024 @05:19AM (#39115708)
Sure, I understand that from the POV of making your code explicit. Personally I have always tended towards, for example:

    var x string
when initializing empty (zero-value) vars, versus:

    x := "hello"
when initializing variables that should hold an initial value.

To me as a Go programmer at least, this is more obvious and intuitive as to the intent of the declaration.

Re:From slow to SIMD: A Go optimization story on Wednesday January 24, 2024 @02:58AM (#39114787)
The author used:

    sum := float32(0)
Over Go's zero-value default initialization e.g.

    var sum float32
A nit stylistically but wondering if there was a good reason to do so?
I feel the same way.

My commits on a PR are always rebased as I go, into one or two or at most three neat changes. Meanwhile (some) others I work with seem to have no problem creating PRs consisting of a dozen or more changes, most of which with messages like “wip”, “typo”, “fix comment” etc.

Re:4B If Statements on Friday December 29, 2023 @01:06AM (#38802193)
Don't forget the companion isEven function:

    func isEven(n int64) bool {
        return !isOdd(n)
    }
Re:You can't do that because I hate you on Thursday December 28, 2023 @08:12PM (#38800708)
> The fact that the Python REPL provides a helpful hint seems like extra effort to make your life easier.

I agree; Python is actually helping you out here, since just typing `exit` doesn't actually call the callable.

Also, Python being Python, while not recommended, there's nothing stopping the user from assigning to `exit` then printing it in the repl:

    >>> exit = 42
    >>> exit
    42
What would the author expect Python to do in this instance?
Re:Gokrazy – Go Appliances on Tuesday December 19, 2023 @05:01AM (#38693779)
I’m bemused by these sorts of disparaging comments that come from people who seem to have no real world experience running Go applications at scale.

It’s entirely possible to run a server that will handle tens of thousands of req/sec on hardware with comparatively small amounts (by todays standards) of RAM e.g. 512MB

Re:Russ Cox: Go Testing by Example on Tuesday December 05, 2023 @09:50PM (#38539988)
A huge time-saver for me when adding table-driven test boilerplate in Go has been using gotests[0] to generate the template.

If you use VSCode with the Go extension it's already available there as a command "Go: Generate Unit Tests for Function/Package".

[0] https://github.com/cweill/gotests

Chips. Although very occasionally you will hear crisps.

Often "hot chips" (french fries), as distinct from a "packet of chips" (crisps), but it's contextual: e.g. a Schnitzel with salad and chips, would always be with hot chips.

> Published 16 January 2023 3:59pm
Re:Bing: “I will not harm you unless you harm me first” on Wednesday February 15, 2023 @11:48PM (#34815167)
It's obvious, you need to run:

    $ man find
before you can do that.
Re:Ask HN: Should HN ban ChatGPT/generated responses? on Monday December 12, 2022 @06:02AM (#33953353)
I'm using uBlacklist [1].

[1] https://iorate.github.io/ublacklist/docs

Older »