Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
CactusRocket
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
1.
▲
by
CactusRocket
1y ago
> In what sense Israel is not a theocracy. I find this very disingenuous because the person you replied to was talking only about Iran, and stating that Iran is a theocracy in their opinion. They never mentioned anything about Iran, let
2.
▲
by
CactusRocket
1y ago
I tend to disagree with that, also. :) Even within one codebase there's immense value in having separate structs/classes per "layer" or domain. E.g. a different set of structs for the database layer than for the "bu
3.
▲
by
CactusRocket
1y ago
I think you and I read a different article. For example, about treating JSON keys without case sensitivity: > In our opinion, this is the most critical pitfall of Go’s JSON parser because it differs from the default parsers for JavaScrip
4.
▲
by
CactusRocket
1y ago
I think I didn't explain myself well. As long as a language has bytes and arrays, you can implement anything on top of them, like unsigned integers, 8-bit strings, UTF-8 strings, UCS-2, whatever you want. Sure it won't be native t
5.
▲
by
CactusRocket
1y ago
I think it's just kinda dumb parsing. E.g. JSON is an extremely simple spec. Most of those issues that the Go JSON parser has, are because of specific choices of the Go implementation, not about JSON. The fact that it allows case-insen
6.
▲
by
CactusRocket
1y ago
I imagine that one of the points of a solid protocol buffers library would be to align the types even across programming languages. E.g. explicitly force a 64-bit integer rather than "int" relying on the platform. And to have some
7.
▲
by
CactusRocket
1y ago
If you use the same struct in both an HTTP API and an ORM, you're Doing It Wrong in my opinion. These should be completely separated. Exactly to prevent accidental leaking or injection of data.
8.
▲
by
CactusRocket
1y ago
That's the whole point of the first item in the article, and the original comment you were replying to. In Go (and some other languages) that formatting is implicit and automatic. So you need to write to code to NOT format the fields o
9.
▲
by
CactusRocket
1y ago
I feel like "perfect is the enemy of good" only works when you (still) have to put considerable effort to make it better, e.g. when building software. However currently there are already better alternatives than Signal, so in my p
10.
▲
by
CactusRocket
1y ago
I think in this day and age, it's "fine I guess" that it's set up that way: most services do that. But going forward, I think it's much better if services work in the way that e.g. email and IRC work: decentralized
11.
▲
by
CactusRocket
1y ago
Could it be Consolas? It would make sense I believe it's the default monospace font on recent Windows.
12.
▲
by
CactusRocket
1y ago
Thoughts go faster than fingers. It's already hard enough to keep up with my stream of thoughts when coding, when I'm touch typing pretty fast. I can't imagine my coding experience if I had to look at the keyboard to input my
13.
▲
by
CactusRocket
1y ago
The Telegram clients are actually open source and I think pretty solid. The Matrix protocol is open, federated, and secure, but the clients are kinda janky. I've been playing with the idea of what if someone were to fork the Telegram c
14.
▲
by
CactusRocket
1y ago
I think in general Total War and its genre is relatively niche. While almost everybody is up for a bit of cartoony racing.
15.
▲
by
CactusRocket
1y ago
You need to install the phone app to be able to activate it. If you've been offline on the desktop app for too long, you need the phone app again to re-active the desktop app. I've also noticed a lot of issues synchronizing messag
16.
▲
by
CactusRocket
1y ago
Also depends on where you're coming from. My friends use WhatsApp and I don't because of privacy considerations. If they switch to Signal, I might still not use it because they want my phone number (and their servers are centraliz
17.
▲
by
CactusRocket
1y ago
It's not in the same ballpark, but this entire topic is about "An Ethical Replacement for WhatsApp". Should we then accept potential privacy issues with another service, if they are somewhat of an improvement overall? Or shou
18.
▲
by
CactusRocket
1y ago
Conversely I've been using Signal on 2 laptops and a PC for only a couple of weeks, and I face issues of messages not synchronizing approximately once a week...
19.
▲
by
CactusRocket
1y ago
I don't really use Whatsapp, or any IM client on my phone, but do have a few friends use Telegram so I'm using it on my computer. We're looking at alternatives. We tried out Signal, and that feels extremely basic and spartan,
20.
▲
by
CactusRocket
1y ago
I would say that depends on how strong the friendships are, and how strong your morals/beliefs are.
21.
▲
by
CactusRocket
1y ago
That's a problem with every computer update right? Not limited to Linux.
22.
▲
by
CactusRocket
1y ago
I am not very proficient with LLMs yet, but this sounds awesome! How do you do that, to "feed it this essay"? Do you just start the prompt with something like "Act like the Grug Brained Developer from this essay <url>&q
23.
▲
by
CactusRocket
1y ago
I don't really think so. The tracker is just a tiny part of the whole Bittorrent setup, and it's only really used by clients to get a list of peers. It's basically just an HTTP call to the tracker, returning a response. The o
24.
▲
by
CactusRocket
1y ago
I am not the one who created the post, but currently it doesn't seem to be usable as a library because most of the code is in a directory called "internal", which isn't accessible when using the repository as a dependenc
25.
▲
by
CactusRocket
1y ago
How hard it is depends a lot on your experience, how comfortable you are with the programming language, and if you have an experimentation mindset. To offer a perspective, I also decided to build a Bittorrent client in Go last week, and I&#
26.
▲
by
CactusRocket
1y ago
I would like to echo performance (and other issues) with Fyne. Every time I try it again, I'm actually kind of baffled that it's so popular. Last week I came across these Qt bindings: https://github.com/mappu/
27.
▲
by
CactusRocket
1y ago
Interestingly (or maybe not) I started writing a Bittorrent client last week, also in Go. I don't really like AI/LLMs for coding, and my goal is to really learn from it. Not to just deliver some piece of code that an AI wrote... S
28.
▲
by
CactusRocket
1y ago
> and without sacrifices There are always trade-offs/sacrifices. The Go team isn't making new versions just for fun. Each version since 1.21 has had improvements. Especially the fix/change to for loop variables in 1.22 is
29.
▲
by
CactusRocket
1y ago
> We desperately need an open source engine that can compete with Unity and Unreal I think this is a pipe dream. There's a lot of money behind Unity and Unreal, that buys a lot of developers. Actually I think it's amazing how f
30.
▲
by
CactusRocket
1y ago
See this from another comment in the thread https://imgur.com/a/6ZTCStC
More ›