frogcoder
Joined 13 years ago
Joined 13 years ago
Just image having a mandatory political party inside every American corporation which the board has no control over.
1. https://www.washingtonpost.com/national-security/2024/05/01/...
1. You will see no protest on the street.
2. You will see no homeless on the street.
3. You will hear no more school shootings or any shooting.
4. No more tech companies conflicting with the government.
5. No one will sue the government because it's perfect.
6. All bad people will disappear.
7. Everyone sings praise of the government.
This is better than Utopia, you should pursue it.
Say I name my package "foo", foo is the top level folder for the source code. Inside foo there is a "main.py" file as the project's start point, and other various modules, let's have one called "module1.py". Now, add another package under "foo", the obvious example name here would be "bar", and add another module under "bar" called "module2.py".
The project structure looks like this:
- foo/
|- main.py
|- module1.py
|- bar/
|- module2.py
To reference "module1.py" in "module2.py", just write import foo.module1
To reference "module2.py" in "main.py", do as follows import foo.bar.module2
There is no problem importing from any level.To start the program from command line, enter:
python -m foo.main
Almost half of the time, I need to know if a number is even. Why doesn't it provide an end point for that?! Don't even tell me about the 409 status code. Am I suppose to know it's an even number when it returns an odd number to me? I only recognize status code 200, all other are errors, don't make this so complicated!
The age does not matter as long as you can sit down and code. You don't see many old people doing programming because it's simply not many there. Computing is relatively new. It's obvious most people entering this field would be young, older people might require a change of career hence less incentive.
I use to act as if I own a large stake of the company I worked for, regretting it much later when I realized I was doing too much and knowing too little.
I was just kidding myself pretending as an owner of the company therefore investing too much emotion and work into it. Why would I pretend something that is not true? It's not like fake it until you make it thing.
I do not know how much you know about your company, but I was an outsider that knew nothing about the inner workings and secrets about it. I thought I knew, that's the kidding myself part.
Unless you are a real owner, you are just a cog in a machine. If you perform well, you will be rewarded well as a cog in a machine not as an owner. Most decisions you make would not affect the overall situation. Just do your job well and try to spend time with something else you care after work, not something you have no control of.