News for hackers. Stuff that matters.

kaamkiya

Re:Ask HN: Have you used an alternative to Git? on Sunday December 29, 2024 @05:15PM (#42543878)
Oh, I think I've seen this. If I remember correctly SQLite uses it.

Thanks.

Python. It's really easy to learn and write, it has a huge community, and it's fast (for an interpreted language).

It's also used a lot in the AI/ML area, and with the rise of LLMs, it'll probably provide some amount of job security.

I never really thought about it. I guess some people just like having those features, but I find them annoying.

I use Neovim with 0 plugins (apart from themes). I code in Go, and frequently reference https://pkg.go.dev.

When I do need to code in VS Code (rarely), I find that the autocomplete just gets in the way of my though process. It's like having a train of though barreling along and then suddenly an elephant gets on.

Also, I didn't even know what an language server was until looking it up after reading this post.

About Copilot: I have many problems with AI. They guzzle electricity, tend to be run by corrupt corporations, and are filling the internet with BS.

If I need to look up the definition/implementation? `:vsplit` works fine. If it's on the internet? https://pkg.go.dev.

If you don't trust me, you can check my dotfiles: https://codeberg.org/Kaamkiya/dotfiles

Re:Show HN: Daylight Time Year Clock on Sunday December 22, 2024 @10:08PM (#42491387)
Before even looking at this, I was reminded of this video[1] by Tom Scott.

Pretty cool, though :)

https://www.youtube.com/watch?v=-5wpm-gesOY&pp=ygUadGhlIHByb...

I occasionally browse Reddit (I don't have an account), but I think I knew that it was going bad back when all those subreddits were protesting.

Back then, it wasn't because of bots, but I did think that most websites going through enshittification will eventually be filled with bots.

I did find https://discuit.net to be a good alternative, as well as Lemmy.

Re:Ergo Chat – A modern IRC server written in Go on Wednesday December 18, 2024 @02:47PM (#42454224)
And if it's not, or you need something more secure, there's always Matrix.

https://matrix.org

Re:Ask HN: Which language for Advent of Code in 2024? on Thursday November 28, 2024 @05:57PM (#42269193)
Python. I like to code in Go, but I find Python the easiest for small things I'll only use once.

I used C to do some of the old ones. That was painful (I was a complete C beginner).

Show HN: I made a collection of games for playing in a terminal

https://github.com/Kaamkiya/gg

Hello HackerNews, I'm Kaamkiya, the author of this program. It's a collection of minimal games made for terminals, like 2048, Hangman, and even two player games like pong. They're all text-based, but they can actually be quite fun.If you want to test it right now, you can do this:go run github.com/Kaamkiya/gg@latestI started this project out of boredom, honestly. I was bored, and when I'm bored...

( Read More... | no comments | 2 points | on HN )
Re:A book that teaches how to code in modern Java on Sunday November 10, 2024 @09:28AM (#42100416)
I really liked your book and plan to use it when I need to teach people how to code, so thanks a ton.

> Fixing Mechanical issues

I tried running `*.java` files without classes (so just `void main`) and I got this error:

```

Hello.java:1: error: class, interface, or enum expected

void main() {

^

```

> Be a template

It's a great one.

Thank you!

Re:A book that teaches how to code in modern Java on Saturday November 09, 2024 @05:25PM (#42097303)
Credit to the author.
Interesting, certainly something I had never thought about. I don't think this is even slightly feasible with my pretty low level of NLP and text analysis, but intriguing nonetheless. Thanks.
Re:Has the market spoken? Time to pick up Golang and Rust? on Thursday November 07, 2024 @06:30PM (#42082346)
This is exactly my experience. I would just add that I do still use Python, because all tools have their uses. I use it for small scripts, and nothing else. Just places where compilation doesn't really make sense.

Ask HN: What are some real problems people can solve with coding projects?

I see a lot of project ideas, and I see a lot of people shoot them down because no one would use them.I recently made a project called gg[0], and it's a collection of TUI video games. It's really just a toy; it doesn't solve a problem.I'm curious, what problems do you have that could potentially be solved by developers?[0]: https://github.com/Kaamkiya/ggP.S. This is my first HN post. Feel free...

( Read More... | 5 comments | 5 points | on HN )