Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
vascocosta
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
31.
▲
by
vascocosta
1y ago
Yes, while macros simplify some tasks, they also make it harder to really understand the code. Well, technically they hide the code in most languages as they're metaprogramming done in a separate language. I love Rust and do some advan
32.
▲
by
vascocosta
1y ago
I've experienced this. I would say it depends a lot on the complexity at hand, so for instance if it's something rather simple, you can keep track and avoid pitfalls even when doing it with a lot of mutation and imperative style.
33.
▲
by
vascocosta
1y ago
I know where you're coming from. But for me it's one of the main reasons I use Rust, since it clicked for me after the initial hurdles. Contrary to the average opinion on this, I like the syntax and don't mind so much about f
34.
▲
by
vascocosta
1y ago
I very much agree with this and that's one of the reasons I keep using Zig as it is now. I try to provide feedback on what isn't very obvious to me.
35.
▲
by
vascocosta
1y ago
For me the value in Zig is its simplicity as a language (in a way similar to go's simplicity) and the explicit and very fine grained control over memory allocation. On top of that, I really appreciate tagged unions and error handling.
36.
▲
by
vascocosta
1y ago
As someone who dove deep into Rust at the end of 2022, I always find it interesting to read these stories from people who went through the harder times it was back in 2015. I feel lucky to have learnt the language when it was much more deve
37.
▲
by
vascocosta
2y ago
Yes, it's technically possible, but indeed it's such a default that no one really tries to fight it.
38.
▲
by
vascocosta
2y ago
Interesting viewpoint. It is my belief that Lua would be nice as a first language, but maybe this opinion is tainted by all my years of experience in programming. Lua definitely wasn't my first language, I started out with C/C++ a
39.
▲
by
vascocosta
2y ago
First off, congrats and feel free to share a link to your game here as I got interested. I totally resonate with your comment about the language not getting in your way. I use all sorts of languages for different kinds of applications for m
40.
▲
by
vascocosta
2y ago
Both views have valid points. I guess it depends on how quickly you need to get something up and running. Battle-tested libraries definitely have their pros, but then again the surface area for possible bugs is also greater. For sure, most
41.
▲
by
vascocosta
2y ago
Fair point about the Linux CLI, especially the lack of a comprehensive stdlib. As for the syntax sugar and code terseness, maybe it's just me, but I prefer verbosity over compactness. Surely it takes more time to write and read, but pe
42.
▲
by
vascocosta
2y ago
This point made me think for a while... We're so used to languages with batteries included, like for instance Python which I often compare to Lua, that we assume it's always a good feature to have. It can be, but it's not for
43.
▲
by
vascocosta
2y ago
Your analogy to a stripped back version of JavaScript is really on point. I feel that way about Lua too. Through time Lua kept its simplicity, whereas ECMAScript kept accreting stuff which most of the times makes life easier, but also gives
44.
▲
by
vascocosta
2y ago
For me Lua, from a minimalism point of view, feels like the Go of dynamically typed languages. I love how you can acquire the language easily within a very short period of time (apart from some idioms, which like in other languages take mor
45.
▲
by
vascocosta
2y ago
I made a simple retro game out of pure passion and released it for free at itch.io, however I see many good games that sell for low prices. There's definitely a niche market. Alternatively users can also donate or become your patrons.
46.
▲
by
vascocosta
2y ago
I've recently developed a very simple game for the ZX Spectrum in a week and within 2 weeks it was downloaded almost 200 times on itch.io. Despite being an extremely low effort attempt I got some feedback and even a review on Youtube.
47.
▲
by
vascocosta
2y ago
28072048 here. Anyone knows about NINA chat? They're trying to keep MSN, AIM, ICQ and others alive. I wonder if someone else is using it?
48.
▲
by
vascocosta
5y ago
Me too and I'm a long time Python programmer.
49.
▲
by
vascocosta
5y ago
That's a very good idea. I'll try to add that feature on the next release. Thank you for using my little weather app. :)
50.
▲
by
vascocosta
5y ago
Hmm, with Pyinstaller I generate true standalones which require no libs at all, nor Python to be installed on the host system. Do you use the --onefile option? As an example, here's a little project which I also release as a single bin
51.
▲
by
vascocosta
5y ago
Yes. I do it for my weather app that uses PyQt. On the release files I have single binaries that work flawlessly: https://github.com/vascocosta/glueather
52.
▲
by
vascocosta
5y ago
I use Pyinstaller to generate single file executables of my Python projects, which use Qt. It works great.
53.
▲
by
vascocosta
5y ago
Python and Go are also the main languages I've been using for the last decade. Noticing all the hype around Rust recently is prompting me to learn a new language. The last time I learnt a language from scratch was Go around 2010. Go wa
54.
▲
by
vascocosta
5y ago
It's in a very early stage, because I'm porting it from a previous Python code base, so it's not yet available. That said, I'll leave here two links for Racket software that inspire me. 1. Gemini server with tons of feat
55.
▲
by
vascocosta
5y ago
Python is still the language I use the most. Have you tried using the pyinstaller package to create executables? It's super easy.
56.
▲
by
vascocosta
5y ago
Complex applications was probably an overstatement but I've created featureful IRC and Discord bots, a database management application and right now I'm creating a graphical browser for the Gemini protocol. All my other previous a
57.
▲
by
vascocosta
5y ago
As an imperative, stateful and even sometimes OOP developer, always finding functional programming very elegant but never really using it for real, Racket was the Lisp dialect that finally hooked me in. I think the reason was because it cam
58.
▲
by
vascocosta
5y ago
I'm a programmer. I also enjoy occasionally producing electronic music, usually within the trance genre. Nevertheless as a good programmer I'm lazy and that reflects in my music creation. I'm a minimalist, but minimalist tran
59.
▲
by
vascocosta
6y ago
I missed the chance to buy it the first time around. Does anyone know when a new batch is coming?
60.
▲
by
vascocosta
6y ago
The simple HTML of Hacker News is one of the reasons I love it so much. What a breath of fresh hair compared to modern Reddit.
More ›