HNHacker News
TopNewBestAskShowJobs

jventura

1,604 karma · joined February 4, 2016

https://joaoventura.net/
submissionscomments
jventura··on Why America's economy is soaring ahead of its rivals
I think the parent poster means that tech companies such as Apple, Nvidia and others are traded in US stock exchanges..
jventura··on Show HN: App that asks ‘why?’ every time you unlock your phone
Also agree, and would also include paid apps as well!

I had a paid app which was a one time payment and was not doing anything special regarding permissions (no internet, nothing like that), but since it wasn't was bringing much revenue (some 3$-4$ per year), I let the Play Store remove it automatically. I couldn't justify adding the absurd data policies (since I wasn't using any user data) and the cost of updating it regularly.

Sorry for my 100 users, that cannot reinstall the app anymore!

jventura··on Ask HN: What's a software project that made people's lives better?
> I also was founder of Ayvri (3d mapping sports tech for paragliders) - I don't put this in the same category as the others, though it was the most lucrative for me, because though paragliders loved it, as did a few ultramarathoners, etc. I don't think it really had the level of impact.

I used to paraglide, and I remember it as Doarama. It was quite used by paragliders, especially in some videos. Personally I liked it in the beginning, but people started to abuse it, and sometimes the videos would consist mostly on the doarama scene (with a voice over). I would skip those parts of the video, or close the video after some time. It wasn't the same as watching a real video capture from the terrain, which I did prefer..

jventura··on Life, death, and retirement
> I just dream of spending a life of slow breakfasts, hiking on Monday mornings to celebrate a new week, reading books, slow traveling, and spending more time close to my aging parents.

What is really stopping you from leaving the US and go back to your country? Is it your girlfriend? Is that it's hard to leave Silicon Valley and its tech-scene (i.e., FOMO)?

The money would probably be more than enough in your parents' country. And eventually, you could probably get bored and would find hobbies or passions to entertain yourself..

jventura··on Is it normal that ALL my phones end up having USB problems?
I use a toothpick to clean the ligthning port of my iPhones. Toothpicks are cheap as well..
jventura··on Group of 17 London secondary schools join up to go smartphone-free
Professor here (not UK-based nor K12)! I try my best to engage students with the material I create, but students must also have an inner motivation to learn (be it to have a better future, to create more opportunities for themselves, etc.).

Oh, I would also like to earn a little bit more, at least the same as a junior or mid-level developer! I have MSc students earning as much as me, with 1/10 of my experience (that's why I'm teaching them). I like to teach, but damn, I would like to be equally compensated! :)

It's a two-way street..

jventura··on Ask HN: How do I get out of learning loop
Why don’t you try to use chatGPT to help you? Ask it how you can start with your idea and keep iterating your questions until it gives you a good way for you to start..
jventura··on Ask HN: What database do you often use in Django production?
At a previous job, we did use postgres. On my personal projects I use sqlite3, no need to configure a RDBMS, and backups are just a file copy away..
jventura··on Ask HN: Downloading 200M Files Fast
Look for ThreadPools or ThreadPoolExecutors in Python. What you need is listed on the ThreadPoolExecutor documentation [1].

[1] https://docs.python.org/3.12/library/concurrent.futures.html...

jventura··on Ask HN: Ambitious, Career advice, working less hours
Yeah sorry, I didn't want to convey with was a ChatGPT prompt, but that it sounded like one, and therefore wouldn't be appealing to many people.

Compare, for instance, with this other thread in the Ask HN [1]. The guy tells a lot about himself, and his story is compelling enough to make people go to the "trouble" of answering him.. Your post, on the other hand, is very succinct, and therefore, you'll get few, and also succinct answers..

[1] https://news.ycombinator.com/item?id=40243598

jventura··on Ask HN: Ambitious, Career advice, working less hours
This looks like a ChatGPT prompt, especially as you ask for pros and cons! I guess for the way you ask the question, you won't get many answers back..

But I'll answer it with another question. What do you need more now, money or time? You'll find the answer to your initial question there..

Good luck!

jventura··on Ask HN: Who's planning to move soon to Porto, Portugal?
What is it so interesting in Porto for you to ask? Just curious as I live some 400 km south of it.. :)
jventura··on Ask HN: How common is developer burnout? Have you ever been burnt out?
> Ultimately I left tech and started working with people more directly which is way more fulfilling.

What do you do now, if you don't mind me asking?

jventura··on Long Covid brain fog may be due to damaged blood vessels in the brain
> If what I'm doing requires extreme care, such as pushing configuration updates to production, I will mentally say out loud what I'm planning to do (probably something similar to [0]), but calling that voice is a conscious effort.

Yes, mentally say out loud is what I'm talking about. And sometimes it's a conscious effort as well, definitely. But it doesn't require much effort from my part. Well, it requires so little effort, that sometimes I catch my mind talking to itself, without the other part really listening. So, sometimes it is not a conscious effort. My reasoning is that maybe some of the thoughts seem to trigger some part of the brain that is used for vocabulary, and they express themselves "vocally" (but without any sound)..

> Do you also subvocalize when reading text?

When reading text, and now by replying to you. English is not my native language, so I must "vocalize" the words internally, and then write them as they "sound" in my brain. I've been doing this for such a long time that is feels quite natural to me. And when I'm less rusty (specially when talking), I tend to skip the "inner" voice and project directly to the "outer" voice. But it only happens when I'm having lots of conversations in English. I haven't been writing or talking in EN too much lately, so I have to use my inner voice as intermediate step. As for reading, most of the time I read using my "inner" voice, both for English as for Portuguese (which is my native language).

jventura··on Long Covid brain fog may be due to damaged blood vessels in the brain
And I am fascinated by people _not_ having inner monologues, as I do have a very active inner voice. For me having inner voice is like one part of me does the talking, the other does the listening. If other people could listen, they would probably say that I'm a crazy dude, doing all that talk. When I see people talking loud, I call them crazy, thank god I do not project my voice outwards!

But sometimes, things come to my mind without talking at all, and it is usually more profound things, or things that trigger a more profound emotion. Regarding self-knowledge or when doing introspection, I confess that having a inner monologue is not effective at all, at least to me.

Can I ask how you "work" mentally? For instance, supposing you're a software developer, how do you go thorough learning a new thing about a programming language? I usually talk to myself things like "suppose I do this here, and..". It is like I am pair-programming with the other half of my brain.

Hope you don't mind me asking! Is just curiosity (and the fact that the inner monologue sometimes may do more harm than good)..

jventura··on Array languages vs. the curse of the spreadsheet
> Thus: English may be the lingua franca of programming in North America and some European countries, but clearly not worldwide.

So, you don't have "for" or "while" loops where you live? Not even a "main" function?

jventura··on Goodbye non-KISS appliances
My dumb LG freezer plays a “ping ping ping” tune whenever the door is not properly closed after a few seconds. No need to send a smartphone notification!
jventura··on Ask HN: Programming Courses for Experienced Coders?
I don't have any significant recommendations. With my students I usually build three applications with sockets: a chat server/client, an HTTP webserver and an HTTP webserver serving JSON. Here's an example of an HTTP server using sockets [1], maybe you can follow and understand a little bit more about sockets.

[1] https://joaoventura.net/blog/2017/python-webserver/

jventura··on Ask HN: Programming Courses for Experienced Coders?
If you're learning Python, and know other programming languages, I have this online ebook [1] that I use with my students so that they learn Python fast enough so that I can teach them about socket programming.

Basically, in each chapter I give a small detailed introduction to the topic and then students do some exercises to solidify things.

[1] https://github.com/joaoventura/full-speed-python

jventura··on Ask HN: Ways to make side income as a SWE?
The competition is similar to Upwork and other freelancing websites. The few times I bid for a mentorship, it was me and a dozen other guys.. I've given up on websites like these and focus instead on local connections.

I've tried to build webapps, websites with content, lots of other things, but I always ended up demotivated by the lack of feedback and interaction. The internet is a very crowded place and there's too much competition. You're either very very good, or lucky (or know how to play the algorithm's games).

My realization is that one should either find a (quite) smaller niche, or it's better to focus in the people around you, where you can engage personally (i.e., in person or email/phone/chat/whatever).

jventura··on 'When I tried to play, my hand spasmed and shook': why musicians get the yips
As a bass player and follower of Scott's channel, I always thought that it was because of extreme sweating, or something like that. I had a colleague (non-musician) who had to use gloves because of that issue, hence my reasoning..

Thanks for the video!

jventura··on Understanding Numeric Data Types in Python
This is my first article on my new website (fullspeedpython.com) which, as the name implies, is a website about Python.

It's an introduction to numeric data types in Python (int, float, complex), but I also explore a little bit of details on some modules and talk about some of the CPython's internal details.

It is also the first time I used ChatGPT 3.5 to help me write content like this. I used it for suggestions on what topics I could talk about, some examples, to learn about things I didn't knew, and to suggest changes for some sentences (as I'm not a native english speaker). As I read now, only the Introduction feels machine-generated (although it was manually written - with chatgpt suggestions, ofc), but the rest of the text feels (to me) my own voice, as it is in the same vein as other content I have (for instance, on my blog). I'm a fan of ChatGPT!

Thanks, and I hope someone likes it! :)

jventura··on Ask HN: Interesting 2-3h coding projects in Python?
Depending on the level of your students, if you get the chance to talk a little bit about sockets, you can always guide them to build a very simple HTTP Server. In reality, you don't need to go much deep on sockets, just talk about send() and recv(), and in very simplistic terms. You can check this [1] blog post of mine, and the final code is very simple but very useful to learn how the "internet" works..

Good luck!

[1] https://joaoventura.net/blog/2017/python-webserver/

jventura··on Tell HN: Please stop sending AI-generated job applications (whoishiring threads)
It's not anymore, it's just another job board as many others out there..
jventura··on Ask HN: What phone model do you currently own?
IPhone 5S for the last 8 years. This model was launched in 2013 (10 years ago). It’s working perfectly fine for what I need from a phone (calls, occasional email, youtube, gps, and web browsing - typing this on my iPhone). I like this form factor so my next one will be an 2016 iPhone SE..

I’m being serious! This works perfectly fine for my usecase. And when I need to do real work, I use my Macbook Pro Late 2013 (8 GB RAM). I’m a CS prof and also web dev, use pycharm, docker and all that modern things. Less is more and I get to save a lot of money!

jventura··on Everything must be paid for twice (2022)
> On top of that, would you earn your usual rate for that time?

This is the key! I do these kind of things on my spare time!

On my spare time I could (1) do nothing; (2) try to cram more screen time into my life, and give the money earned to someone to do my repairs for me or; (3) do some things by myself, learn while doing it, and feel like a super-human that can control is own life (well, some of it). I prefer number 3!

jventura··on Everything must be paid for twice (2022)
> I once wasted my whole holiday on painting the house. And it wasn't well done, because it was my first time. I'll probably not do it again, unless I don't have other work.

If you would have to do it again, would you do the same errors, and the paint job would turn out equal? Or would you do better second time?

That is why I never painted an entire house before having painted a bedroom at least one time. And I've never painted a bedroom before I painted a small piece of furniture at least one time. One needs to learn gradually, hopefully with someone who knows how to do things. Last year I built a terrace and room with the (paid) help of a contractor. I started just carrying the trash, then breaking things, then putting cement of the walls, etc. etc. Now I can quite complex things by myself..

The key is to do things gradually..

jventura··on Everything must be paid for twice (2022)
> (...) and it also took several hours of my time, which probably cost me more than a new generator.

I do a lot of repairs and maintenance at my own house. Last year I built a terrace and an extra room, and only had to pay someone to help me, and this week I painted the all house exterior with the help of my dad. Total costs of painting and entire house: 240€. It would cost north of 2000€ if I had to pay someone to do it.

Yes, my "hourly rate" for that kind of work is sometimes much less than my "regular" work. But I can fix many things, don't need to go find "credible" people to do things for me, I fell an immense pleasure to be self-sustainable (for that kind of things), learn a lot; and my house, cars, electronics, are mostly in top shape.

jventura··on Pharo 11
> how do you expect to learn anything if you won't read or watch a tutorial?

I wanted to follow a tutorial (or another guide) to learn about Pharo, but couldn't find any, at least in the official docs. That's the point I'm making!

jventura··on Pharo 11
I got curious, downloaded and installed it on my computer. Checked the docs, and the next step was to download a stable image. Downloaded 11 (stable) and started it. Then blank stare to screen! What should I do? Lots of things to click on, and no text editor..

Searched for a tutorial on the website, and found nothing! I don't want to spend 30 minutes to look at some random videos of Virtual Reality in Thames or whatever, or read "Pharo for Rubyists" (I use mostly Python). I just wanted to explore a bit, and maybe if it seemed interesting, tomorrow I would continue exploring it. But now I've deleted Pharo!

Warning to other project maintainers: just show a tutorial, or an hands-on doc, so that newcomers may get a feeling of what it is. This is especially important for relatively unknown projects like this.

Some projects that have done it right:

  - https://www.djangoproject.com/start/
  - https://go.dev/ (Search for Try Go in the main page)
  - https://www.python.org/ (Carrousel showing some aspects of the language)
  - https://play.rust-lang.org/?version=stable&mode=debug&edition=2021
  - others I can't remember now..
← PreviousPage 2 of 19Next →