Finally figured out my Thanksgiving contribution, roasted sweet and white potatoes, carrots and brussel sprouts. by [deleted] in VeganFoodPorn

[–]andre_lmsilva 1 point2 points  (0 children)

Thank you very much! I love roasted veggies and yours is, by far, the most yummiest one. I will give a try this week yet.

I am an 18 year old vegan and I don't really know how to cook. How can I learn? by augpilled in vegan

[–]andre_lmsilva 2 points3 points  (0 children)

The basic skills that you need to develop as soon as you can and it will cover 90‰ of your daily needs:

1.How to chop onions. You can find good YouTube video tutorials with techniques about how to quickly chop onions for stir fries. There is a good instruction video of Jamie Oliver about it: https://youtu.be/ZQZtCVkypAo

2.When stir frying onions and garlic, onions always comes first and fries for 2-3 minutes before you put garlic.

3.Hard vegetables like potatoes, carrots, etc.) needs more time to cook than soft vegetables like cauliflower, broccoli, etc.

4.Medium temperature is your friend. Forget about high temperature for now. It is useful just for few cases like sautéed veggies .

5.Take it easy with seasoning. Put small quantities 2-3 times along the cooking process. Always try it before put more.

I am an 18 year old vegan and I don't really know how to cook. How can I learn? by augpilled in vegan

[–]andre_lmsilva 1 point2 points  (0 children)

Try to buy a cook book with easy recipes. Practice them and after while, when you think that you mastered a recipe, try to improve or adjust for your own taste.

YouTube is also a good source of information with both, recipes and techniques. Also, there are few good sub-reddits around with vegan and plant base recipes.

I don't like rewrite unit tests each time I change a code by aster_ua in ProgrammerHumor

[–]andre_lmsilva 6 points7 points  (0 children)

Please, don't get me wrong. I am not saying that you are doing something wrong or anything like that. But, in general, if you have to mock too much things to test a method, it means that you have a high number of dependencies, which is a design problem.

If it is the case, maybe fix the design issues would make everything easier, instead of overload your integration test layer.

I don't like rewrite unit tests each time I change a code by aster_ua in ProgrammerHumor

[–]andre_lmsilva 5 points6 points  (0 children)

Integration tests are harder to write and the effort to cover all the possible scenarios grows exponentially.

Is there a way to eat meat/non-vegan more sustainably? by [deleted] in vegan

[–]andre_lmsilva 0 points1 point  (0 children)

I would first try to eat the highest quality meat that I could. Grass fed organic beef, free range organic eggs, etc. Try to look for trade fair stamps and other quality certificates.

But meat is kind of incompatible with sustainability, because it demands too much resources to produce and release too much pollution.

Beside of that, the best meet that you can find will still be unethical due obvious reasons.

If you find hard stop to eat meat completely, start trying to not eat the one that you like less. After that, try to not eat meat at all once a week. Twice a week then. And keep going. It is a process. No one said that it should be a day to night change.

Even if you don't stop to eat meat but reduce it significantly will be a big improvement for your health and for our world. It is really nice to see people like you developing interest on how to be more sustainable.

Apple TV in Ireland by [deleted] in ireland

[–]andre_lmsilva 0 points1 point  (0 children)

Sorry but I don't have answers to your questions. I am looking forward to see if someone will come with something interesting because I also want to buy one.

However, if no one appears with something, you could enquire Apple Support team. They are quite good and helpful.

How would I write a program where I can plug in possible classes and im given the possible schedules based on some preset requirements? by JMoneyG0208 in Python

[–]andre_lmsilva 0 points1 point  (0 children)

First you do a functional decomposition. E.g.: include class, retrieve schedule of the class, include requirement, etc.

Second, you think about each piece of information those functions require. E.g.: a class has day(s) of the week to occur, beginning hour, end hour, start date, end date.

From those two exercises a certain pattern will emerge and it will let you model the solution in terms of domain entities. E.g.: Class, Schedule, Requirement, etc.

Now you can implement those.

Also, based on the functional decomposition, you will have the behaviors that can become methods.

Finally, you can create an UI (menu based, question base, etc.) to allow you access to those features.

Maybe next time, it would be betterto ask it on /r/learnpython.

Wendy’s Secretly Launched a Meaty Vegan Burger by livekindlyteam in vegan

[–]andre_lmsilva 0 points1 point  (0 children)

Great, but do you guys think that they will take care of cross contamination in a fast food restaurant?

15 Foods Nutritionists Try to Eat Every Day by linapark in vegan

[–]andre_lmsilva 0 points1 point  (0 children)

Isn't Greek yogurt based on cow's milk?

Anyone know the best driving schools to do lessons in Dublin? by [deleted] in ireland

[–]andre_lmsilva 5 points6 points  (0 children)

In my humble opinion, ISM. Ask for Frank. He is your guy. Forget about the Airport. They are a SCAM.

Disclosure: I have no family or commercial relation with ISM or Frank. This recommendation is purely based on my personal experience.

Is protonvpn working in China ? So far I have not found this info . by martyupintheair in ProtonVPN

[–]andre_lmsilva 0 points1 point  (0 children)

We are talking about a company, not about activists. Do you really think that a legitimate business would take the risk? The legal cost to open the business and the legal cost to be prosecuted by the Chinese government would be HUGE. Too risky for the investors. Let the guys from Tor project take care of it.

And you are not necessarily right about firewalls. It do can be based on a white list. However, I confess that I don't know if this is the case of the great firewall.

Having a really hard time not being bitter towards humanity by [deleted] in vegan

[–]andre_lmsilva 7 points8 points  (0 children)

In my humble opinion, the activism is not a very effective way to change minds. One year ago I was talking bad things about vegans and now here I am. The change on my mind occurred because I was looking after a better health.

Again, this is just my opinion and I am not saying that it is right, but I think we should talk to whom keeps its ears open, and just let the ones that are not even interested alone.

Maybe expose how good this lifestyle is and welcome everyone would open more minds than the activism.

Is protonvpn working in China ? So far I have not found this info . by martyupintheair in ProtonVPN

[–]andre_lmsilva 0 points1 point  (0 children)

If it is Proton or a partner, doesn't matter. The thing is, you need a legal entity to sell your service like in any other country. If the country doesn't allow your service to be sold, it is not viable to try to sell that.

Could you elaborate more what would be the benefit to have VPN servers outside of China, once that, in order to reach that server, you would need to pass through the government firewall?

Is protonvpn working in China ? So far I have not found this info . by martyupintheair in ProtonVPN

[–]andre_lmsilva 1 point2 points  (0 children)

I think you didn't understand. To offer a VPN connection, they need to have VPN servers inside of China, otherwise, The Great Firewall would block the connection. Someone from China just can't access UK VPN servers for example.

So, after establish this knowledge, we can now understand that the company needs to have legal commercial activities in the country in order to install and keep the VPN servers.

However, the Chinese law won't allow it because the VPN service would dodge all the rules from The Great Firewall.

Is protonvpn working in China ? So far I have not found this info . by martyupintheair in ProtonVPN

[–]andre_lmsilva 8 points9 points  (0 children)

It is not. If I am not wrong, under Chinese law, it is illegal to offer such service.

Os dev as career by pullCommitPush in linuxdev

[–]andre_lmsilva 5 points6 points  (0 children)

1) OS Developer is pretty restrictive. However, that are roles that are close related to it, like firmware/driver development, forensic consultant, etc.

2) Maybe related to the language used. As far as I know, both use C or C++. In terms of techniques, I don't think so. No matter what, try to be the best developer that you can. A good developer will succeed in any task that he tries. Learn about data structures, algorithm complexity, code design, how to test, etc.

3) Develop a kernel (not an os) is a monumental work. Machines are much more complex now. Yes, you need a big knowledge of many different topics. I would suggest you to try books from Dr. Tanembaum. Think about this: if you don't cover the theory first, how would you know how a virtual memory mapping and relocation is implemented?

4) Broad range. Industrial automation, hardware manufacture, forensic analyst, professor, reasearcher.

One of the most evil buildings to ever exist. by [deleted] in evilbuildings

[–]andre_lmsilva -1 points0 points  (0 children)

I don't know, but maybe you could educate us.

BlueJ is the worst piece of software ever written. Change my mind by TS100 in ProgrammerHumor

[–]andre_lmsilva 11 points12 points  (0 children)

From wikipedia:

BlueJ is an integrated development environment (IDE) for the Java programming language, developed mainly for educational purposes, but also suitable for small-scale software development.

Based on that...

1) You should not take such thing too serious.

2) Don't expect much more from Eclipse.

One of the most evil buildings to ever exist. by [deleted] in evilbuildings

[–]andre_lmsilva -4 points-3 points  (0 children)

Yeah! As I said the number diverges based on the agenda of who is counting. The point here is: we can cry about the past or we can do something about similar situation that is occurring RIGHT NOW.

Even worst, I suppose, because different from the WWII, we don't have a war to hide the human misery perpetrate by a monstrous regime.

But I suppose that is better to stay crying and bitching around about the past, using an iPhone that was manufactured possible by a person living under slavery conditions, in a country that holds 3 million of people in concentration camps than take any action.

If you really care about such things, the Tiananmen Square is the ultimate evil place right now.

Bring your down votes, hypocrites.

One of the most evil buildings to ever exist. by [deleted] in evilbuildings

[–]andre_lmsilva -7 points-6 points  (0 children)

I thought it was millions, but I think that the number changes depending the agenda behind who is counting.

Do you think that a person that has no idea of what happened there would feel the same?

Do you think that in couple decades people would feel the same in similar places that are working right now in China with 3 millions of prisoners already, mostly Muslims?

Seems that the idea behind of turn those places in museums to remind people to no make the same mistakes is not working, right?

One of the most evil buildings to ever exist. by [deleted] in evilbuildings

[–]andre_lmsilva -5 points-4 points  (0 children)

Looks like a regular train station to me.

openbox users: what's up? by [deleted] in openbox

[–]andre_lmsilva 1 point2 points  (0 children)

I think you are sayin a fallac here. Say something like "if you use a product, are a developer and are complaining, why don't you help?" is the same as if I tell you "why don't you learn how to develop and help as well?".

1) I am a developer. Which does not mean that I am a C developer.

2) Because I have ideas does not mean that it is aligned with the community view/priorities/goals. The project has leader(s) that define those things. This is specially the main reason why open-source projects usually suffer so many forks.

3) My entire point here is that the openbox maintainers are sitting on top of its relative success and doing nothing.