Categories
User Help Web Pro

What is the best webhosting provider for such an app

I’m planning on creating an online educational platform, (similar to Khan Academy and Coursera but pretty much for my home country). The idea is that this website is just a place where people could log in, create an account, setting, recharge their account, and thats all. Next, a desktop application comes to place, the server […]

Categories
Database Development

wal_level set to replica at database level but i dont see that in configuration file

wal_level is commented in postgresql.conf and i dont see any entry in auto.conf either. but at the databsae level i see its set to REPLICA. Is there any other place whee it could have been set? postgres@postgresqlmaster:/etc/postgresql/12/data$ psql -p 5433 psql (12.3 (Ubuntu 12.3-1.pgdg18.04+1)) Type "help" for help. postgres=# select name, setting, sourcefile, sourceline from […]

Categories
Database Development

wal_level set to replica at database level but i dont see that in configuration file

wal_level is commented in postgresql.conf and i dont see any entry in auto.conf either. but at the databsae level i see its set to REPLICA. Is there any other place whee it could have been set? postgres@postgresqlmaster:/etc/postgresql/12/data$ psql -p 5433 psql (12.3 (Ubuntu 12.3-1.pgdg18.04+1)) Type "help" for help. postgres=# select name, setting, sourcefile, sourceline from […]

Categories
Development

Using Git Lab pipeline, I am trying to build a Python application by Docker then send its image to Docker Hub but receive error message

Using GitLab’s pipeline, I am trying to build a Python application by Docker then send its image to Docker Hub but received denied: requested access to the resource is denied despite login was successful. My Files example1.py My Python application .gitlab-ci.yml My pipeline definition file Dockerfile My DockerFile My variables Here are variables I set […]

Categories
Development

Windows script Host problem.. error code 800a000D..Type mismatch “Clnt”

Hi I’m windows 10 user with little to zero knowledge about programming. An error came up and windows fail to load… when I my pc opens a dialog box appears.. “Windows script Host” what is wrong with this code … the error says it is on line 10 char 2 Set oShell = CreateObject (“Wscript.Shell”) […]

Categories
Development

python pygame check collide then make the item return to the origin site

Update 12/20 I set different value to the ship but the final site is not than expected def position(self,setting,ship,aliens): self.ck_edge(setting,aliens) aliens.update() collide=pygame.sprite.spritecollideany(ship,aliens) if collide: aliens.empty() self.create(setting,aliens) ship.rect.center = ship.screen_rect.center ship.rect.y = ship.screen_rect.bottom ship.y =ship.rect.centery # when collide, the ship disappear ship.x = ship.rect.centerx # def position(self,setting,ship,aliens): self.ck_edge(setting,aliens) aliens.update() collide=pygame.sprite.spritecollideany(ship,aliens) if collide: aliens.empty() self.create(setting,aliens) ship.rect.center = […]

Categories
Development

python pygame put random coordinates stars on screen but overlap

I am trying to put the stars on screen and give them random x,y coordinates but when the screen refresh the previous stars still on the screen and it overlap with the next stars I put the setting.screen.fill((255,0,0)) why this background not refresh the previous stars? what cause it???? here’s the codes: #!/usr/bin/python import sys […]

Categories
Development

Python Pygame press two direction key and another key to shoot there’s no bullet

I am going to make an ship and shoot the bullet ,everyhing goes well except when I press both “up” &”left” then press “space” there’s no bullet, but when i press both “up” &”right” then press “space”,it worked, i can see the bullet, what cause it?? the setting really the same BTW, i try every […]

Categories
Ask

[ Religion & Spirituality ] Open Question : Why do irrational Christians and Muslims think their highly erroneous, and frankly uneducated, opinions mean anything in an intellectual?

setting?