ricardolopes

Joined 13 years ago

Karma
198
Submissions
83
Member since
Aug 22
http://ricardolopes.net
View on Hacker News

Recent submissions

Comment · 10 months ago
I use OMZ because it lets me rely on popular defaults instead of bike shedding and rolling my own. Its main advantage is convention over configuration. For instance, I just have to learn the git plugin aliases once, and then I can use them anywhere with OMZ + git plugin. Is there any lighter alternative that is compatible with OMZ plugins?
Comment · 1 year ago
The problem I have with coding on Termux is that it's not a full Linux environment, and a lot of tools will fail to compile because there's some dependency that doesn't exist. That includes, for instance, database adaptors for nodejs, which compromises web app development.

Do you use any workaround for that huge limitation? Or just SSH into a proper Linux box?

Comment · 1 year ago
This could be debatable if browsers had any UI at all to display XML. It's incomprehensible that if you open the open web solution for subscribing to web content (RSS) you're greeted with a wall of unformatted text. Right now, XSLT is the poor fix to that browser's basic inability.
Comment · 1 year ago
My experience with a Pixel 6:

+ Doesn't have the same compatibility issues Termux has, so I can install things like bun.js and npm packages with native bindings (e.g. database connectors)

- Can't edit text selection, which makes it difficult to copy text

- Can't paste text

- Frequently restarts and loses all progress while switching apps

I can't say much about the battery because I just haven't used it enough to tell the difference. Honestly, with all these major flaws, I usually end up just using Termux.

I hope they fix these glaring flaws soon, IMO they're a lot more urgent to get devs to actually use this than GUI support.

Nitpick: also, a more distinctive name would be nice. Right now, it's basically impossible to search for solutions to Android Terminal issues

Comment · 3 years ago
This looks really neat. I've definitely thought of "Duolingo for X" project ideas that I only wish I had the time to actually develop.
Comment · 3 years ago
In the post he mentions that he was already getting bored before Ukraine, and that war actually kept him going a bit further
Comment · 3 years ago
Like others in the comments, I've also been happily using Harmonic after having tried almost every other HN app.

I've got a strong preference for open source apps, so this is the best news I could get from this app.

Thank you for your great work!

Comment · 3 years ago
Do you believe the amount of time developers have spent building hello worlds is a waste because those are useless applications?

Should go without saying, but the interesting thing about this thread is not that you can now play a flawed text version of an old game. It's that this example toy use case manages to explore the new capabilities and limitations of this new promising tool. This improves our understanding of this technology, and helps us make better use of it in the future, for more productive and innovative applications that we may not be able to predict yet at this point.

Comment · 3 years ago
Relying on hacks for production code is usually a red flag/code smell that indicates there was probably a better alternative. `string & {}` definitely feels like one of those hacks.

As an alternative, wouldn't it be better to map the list of supported values in a structure like an enum?

Example:

```

enum HelloWorldValue {

  Hello: 'hello',

  World: 'world'
}

const value = HelloWorldValue.Hello

```

And now you can call that enum when declaring a variable value and get its contents in autocomplete. As a nice bonus, because these are references and not strings, you can ask your IDE for all places instantiating those values, which can be a life saver.

Comment · 4 years ago
I like to focus on the main business element. If it's a SaaS for sharing videos with comments, for instance, I'd take a longer look at the video and comment models, their relations, and the call chain from API endpoint to model.

Another strategy I like is picking parts of the codebase and trying to refactor them. You don't even need to commit anything if you're not supposed to go around changing things: just by spending some time moving things around, seeing what breaks and so on will give you a better understanding of the code and what it does.

Comment · 4 years ago
I remember reading this book in my teenage years and being moved by its story. I still think about it, and it's one I'd definitely recommend.

I wonder how it got to the top of hn all of a sudden though.

Comment · 4 years ago
This looks amazing! But if it's streaming copyrighted material, how will it survive legal action?
Comment · 4 years ago
That's not how coinbase operates. You have a "Buy <Coin>" button, and you expect to get that coin without fail, every time. If a new token launches, you should be able to buy it without waiting for users to deposit and sell. Maybe you're confusing with coinbase pro, which uses the more traditional order book model, or with other exchanges?
Comment · 4 years ago
> I don't want DuckDuckGo to filter/sensor based on "politics of the day". I don't mind them tagging results.

Agreed on both. Maybe it should have been done sooner, to avoid looking reactionary. Though I understand why today that propaganda may be considered worse than in the past.

> Sure, but there is clearly a difference here.

There's a difference, but not significant IMO. Just like misleading results should generally be penalised, to help people get to the information they requested.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton