HNHacker News
TopNewBestAskShowJobs

adamrt

487 karma · joined May 22, 2012

submissionscomments
adamrt··on 1Password for SSH and Git (Beta)
I use iOS, Firefox and 1Password to fill out passwords regularly. I just logged out of HN and back in on my iPhone just to test. Is there certain versions that this affected?
adamrt··on Django: Reformatted code with Black
Git blame has a feature just for this `git blame -w -M`. -w ignores white space changes and -M isn't really necessary but will ignore moved lines
adamrt··on Serenity OS: Interview
Hey Adam, just wanted to say I’m a huge fan of both your and Andreas’ work.

Really glad you guys got together for this.

adamrt··on Highlights from Git 2.35
Hah, I was thinking the same thing and jumped to comments to see if someone else mentioned it. I actually use this quite a bit in Magit.

Magit is genuinely amazing.

Thanks @tarsius!

adamrt··on Tricking PostgreSQL into using an insane, but faster, query plan
> We want exactly the functionality that is already present in other systems, pitfalls and all. That's just an excuse to do nothing

Are you offering to help with the maintenance or development associated with it? Or are you just demanding features while calling the people that do help with that stuff liars?

Maybe they do know better? Or maybe they know about other hassles that will come with it that you can't fathom. They've been developing and maintaining one of the best open source projects on the planet for nearly 3 decades. Maybe with all that experience, its not their opinion that is BS?

adamrt··on A simple defer feature for C
> Why "on function exit" style defers - already known to be a bad idea from Go - is beyond me

Is there something you can point me to about this? I write Go professionally and from a readability and utility standpoint I really like it in common scenarios. I hadn't heard its a know bad idea and am just curious. Thanks.

adamrt··on Ask HN: What do you think of the Wordle guy not monetizing it?
Top 5 fav albums. Related: I saw the push cart from Lone Wolf and Cub (Shogun Assassin) back in like 2005 while visiting Japan.
adamrt··on OneBag: The Art and Science of Travelling Light
The 34L that I have fits under a plane seat even if its packed full. I prefer it in overhead obviously, but for a short flight with packed overhead, it's nice to have the option.
adamrt··on OneBag: The Art and Science of Travelling Light
I've had the GR2 34L since it was released (maybe 6-7 years ago) and I've traveled the world with it. I have the same affection for it that you have for yours. I can live out of it indefinitely as long as I'm not in extremely cold climates. Worn in and in perfect shape.
adamrt··on Natalie: An early-stage Ruby implementation that compiles to C++
Andreas Kling (of SerenityOS) recently did a Natalie contribution video that I found interesting. https://www.youtube.com/watch?v=b4PZgvPYkP4
adamrt··on Three Minor Features in Go 1.18
1. Wrong. There are cases where reproducible builds are valuable. There are other times when you don’t care. This allows you to choose for what fits your situation.

2. Okay, what about projects that don’t fit your criteria? This is useful and requested.

You seem to have a different philosophy than other people but seem to be unable to consider those other philosophies. It’s your way or the highway.

Not everyone wants an exciting language. Some people want a stable and useful language. Go is intentionally not exciting. They add features based on user feedback and real world use, at a slow and careful pace.

Also consider you might get downvotes not because it’s about go, but because you’re kinda rude. You just spouted negativity with no explanation and called tons of people Sons of Bitches. Could be that?

adamrt··on Three Minor Features in Go 1.18
Is this just drive by negativity?

1. Care to elaborate?

2. What does this even mean?

3. It’s in the pending release notes with all the other new features and further information in the post you’re commenting on. https://tip.golang.org/doc/go1.18

Try to be more constructive if you want a conversation please.

adamrt··on Nim 1.6.2
Great explanation, that makes total sense.

Thanks for giving the insight.

adamrt··on Nim 1.6.2
Cool thanks for the info.

Nim having selective imports solves any annoyances I would have.

But you mentioned all the reasons it was ok in Nim. But the answer is always that the compiler knows. That isn’t why I personally dislike this type of import. I dislike it as a user. I find it super annoying not knowing where an identifier is coming from.

I love having ‘fmt.Printf()’ instead of ‘Printf()’. Trivial example I know. I’m sure everything becomes fine once you are familiar with the ecosystem though.

adamrt··on Nim 1.6.2
> Implicit imports on the global namespaces? What do you mean?

Not OP, but they are referring to `import std/strformat` (from homepage). That just imported things into the global namespace. Maybe that isn't required and its just for short examples, I don't know.

Go and Python can both import into the global namespace too (`from thing import *` and `import . somepackage`), but they are pretty frowned upon in most projects.

adamrt··on Go 1.18 Beta 1 is available, with generics
It’s not like they just had them ready to go at the flip of a switch and we’re just holding out.

There were trade offs and they didn’t have a solution on day one.

They’ve always said they were open to them with the right implementation.

adamrt··on Ask HN: Best way to prepare a codebase for open-source?
How could history be more important than a running version of a project?

Without history the current version is the only version.

adamrt··on Show HN: Motor Admin – No-code admin panel
I think self-hosted refers to it not being a SAAS. Deploy to "your" cloud servers. I'm just assuming though.
adamrt··on APL in its modern state (2020)
There was a good Co-Recursive episode I just listened to last week that was partially about APL. https://corecursive.com/065-competitive-coding-with-conor-ho...
adamrt··on OpenBSD 7.0
Just to clarify, Bash is installed under /usr/local because it’s from packages and not part of the base system.

The base shell, ksh, is at /bin/ksh.

You probably know that but I just felt like being pedantic this morning :).

adamrt··on Ruby Is Still a Diamond
> a = 1 if True else 0
adamrt··on Apple's plan to “think different” about encryption opens a backdoor to your life
Is this a bot comment? Account is two hours old.

You want to not suffer through political memes? And jump to scanning private messages for dissent, by authoritarian governments being okay!?

What?!

adamrt··on My Fanless OpenBSD Desktop
He stated multiple times in the article that he runs OpenBSD, which doesn't fully support the M1.
adamrt··on Plan 9 from Bell Labs in Cyberspace
> but in my country giving free labour to a corporation is illegal.

It is not illegal for me to work on a project then release it for free and a company to use it.

It’s not exploitative. It was my decision.

adamrt··on Plan 9 from Bell Labs in Cyberspace
You severely lack any historical context about open source.

You are speaking like it was started by big companies to get free labor.

It was literally the opposite. It was started by people who wanted to share and have the source code so they could make changes and not be beholden to large companies.

You are literally complaining that about GIFTs! It is a gift that you can get the source code. You can use it, change it, learn from it. You are welcome!

You also keep associating open source to unpaid forced labor. What about hobbies?

Please tell me anywhere in the world where it is illegal to give away something I created.

It’s hard for me to believe you are not trolling. If you are not, I don’t know how to help you.

adamrt··on Plan 9 from Bell Labs in Cyberspace
This is the most confusing comment I've seen on HN in years.

> I wish the so called open source projects were more inclusive.

- What barrier is there currently to open source projects. Take the code, do whatever you want with it.

- What is the difference between an open source project and a "so-called open source" project. Is the source available freely available? Then its open source. It is a gift!

> Many people would love to work on these projects, but are unable to because they need to have a paid employment to pay bills and feed family.

Why is that anyone else's problem? Billions of people don't get to do exactly what they want to do. Many (most?) open source contributors work on the open source in their spare time. "Many people would love to do X, but are unable to because Y". You can fill in those blanks for anything.

> Companies who use such software are essentially getting labour without paying for it. We need to think about royalty system that will be reimbursing people working on those projects...

They aren't paying for it because the person who wrote it didn't want them to pay for it. You are trying to control the explicit desires of the person who created and shared the software.

adamrt··on Out of prison after 30 years and people telling him to find forms on the web
Not many, but I switched banks two months ago and doing it online made it trivial.

I didn’t say each point was of equal value or frequency. I was just trying to list some benefits for someone that asked.

adamrt··on Out of prison after 30 years and people telling him to find forms on the web
> Easier to keep track of the outgoing money.

It definitely is not. How is keeping track of random cash purchases in your head easier than a computer doing it for you automatically and instantly?

adamrt··on Out of prison after 30 years and people telling him to find forms on the web
A few:

- being able to mange banking while traveling internationally (or to a state/province that does't have a branch)

- 30 second transfers between accounts (or to other banks)

- few minutes to open a new account

- see posted (and pending) charges within a day or two instead of a month (I regularly import for my budgeting software)

I'm a developer and actually do consider myself a little bit of a luddite. But online banking is helpful to me over traditional banking.

adamrt··on Best practices for REST API design (2020)
Agree. I've always preferred the Django vs the Rails way on this. Django uses pluralization only for display purposes.

Things are object_detail (singular) and object_list (plural).

It just assumes 'append s' for plural displays, unless you override. I like the _list suffix instead of trying to pluralize

← PreviousPage 2 of 5Next →